From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vadim Rozenfeld Subject: RE: unable to load viostor driver in w2k3 x86 Date: Wed, 04 Aug 2010 16:59:52 +0300 Message-ID: <1280930392.20787.120.camel@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "'kvm@vger.kernel.org'" To: Gerrit van der Kolk Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1567 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932506Ab0HDN76 (ORCPT ); Wed, 4 Aug 2010 09:59:58 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2010-08-04 at 14:53 +0200, Gerrit van der Kolk wrote: > I managed to get libvirtd out of the loop. I'm starting the vm with: > qemu-kvm -S -M fedora-13 -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -name test -uuid 5ffc03bf-3562-1c90-9543-a64b2416a4a1 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/test.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=localtime -boot dc -drive file=/var/lib/libvirt/images/test-1.img,if=ide,boot=on,format=raw -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vga std -drive file=/var/lib/libvirt/images/test-3.img,if=virtio,format=raw > > host os is a fully updated fedora13 system with kernel 2.6.33.6-147.2.4.fc13.x86_64. Guestos is windows 2003 SP2 x86 with miniport hotfix KB932755 applied. Didn't solve the problem either. > > Anyone out there where the virtio storage does work with windows? I'm a little out of ideas at the moment. > Hi, Gerrit. Code 10 usually indicates a problem in FindAdapter routine. It could be one of two reasons for that: - invalid HW resources reported to guest; - version mismatch between viostor driver and qemu. Best regards, Vadim. > Regards, > > Gerrit > > -----Original Message----- > From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] On Behalf Of Gerrit van der Kolk > Sent: Monday, August 02, 2010 3:44 PM > To: 'kvm@vger.kernel.org' > Subject: unable to load viostor driver in w2k3 x86 > > Hello, > > I've been trying to use kvm with viostor, but the driver fails to load(Code 10). I'm using version 4.3.0.17241 of the driver. > > Info pci @ the qemu console gives: (qemu) info pci > info pci > Bus 0, device 0, function 0: > Host bridge: PCI device 8086:1237 > id "" > Bus 0, device 1, function 0: > ISA bridge: PCI device 8086:7000 > id "" > Bus 0, device 1, function 1: > IDE controller: PCI device 8086:7010 > BAR4: I/O at 0xc000 [0xc00f]. > id "" > Bus 0, device 1, function 2: > USB controller: PCI device 8086:7020 > IRQ 11. > BAR4: I/O at 0xc020 [0xc03f]. > id "" > Bus 0, device 1, function 3: > Bridge: PCI device 8086:7113 > IRQ 9. > id "" > Bus 0, device 2, function 0: > VGA controller: PCI device 1234:1111 > BAR0: 32 bit prefetchable memory at 0xf0000000 [0xf0ffffff]. > id "" > Bus 0, device 3, function 0: > RAM controller: PCI device 1af4:1002 > IRQ 11. > BAR0: I/O at 0xc040 [0xc05f]. > id "balloon0" > Bus 0, device 4, function 0: > SCSI controller: PCI device 1af4:1001 > IRQ 10. > BAR0: I/O at 0xffffffffffffffff [0x003e]. > BAR1: 32 bit memory at 0xffffffffffffffff [0x00000ffe]. > id "virtio-disk0" > Bus 0, device 7, function 0: > Ethernet controller: PCI device 1af4:1000 > IRQ 5. > BAR0: I/O at 0xc0c0 [0xc0df]. > BAR1: 32 bit memory at 0xf1001000 [0xf1001fff]. > BAR6: 32 bit memory at 0xffffffffffffffff [0x0000fffe]. > id "net0" > > Windows detects the controller and finds the driver automatically. But after this there is the yellow exclamation mark with the code 10. > I'm using libvirt with kvm. The configuration is: > > > base > d6d143d6-387f-8252-f7b0-419a76d4c609 > 2097152 > 2097152 > 2 > > hvm > > > > > > > > > > core2duo > > > > destroy > restart > restart > > /usr/bin/qemu-kvm > > > > >
> > > > > > >
> > > > > >
> > >
> > > > > > >
> > > > > >