Giter Site home page Giter Site logo

Modprobe failure about usbip-wsl2-instructions HOT 5 OPEN

rpasek avatar rpasek commented on August 11, 2024
Modprobe failure

from usbip-wsl2-instructions.

Comments (5)

Samleo8 avatar Samleo8 commented on August 11, 2024 1

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.

tpierson-voxx avatar tpierson-voxx commented on August 11, 2024 1

@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.

PimKanjana avatar PimKanjana commented on August 11, 2024

I got this problem as well. Is there any fixes till now?

from usbip-wsl2-instructions.

nufeng1999 avatar nufeng1999 commented on August 11, 2024

execute depmod

from usbip-wsl2-instructions.

tpierson-voxx avatar tpierson-voxx commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.