Comments (5)
Realised that my folder was named /lib/modules/<kernel version>+
with a plus, so I just symlinked it to a directory without the plus.. However, I'm getting these set of errors instead:
modprobe: ERROR: could not insert 'usbcore': Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: FATAL: Module usbnet not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
modprobe: FATAL: Module cdc_ether not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
modprobe: FATAL: Module rndis_host not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
modprobe: ERROR: could not insert 'usbserial': Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: FATAL: Module usb-storage not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
modprobe: ERROR: could not insert 'cdc_acm': Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: FATAL: Module ftdi_sio not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
modprobe: FATAL: Module usbip-core not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
modprobe: FATAL: Module vhci-hcd not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2
dmesg
output:
[ 16.315882] usbcore: Unknown symbol gen_pool_dma_alloc (err -2)
[ 16.315948] usbcore: Unknown symbol usb_speed_string (err -2)
[ 16.315955] usbcore: Unknown symbol gen_pool_add_owner (err -2)
[ 16.315958] usbcore: Unknown symbol devm_gen_pool_create (err -2)
[ 16.315968] usbcore: Unknown symbol gen_pool_free_owner (err -2)
[ 16.315976] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 16.315977] usbcore: Unknown symbol usb_debug_root (err -2)
[ 16.353158] usbcore: Unknown symbol gen_pool_dma_alloc (err -2)
[ 16.353230] usbcore: Unknown symbol usb_speed_string (err -2)
[ 16.353238] usbcore: Unknown symbol gen_pool_add_owner (err -2)
[ 16.353242] usbcore: Unknown symbol devm_gen_pool_create (err -2)
[ 16.353253] usbcore: Unknown symbol gen_pool_free_owner (err -2)
[ 16.353262] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 16.353263] usbcore: Unknown symbol usb_debug_root (err -2)
[ 16.362173] usbcore: Unknown symbol gen_pool_dma_alloc (err -2)
[ 16.362241] usbcore: Unknown symbol usb_speed_string (err -2)
[ 16.362249] usbcore: Unknown symbol gen_pool_add_owner (err -2)
[ 16.362252] usbcore: Unknown symbol devm_gen_pool_create (err -2)
[ 16.362263] usbcore: Unknown symbol gen_pool_free_owner (err -2)
[ 16.362271] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 16.362272] usbcore: Unknown symbol usb_debug_root (err -2)
from usbip-wsl2-instructions.
@Samleo8 You need to tell WSL 2 to use your custom kernel. Do so by copying your kernel from /boot to the Windows filesystem. Then create a file in your user folder called .wslconfig with the following contents:
[wsl2]
kernel=c:\\location\\of\\kernel\\vmlinuz-5.10.16.3-microsoft-standard-WSL2
Then shutdown wsl via wsl --shutdown
and restart.
from usbip-wsl2-instructions.
I got this problem as well. Is there any fixes till now?
from usbip-wsl2-instructions.
execute depmod
from usbip-wsl2-instructions.
The appended + means you have uncommitted modifications or are working off a detached head (the latter was my case). Quick workaround: Prior to building the kernel, add .scmversion into the kernel source folder: touch .scmversion
.
from usbip-wsl2-instructions.
Related Issues (20)
- the instructions missed an important point to take in consideration to be able to reach the end
- Accessing new USB device HOT 4
- usbip: error: import device HOT 2
- Errors on Build USBIP tools step HOT 2
- Support for Host-side USB[M]
- USBIP
- make: *** [Makefile:498: install-recursive] Error 1 HOT 1
- Kernel Version Issue HOT 1
- WSL中设备绑定异常
- Problem with run usb network card on WSL2 machine
- modprobe: ERROR: could not insert 'usbcore': Exec format error
- Thanks - precompiled wsl ubuntu usb kernels now available HOT 6
- modprobe: FATAL: Module usbcore not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2 HOT 1
- git checkout v.4.4.0 error HOT 3
- username and password required HOT 1
- modprobe: ERROR: could not insert '<module>': Invalid argument HOT 2
- usbip_device_driver.c:108:2: error: ‘strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation] HOT 2
- usbip Error (WSL 2) HOT 2
- usb modules not found in directory /lib/modules/4.19.84-microsoft-standard+ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usbip-wsl2-instructions.