From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Chmielewski Subject: Re: virtio block drivers not working Date: Sun, 22 Mar 2009 19:34:39 +0100 Message-ID: <49C684BF.8070808@wpkg.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: Caleb Tennis , "kvm@vger.kernel.org" Return-path: Received: from mx03.syneticon.net ([78.111.66.105]:59440 "EHLO mx03.syneticon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944AbZCVSer (ORCPT ); Sun, 22 Mar 2009 14:34:47 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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 http://wpkg.org