USB passthrough to scanner again dead in Tumbleweed; works in Leap 15.5

Before the big dup to snapshot 20240202, USB passthrough to two scanners was working properly in a Windows 7 VM in Tumbleweed with the appropriate extension pack and guest additions installed. It has been problematic to these scanners in the past, for the reasons described at https://bugzilla.opensuse.org/show_bug.cgi?id=1205737 and https://www.virtualbox.org/ticket/21312 . However, as long as I reduce Win 7 memory to 2048, passthrough has worked in Tumbleweed for over a year.

Unfortunately, it has now disappeared again. The log from ~/.config/VirtualBox is below. I uninstalled and reinstalled the extension pack and guest additions, with no results.

Larry Finger warned me in the bugzilla report that VirtualBox is unlikely to fix the issue that requires me to reduce memory to 2048. However, passthrough to the scanners did work otherwise.

Finally: passthrough to both scanners (with reduced memory for the Windows 7 VM) is still working fine in Leap 15.5.

00:00:00.000224 main     VirtualBox XPCOM Server 7.0.14_SUSE r161095 linux.amd64 (no date no time) release log
00:00:00.000225 main     Log opened 2024-02-07T21:32:27.279119000Z
00:00:00.000226 main     Build Type: release
00:00:00.000227 main     OS Product: Linux
00:00:00.000228 main     OS Release: 6.7.2-1-default
00:00:00.000228 main     OS Version: #1 SMP PREEMPT_DYNAMIC Fri Jan 26 11:01:28 UTC 2024 (a52bf76)
00:00:00.000241 main     DMI Product Name: All Series
00:00:00.000246 main     DMI Product Version: System Version
00:00:00.000250 main     Firmware type: BIOS
00:00:00.000269 main     Host RAM: 15928MB (15.5GB) total, 13633MB (13.3GB) available
00:00:00.000271 main     Executable: /usr/lib/virtualbox/VBoxSVC
00:00:00.000271 main     Process ID: 8718
00:00:00.000271 main     Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.001054 main     IPC socket path: /tmp/.vbox-user-ipc/ipcd
00:00:00.103692 nspr-2   VirtualBox: object creation starts
00:00:00.103747 nspr-2   Home directory: '/home/user/.config/VirtualBox'
00:00:00.103856 nspr-2   Loading settings file "/home/user/.config/VirtualBox/VirtualBox.xml" with version "1.12-linux"
00:00:00.104897 nspr-2   USBProxyBackendLinux: Device 045e:0047 (sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-13//device:/dev/vboxusb/002/004) isn't accessible. giving udev a few seconds to fix this...
00:00:00.104911 nspr-2   USBProxyBackendLinux: Device 045e:00b0 (sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5//device:/dev/vboxusb/002/002) isn't accessible. giving udev a few seconds to fix this...
00:00:00.104920 nspr-2   USBProxyBackendLinux: Device 051d:0002 (sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6//device:/dev/vboxusb/002/003) isn't accessible. giving udev a few seconds to fix this...
00:00:00.104941 nspr-2   USBProxyBackendLinux: Device 05e3:0738 (sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb4/4-2//device:/dev/vboxusb/004/002) isn't accessible. giving udev a few seconds to fix this...
00:00:00.104950 nspr-2   USBProxyBackendLinux: Device 0bda:8771 (sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-14//device:/dev/vboxusb/002/005) isn't accessible. giving udev a few seconds to fix this...
00:00:00.105017 nspr-2   Successfully initialised host USB using sysfs
00:00:00.105416 nspr-2   HostDnsMonitor: initializing
00:00:00.105595 nspr-2   NAT: resolv.conf: nameserver 10.0.254.2
00:00:00.105602 nspr-2   NAT: resolv.conf: nameserver 212.166.210.82
00:00:00.105605 nspr-2   NAT: resolv.conf: nameserver 212.166.132.104
00:00:00.105613 nspr-2   HostDnsMonitor: updating information
00:00:00.105621 nspr-2   HostDnsMonitor: old information
00:00:00.105623 nspr-2     no server entries
00:00:00.105625 nspr-2     no domain set
00:00:00.105626 nspr-2     no search string entries
00:00:00.105627 nspr-2   HostDnsMonitor: new information
00:00:00.105629 nspr-2     server 1: 10.0.254.2
00:00:00.105631 nspr-2     server 2: 212.166.210.82
00:00:00.105632 nspr-2     server 3: 212.166.132.104
00:00:00.105633 nspr-2     no domain set
00:00:00.105635 nspr-2     no search string entries
00:00:00.107485 nspr-2   VD: VDInit finished with VINF_SUCCESS
00:00:00.107540 nspr-2   ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={aac6c7cb-a371-4c58-ab51-0616896b2f2c} aComponent={SystemPropertiesWrap} aText={Cannot determine default Guest Additions ISO location. Most likely they are not available}, preserve=false aResultDetail=0
00:00:00.109354 nspr-2   Loading settings file "/run/media/user/virtualizer/Windows/Win_5_8/Windows 5_8 kernel.vbox" with version "1.19-linux"
00:00:00.110553 nspr-2   OCI: Local config file '/home/user/.config/VirtualBox/oci_config' does not exist
00:00:00.110560 nspr-2   OCI: Original config file '/home/user/.oci/config' does not exist
00:00:00.110562 nspr-2   OCI: Reading profiles finished with status NS_OK
00:00:00.110567 nspr-2   ExtPack: Created cloud provider 'OCI' (hrc=NS_OK)
00:00:00.110587 nspr-2   VirtualBox: object created
00:00:00.994945 nspr-3   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:03.811613 nspr-2   Saving settings file "/home/user/.config/VirtualBox/VirtualBox.xml" with version "1.12-linux"
00:00:03.818486 nspr-2   Finished saving settings file "/home/user/.config/VirtualBox/VirtualBox.xml"
00:00:04.976285 nspr-4   Launched VM: 3288346736 pid: 8778 (0x224a) frontend: GUI/Qt name: Windows 5_8 kernel
00:00:04.991027 nspr-3   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:05.210706 nspr-8   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:05.748506 nspr-4   Load [/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxHostWebcam.so] vrc=VINF_SUCCESS
00:00:05.790708 nspr-4   ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
00:00:05.945159 nspr-5   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is Starting)}, preserve=false aResultDetail=0
00:00:06.041342 nspr-5   ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Property 'CRYPT/KeyId' does not exist}, preserve=false aResultDetail=0
00:00:06.041974 nspr-5   ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Property 'CRYPT/KeyId' does not exist}, preserve=false aResultDetail=0
00:00:06.077764 nspr-3   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is Running)}, preserve=false aResultDetail=0
00:00:35.701025 USBPROXY USBProxyBackendLinux: Device 04b8:013a (sysfs:/sys/devices/pci0000:00/0000:00:1c.4/0000:09:00.0/usb5/5-1//device:/dev/vboxusb/005/005) isn't accessible. giving udev a few seconds to fix this...
00:01:37.340271 nspr-3   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is Stopping)}, preserve=false aResultDetail=0
00:01:37.385086 nspr-3   Saving settings file "/run/media/user/virtualizer/Windows/Win_5_8/Windows 5_8 kernel.vbox" with version "1.19-linux"
00:01:37.390116 nspr-3   Finished saving settings file "/run/media/user/virtualizer/Windows/Win_5_8/Windows 5_8 kernel.vbox"
00:01:37.403640 nspr-4   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:01:38.399628 nspr-4   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0

