Re: virtio block drivers not working

Tomasz Chmielewski
2009-03-22T18:34:47Z

Caleb Tennis schrieb:
> I've been very unsuccessful in using the virtio block drivers inside of
> a guest. I can't seem to make them active. I'm positive my kernel has
> support for them turned on (not as a module, but as a direct built in),
> but when I change one of my ide drives over to virtio and boot, it isn't
> found, and nothing under /sys or /dev indicates the presence of a
> device. dmesg doesn't indicate anything about them either. I DO have
> virtio networking enabled and working, so I know as a whole that some of
> the virtio subsystem is functional.
>
> The only thing I think I'm doing possibly differently than normal is
> using the "-kernel" option to boot up from a kernel image vs. having an
> installed boot image via lilo or grub. Would this make any difference?
>
> Is there any way for me to debug some more as to why the block drivers
> don't seem to be showing up?

Did you try other guests?

For example, try downloading a SystemRescueCd beta - it includes virtio
drivers:

http://www.sysresccd.org/Beta-x86

Boot the guest from this CD, with a drive attached as virtio.

Load virtio drivers - do you see /dev/vda?

--
Tomasz Chmielewski