Public bug reported:

Binary package hint: kvm

Hi there
I am having problems with KVM in Ubuntu Hardy 8.04 64-bit (both host and guest) 
with virtio. 
Virtio currently does not work either as disk or as net.

Hardware is HP xw6600 10GB ram, 2 x E5420
Kernel image is 2.6.24-23-server both on host and on guest (also tried 
-19-generic) kvm is kvm-62 1:62+dfsg-0ubuntu8
I made a bridge br0 for eth0 and tap0
I made a 170GB file as hard disk image (raw)
I installed Ubuntu with kvm non-virtio (network was 1000e) because it seemed 
not recognizing virtio devices at install time.

Everything was working without virtio. In the next boots I tried to introduce 
virtio but it would not work.
Here is the command line: 

kvm -m 9000 -boot c -drive file=login_server,index=0,media=disk -net
nic,macaddr=52:54:00:94:91:31,model=e1000 -net tap,ifname=tap0 -smp 8

This one works.

If I put model=virtio for network, it stops working. Nothing passes, not
even ping, arping, ssh, nothing. Tried even with user mode instead of
tap. Virtio modules are loaded correctly in the guest. Tried unloading
and reloading virtio modules, no good. Tried removing -smp option, no
good.

If I make two nics, one with e1000 and one with virtio with different
MACs, NONE of the two works. Now if I unload the virtio modules, the
virtio ethX interface correctly disappears, but the other one STILL does
not work.

No errors are shown in the dmesg.

If I use only one e1000, that works.

For the disk: virtio prevents boot. No /dev/vda appears nor /dev/disk/by-uuid. 
The directory /sys/block/dev/vda exists though, but I'm not sure how to use it 
and I don't seem to be able to mount to /root any of the entries. The root 
filesystem cannot be found because the by-uuid directory does not exist. I am 
positive that the virtio_blk, virtio_pci and virtio modules are loaded when I 
am dropped to the shell. I also tried rootdelay=10, no good.
Only one message regarding the disk appears in the boot messages, probably 
meaningless: 
vda:<4>Driver 'sr' needs updating - please use bus_type methods

Any idea?

Thank you

PS: I am not sure if the correct package for the bug is kvm or linux...

** Affects: kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Virtio not working in Hardy 64bit
https://bugs.launchpad.net/bugs/316861
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to