Bug 560672 - Missing virtio* modules in initrd
Summary: Missing virtio* modules in initrd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd
Version: 5.5
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Ales Kozumplik
QA Contact: Alexander Todorov
URL:
Whiteboard:
Depends On:
Blocks: 516047
TreeView+ depends on / blocked
 
Reported: 2010-02-01 15:14 UTC by Marian Ganisin
Modified: 2014-09-30 23:38 UTC (History)
4 users (show)

Fixed In Version: mkinitrd-5.1.19.6-58
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 09:00:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0295 0 normal SHIPPED_LIVE mkinitrd bug fix and enhancement update 2010-03-29 14:21:24 UTC

Description Marian Ganisin 2010-02-01 15:14:24 UTC
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

Comment 1 Ales Kozumplik 2010-02-01 15:34:39 UTC
Marian,

was this working correctly in the previous nightly build?

Thanks.
Ales

Comment 2 Ales Kozumplik 2010-02-01 15:35:52 UTC
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

Comment 4 Ales Kozumplik 2010-02-03 17:54:28 UTC
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.

Comment 5 Ales Kozumplik 2010-02-05 13:36:02 UTC
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

Comment 6 Alexander Todorov 2010-02-09 15:49:40 UTC
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.

Comment 9 Alexander Todorov 2010-02-17 18:11:21 UTC
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

Comment 11 errata-xmlrpc 2010-03-30 09:00:27 UTC
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


Note You need to log in before you can comment on or make changes to this bug.