Bug 225814

Summary: YaST runs out of memory as swap not enabled during network install via SSH
Product: [openSUSE] openSUSE 10.2 Reporter: Daniel Morris <danielm>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: 32bit   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniel Morris 2006-12-04 17:28:24 UTC
System has "only" 192MiB of RAM installed and during YaST2's probing of existing system configuration the installer stops unexpectedly. 

After attaching a monitor and repeating from the console I noticed that when the crash occurs the system has run out of free memory (from the output on the virtual consoles). The previous installation had a 512MiB swap partition configured, but the installer hadn't used it. 

Entering the following command before YaST2 validated the configuration allowed the installation to proceed:-

'swapon /dev/hda1' 

I found this problem when trying to make a headless update of a 9.3 test machine to opensuse-10.2rc1. DVD image was mounted via ftp on local subnet and the following entry in /boot/grub/menu.1st used to bootstrap the target

title Boot -- SUSE LINUX 10.2
   root (hd0,1)
   kernel /boot/vmlinuz.install noapic usessh=1 sshpassword="xxxxxxx" install=ftp:/// hostip=172.31.11.251 netmask=255.255.255.0 gateway=172.31.11.101 nameserver=172.31.11.250
   initrd /boot/initrd.install


(kernel & initrd from opensuse-10.2rc1 dvd.iso).

Here's the output from the ssh log (not very helpful!).

inst-sys:~ # yast
unicode_start skipped on /dev/pts/0
Probing connected terminal...

Initializing virtual console...

Found an xterm terminal on /dev/pts/0 (80 columns x 35 lines).
*** Starting YaST2 ***
/usr/lib/YaST2/startup/YaST2.call: line 462:  3345 Killed                  $OPT_
FBITERM y2base "$Y2_MODULE_NAME" $Y2_MODE_FLAGS $Y2_MODULE_ARGS $Y2_MODE $Y2_UI_
ARGS
*** Preparing SSH installation for reboot ***
*** NOTE: after reboot, you have to reconnect and call ***
*** /usr/lib/YaST2/startup/YaST2.ssh ***
unicode_stop skipped on /dev/pts/0
Comment 1 Cyril Hrubis 2006-12-05 17:31:56 UTC
Acording to http://en.opensuse.org/Installation_with_Little_Memory yast don't use swap partition before formating all the selected partitions ( then this behavior is normal ), so closing this bug as invalid.