kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vadim Rozenfeld <vrozenfe@redhat.com>
To: Asdo <asdo@shiftmail.org>
Cc: kvm@vger.kernel.org
Subject: Re: Can't make virtio block driver work on Windows 2003
Date: Thu, 15 Oct 2009 07:14:33 +0200	[thread overview]
Message-ID: <4AD6AFB9.8070103@redhat.com> (raw)
In-Reply-To: <4AD60FDB.7010603@shiftmail.org>

On 10/14/2009 07:52 PM, Asdo wrote:
> Hi all
> I have a new installation of Windows 2003 SBS server 32bit which I 
> installed using IDE disk.
> KVM version is QEMU PC emulator version 0.10.50 (qemu-kvm-devel-86) 
> compiled by myself on kernel 2.6.28-11-server.
>
> I have already moved networking from e1000 to virtio (e1000 was 
> performing very sluggishly btw, probably was losing many packets, 
> virtio seems to work)
>
> Now I want to move the disk to virtio...
>
> This is complex so I thought that first I wanted to see virtio 
> installed and working on another drive.
> So I tried adding another drive, a virtio one, (a new 100MB file at 
> host side) to the virtual machine and rebooting.
>
> A first problem is that Windows does not detect the new device upon 
> boot or Add Hardware scan.
Check PCI devices with "info pci". You must have "SCSI controller: PCI 
device 1af4:1001" device reported.
>
> Here is the kvm commandline (it's complex because it comes from libvirt):
>
> /usr/local/kvm/bin/qemu-system-x86_64 -S -M pc -m 4096-smp 4 -name 
> winserv2 -uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -monitor pty -boot 
> c -drive 
> file=/virtual_machines/kvm/nfsimport/winserv2.raw,if=ide,index=0,boot=on 
> -drive file=/virtual_machines/kvm/nfsimport/zerofile,if=virtio,index=1 
> -net nic,macaddr=xx:xx:xx:xx:xx:xx,vlan=0,model=virtio -net 
> tap,fd=25,vlan=0 -serial none -parallel none -usb -vnc 127.0.0.1:4
>
> Even if Windows couldn't detect the new device I tried to install the 
> driver anyway. On Add Hardware I go through to --> SCSI and RAID 
> controllers --> Have Disk .. and point it to the location of viostor 
> files (windows 2003 x86) downloaded from:
>
>  http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers
>  http://people.redhat.com/~yvugenfi/24.09.2009/viostor.zip
>
> Windows does install the driver, however at the end it says:
>
>  The software for this device is now installed, but may not work 
> correctly.
>  This device cannot start. (Code 10)
>
> and the new device gets flagged with a yellow exclamation mark in 
> Device Manager.
>
> I don't know if it's the same reason as before, that the device is not 
> detected so the driver cannot work, or another reason.
Yes, it must be the same problem. Code 10 means that device driver was 
not able to find or initialize hardware.
Regards,
Vadim
>
> Any idea?
>
> Thanks for your help
> -- 
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2009-10-15  5:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14 17:52 Can't make virtio block driver work on Windows 2003 Asdo
2009-10-15  5:14 ` Vadim Rozenfeld [this message]
2009-10-15 11:42   ` Asdo
2009-10-15 13:20     ` Vadim Rozenfeld
2009-10-15 14:23       ` Asdo
2009-10-15 15:08         ` Vadim Rozenfeld
2009-10-15 17:35           ` Asdo
2009-10-15  9:29 ` Martin Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AD6AFB9.8070103@redhat.com \
    --to=vrozenfe@redhat.com \
    --cc=asdo@shiftmail.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).