I disagree. This bug does not have anything to do with kvm (bug 96123) ,
since I was able to reproduce it in qemu without using kvm or kqemu. It
appears the problem has do to with how the ata related kernel modules in
ubuntu-7.04-beta-server-i386.iso detect (or, rather, fail to detect) the
virtual cdrom drive provided by qemu.

Steps to reproduce with qemu-0.8.2:
$ qemu-img create -f qcow test.img 3G
$ qemu -boot d -hda test.img -cdrom ubuntu-7.04-beta-server-i386.iso
Choose "Install to the hard disk".
If you try to install as usual, the installer will fail as described by Henk 
Koster when it tries to detect the cdrom drive. Instead, Alt+F2 at the "Choose 
language" screen to get a console. Then:
# dmesg|more
The output of dmesg is telling. I've attached a screenshot to save you the 
trouble of doing it yourself. It seems the cdrom drive is detected by the ata 
related modules, but can't be properly initialized.

There is a simple workaround that supports the idea that the ata related 
modules are to blame. If you remove all the ata and scsi modules and then load 
the ide_generic module, you can Alt+F1 back to the installer and complete the 
installation normally.
# ls /dev/hdc
ls: /dev/hdc: No such file or directory.
# modprobe -r ata_generic ata_piix libata sg sd_mod scsi_mod
# modprobe ide_generic
# ls /dev/hdc
/dev/hdc

A permanent fix might involve ensuring that the module ide_generic is
loaded before the module libata, or just treating this as an upstream
bug in the kernel's ata modules. I really think this should be fixed
before the 7.04 final release, though.

** Attachment added: "Screenshot of dmesg output showing that the ata related 
modules are to blame."
   http://librarian.launchpad.net/7096992/test.png

-- 
Feisty Beta: debian-installer does not mount cdrom
https://launchpad.net/bugs/96857

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to