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

Bug#533894: initramfs-tools: add support for virtio modules for netbooting




So kernel/drivers/block is considered only if using MODULES=most but
not when using MODULES=netboot. The only virtio file that is copied
at all is virtio_pci from the base class. So both virtio_net *and*
virtio_blk are missing.
      
  
please show on a qemu boot that virtio_block is really needed.
other then that this seems speculation.
    
Huh? I was just answering regarding your 'ok for virtio_blk and
virtio_net' and your statement that virtio_blk would be already
included in the initrd (which isn't the case when using
MODULES=netboot).

Bcc-ing Daniel Weuthen who has an according setup to test.
Daniel, can you please verify whether adding just virtio_net
to the initrd is enough for your usecase.
  
sorry for the delay in my reaction. I had to social engineer re-access to my setup, which runs at my old employer ;-)

for a working netboot with virtio nic the following modules are required:

* virtio
* virtio_pci (although virtio_net has no dependency entry for this module, it is mandatory for nearly all other virtio module)
* virtio_ring (virtio_pci depends on it)
* virtio_net

virtio_blk is definitely NOT required for netboot, as it provides access to local block devices only.
other virtio modules like virtio_ballon are also not needed.

regards
daniel

Reply to: