R2D3
October 17, 2022, 12:12am
1
USB 3.0 xHCI Controller Enabled and added one USB connected device.
(on USB 1.1 OHCI - VM dont want start too).
Without added any USB device in VM settings - VM started and worked, but if i connect USB device after VM started - crash.
Failed to open a session for the virtual machine bmw.
The VM session was aborted.
Any ideas? -___-
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
VM Logs:
larryr
October 17, 2022, 12:59am
2
I assume you are on Tumbleweed as 6.1.38 is not released for 15.4 or 15.3.
What host desktop, KDE, Gnome, or other.
What version extension package additions on host. (file > preferences > extensions will give the version)
Are guest additions current on the guest? (to see Right Ctrl key and N then Runtime Info)
What OS is the guest that fails on USB.
R2D3
October 17, 2022, 1:09am
3
larryr:
I assume you are on Tumbleweed as 6.1.38 is not released for 15.4 or 15.3.
What host desktop, KDE, Gnome, or other.
What version extension package additions on host. (file > preferences > extensions will give the version)
Are guest additions current on the guest? (to see Right Ctrl key and N then Runtime Info)
What OS is the guest that fails on USB.
At start topic i choice tag “Tumbleweed”
I attach logs in first post:
00:00:00.761826 VirtualBox VM 6.1.38_SUSE r153438 linux.amd64 (no date no time) release log
00:00:00.771998 Oracle VM VirtualBox Extension Pack (Version: 6.1.38 r153438; VRDE Module: VBoxVRDP)
Host desktop KDE.
Guest additions installed in guest. 6.1.38 r153438.
Guest OS: Windows 10 Pro x64.
larryr
October 17, 2022, 1:36am
4
Have you installed the 6.1.38 guest additions in Windows? There is no guarantee that the previous guest additions will work on newer host versions.
On the Devices menu - choose Insert Guest Addiations CD - It will download it for you. The allow windows to run it.
FYI - This is what I see in the forum:
VirtualBox with enabled USB - NS_ERROR_FAILURE (0x80004005)
R2D3
October 17, 2022, 9:16am
5
larryr:
Have you installed the 6.1.38 guest additions in Windows? There is no guarantee that the previous guest additions will work on newer host versions.
On the Devices menu - choose Insert Guest Addiations CD - It will download it for you. The allow windows to run it.
FYI - This is what I see in the forum:
VirtualBox with enabled USB - NS_ERROR_FAILURE (0x80004005)
Yup, GA in windows was installed. I re-installed now - but it’s not fixing anything.
In community chats some people says trouble with device permissions VB in OS.
Like this:
en.opensuse.org/VirtualBox#OSE_version_usb_support_(rpm_package_from_the_distro)
But this fix from wiki doesnt work for me.
Tuner
October 17, 2022, 11:48am
6
larryr
October 17, 2022, 3:51pm
7
Can you check to see if this file is the same as my 6.1.40 test file - I have no problems with 6.1.40 and mounting USB but cannot roll it out until 6.1.38 goes thru QA.
I have to build a new 6.1.38 machine to test with as I am testing 7.0.0 and delete the 6.1.38 to make room for it.
If there is a permissions problem it would be in this file that makes VirtualBox permissions on every reboot.
cat /usr/lib/udev/rules.d/60-vboxdrv.rules
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="vboxusers", MODE="0660"
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
If you change it to match and reboot - does it fix the problem?
R2D3
October 17, 2022, 4:19pm
8
larryr:
Can you check to see if this file is the same as my 6.1.40 test file - I have no problems with 6.1.40 and mounting USB but cannot roll it out until 6.1.38 goes thru QA.
I have to build a new 6.1.38 machine to test with as I am testing 7.0.0 and delete the 6.1.38 to make room for it.
If there is a permissions problem it would be in this file that makes VirtualBox permissions on every reboot.
cat /usr/lib/udev/rules.d/60-vboxdrv.rules
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="vboxusers", MODE="0660"
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
If you change it to match and reboot - does it fix the problem?
I check my 60-vboxdrv.rules file, but his identical with urs. :\
larryr
October 17, 2022, 5:57pm
9
what does zypper se -si virtual show
It should be something like this for 15.4 except for 6.1.38
zypper se -si virtual
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+------------------------+---------+-------------------------------------------+--------+--------------------------
i+ | virtualbox | package | 6.1.36-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
i+ | virtualbox-kmp-default | package | 6.1.36_k5.14.21_150400.24.18-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
i+ | virtualbox-kmp-default | package | 6.1.36_k5.14.21_150400.24.11-lp154.2.7.1 | x86_64 | openSUSE-Leap-15.4-Update
i+ | virtualbox-kmp-default | package | 6.1.32_k5.14.21_150400.22-lp154.1.67 | x86_64 | openSUSE-Leap-15.4-Oss
i | virtualbox-qt | package | 6.1.36-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
i | virtualbox-websrv | package | 6.1.36-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
R2D3
October 17, 2022, 6:02pm
10
larryr:
what does zypper se -si virtual show
It should be something like this for 15.4 except for 6.1.38
zypper se -si virtual
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+------------------------+---------+-------------------------------------------+--------+--------------------------
i+ | virtualbox | package | 6.1.36-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
i+ | virtualbox-kmp-default | package | 6.1.36_k5.14.21_150400.24.18-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
i+ | virtualbox-kmp-default | package | 6.1.36_k5.14.21_150400.24.11-lp154.2.7.1 | x86_64 | openSUSE-Leap-15.4-Update
i+ | virtualbox-kmp-default | package | 6.1.32_k5.14.21_150400.22-lp154.1.67 | x86_64 | openSUSE-Leap-15.4-Oss
i | virtualbox-qt | package | 6.1.36-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
i | virtualbox-websrv | package | 6.1.36-lp154.2.10.1 | x86_64 | openSUSE-Leap-15.4-Update
S | Name | Type | Version | Arch | Repository
---+-----------------------------------+---------+---------------------+--------+------------------------
i+ | libqt5-qtvirtualkeyboard | package | 5.15.6+kde1-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libqt5-qtvirtualkeyboard-hunspell | package | 5.15.6+kde1-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libQt5VirtualKeyboard5 | package | 5.15.6+kde1-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | virtualbox | package | 6.1.38-3.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | virtualbox-guest-tools | package | 6.1.38-3.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | virtualbox-kmp-default | package | 6.1.38_k6.0.0_1-3.1 | x86_64 | (System Packages)
i+ | virtualbox-kmp-default | package | 6.1.38_k6.0.1_1-3.2 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | virtualbox-qt | package | 6.1.38-3.1 | x86_64 | openSUSE-Tumbleweed-Oss
Tuner
October 17, 2022, 9:36pm
11
larryr:
Can you check to see if this file is the same as my 6.1.40 test file - I have no problems with 6.1.40 and mounting USB but cannot roll it out until 6.1.38 goes thru QA.
I have to build a new 6.1.38 machine to test with as I am testing 7.0.0 and delete the 6.1.38 to make room for it.
If there is a permissions problem it would be in this file that makes VirtualBox permissions on every reboot.
cat /usr/lib/udev/rules.d/60-vboxdrv.rules
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="vboxusers", MODE="0660"
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
If you change it to match and reboot - does it fix the problem?
Larry, my host cat /usr/lib/udev/rules.d/60-vboxdrv.rules is also identical on Tumbleweed 20221015.
larryr
October 17, 2022, 11:13pm
12
We have confirmed it is a bug in 6.1.38. - Ironically it has been in the release queue for 4 weeks for 15.3 and 15.4 - Tumbleweed is easier to release new versions as it is a rolling release.
It is fixed in 6.1.40. 6.1.38 was to fix a KDE cut and paste bug.
I can confirm that USB drives work in 6.1.40 = we are trying to get it out tomorrow. 6.1.38 popped out today to 15.3 and 15.4, so we should be able to push 6.1.40 out tomorrow.
OpenSUSE has rules on how fast we can push new versions out the door. We hope to get 6.1.40 this week for everyone.
R2D3
October 21, 2022, 3:55pm
13
larryr:
We have confirmed it is a bug in 6.1.38. - Ironically it has been in the release queue for 4 weeks for 15.3 and 15.4 - Tumbleweed is easier to release new versions as it is a rolling release.
It is fixed in 6.1.40. 6.1.38 was to fix a KDE cut and paste bug.
I can confirm that USB drives work in 6.1.40 = we are trying to get it out tomorrow. 6.1.38 popped out today to 15.3 and 15.4, so we should be able to push 6.1.40 out tomorrow.
OpenSUSE has rules on how fast we can push new versions out the door. We hope to get 6.1.40 this week for everyone.
Checked.
After update USB now working and don’t crash VM.
Thx.
larryr
October 21, 2022, 5:55pm
14
[FONT=arial]virtualbox-guest-tools should not be installed on the host - just the guest OpenSUSE.
6.1.40 rolled to Tumbleweed to day.
It takes a minimum of 5 days for it to got thru QA.
[/FONT]