[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] No matching device was found when trying to install PV drivers



> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Nick Craig-Wood
> Sent: 28 September 2016 14:53
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: [win-pv-devel] No matching device was found when trying to install
> PV drivers
> 
> We've been trying to make the new PV drivers work under Xen 4.6.3
> (compiled from source) with Windows 2012R2
> 
> When we try to install them the drivers can't find the device they are
> supposed to be attached to.  The Xen platform PCI device is visible in device
> manager.
> 

Ok, good :-)

> This is trying with the 8.1 Release.
> 
> C:\users\root\Downloads\xennet\x64> dir
> 
>     Directory: C:\users\root\Downloads\xennet\x64
> 
> Mode                LastWriteTime     Length Name
> ----                -------------     ------ ----
> -a---        22/07/2016     15:57     679840 dpinst.exe
> -a---        22/07/2016     15:57      10760 xennet.cat
> -a---        22/07/2016     13:35       9557 xennet.inf
> -a---        22/07/2016     13:35     544768 xennet.pdb
> -a---        22/07/2016     15:56      44448 xennet.sys
> -a---        22/07/2016     15:57     207776 xennet_coinst.dll
> -a---        22/07/2016     13:36    1789952 xennet_coinst.pdb
> 
> C:\users\root\Downloads\xennet\x64> .\dpinst.exe /C
> INFO:   Option set: dumping log info to console.
> INFO:   Current working directory: 'C:\users\root\Downloads\xennet\x64'
> INFO:   Running on path 'C:\users\root\Downloads\xennet\x64'
> INFO:   No valid 'dpinst.xml' file provided.
> INFO:   Found driver package:
> 'C:\users\root\Downloads\xennet\x64\xennet.inf'.
> INFO:   Preinstalling 'c:\users\root\downloads\xennet\x64\xennet.inf' ...
> INFO:   ENTER:  DriverPackagePreinstallW
> SUCCESS:c:\users\root\downloads\xennet\x64\xennet.inf is preinstalled.
> INFO:   RETURN: DriverPackagePreinstallW  (0x0)
> INFO:   ENTER:  DriverPackageGetPathW
> INFO:   RETURN: DriverPackageGetPathW  (0x0)
> INFO:   ENTER:  DriverPackageInstallW
> INFO:   Installing INF file
> 'c:\users\root\downloads\xennet\x64\xennet.inf' (Plug and Play).
> INFO:   Looking for Model Section [Inst.NTamd64]...
> INFO:   No matching devices found in INF
> "C:\Windows\System32\DriverStore\FileRepository\xennet.inf_amd64_3d1
> 357c296dde9
> ff\xennet.inf" on the Machine.
> INFO:   No drivers installed. No devices found that match driver(s)
> contained in 'C:\Windows\System32\DriverStore\FileRe
> pository\xennet.inf_amd64_3d1357c296dde9ff\xennet.inf'.
> INFO:   RETURN: DriverPackageInstallW  (0xE000020B)
> INFO:   No matching device was found for
> 'c:\users\root\downloads\xennet\x64\xennet.inf'. Driver will be installed
> when plugged in.
> INFO:   Created entry in Add or Remove Programs for
> 'C:\Windows\System32\DriverStore\FileRepository\xennet.inf_amd64_3d1
> 357c296dde9ff\xennet.inf'.
> 

Have you installed XENBUS and XENVIF? XENBUS is the driver that binds to the 
platform PCI device and creates the virtual device for XENVIF to bind to which, 
in turn, creates the virtual device which XENNET binds to.

  Paul

> The xen config looks like this - note the use of stubdomains.
> 
> memory = 4096
> maxmem = 4096
> name = "win2012r2"
> domain = "win2012r2"
> vif = [ 'ip=1.2.3.4, mac=00:16:3E:00:00:01, vifname=win2012r2, type=vif,
> script=/etc/xen/scripts/vif-route' ] disk = [ 'format=raw, vdev=hda,
> access=rw, target=/dev/lvm/win2012r2_root_fs' ] restart = 'onreboot'
> vcpus = 4
> cpu_weight=1024
> # enable stubdomain
> device_model_stubdomain_override = 1
> # enable pv on hvm
> xen_platform_pci=1
> # HVM options
> builder='hvm'
> monitor_path = 'null'
> boot='c'
> sdl=0
> vnc=1
> vncunused=0
> vnclisten='0.0.0.0'
> vncdisplay='XXXX'
> vncpasswd='XXXXXXXX'
> serial='pty'
> parallel='none'
> ne2000=0
> usb=1
> usbdevice='tablet'
> 
> The config works fine for Linux HVM with PV.
> 
> Any help much appreciated, and apologies in advance if this is a stupid
> question!
> 
> Thanks
> 
> Nick
> --
> Nick Craig-Wood <nick@xxxxxxxxxxxxxx> -- http://www.craig-
> wood.com/nick
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.