Anaconda crashed while attempting an install of rawhide 20050528 on software RAID using two I2O arrays /dev/i2o/hda and /dev/i2o/hdb as disks. http://people.redhat.com/wtogami/temp/anacdump-i2o-md.txt # partition table of /dev/i2o/hda (identical on /dev/i2o/hdb) # (hda1 -> md1) /boot # (hda2 -> md2) swap # (hda3 -> md0) / unit: sectors /dev/i2o/hda1 : start= 63, size= 514017, Id=fd, bootable /dev/i2o/hda2 : start= 514080, size= 1012095, Id=fd /dev/i2o/hda3 : start= 1526175, size= 70236180, Id=fd /dev/i2o/hda4 : start= 0, size= 0, Id= 0
I have the same crash with existing arrays (build from regular ide disk partitions). partedUtils.DiskSet.mdList is empty for here I solved that by starting the raids in fsset.py:mdadmConf(). RCS file: /usr/local/CVS/anaconda/fsset.py,v retrieving revision 1.253.2.1 diff -u -p -u -r1.253.2.1 fsset.py --- fsset.py 25 May 2005 18:53:39 -0000 1.253.2.1 +++ fsset.py 29 May 2005 22:56:12 -0000 @@ -1123,6 +1123,9 @@ class FileSystemSet: def mdadmConf(self): raident = 0 + diskset = partedUtils.DiskSet() + diskset.startAllRaid() + cf = """ # mdadm.conf written out by anaconda DEVICE partitions @@ -1135,6 +1138,7 @@ MAILADDR root raident +=1 cf = cf + ent.device.mdadmLine() + diskset.stopAllRaid() if raident > 0: return cf return I assume there may be a better way to fix that. I think that should be targeted at FC4.
Ronny - can you explain in more detail what you have for partitioning before starting?
Applied a fix for Ronny's problem. Warren, please test with FC4 at your leisure and advise if it works for you or not.
Warren, Kindly reopen if this one is not fixed yet