Description of problem: My USB-stick contains a 'floppy-disk' (not removable, /dev/sdd) and a 1G HDD-part (/dev/sdc). When trying to install from this stick Anaconda crashes in de second stage right before partitioning the hard disk (e.g. /dev/sda) and after I have chosen to review the partitioning. It makes no difference if I choose 'remove existing partitions' ... 'custom lay out', and/or disable the usb-partitions. USB-sticks without a 'floppy-disks' don't crash. Version-Release number of selected component (if applicable): anaconda 11.4.1.62 (Fedora 10) How reproducible: Install fedora 10 from a USB-stick with a 'floppy-disk'. This disk has no partitions. Steps to Reproduce: 1. Start installation from USB-disk (installed on HDD-part) 2. Enter language, keyboard, hostname, regional settings ... 3. Check 'review and change partition'! Actual results: Anaconda throws an exception: "ZeroDivisionError: float division" Expected results: Review and change screen appears Additional info: Is seems that disabling 'floppy-disks' on usb-sticks can maybe solve the problem, like cd-roms are disabled as install media.
Please attach the complete error message to this bug report so we can see what's going on. Thanks.
Created attachment 329356 [details] Anaconda dump
Sorry, I did something wrong the first time :-)
We're in the midst of a big partitioning rewrite, so it's worth retesting with F11 Beta when it is released. Chances are, your bug will be fixed as part of that rewrite. However even if we don't fix it, the code will be so drastically different that I'm sure you will get a very different backtrace and we'll need to go through a different debugging process. So, please give that a try in the future and let us know if this bug is still present. Thanks.
Hi Chris, I've tried F11-Beta (x86_64) with anaconda 11.5.0.38. Sorry, but still the same error ("ZeroDivisionError: float division"). There was a lot more buginfo, but Anaconda didn't let me save it. Ok and Cancel-buttons didn't do anything. If I can do anything about it, please let me know? Thanks and success! Martin
The anaconda dump would be very usefull. When you can't get it from the UI, you can go to tty2 (Ctrl-Alt-F2) and scp it manually. most of the files under /tmp are usefull for debugging any issue.
Created attachment 338041 [details] F11-Beta: Anacdump.txt F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338042 [details] F11-Beta: anaconda.log F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338043 [details] F11-Beta: anaconda-yum.conf F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338044 [details] F11-Beta: libuser.oe17Oy F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338045 [details] F11 Beta: program.log F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338046 [details] F11 Beta: storage.log F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338047 [details] F11 Beta: syslog F11 Beta (x86_64 net install iso) dump from /tmp
Created attachment 338048 [details] F11 Beta: X.log F11 Beta (x86_64 net install iso) dump from /tmp
Okay, I see what's going on here now. Since it's a floppy drive, it's pretty small in size. In fact, the size is so small that when parted calculates the number of sectors, it arrives at 0 because size / heads*cylinders is basically 0. Therefore, crash.
This should be fixed in the next build of anaconda. If you are still experiencing this problem, feel free to reopen this bug. Thanks.
Hi Chris, Today I tried anaconda from F11 preview. The problem no longer exists. Congratulations and thanks! Martin