virtio-win-pkg-scripts icon indicating copy to clipboard operation
virtio-win-pkg-scripts copied to clipboard

Balloon driver installation failure on Windows Server 2008 R2

Open MohammadrezaNasrabadi opened this issue 2 years ago • 11 comments

Hi, I want to install some drivers for Windows Server 2008 R2 VM, using autounattend.xml file to automatically install my needed drivers.

My desired drivers were installed successfully, but when I want to install the ballooning driver located in iso virtio image, I face with error shown here:

image_2022-04-05_14-46-23

I used the latest stable version of virtio-win.iso linked in repository. Also I used old versions but I faced with same error. I would be appreciate if you help me.

MohammadrezaNasrabadi avatar Apr 05 '22 11:04 MohammadrezaNasrabadi

This is part of my autounattend file that I specified which drivers must be installed.

<PathAndCredentials wcm:action="add" wcm:keyValue="1">
    <Path>E:\NetKVM\2k8r2\amd64\</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
    <Path>E:\amd64\2K8R2\</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="3">
    <Path>E:\Balloon\2k8r2\amd64\</Path>
</PathAndCredentials>

MohammadrezaNasrabadi avatar Apr 05 '22 11:04 MohammadrezaNasrabadi

Hi @MohammadrezaNasrabadi ,

In the latest packages we removed the support of older OSes. The oldest OS that is supported is Windows 8 (Windows Server 2012).

YanVugenfirer avatar Apr 05 '22 12:04 YanVugenfirer

Hi @MohammadrezaNasrabadi ,

In the latest packages we removed the support of older OSes. The oldest OS that is supported is Windows 8 (Windows Server 2012).

Hi @YanVugenfirer

Thanks for your response.

Could you please tell me which version of older virtio supports Windows Server 2008 R2 drivers?

MohammadrezaNasrabadi avatar Apr 05 '22 13:04 MohammadrezaNasrabadi

@vrozenfe can you please write what's the lates version with Windows Server 2008 R2 drivers ?

YanVugenfirer avatar Apr 05 '22 13:04 YanVugenfirer

E:\Balloon\2k8r2\amd64\ from "latest" (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.215-2/) should work. The balloon driver there is from build 174 cross-signed with RH SHA1 certificate issued by DigiCert

Do you have any problems installing the balloon driver manually on WS2008R2 VM?

Thanks, Vadim.

vrozenfe avatar Apr 06 '22 03:04 vrozenfe

Hi dear @vrozenfe thanks for sharing the link

As you said, I tried to install VirtIO Balloonnig driver whether with automatically with autounattend file or manually based on the version you mentioned, but with both approaches it doesn't work.

After many trying since yesterday, when I tried to install manually, there are warnings that I faced them:

image_2022-04-07_12-18-39

image_2022-04-07_12-22-30

Despite of your comment that this driver has issued by certificate, I guess that for this specific driver, there is not any digital signing or certificate for validation.

image_2022-04-07_12-33-43

MohammadrezaNasrabadi avatar Apr 07 '22 08:04 MohammadrezaNasrabadi

@MohammadrezaNasrabadi No worries. Do you have the balloon device attached to your VM? Can you please share the qemu command line and the qemu version?

Thanks, Vadim.

vrozenfe avatar Apr 07 '22 10:04 vrozenfe

@MohammadrezaNasrabadi No worries. Do you have the balloon device attached to your VM? Can you please share the qemu command line and the qemu version?

Thanks, Vadim.

I just added balloon device now, there is results:

In autounattend mode i faced with this accident: image_2022-04-07_15-21-40

In manually, is the same mentioned in previous comment

This is my qemu command line:

/usr/bin/qemu-system-x86_64 -netdev user,id=user.0 -boot once=d \
-qmp unix:qemu-drives/windows-server-2008-r2.monitor,server,nowait \
-name windows-server-2008-r2 \
-drive file=qemu-drives/windows-server-2008-r2,if=virtio,cache=writeback,discard=unmap,format=qcow2,index=4 \
-drive file=virtio-win.iso,media=cdrom,index=3 \
-drive if=virtio,file=install.iso,index=5,media=cdrom \
-cdrom windows_server_2008_r2.iso -smp cpus=2,sockets=2 \
-vnc 0.0.0.0:91 \
-fda /tmp/packer1618261514 \
-machine type=pc,accel=kvm \
-device virtio-balloon-pci,deflate-on-oom=on \
-device virtio-net,netdev=user.0 \
-m 4096M

The version of my qemu is: 5.2.0

MohammadrezaNasrabadi avatar Apr 07 '22 11:04 MohammadrezaNasrabadi

@MohammadrezaNasrabadi

Thanks, I need to check it then. bugcheck code 7E usually happens when installing Win8 drivers on Win7/WS2008R2 platforms. https://github.com/virtio-win/kvm-guest-drivers-windows/issues/61

Best, Vadim.

vrozenfe avatar Apr 07 '22 13:04 vrozenfe

@MohammadrezaNasrabadi

Thanks, I need to check it then. bugcheck code 7E usually happens when installing Win8 drivers on Win7/WS2008R2 platforms. virtio-win/kvm-guest-drivers-windows#61

Best, Vadim.

Thanks a lot

I will waiting for you ;)

MohammadrezaNasrabadi avatar Apr 07 '22 14:04 MohammadrezaNasrabadi

@MohammadrezaNasrabadi Confirmed. Ping me at vrozenfe_at_redhat_dot_com Vadim.

vrozenfe avatar Apr 10 '22 11:04 vrozenfe