Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Balloon driver installation failure on Windows Server 2008 R2 #58

Open
MohammadrezaNasrabadi opened this issue Apr 5, 2022 · 11 comments

Comments

@MohammadrezaNasrabadi
Copy link

MohammadrezaNasrabadi commented Apr 5, 2022

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
Copy link
Author

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>

@YanVugenfirer
Copy link
Collaborator

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).

@MohammadrezaNasrabadi
Copy link
Author

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?

@YanVugenfirer
Copy link
Collaborator

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

@vrozenfe
Copy link
Collaborator

vrozenfe commented Apr 6, 2022

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.

@MohammadrezaNasrabadi
Copy link
Author

MohammadrezaNasrabadi commented Apr 7, 2022

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

@vrozenfe
Copy link
Collaborator

vrozenfe commented Apr 7, 2022

@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.

@MohammadrezaNasrabadi
Copy link
Author

MohammadrezaNasrabadi commented Apr 7, 2022

@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

@vrozenfe
Copy link
Collaborator

vrozenfe commented Apr 7, 2022

@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.

@MohammadrezaNasrabadi
Copy link
Author

@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 ;)

@vrozenfe
Copy link
Collaborator

@MohammadrezaNasrabadi
Confirmed. Ping me at vrozenfe_at_redhat_dot_com
Vadim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants