Control: reassign -1 debian-installer
Hi Harald,
and thanks for your report.
Harald Dunkel <harri@afaics.de> (2012-10-03):
> Package: installation-reports
>
> Boot method: CD
> kvm -m 2048 -drive file=/export/storage/usba.img,if=virtio -drive file=/var/tmp/debian-wheezy-DI-b2-amd64-netinst.iso,if=virtio,media=cdrom,boot=on -net nic,model=virtio -net tap -vnc :1 -usbdevice tablet -smp 2
> Image version: debian-wheezy-DI-b2-amd64-netinst.iso
> Date: today
>
> Machine: kvm guest running on Unstable host
> Processor:2 (amd64)
> Memory:2GByte
> Partitions: na
>
> Output of lspci -knn (or lspci -nn):
>
> Base System Installation Checklist:
> [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
>
> Initial boot: [O]
> Detect network card: [O]
> Configure network: [O]
> Detect CD: [E]
> Load installer modules: [ ]
> Detect hard drives: [ ]
> Partition hard drives: [ ]
> Install base system: [ ]
> Clock/timezone setup: [ ]
> User/password setup: [ ]
> Install tasks: [ ]
> Install boot loader: [ ]
> Overall install: [ ]
>
> Comments/Problems:
>
> The CD drive wasn't found. If I omit the "if=virtio", then kvm falls
> back to ide and the drive is found, of course.
>
> Using virtio for the hard disk and the nic seems to work.
I suspect the following happens:
- when booting on non-virtio cdrom, udebs are detected on the cdrom
and/or on the network, loaded, and the virtio-modules kernel udeb is
then loaded, and non-cdrom resources work fine (nic, hard disk).
- when booting with virtio cdrom, the relevant module hasn't been put
in the initramfs, so cdrom isn't detected at all, and game over.
I suspect all we need is to add virtio-modules-${kernel:Version} to
pkg-lists/cdrom/<arch>.cfg files. Quoting for example the amd64 one:
| console-setup-pc-ekmap
| fat-modules-${kernel:Version}
| cdrom-core-modules-${kernel:Version}
| input-modules-${kernel:Version}
| fb-modules-${kernel:Version}
| console-setup-udeb
| kbd-udeb
| usb-modules-${kernel:Version}
| serial-modules-${kernel:Version}
| usb-serial-modules-${kernel:Version} ?
| uinput-modules-${kernel:Version} ?
|
| # Support for firewire cdroms (and disks, I think)
| firewire-core-modules-${kernel:Version}
| # Support for usb cdroms
| usb-storage-modules-${kernel:Version}
| # USB and firewire cdroms both need this.
| scsi-core-modules-${kernel:Version}
| # Support for SCSI cdroms on common controllers.
| scsi-common-modules-${kernel:Version}
|
| # also support MMC/SD cards
| mmc-modules-${kernel:Version} ?
|
| acpi-modules-${kernel:Version}
I haven't played much with virtio myself, but I could probably provide
you with an amd64 netinst image for test purposes. Do you want to
perform some tests?
Mraw,
KiBi.
Attachment:
signature.asc
Description: Digital signature