-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unable to install guest tools v0.1.262 #64
Comments
@Taomyn |
same on my side...thank you |
PVE7.4,Windows11 Guest |
Hello! |
As alexus-m points out. The same error occurs even on a clean, new VM with no prior virtio-win presence (other than the storage driver being installed during the Windows setup process). |
related to virtio-win#64 Signed-off-by: Vadim Rozenfeld <[email protected]>
thanks a lot. Sorry for any inconvenience. The virtio-win installed is under some reconstruction. So please let us know Cheers, |
Yes, 0.1.262-2 will fix the error message, but now no drivers will be installed. |
Strange. Can you please post setupapi.dev.log file? Thanks, |
@vrozenfe where can I found it? |
@tuxmaster5000 Can yo tell me if that vioscsi driver is operating on the system or data volume? |
Hi @vrozenfe the vioscsi driver is used for the OS volume. |
GH reject the log file :( also zipped :( |
Now :) Rename and Zip |
Fresh complete installation of virtio-win-0.1.262-2 via virtio-win-guest-tools.exe on new Win10 VM successfully done. |
I tried the .exe installer to upgrade from .248 on Windows Server 2022, it still fails. The setupapi.dev.log file did not have any new entries, but I have attached the installer logs. Virtio-win-guest-tools_20240807112709_000_virtio_win_gt_x64.msi.log Also: Not useful when notepad.exe is not installed, perhaps it could use file associations when attempting to open the log? |
Also not for me: |
Guys, can I ask you to try running the MSI in verbose mode and upload the resulting log files The qemu command lines are also welcome. Sorry again for the troubles. |
Here you go. Not sure about the qemu command you want as I am running my VMs on Proxmox. |
Same issue on Windows 11 Pro (Microsoft Windows [Version 10.0.22631.2428]) guest and Archlinux (kernel 6.10.3 / qemu 9.0.2) host. Still not working with the latest virtio-win-0.1.262-2 (from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-2). Also tried to uninstall old version (0.1.248) first (Windows add / remove programs):
Installing the new version (0.1.262-2) I get the following error and log file: Thank you, P.S.: See the next post for a detailed installation log. |
Attached a detailed (verbose) log for the installation process: |
Using "virtio-win-0.1.262-2":
Virtio-win-guest-tools_20240807075518.log Host:
Guest:
|
Successfully updated including drivers |
|
Clean install on Windows 11 guest works OK for me using https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-2 (failed when using https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-1). Updating from 0.1.248 fails with both (as mentioned in the posts above). |
From my point of view it is not an error with the new version. I also got an error trying to uninstall the 0.1.248. |
I second that, it certainly looks so (at least for 0.1.262-2). |
Ah yes, the same systems that didn't pick up the issue before I did - they must be so reliable. Also seems you haven't actually read this issue thread as well, having provided zero information towards its diagnosis. |
This got me thinking now. Instead of saying you can't reproduce it, which is fair enough in its own right, why don't you tell us what you actually need in order to reproduce it? No disrespect, but people have been posting all kinds of logs, but without much indication that they have been helpful or not. Perhaps if you let us know what exactly you need (and where/how to get whatever it is you need), people can start posting those things in a more organised way, which I'm sure is a lot more helpful that the seemingly random bits of logs and screenshots being posted currently. (Although some, I'm sure, have been helpful so far, and so I'm not trying to undermine those) |
Ideally, it would be extremely helpful if you or anyone else can create such reproducer and share the VM image the qemu command line with me. So I will be able to investigate the problem running the VM locally on my setup. Thanks, |
Hello! Is there any way I can contact you? I'm ready to give you admin access to a test VM where you can check it. |
@Directox01 Best, |
Done, let me know if you didn't receive my message. |
Before bothering you today, I tried to install it on my VM and re-test it. Unfortunately old test VM's I had removed. And now whatever I try I don't get the same bug. The only thing I remember from my previous VM's is I was using virtio-win-0.1.262-2/ but even with the latest version I had the same issue. I was running kernel 6.8 then and now kernel 6.11 but even after rollback to 6.8 I still couldn't find the issue. I think I have tried everything.... |
Ok, finally I found it. The issue comes when you add virtio iso to cdrom using Sata instead of IDE. Add cdrom using Sata => install driver => update using newer version or uninstall simply. |
I apologize for the mistake the issue wasn't been from SATA as well but SCSI! Can you guys, please confirm if everyone here tried at least once install the iso using SCSI? |
Hello @Directox01, I also use ahci for cdrom, but I couldn't reproduce this issue. Could you please give your qemu-kvm command line for reference? Thanks.
|
okay, I'll have a try. |
@Directox01 Wait, if you use virtio-scsi as the cdrom device, I think you definitely have the chance to hit this issue. Because when you uninstall the installer, the SCSI driver was uninstalled some time, then the installer itself couldn't be accessed except you copy the installer out of the cdrom drive. |
|
When you install the iso using SCSI and then trying to reinstall/repair or upgrade to newer version it install the driver but not completely ( by my knowledge ) from which comes the bug. |
@vrozenfe Could you please have a look at the above information? Thanks. |
@xiagao |
I don't know what my cdrom type was (just using |
If I'm not mistaken, Windows should copy msi first from removable media to non-removable before running it. (At least it is how it used to be working in the past). From the other side we need to double check how the combination of the system disk and CDROM attached to the same sort of virtio HBA works in terms of the relevant driver update. Technically, in this case Windows probably will not unload the old storage driver and will keep it running until reboot.
|
|
That makes sense, I'll try with this scenario.
|
Thanks, and could you share your qemu command line and related pkgs/host/guest version? That would be helpful. |
The full qemu command arguments used: -enable-kvm
-name "Win10"
-machine q35
-cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time
-smp 8,cores=8,threads=1,sockets=1
-m "$memsize"
-device virtio-balloon-pci
-usb -device usb-tablet
-rtc base=localtime
-monitor stdio
-drive file="$HOME"/workspace/kvm/disks/Win10.qcow2,if=virtio,discard=unmap
-drive file=/var/lib/libvirt/images/virtio-win.iso,if=ide,format=raw,media=cdrom,read-only=on
-netdev bridge,id=eth0,br=br0
-device virtio-net,netdev=eth0,mac=XXXXXX
-vga none -device qxl-vga,vgamem_mb=32
-display egl-headless,gl=on,rendernode=/dev/dri/renderD128
-spice unix=on,addr="$spice_sock",disable-ticketing=on
-device virtio-serial-pci
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0
-chardev spicevmc,id=spicechannel0,name=vdagent
-audiodev pipewire,id=pw0 -device ich9-intel-hda -device hda-output,audiodev=pw0 Versions:
I have setup this virtual machine for quite some time, and installed various updates and third party applications. |
always IDE cdrom in my case |
@vrozenfe Seems that I reproduce the issue. Feel free to access to system that has the issue. |
@vrozenfe |
I'm still struggling with this even on a clean install of Windows Server 2025 that other than the manual install of the scsi, network and balloon .266 driver during the initial setup, never had the guest tools or even the MSI anywhere near it before. |
Sorry to hear that. Seems that you have a stable environment to reproduce it. Unfortunately, I hit this issue randomly. In order to locate the issue better, could you please provide your entire qemu command line, we'll know what devices you use inside guests. And the qemu-kvm version is a plus. And two questions, what applications do you run in your clean install os? What the language is used on your os? |
@xiagao I'm using Proxmox v8.3.2 so I hope the VMs config is enough for you
I started out with SCSI disks but switched them to SATA hoping it would help, but I also tried IDE - the OS was installed when they were SCSI though. I don't run any applications in the clean OS other than getting the latest OS updates, I've not gotten that far yet, and it's US-English with English-UK regional settings. Also, I continued trying things out when I thought to try running the MSI and set all the options to "unavailable" and see what happens. Curiously the "Next" button remained enabled even though I was asking it to basically do nothing, so I hit next and it promptly failed again. I then checked the verbose log I had enabled with the msiexec command and this showed up:
I'm building a 2025 template and had removed many preinstalled things, one of which included "VBSCRIPT" under "Optional features". Once I reinstalled that the problem went away. I'm curious why if nothing is being installed the installer still feels the need to execute this script. Now this might not be what's causing this for everyone but it might be something else to look at. |
Describe the bug
On a test machine running guest tools v0.1.248, I am unable to install, it fails and rolls back
To Reproduce
Run installer from: virtio-win-0.1.262-1/virtio-win-guest-tools.exe
Expected behavior
Clean installation
Host:
Guest:
Additional context
Same happens with same version .MSI installer
Virtio-win-guest-tools_20240806094248_000_virtio_win_gt_x64.msi.log
Virtio-win-guest-tools_20240806094248.log
setupapi.dev.log
The text was updated successfully, but these errors were encountered: