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

virtio-net not recognized anymore #1203

Open
mr-manuel opened this issue Nov 27, 2024 · 4 comments
Open

virtio-net not recognized anymore #1203

mr-manuel opened this issue Nov 27, 2024 · 4 comments
Assignees

Comments

@mr-manuel
Copy link

mr-manuel commented Nov 27, 2024

Describe the bug
After updating the virtio-win to 0.1.262-1 or higher drivers on my Windows 11 VM, the Ethernet-Controllers are not recognized anymore. If I uninstall them and reinstall 0.1.248-1 it works again. No special settings, everythis is on default.

To Reproduce
Install the latest virtio-win version on a Windows 11 VM with a VirtIO network card.

grafik

Expected behavior
The network card should be recognized.

Screenshots
grafik

Host:

  • Disto: Proxmox VE 8.3.0
  • Kernel version: 6.8.12-2-pve
  • QEMU version: QEMU emulator version 9.0.2 (pve-qemu-kvm_9.0.2-4)
  • QEMU command line: /usr/bin/kvm -id 103 -name manuel-vpc.domain.local,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=/var/run/qemu-server/103.qmp,server=on,wait=off -mon chardev=qmp,mode=control -chardev socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5 -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/103.pid -daemonize -smbios type=1,uuid=564d16e8-e9df-33bf-7640-5f5b00f3eb89 -drive if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd -drive if=pflash,unit=1,id=drive-efidisk0,format=raw,file=/dev/zvol/rpool/data/vm-103-disk-0,size=131072 -smp 4,sockets=1,cores=4,maxcpus=4 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vnc unix:/var/run/qemu-server/103.vnc,password=on -cpu host,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vpindex,+kvm_pv_eoi,+kvm_pv_unhalt -m 8192 -object iothread,id=iothread-virtio0 -object iothread,id=iothread-virtio1 -device pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e -device pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f -device pci-bridge,id=pci.3,chassis_nr=3,bus=pci.0,addr=0x5 -device vmgenid,guid=7934bf48-00fb-4d83-9554-4995c88d4347 -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device qxl-vga,id=vga,bus=pci.0,addr=0x2 -chardev socket,path=/var/run/qemu-server/103.qga,server=on,wait=off,id=qga0 -device virtio-serial,id=qga0,bus=pci.0,addr=0x8 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -device virtio-serial,id=spice,bus=pci.0,addr=0x9 -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice tls-port=61001,addr=127.0.0.1,tls-ciphers=HIGH,seamless-migration=on -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on -iscsi initiator-name=iqn.1993-08.org.debian:01:4adad7243ea1 -drive file=/dev/zvol/rpool/data/vm-103-disk-1,if=none,id=drive-virtio0,discard=on,format=raw,cache=none,aio=io_uring,detect-zeroes=unmap -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,iothread=iothread-virtio0,bootindex=100 -drive file=/dev/zvol/rpool/data/vm-103-disk-2,if=none,id=drive-virtio1,discard=on,format=raw,cache=none,aio=io_uring,detect-zeroes=unmap -device virtio-blk-pci,drive=drive-virtio1,id=virtio1,bus=pci.0,addr=0xb,iothread=iothread-virtio1 -device ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7 -drive file=/var/lib/vz/template/iso/virtio-win-0.1.248.iso,if=none,id=drive-sata0,media=cdrom,aio=io_uring -device ide-cd,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=101 -netdev type=tap,id=net0,ifname=tap103i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=00:0c:29:00:00:00,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=256 -netdev type=tap,id=net1,ifname=tap103i1,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=00:0c:29:00:00:00,netdev=net1,bus=pci.0,addr=0x13,id=net1,rx_queue_size=1024,tx_queue_size=256 -rtc driftfix=slew,base=localtime -machine hpet=off,type=pc-i440fx-9.0+pve0 -global kvm-pit.lost_tick_policy=discard
  • libvirt version: not found?
  • libvirt XML file: not found?

VM:

  • Windows version: 22H2 (Build 22621.4460)
  • Which driver has a problem: Network card is not recognized
  • Driver version or commit hash that was used to build the driver: Tried with 0.1.262-1, 0.1.262-2 and 0.1.266-1

Additional context
Strange that it seems that I'm the only one with this problem.

@mr-manuel
Copy link
Author

Possibly related, but in my case it workes with an older VirtIO driver version.

The Windows installation is German, but it worked before. So this probably is a regression.

@vrozenfe
Copy link
Collaborator

@mr-manuel
Did you try to install/update the netkvm driver manually from the Device Manager Dialog or only with virtio-win msi installer/bundle ?
Thanks,
Vadim.

@mr-manuel
Copy link
Author

mr-manuel commented Nov 28, 2024

First I installed it via the MSI, then I tried via the device manager, but it does not recognize the driver.

@YanVugenfirer
Copy link
Collaborator

Screenshot 2024-12-01 at 1 40 15 PM

Please check what is the PNP ID of the virtio-net device.
Also please provide setupapi logs located in the C:\windows\INF directory.

Thanks,
Yan

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

No branches or pull requests

3 participants