Description of problem: Installation of latest tree doesn't build correct initrd if virtio devices are used within kvm. There are missing several virtio_* modules. Boot of installed system ends with kernel panic because of missing root. Version-Release number of selected component (if applicable): mkinitrd-5.1.19.6-57 RHEL5.5-Server-20100129.0 i386 How reproducible: Installation in kvm virtual machine using virtio for block and network devices. List of virtio* modules in initrd: # zcat /boot/initrd-2.6.18-186.el5.img |cpio -it|grep -i virt 11416 blocks lib/virtio_blk.ko lib/virtio.ko List of virtio* modules with previous version: # zcat /boot/initrd-2.6.18-185.el5.img |cpio -it|grep -i virt 11463 blocks lib/virtio.ko lib/virtio_blk.ko lib/virtio_pci.ko lib/virtio_ring.ko
Marian, was this working correctly in the previous nightly build? Thanks. Ales
For the purpose of getting the Beta out, I suggest reverting mkinitrd to the previous version (which is going to happen anyway due to 560672) and see if the issue really is mkinitrd. Ales
Hi Marian, I tried installing this tree: http://qafiler.bos.redhat.com/redhat/rel-eng/RHEL5.5-Server-20100129.0/tree-i386/images/ on a virtio harddrive and I am experiencing something completely different: the kernel panics just like in bug 560567 (and for the same reason). I tried mounting the generated initrd and it contains the following devices: virtio_blk.ko virtio.ko virtio_pci.ko virtio_ring.ko I am going to go ahead with the fix from 560567, release a new mkinitrd version and retest this bug after that.
I retested this on a kvm machine with virtio and it seems that mkinitrd-5.1.19.6-58 fixes the problem. Virtio modules in the initrd: lib/virtio.ko lib/virtio_blk.ko lib/virtio_ring.ko lib/virtio_pci.ko
Ales, please provide devel_ack so we can get the pm_ack as well. Also if approved and indeed fixed include this bug in the advisory.
with mkinitrd-5.1.19.6-58 and snap #1 # zcat /boot/initrd-2.6.18-187.el5.img | cpio -it | grep -i virt 16983 blocks lib/virtio_pci.ko lib/virtio_blk.ko lib/virtio_ring.ko lib/virtio.ko moving to VERIFIED
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0295.html