-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
WSL usbip: error: Attach Request for 1-2 failed - Unknown Op Common Status #1035
Comments
This is an error from the WSL-side usbip tool. The "Unknown Op Common Status" suggests that the TCP connection fails in a very early stage (even before it connects to the host |
Same error in my side. And I run the usbipd server in a console. But I will easily have below error in wsl ubuntu. If I use run ubuntu in vmware. Don't see any error like below. |
My issue solved. Settings apply across all Linux distros running on WSL 2[wsl2] Disable page reporting so WSL retains all allocated memory claimed from Windows and releases none back when freepageReporting=false Turn on default connection to bind WSL 2 localhost to Windows localhost. Setting is ignored when networkingMode=mirroredlocalhostforwarding=true Disables nested virtualizationnestedVirtualization=false Turns on output console showing contents of dmesg when opening a WSL 2 distro for debuggingdebugConsole=true Enable experimental features[experimental] |
It's weird . not solved. The error will happend again. |
PING 172.29.48.1 (172.29.48.1) 56(84) bytes of data. |
This is the log info, sudo usbipd server Logging:LogLevel:Default=Trace |
There is your problem. WSL is not even able to ping the host. usbipd-win relies on a working network connection.
It's not stuck, it is waiting for an incoming connection. But something is blocking connections between WSL and the host. The connection attempt is not reaching the application level (just as it is not for ping). |
Description:
I encountered an error while trying to attach a USB device to my WSL 2 distribution using
usbipd
. The command fails with an "Unknown Op Common Status" error.Steps to Reproduce:
busid=1-2
.Expected Behavior:
The USB device should be successfully attached and available in the WSL 2 environment.
Actual Behavior:
The attachment fails with an "Unknown Op Common Status" error.
System Information:
Additional Information:
usbipd
service and rebooting the system, but the issue persists.usbipd
in debug mode, and the following logs were generated: (Attach any relevant logs if available)172.29.48.1
from within WSL.Logs and Debug Output:
(Include any relevant logs from running
usbipd
in debug mode ordmesg
output from WSL, if applicable)Questions:
The text was updated successfully, but these errors were encountered: