[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594156: modules=most does not add virtio_net



reassign 594156 fai-server
found 594156 3.3.5
stop

On Tue, Aug 24, 2010 at 10:36:43 (CEST), maximilian attems wrote:

>> I'm using initramfs-tools in the context of an FAI nfsroot, read, I want
>> to have it booted in a KVM guest with both virtio hard drives and
>> virtio_net. It turns out despite having 'MODULES=most' in
>> /srv/fai/nfsroot/live/filesystem.dir/etc/initramfs-tools/initramfs.conf,
>> the modules 'virtio_pci', 'virtio_blk' and 'virtio_ring' are included,
>> but 'virtio_net' is missing.
>> 
>> I'm still looking for a good workaround to get an virtio-net enabled
>> guest installed via an FAI nfsroot.
>
> lsinitramfs /boot/initrd.img-2.6.32-5-amd64 | grep virtio_net
> lib/modules/2.6.32-5-amd64/kernel/drivers/net/virtio_net.ko
>
> I can only guess that you are using an outdated version of
> initramfs-tools. please upgrade and retry.

You're right, the problem does not seem to be in initramfs-tools. In
fact, reinstalling initramfs-tools_0.97 in the generated fai chroot
fixes this problem as well. It seems to me that make-fai-nfsroot is
installing and/or calling update-initramfs in a bad order that leads to
the module 'virtio_net' ending up in the initramfs.

I'm CC'ing mikap with this email. Mikap, perhaps you have some idea what
might go wrong here? I'm using a more or less basic lenny installation
(in an openvz container, but that shouldn't matter) with the packages
downloaded from the fai source:

deb http://www.informatik.uni-koeln.de/fai/download lenny koeln


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



Reply to: