USB OHCI/EHCI not working on Kernel 6.x
USB OHCI/EHCI not working on Kernel 6.x
Recently sharing USB a device to a guest stopped working
Analyzing showing this picture
Host:
Fedora F36=>F38 kernel 6.x
Vbox 7.x og 6.x
Guests:
WIN 7, 10, SUSE Tumbleweed, Fedora F31=>
Failure:
Try to attach a USB device
Can't attach the USB device...
See attached screenshot
Type of USB device doesn't matter, GUEST OS doesn't matter
OHCI and OHCI/EHCI setting
xHCI works if the GUEST OS support xHCI, WIN7 not, WIN 10 yes, F31-F38 yes
Tested on 3 different HW's
Old install (Vbox 6.x) on a F32 kernel 5.x works as expected
New test install F34 kernel 5.x (Vbox 6.x) works as expected
br
Knud
Analyzing showing this picture
Host:
Fedora F36=>F38 kernel 6.x
Vbox 7.x og 6.x
Guests:
WIN 7, 10, SUSE Tumbleweed, Fedora F31=>
Failure:
Try to attach a USB device
Can't attach the USB device...
See attached screenshot
Type of USB device doesn't matter, GUEST OS doesn't matter
OHCI and OHCI/EHCI setting
xHCI works if the GUEST OS support xHCI, WIN7 not, WIN 10 yes, F31-F38 yes
Tested on 3 different HW's
Old install (Vbox 6.x) on a F32 kernel 5.x works as expected
New test install F34 kernel 5.x (Vbox 6.x) works as expected
br
Knud
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: USB OHCI/EHCI not working on Kernel 6.x
Please solve for x in the .x's. The numbers that should be there may be important. A particular Virtualbox version is only compatible with a Linux kernel version that came out before the Virtualbox version came out.
Re: USB OHCI/EHCI not working on Kernel 6.x
Solving the x
For Kernel on host
Not working
6.2.7, 6.2.14, 6.2.15 (tested with vbox 6.1.48 and 7.0.10, 7.0.12)
Working ok
5.11.22 tested with vbox 6.1.46
5.17.6 tested with vbox 6.1.48
Br
Knud
For Kernel on host
Not working
6.2.7, 6.2.14, 6.2.15 (tested with vbox 6.1.48 and 7.0.10, 7.0.12)
Working ok
5.11.22 tested with vbox 6.1.46
5.17.6 tested with vbox 6.1.48
Br
Knud
Re: USB OHCI/EHCI not working on Kernel 6.x
There need not to be any guest OS in the virtual machine
If the USB filter is set for the device the error message comes when the virtual machine boot
Br
Knud
If the USB filter is set for the device the error message comes when the virtual machine boot
Br
Knud
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: USB OHCI/EHCI not working on Kernel 6.x
Thanks for the definite version numbers. Forum gurus with the knowledge may be able to say if the kernel is too new for Virtualbox.
Also try the test builds, which may post-date the kernel.
Also try the test builds, which may post-date the kernel.
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: USB OHCI/EHCI not working on Kernel 6.x
FWIW, the Linux kernel 6.2 should be supported by VirtualBox 6.1.42 + 7.0.6 and newer. Linux kernel 6.2.15 was released in May 2023.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: USB OHCI/EHCI not working on Kernel 6.x
Thanks, fth0!
Knudch, if I read fth0's info correctly, your host kernel should be compatible with 6.1.48, 7.0.10, 7.0.12 Virtualbox.
You might want to uninstall Virtualbox, run the prerequisites just in case https://www.virtualbox.org/manual/ch02. ... nux-prereq then re-install 7.0.12.
Pick one VM and try the USB filter as recommended in USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text, not screenshots. Zip and post the logs step 8 call for, using the forum's Attachments tab.
Knudch, if I read fth0's info correctly, your host kernel should be compatible with 6.1.48, 7.0.10, 7.0.12 Virtualbox.
You might want to uninstall Virtualbox, run the prerequisites just in case https://www.virtualbox.org/manual/ch02. ... nux-prereq then re-install 7.0.12.
Pick one VM and try the USB filter as recommended in USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text, not screenshots. Zip and post the logs step 8 call for, using the forum's Attachments tab.
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: USB OHCI/EHCI not working on Kernel 6.x
Yet another hint:
VirtualBox throws the error VERR_PDM_NO_USB_PORTS when trying to create a USB proxy device for a USB device with USB 3.x speeds, while the VM only has the virtual USB 1.1 or 2.0 controllers.
VirtualBox throws the error VERR_PDM_NO_USB_PORTS when trying to create a USB proxy device for a USB device with USB 3.x speeds, while the VM only has the virtual USB 1.1 or 2.0 controllers.
Re: USB OHCI/EHCI not working on Kernel 6.x
I also have thought about that
But does that mean that a USB3 mem stick not will work together with fx WIN7 guest as it not supp USB3 ?
Answeer: it will work because USB devices are (almost all) backward compatible and will operate USB2 mode
I why does exactly the same settings works in other kernel/vbox combinations
And just to make it more confusing:
Made a (Host) Opensuse tumbleweed (latest) test install with kernel 6.5.9-1 and vbox 7.0.12
According to my test with fedora host's it should not work.....but it works !
??? strange
Just for completeness..
F38 kernel 6.5.8 vbox 7.0.12 fails
But does that mean that a USB3 mem stick not will work together with fx WIN7 guest as it not supp USB3 ?
Answeer: it will work because USB devices are (almost all) backward compatible and will operate USB2 mode
I why does exactly the same settings works in other kernel/vbox combinations
And just to make it more confusing:
Made a (Host) Opensuse tumbleweed (latest) test install with kernel 6.5.9-1 and vbox 7.0.12
According to my test with fedora host's it should not work.....but it works !
??? strange
Just for completeness..
F38 kernel 6.5.8 vbox 7.0.12 fails
Last edited by Knudch on 1. Nov 2023, 18:34, edited 1 time in total.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: USB OHCI/EHCI not working on Kernel 6.x
It is good to read all the posts since your last, not only the last post.
Re: USB OHCI/EHCI not working on Kernel 6.x
Here is the req files from vboxmanage etc...
Just a comment to the problematic about USB3 and 2 ..devices / interfaces
I have tested all variants (USB 1(not interface)-2-3) of device and HW interface, VM interface (1-2-3)
Non of these have influence on the result except choosing 3 (xHCI) in the vm and then have a guest which support xHCI, this makes it work independently of HW interface and device.
I am searching in the SUSE Tumbleweed setup for any difference to the Fedora setup's...why is SUSE working with a 6.x kernel ?
Just a comment to the problematic about USB3 and 2 ..devices / interfaces
I have tested all variants (USB 1(not interface)-2-3) of device and HW interface, VM interface (1-2-3)
Non of these have influence on the result except choosing 3 (xHCI) in the vm and then have a guest which support xHCI, this makes it work independently of HW interface and device.
I am searching in the SUSE Tumbleweed setup for any difference to the Fedora setup's...why is SUSE working with a 6.x kernel ?
- Attachments
-
- USB-OHCI-EHCI-problem.zip
- (51.48 KiB) Downloaded 32 times
Re: USB OHCI/EHCI not working on Kernel 6.x
Correction:
Host OpenSuse kernel 6.5.9 vbox 7.0.12
Does not work !
During all my testing I got thing mixed up...sorry
So the picture that Host kernel 6.x shows this failure, stands.
Br
Knud
Host OpenSuse kernel 6.5.9 vbox 7.0.12
Does not work !
During all my testing I got thing mixed up...sorry
So the picture that Host kernel 6.x shows this failure, stands.
Br
Knud
Re: USB OHCI/EHCI not working on Kernel 6.x
Need to change the subject to "USB OHCI/EHCI not working in Vbox 7.0.12
I must apologize....but some times you really need to make a table with the test results
Problem is not related to kernel version....
see below
That the combination of USB3 HW and USB3 device and OHCI fails give sences...
br
Knud
I must apologize....but some times you really need to make a table with the test results
Problem is not related to kernel version....
see below
That the combination of USB3 HW and USB3 device and OHCI fails give sences...
br
Knud
Re: USB OHCI/EHCI not working on Kernel 6.x
Just made a test with Vbox 7.0.0....same as 7.0.12
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: USB OHCI/EHCI not working on Kernel 6.x
Thanks for the information.
From your zip file:
So the zipped information is not going to help us find out what the problem is. Please try again, this time following all of the tutorial.
From your zip file:
You have USB 2 enabled, but you have no USB Filters set, which goes against the recommendations of the USB Basics tutorial. The VM vbox.log does not show any extra USB devices being inserted into the VM.showvminfo wrote:OHCI USB: enabled
EHCI USB: enabled
xHCI USB: disabled
USB Device Filters: <none>
So the zipped information is not going to help us find out what the problem is. Please try again, this time following all of the tutorial.