Bug 700705 - Can not start RHEL 3u9 virtio disk after install kmod-virtio
Summary: Can not start RHEL 3u9 virtio disk after install kmod-virtio
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: virtio
Version: 3.9
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Miroslav Rezanina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-29 05:53 UTC by Mike Cao
Modified: 2011-04-29 10:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-29 10:21:23 UTC
Target Upstream Version:


Attachments (Terms of Use)
screendump (28.68 KB, image/png)
2011-04-29 05:54 UTC, Mike Cao
no flags Details

Description Mike Cao 2011-04-29 05:53:29 UTC
Description of problem:


Version-Release number of selected component (if applicable):
host info (intel host):
# uname -r
2.6.32-131.0.7.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.160.el6.x86_64


guest info :
2.4.21-66.ELsmp

How reproducible:
always

Steps to Reproduce:
1.install RHEL3u9_32 guest with if=ide
CLI:/usr/libexec/qemu-kvm -S -M rhel6.1.0 -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name rhel3 -uuid 250ed76e-5593-2e4f-8557-42d700755855 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/rhel3.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -boot c -drive file=/home/rhel3,if=none,id=drive-ide0-0-0,format=raw,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=22,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:8c:71:d6,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -vnc 127.0.0.1:0 -vga cirrus -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
2.in the guest ,install kernel-smp-2.4.21-66.EL.i686.rpm
3.in the guest ,install kmod-virtio-0.1-19.el3.i686.rpm
4.poweroff the guest ,then restart the guest with -if=virtio

Actual results:
it shows disk error ,can not successfully boot up(referring to screendump).

Expected results:


Additional info:
also tried 
#mkinitrd --with=virtio --with=virtio_pci --with=virtio_ring --with=virtio_blk --with=virtio_net -f /boot/initrd-2.4.21-66.smp_mike.img 2.4.21-66.ELsmp 
in the guest ,after restart with if=virtio ,guest kernel panic.

Comment 1 Mike Cao 2011-04-29 05:54:30 UTC
Created attachment 495714 [details]
screendump

Comment 3 Miroslav Rezanina 2011-04-29 06:09:18 UTC
Hi,
did you install kvm-virtio in i686 kernel or x86_64 kernel? Can you please check if the device files (/dev/xvd*) are created?

Comment 4 Mike Cao 2011-04-29 06:17:24 UTC
(In reply to comment #3)
> Hi,
> did you install kvm-virtio in i686 kernel or x86_64 kernel? Can you please
> check if the device files (/dev/xvd*) are created?

I install kmod-virtio-0.1-19.el3.i686.rpm in i686 bit kernel

I did not find /dev/xvd* under /dev.

Comment 5 FuXiangChun 2011-04-29 10:21:23 UTC
hi,
 according to the following steps, bug can not be reproduced. and guest work well.

1.install one of three kernels and start guest with it.
2.install corresponding virtio drive
3.poweroff guest, and using above kernel restart guest with virtio drive

or

1. install all kernels 
2. select one kernels to start guest and install corresponding virtio drive
3. using above kernel to restart guest with virtio drive

so it is not bug.


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