On Sun 2013-01-27 14:40:19 -0500, Daniel Kahn Gillmor wrote: > partman hung at either 50% or 54% during the "Partition hard drives" > phase of the installer. > > switching to a vt, i was able to see that it appeared to be hung > during 35dump. > > killing parted from a vt was successful, but each time i tried to > re-run partman, it hung on 35dump again.
Correction: this is happening with the wheezy beta4 installer, not a daily build. I've just debugged this further. the first hang is on the 30 hook (50%), not 35; subsequent killing and re-running of partman makes it hang on 35 (54%). And, even more interesting: this only happens when a particular USB stick is installed. And, it's the same USB stick that causes parted to assert, as documented in http://bugs.debian.org/698609. (that bug report also includes an image of the mbr for the particular USB stick. I'm pretty sure that the weirdness in that mbr is what causes partman to hang, and i've just been able to verify that using kvm and the mbr from that image, like so: 0 dkg@alice:~/tmp/699136$ wget -q -O sdb.mbr 'http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;filename=sdb.mbr;att=1;bug=698609' 0 dkg@alice:~/tmp/699136$ wget -q http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/netboot/debian-installer/i386/{linux,initrd.gz} 0 dkg@alice:~/tmp/699136$ sha1sum * 60e7842e55a60631291390a98334a95a59426ab7 initrd.gz 46753db4103c8cc0a55e8040aa652bb4e7cea916 linux 6e69b9c81e9f4fe3773d18ff9aac7006ca852962 sdb.mbr 0 dkg@alice:~/tmp/699136$ qemu-img create -f qcow vda.img 4G Formatting 'vda.img', fmt=qcow size=4294967296 encryption=off 0 dkg@alice:~/tmp/699136$ dd if=sdb.mbr of=usb.img 1+0 records in 1+0 records out 512 bytes (512 B) copied, 2.5861e-05 s, 19.8 MB/s 0 dkg@alice:~/tmp/699136$ dd if=/dev/zero of=usb.img bs=1M count=1 seek=4096 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00085567 s, 1.2 GB/s 0 dkg@alice:~/tmp/699136$ kvm -kernel linux -initrd initrd.gz -usb -usbdevice disk:format=raw:usb.img -drive file=vda.img,format=qcow,if=virtio if you step through the installer in this guest, it hangs at the described point. --dkg
pgpqkwLtgCGuR.pgp
Description: PGP signature