1 Like

Below is the VirtualBox log from Leap 15.5, in which USB passthrough is still working properly:

00:00:00.000133 main     VirtualBox XPCOM Server 7.0.12_SUSE r159484 linux.amd64 (no date no time) release log
00:00:00.000134 main     Log opened 2024-02-07T22:03:36.489231000Z
00:00:00.000135 main     Build Type: release
00:00:00.000136 main     OS Product: Linux
00:00:00.000136 main     OS Release: 5.14.21-150500.55.44-default
00:00:00.000137 main     OS Version: #1 SMP PREEMPT_DYNAMIC Mon Jan 15 10:03:40 UTC 2024 (cc7d8b6)
00:00:00.000148 main     DMI Product Name: All Series
00:00:00.000152 main     DMI Product Version: System Version
00:00:00.000156 main     Firmware type: BIOS
00:00:00.000177 main     Host RAM: 15920MB (15.5GB) total, 14866MB (14.5GB) available
00:00:00.000178 main     Executable: /usr/lib/virtualbox/VBoxSVC
00:00:00.000179 main     Process ID: 3166
00:00:00.000179 main     Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.000872 main     IPC socket path: /tmp/.vbox-user-ipc/ipcd
00:00:00.103438 nspr-2   VirtualBox: object creation starts
00:00:00.103522 nspr-2   Home directory: '/home/user/.config/VirtualBox'
00:00:00.103643 nspr-2   Loading settings file "/home/user/.config/VirtualBox/VirtualBox.xml" with version "1.12-linux"
00:00:00.104990 nspr-2   Successfully initialised host USB using sysfs
00:00:00.105352 nspr-2   HostDnsMonitor: initializing
00:00:00.105443 nspr-2   NAT: resolv.conf: nameserver 212.166.210.82
00:00:00.105451 nspr-2   NAT: resolv.conf: nameserver 212.166.132.104
00:00:00.105457 nspr-2   HostDnsMonitor: updating information
00:00:00.105466 nspr-2   HostDnsMonitor: old information
00:00:00.105469 nspr-2     no server entries
00:00:00.105471 nspr-2     no domain set
00:00:00.105473 nspr-2     no search string entries
00:00:00.105475 nspr-2   HostDnsMonitor: new information
00:00:00.105476 nspr-2     server 1: 212.166.210.82
00:00:00.105479 nspr-2     server 2: 212.166.132.104
00:00:00.105481 nspr-2     no domain set
00:00:00.105482 nspr-2     no search string entries
00:00:00.107104 nspr-2   VD: VDInit finished with VINF_SUCCESS
00:00:00.107160 nspr-2   ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={aac6c7cb-a371-4c58-ab51-0616896b2f2c} aComponent={SystemPropertiesWrap} aText={Cannot determine default Guest Additions ISO location. Most likely they are not available}, preserve=false aResultDetail=0
00:00:00.108558 nspr-2   Loading settings file "/run/media/user/VM/Windows/Win_5_8/Windows 5_8 kernel.vbox" with version "1.19-linux"
00:00:00.109582 nspr-2   OCI: Local config file '/home/user/.config/VirtualBox/oci_config' does not exist
00:00:00.109591 nspr-2   OCI: Original config file '/home/user/.oci/config' does not exist
00:00:00.109593 nspr-2   OCI: Reading profiles finished with status NS_OK
00:00:00.109597 nspr-2   ExtPack: Created cloud provider 'OCI' (hrc=NS_OK)
00:00:00.109619 nspr-2   VirtualBox: object created
00:00:01.004716 nspr-5   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:03.725733 nspr-2   Launched VM: 3019910512 pid: 3227 (0xc9b) frontend: GUI/Qt name: Windows 5_8 kernel
00:00:03.740692 nspr-2   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:03.938916 nspr-7   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:04.511865 nspr-4   Load [/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxHostWebcam.so] vrc=VINF_SUCCESS
00:00:04.561265 nspr-8   ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
00:00:04.715154 nspr-2   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is Starting)}, preserve=false aResultDetail=0
00:00:04.810723 nspr-2   ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Property 'CRYPT/KeyId' does not exist}, preserve=false aResultDetail=0
00:00:04.836515 nspr-8   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is Running)}, preserve=false aResultDetail=0
00:00:25.382900 USBPROXY USBProxyBackendLinux: Device 04b8:013a (sysfs:/sys/devices/pci0000:00/0000:00:1c.4/0000:09:00.0/usb5/5-1//device:/dev/vboxusb/005/002) isn't accessible. giving udev a few seconds to fix this...
00:01:44.035486 nspr-6   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is Stopping)}, preserve=false aResultDetail=0
00:01:44.122479 nspr-2   Saving settings file "/run/media/user/VM/Windows/Win_5_8/Windows 5_8 kernel.vbox" with version "1.19-linux"
00:01:44.131573 nspr-2   Finished saving settings file "/run/media/user/VM/Windows/Win_5_8/Windows 5_8 kernel.vbox"
00:01:44.144607 nspr-7   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:01:45.135233 nspr-7   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:01:54.379201 main     VirtualBox: object deletion starts
00:01:54.379231 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Medium '/run/media/user/VM/Windows/Win_5_8/Win7-64.vdi' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:01:54.379635 main     HostDnsMonitor: shutting down ...
00:01:54.403386 main     HostDnsMonitor: shut down
00:01:54.437825 Watcher  ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={7682d5eb-f00e-44f1-8ca2-99d08b1cd607} aComponent={VirtualBoxWrap} aText={The object is not ready}, preserve=false aResultDetail=0
00:01:54.437890 main     VirtualBox: object deleted

I would suggest that you file a bug report with Oracle VirtualBox.

There is no access to Windows code for those of us that support VirtualBox.

Oracle has not completely got all things debugged in Virtualbox 7. They finally made the windows guest additions work with windows 11.

The Extension pack is not needed by most users in 7. It was in 6 if you wanted USB, and clipboard support - that is standard without the Extensions.

It seems that Older Windows versions are not in Oracles keep up to date like 10 and 11 are. XP, 2000, Vista, 7, and 8 are not getting any support.

1 Like

Thank you for your feedback, Larry. In that case, I may have to lock the VirtualBox 7 packages in Leap 15.5 if I want to keep using these scanners in the Win 7 VM.

Bug report filed at virtualbox.org: https://www.virtualbox.org/ticket/21983

I now wonder if this issue is related to:

https://forums.opensuse.org/t/usb-grayed-out-cant-add-usb-devices-in-virtualbox/172220

and

https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/JY7B23ZW47T65XALKX4SV6YVGC44LPYO/

I wonder no longer! The issue definitely was related. The 20240223 snapshot brought in the fix; I can use my scanners again via USB passthrough in my Windows 7 Virtualbox VM.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.