Bug 856434

Summary: Failed to boot rhel5 guest with virtio block that is previously installed with ide block
Product: Red Hat Enterprise Linux 5 Reporter: Qunfang Zhang <qzhang>
Component: mkinitrdAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9CC: areis, ddumas, flang, juzhang, michen
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 18:24:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kernel panic screenshot none

Description Qunfang Zhang 2012-09-12 03:46:36 UTC
Description of problem:
Failed to boot rhel5 guest with virtio block that is previously installed with ide block, because can not find virtio_blk module. Guest will kernel panic. 
rhel6 guest works well with this scenario. Hope can fix this to boot a rhel5 guest and switch disk interface. 

Version-Release number of selected component (if applicable):
RHEL5.8 released guest version

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Qunfang Zhang 2012-09-12 03:47:20 UTC
Created attachment 611975 [details]
kernel panic screenshot

Comment 2 RHEL Program Management 2013-05-01 07:12:48 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 3 Brian Lane 2013-12-19 18:24:21 UTC
When switching drivers you need to rebuild the initrd with the new drivers before rebooting. You can do this by passing --with=virtio_blk to mkinitrd (you will probably also need virtio_pci and possibly others).

eg.

mkinitrd --with=virtio_blk --with=virtio_pci -f initrd-`uname -r`.img `uname -r`