Bug 343900

Summary: Installation not possible because do_proposal_flexible.ycp loops endlessly
Product: [openSUSE] openSUSE 10.3 Reporter: Andreas Wachowski <andreas.wachowski>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The y2log output referred to in the description

Description Andreas Wachowski 2007-11-25 10:42:20 UTC
Created attachment 184622 [details]
The y2log output referred to in the description

Background:

I am trying to install OpenSuSE 10.3 on my laptop (via network install from the ISO on my desktop computer; OpenSuSE 10.2 is already installed; 10.3 shall be installed in parallel).

YaST starts up normally, I can enter basic information (keyboard layout, timezone, etc.), but YaST hangs endlessly upon determining a partitioning proposal. I don't need a proposal, anyway, but can't interrupt the process without aborting the installation completely.

Apparently (see attached y2log), do_proposal_flexible.ycp (revision 39878) starts to loop: Lines 3441 (containing "process_partition_data e") to 3610 are repeated in lines 3611 to 3780, and so on (having said that, I am not sure if line 3441 is really the start of the loop).

"fdisk -l /dev/hda" shows the following:

Disk /dev/hda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           4       32098+  83  Linux
/dev/hda2              22          39      144585   83  Linux
/dev/hda3              40         831     6361740    5  Extended
/dev/hda5              40         769     5863693+  83  Linux
/dev/hda6             770         831      497983+  82  Linux swap / Solaris

10.2 is installed on hda1 (/boot) and hda5 (/), 10.3 would be installed in hda2 (/boot) and a yet to be created partition for /.
Comment 1 Thomas Fehr 2007-12-19 16:32:26 UTC
Sorry for late reply, was on vacation last weeks.
Fixed the problem with hanging proposal now in head.

To work around the problem you could do the following:
- Use parted from your 10.2 installation to resize your extended partition
  to end of disk (parted will probably complain about "Device or resource busy."
  but after reboot new partition table should be fine.
- retry install of 10.3, YaST2 should now propose to create new partitions in
  unused area of your extended partition
Comment 2 Andreas Wachowski 2007-12-19 23:12:27 UTC
Thanks a lot, the proposed workaround is allowing me to continue the installation!

(No problem that it took so long to reply - the problem was major as I had to stop the work, but it was not an urgent task.)

Thanks again, happy holidays and a good start into the New Year!