From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz0xG-00019E-6H for qemu-devel@nongnu.org; Sun, 31 May 2015 06:58:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yz0xC-0001qj-V4 for qemu-devel@nongnu.org; Sun, 31 May 2015 06:58:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz0xC-0001q9-NL for qemu-devel@nongnu.org; Sun, 31 May 2015 06:58:54 -0400 Message-ID: <1433069925.572.26.camel@oscar> From: Vadim Rozenfeld Date: Sun, 31 May 2015 20:58:45 +1000 In-Reply-To: References: <55687B16.8070901@univention.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] VirtIO windows driver: viostor.sys not post-installable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yan Vugenfirer Cc: Tobias Birkefeld , Cole Robinson , qemu-devel , Philipp Hahn On Sun, 2015-05-31 at 11:26 +0300, Yan Vugenfirer wrote: > Adding Vadim to the thread. >=20 > > On May 29, 2015, at 5:43 PM, Philipp Hahn > > wrote: > >=20 > > Hello, > >=20 > > we tried to migrate some Windows 2008 and 2012 VMs from Xen to KVM, > > but > > installing the VirtIO viostor.sys driver fails, because the > > signature of > > the driver doesn't seem to match what's stored in the > > corresponding .cat > > file. > >=20 > >=20 >=20 >=20 > Can you send the error message you are getting from Windows? If > possible attach setupapi.log as well (search your system > for setupapi.*, the location might be different for different OS > versions). >=20 > > On the other hand installing the drivers during a fresh install from > > the > > beginning never had any problems. Do you use the same installation media for v2v and a fresh install, or vfd for a fresh install and iso for v2v conversion?=20 Thanks, Vadim. > >=20 > >=20 > > We use > > > > but also tried "virtio-win-0.1.103.iso" and "virtio-win-0.1-81.iso". > >=20 > > Running the following command on 0.1.104 prints (among others) the > > following sha1hash: > > > "C:\Program Files (x86)\Windows Kits\8.1\bin\x86 > > > \signtool.exe" /verify > > /v /kp E:\NetKVM\2k12\amd64\netkvm.sys > > ... > > > Hash of file (sha1): 135E3AA23217610AEE8046F68550B0BA86F4EAE6 > >=20 > > > "C:\Program Files (x86)\Windows Kits\8.1\bin\x86 > > > \signtool.exe" /verify > > /v /kp E:\viostor\2k12\amd64\viostor.sys > > ... > > > Hash of file (sha1): EF11F5E539EEE0A9DB6DF3710A0DAA35066C5607 > >=20 > > Looking into the corresponding .cat "Security Catalog File" > > - netkvm.cat contains the above given hash for netkvm.sys, > > - viostor.cat contains 55FC4DA2EE96ECC3FD4865680436DCDA6B8C6BDD > > instead! > >=20 > > Running "sha1sum" on Linux print some completely different hashes, > > so I > > don't know what the Microsoft tool actually hash: > >=20 > > > # > > > sha1sum /cdrom/NetKVM/2k12/amd64/netkvm.sys /cdrom/viostor/2k12/amd= 64/viostor.sys=20 > > > 1aa91c8e1d7680457d92c1875810a79f68af536d > > > /cdrom/NetKVM/2k12/amd64/netkvm.sys > > > f39bc2b561091addfcac30e370227c91700d2698 > > > /cdrom/viostor/2k12/amd64/viostor.sys > >=20 > > Is this a known issue? > >=20 >=20 >=20 > There was some mismatch reported between Windows and sha1sum on > Linux. >=20 > >=20 > > Are there some (working) alternatives? > >=20 > > Are there some Linux tools to work with the .cat files and > > signatures to > > make sure they match? > >=20 > > Is there some better mailing list for VirtIO Windows driver issues? > >=20 >=20 >=20 > Vadim and I monitor qemu-devel, you can also open bug in > bugzilla.redhat.com for virtio-win component or report an issue > here: https://github.com/YanVugenfirer/kvm-guest-drivers-windows/issues >=20 >=20 > >=20 > >=20 > > Some more background for our migration procedure: > >=20 > > - The VM was installed some years are on Xen. > > - The GPLPV drivers were added afterwards. > > - For the migration the GPLPV drivers were disabled and then > > removed. > > - A 2nd VirtIO hard-disk was added in KVM to trigger Windows to > > request > > the virstor driver. > >=20 > > If you need any more data, just ask. > >=20 > > Thanks in advance > > Philipp Hahn > >=20 > > PS: data was copied by hand from Windows, so it might contains > > copy-paste-errors. > > --=20 > > Philipp Hahn > > Open Source Software Engineer > >=20 > > Univention GmbH > > be open. > > Mary-Somerville-Str. 1 > > D-28359 Bremen > > Tel.: +49 421 22232-0 > > Fax : +49 421 22232-99 > > hahn@univention.de > >=20 > > http://www.univention.de/ > > Gesch=C3=A4ftsf=C3=BChrer: Peter H. Ganten > > HRB 20755 Amtsgericht Bremen > > Steuer-Nr.: 71-597-02876 > >=20 >=20 >=20