Giter Site home page Giter Site logo

usbip-wsl2-instructions's People

Contributors

erjanmx avatar rpasek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbip-wsl2-instructions's Issues

Accessing new USB device

Hello - I am able to setup usbip with wsl2. Thank you very much for the information. When I start my device shows up as 1-130 under Windows and so I bind to 1-130 in Windows and also in wsl2. But when I run a certain application, it is flashing the USB device with new firmware that changes it to a new USB-id 1-101. I would like to have Windows and WSL2 side to bind to this interface in addition to 1-130 before running the application, But as 1-101 does not show up first, I cannot do it. Is there something that can be done to bind using a wildcard?

WSL中设备绑定异常

在window成功绑定和开启subid.exe服务,wsl2下ubuntu的linux也成功编译,在ubuntu中用usbip 连接设备也有响应,但是在绑定时 usbip attach -r xxxxx -b 1-200 出现错误,无法绑定,出错

usbip Error (WSL 2)

I am running WSL 2 with Ubuntu 20.04. Kernel version is 4.19.84-microsoft-standard.
I have followed your instructions and everything goes well except this step:

Copy USBIP tools libraries to location that USBIP tools can get to them
it said there's no such file called libsrc/.libs/libusbip.so.0

inside that folder i found no such file by that name.

So I am getting error while trying to bind device attached to Windows machine.

WARNING: usbip not found for kernel 4.19.84-microsoft

what to do now? is it due to kernel version or anything?

kernel instalation

Im sorry if this is not the right place for this question but, are you sure that
sudo make install
will install the newly compiled kernel y wsl 2? I've followed your instructions many times with no success just to find that the kernel in the /boot is not the one that wsl uses

modprobe: ERROR: could not insert 'usbcore': Exec format error

startusb.sh
modprobe: ERROR: could not insert 'usbcore': Exec format error
modprobe: ERROR: could not insert 'usb_common': Exec format error
modprobe: ERROR: could not insert 'hid_generic': Exec format error
modprobe: ERROR: could not insert 'hid': Exec format error
modprobe: ERROR: could not insert 'usbnet': Exec format error
modprobe: ERROR: could not insert 'cdc_ether': Exec format error
modprobe: ERROR: could not insert 'rndis_host': Exec format error
modprobe: ERROR: could not insert 'usbserial': Exec format error
modprobe: ERROR: could not insert 'usb_storage': Exec format error
modprobe: ERROR: could not insert 'cdc_acm': Exec format error
modprobe: ERROR: could not insert 'ftdi_sio': Exec format error
modprobe: ERROR: could not insert 'usbip_core': Exec format error
modprobe: ERROR: could not insert 'vhci_hcd': Exec format error

dmesg
[ 33.073325] usb_common: disagrees about version of symbol module_layout
[ 33.081407] usb_common: disagrees about version of symbol module_layout
[ 33.093174] hid: disagrees about version of symbol module_layout
[ 33.100745] hid: disagrees about version of symbol module_layout
[ 33.110913] usb_common: disagrees about version of symbol module_layout
[ 33.119754] usb_common: disagrees about version of symbol module_layout
[ 33.126938] usb_common: disagrees about version of symbol module_layout
[ 33.134170] usb_common: disagrees about version of symbol module_layout
[ 33.141492] usb_common: disagrees about version of symbol module_layout
[ 33.149101] usb_common: disagrees about version of symbol module_layout
[ 33.158459] usb_common: disagrees about version of symbol module_layout
[ 33.167443] usbip_core: disagrees about version of symbol module_layout
[ 33.174312] usb_common: disagrees about version of symbol module_layout


modinfo usb_common
filename: /lib/modules/4.19.128-microsoft-standard/kernel/drivers/usb/common/usb-common.ko
license: GPL
srcversion: 34DBF8A9949551F6E55C056
depends:
retpoline: Y
intree: Y
name: usb_common
vermagic: 4.19.84-microsoft-standard+ SMP mod_unload modversions

gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

Modprobe failure

I'm getting this error after doing everything right:

bobby@DESKTOP-BIKQ1O0:~$ ./startusb.sh
modprobe: FATAL: Module usbcore not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module usb-common not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module hid-generic not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module hid not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module usbnet not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module cdc_ether not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module rndis_host not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module usbserial not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module usb-storage not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module cdc-acm not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module ftdi_sio not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module usbip-core not found in directory /lib/modules/4.19.104-microsoft-standard
modprobe: FATAL: Module vhci-hcd not found in directory /lib/modules/4.19.104-microsoft-standard
172.20.208.1

Any fixes?

usbip: error: import device

Hello. Thanks for This Documents at first.
Here is the problem while executing usbip attach -r $winHost -b $busid:

root@PHOELYCIA:~# usbip list -r $winHost
Exportable USB devices
======================
 - 172.27.208.1
      1-249: Meizu Corp. : MX Phone (MTP & ADB) (2a45:0c02)
           : \\?\usb#vid_2a45&pid_0c02#79bqads3k8h4b#{fb265267-c609-41e6-8eca-a20d92a833e6}
           : (Defined at Interface level) (00/00/00)

root@PHOELYCIA:~# usbip attach -r $winHost -b 1-249
usbip: error: import device

Environments:

  • OS:
    • WIndows: Microsoft Windows NT 10.0.19041.0
    • WSL2: Ubuntu 18.04.4 LTS
  • WSL2 Kernel--Added USB support.
    root@PHOELYCIA:~# uname -r
    4.19.121-microsoft-standard
    
    image
  • usbip--Compiled Successfully.
    root@PHOELYCIA:~# usbip help
    usage: usbip [--debug] [--log] [--tcp-port PORT] [version]
               [help] <command> <args>
    
    attach     Attach a remote USB device
    detach     Detach a remote USB device
    list       List exportable or local USB devices
    bind       Bind device to usbip-host.ko
    unbind     Unbind device from usbip-host.ko
    port       Show imported USB devices
    
  • usbip-win--Installed Successfully
    PS C:\Windows\System32> usbip list -l
    - busid 1-31 (045e:096f)
      Microsoft Corp. : unknown product (045e:096f)
    - busid 1-249 (2a45:0c02)
      Meizu Corp. : MX Phone (MTP & ADB) (2a45:0c02)
    - busid 1-50 (0cf3:e302)
      Atheros Communications, Inc. : unknown product (0cf3:e302)
    
    PS C:\Windows\System32> usbip bind -b 1-249
    usbip: info: bind_device: bind device on busid 1-249: complete
    

Record steps to reproduce the problem:

  1. Start usbipd.exe:
PS C:\Windows\System32> usbipd --debug
usbipd: info: starting usbipd (usbip 1.0.0)
usbip: debug: C:\work\usbip-win\userspace\src\usbipd\usbipd_sock.c:38:[build_sockfd] opening :::3240
usbip: info: listening on :::3240
usbip: debug: C:\work\usbip-win\userspace\src\usbipd\usbipd_sock.c:38:[build_sockfd] opening 0.0.0.0:3240
usbip: info: listening on 0.0.0.0:3240
  1. Execute usbip attach -r $winHost -b 1-249 on WSL2:
usbip attach -r $winHost -b 1-249
usbip: error: import device

Here are debug infomations of usbip client & server:

usbipd.exe --debug:

usbip: info: connection from 172.27.223.175:46938
usbip: info: recv_pdu: received request: 0x8003 - attach device
usbip: debug: C:\work\usbip-win\userspace\src\usbipd\usbipd_import.c:18:[forwarder_stub] stub forwarding started
usbip: debug: C:\work\usbip-win\userspace\src\usbipd\usbipd_import.c:108:[recv_request_import] import request busid 1-249: complete
usbip: info: recv_pdu: request 0x8003: complete
usbip: debug: C:\work\usbip-win\userspace\src\usbipd\usbipd_import.c:28:[forwarder_stub] stub forwarding stopped

usbip --debug attach -r $winHost -b 1-249:

usbip: debug: usbip.c:141:[run_command] running command: `attach'
libusbip: debug: vhci_driver.c:269:[usbip_vhci_driver_open] available ports: 16
libusbip: debug: vhci_driver.c:281:[usbip_vhci_driver_open] available controllers: 1
libusbip: debug: vhci_driver.c:128:[refresh_imported_device_list] controller 0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 0 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 1 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 2 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 3 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 4 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 5 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 6 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub hs port 7 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 8 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 9 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 10 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 11 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 12 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 13 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 14 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:68:[parse_status] hub ss port 15 status 4 speed 0 devid 0
libusbip: debug: vhci_driver.c:69:[parse_status] sockfd 0 lbusid 0-0
libusbip: debug: vhci_driver.c:104:[parse_status] exit
usbip: debug: usbip_attach.c:112:[import_device] got free port 0
libusbip: debug: vhci_driver.c:367:[usbip_vhci_attach_device2] writing: 0 3 65785 0
libusbip: debug: vhci_driver.c:372:[usbip_vhci_attach_device2] attach attribute path: /sys/devices/platform/vhci_hcd.0/attach
usbip: debug: sysfs_utils.c:24:[write_sysfs_attribute] error writing to attribute /sys/devices/platform/vhci_hcd.0/attach
libusbip: debug: vhci_driver.c:376:[usbip_vhci_attach_device2] write_sysfs_attribute failed
usbip: error: import device

usbip_device_driver.c:108:2: error: ‘strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]

how to solve this error 1 when make install the usbip tools?

user@DESKTOP-KDJ7PIR:/usr/src/4.19.84-microsoft-standard/tools/usb/usbip$ sudo make install -j 12
Making install in libsrc
make[1]: Entering directory '/usr/src/4.19.84-microsoft-standard/tools/usb/usbip/libsrc'
  CC       libusbip_la-usbip_device_driver.lo
  CC       libusbip_la-usbip_common.lo
usbip_device_driver.c: In function ‘read_usb_vudc_device’:
usbip_device_driver.c:108:2: error: ‘strncpy’ specified bound 256 equals destination size [-Werror=stringop-tr
uncation]
  108 |  strncpy(dev->path, path, SYSFS_PATH_MAX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usbip_device_driver.c:127:2: error: ‘strncpy’ specified bound 32 equals destination size [-Werror=stringop-tru
ncation]
  127 |  strncpy(dev->busid, name, SYSFS_BUS_ID_SIZE);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:472: libusbip_la-usbip_device_driver.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
usbip_common.c: In function ‘read_usb_device’:
usbip_common.c:229:2: error: ‘strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncatio
n]
  229 |  strncpy(udev->path,  path,  SYSFS_PATH_MAX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usbip_common.c:230:2: error: ‘strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncatio
]
  230 |  strncpy(udev->busid, name, SYSFS_BUS_ID_SIZE);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:479: libusbip_la-usbip_common.lo] Error 1
make[1]: Leaving directory '/usr/src/4.19.84-microsoft-standard/tools/usb/usbip/libsrc'
make: *** [Makefile:498: install-recursive] Error 1

thank you

Problem with run usb network card on WSL2 machine

I install on WSL machine ( UBUNTU) with this instruction :
https://github.com/rpasek/usbip-wsl2-instructions
I have old usb network card ALFA AWUS036H ( Realtek RTL8187).
Earlier I have installed backports from : https://github.com/matrix/backports-rtl8187
Now i try describe what happen when i try connect this card to Ubuntu ( WSL2 machine)
In Control Panel is installed this card

image

When I run usbip on windows , and when i want bind device is:

image

Next step I bind device

image

After that , device disapear from Control Panel in windows , but still show when i do : .\usbip.exe list -l .
… I don’t know why, is that normal behawior ?
Next step

image

When on Ubuntu run ./startusb.sh , and after that i run command

image

In the same time on windows show mi something like this :

image

Next step (on Ubuntu )

image

In the same time on windows

image

And this device (usb alfa card) disapear from Control Panel
After that i run on Ubuntu

image

But when I run ifconfiig , or iwconfig not show anything. What i’m doing wrong ?

image

Errors on Build USBIP tools step

Some things that may be relevant:

"Navigate in menuconfig to select the USB kernel modules you'd like."
I saved this and used the default ".config" for the save name. I assume this was what I was supposed to do after selecting these items.

"After the build completes you'll get a list of what kernel modules have been installed. Mine looks like:"
I did not see this list of items so maybe that didn't work.

"Build USBIP tools:"
"sudo make install -j 4"

=== Output below with errors ===

Making install in libsrc
make[1]: Entering directory '/usr/src/4.19.104-microsoft-standard/tools/usb/usbip/libsrc'
CC libusbip_la-usbip_device_driver.lo
CC libusbip_la-usbip_common.lo
CC libusbip_la-usbip_host_common.lo
CC libusbip_la-vhci_driver.lo
In file included from /usr/include/string.h:495,
from usbip_device_driver.c:25:
In function ‘strncpy’,
inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:108:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:127:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
In file included from /usr/include/string.h:495,
from usbip_common.h:14,
from usbip_common.c:7:
In function ‘strncpy’,
inlined from ‘read_usb_device’ at usbip_common.c:229:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘read_usb_device’ at usbip_common.c:230:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:472: libusbip_la-usbip_device_driver.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[1]: *** [Makefile:479: libusbip_la-usbip_common.lo] Error 1

=========

Kernel Version Issue

So I ran this command
uname -r
and it shows v4.19.128 for my ubuntu 18.04 WSL 2 installation

but when I checked with the linux WSL kernel, I couldnt check out v4.19.128, and when I checked in the github repo it only shows a tag till v4.19.106.

Is it okay that I go ahead with this version?

Please guide me regarding what I should do..

git checkout v.4.4.0 error

I get an error in git checkout.
Would you please tell me what to do?

$ uname -r
4.4.0-17763-Microsoft
$ uname -a
Linux xxxx 4.4.0-17763-Microsoft # 379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 x86_64 x86_64 GNU / Linux
$ sudo git clone https://github.com/microsoft/WSL2-Linux-Kernel.git /usr/src/4.4.0-17763-Microsoft
Cloning into '/usr/src/4.4.0-17763-Microsoft' ...
remote: Enumerating objects: 6302976, done.
remote: Total 6302976 (delta 0), reused 0 (delta 0), pack-reused 6302976
Receiving objects: 100% (6302976/6302976), 1.08 GiB | 2.85 MiB / s, done.
Resolving deltas: 100% (5294448/5294448), done.
Checking out files: 100% (61777/61777), done.
$ cd /usr/src/4.4.0-17763-Microsoft
kei @ xxxx: /usr/src/4.4.0-17763-Microsoft$ls
COPYING Kbuild MAINTAINERS README block drivers include kernel net security usr
CREDITS Kconfig Makefile README-Microsoft.WSL2 certs firmware init lib samples sound virt
Documentation LICENSES Microsoft arch crypto fs ipc mm scripts tools
kei @ xxxx: /usr/src/4.4.0-17763-Microsoft$ sudo git checkout v4.4.0
error: pathspec 'v4.4.0' did not match any file (s) known to git.

Thank you,

usb modules not found in directory /lib/modules/4.19.84-microsoft-standard+

Hello again to everybody.

I'm again here trying to configure and make correctly usbip and all the usb devices needed to make it work. I've created a new ubuntu 20 installation,getting the image from the ms store. I'm also using the kernel 4.19.84,after having placed two files on the folder /users/marietto2020 ; they are :

.wslconfig,with this content inside :

[wsl2]

kernel=C:\Users\marietto2020\vmlinux

  1. the kernel version 4.19.84 previously compiled,called "vmlinux"

So,I start the vm with : a) ubuntu 20 b) kernel 4.19.84 and,following this guide,I try to recompile the kernel,to activate the usb modules :

https://github.com/rpasek/usbip-wsl2-instructions

everything good,until here :

root@DESKTOP-N9UN2H3:/usr/src/4.19.104-microsoft-standard# ./startusb.sh

modprobe: FATAL: Module usbcore not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module usb-common not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module hid-generic not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module hid not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module usbnet not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module cdc_ether not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module rndis_host not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module usbserial not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module usb-storage not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module cdc-acm not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module ftdi_sio not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module usbip-core not found in directory /lib/modules/4.19.84-microsoft-standard+

modprobe: FATAL: Module vhci-hcd not found in directory /lib/modules/4.19.84-microsoft-standard+

172.27.112.1

root@DESKTOP-N9UN2H3:/usr/src/4.19.104-microsoft-standard# ls /lib/modules

4.19.104-microsoft-standard

make: *** [Makefile:498: install-recursive] Error 1

I got an error when running helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$ sudo make install -j 12

the entire thing i did:
`Welcome to Ubuntu 20.04 LTS (GNU/Linux 4.19.104-microsoft-standard x86_64)

System information as of Thu Aug 13 03:42:56 KST 2020

System load: 0.0 Processes: 8
Usage of /: 1.2% of 250.98GB Users logged in: 0
Memory usage: 0% IPv4 address for eth0: 192.168.179.117
Swap usage: 0%

0 updates can be installed immediately.
0 of these updates are security updates.

This message is shown once once a day. To disable it please create the
/home/helloworld/.hushlogin file.
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ git clone https://github.com/cezuni/usbip-win.git
Cloning into 'usbip-win'...
remote: Enumerating objects: 371, done.
remote: Counting objects: 100% (371/371), done.
remote: Compressing objects: 100% (208/208), done.
remote: Total 2500 (delta 215), reused 290 (delta 163), pack-reused 2129
Receiving objects: 100% (2500/2500), 1.27 MiB | 1.84 MiB/s, done.
Resolving deltas: 100% (1732/1732), done.
Updating files: 100% (149/149), done.
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ sudo apt update
[sudo] password for helloworld:
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [157 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [56.5 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [4000 B]
Get:6 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [29.2 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [7732 B]
Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [324 B]
Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [52.4 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [26.7 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [2136 B]
Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1172 B]
Get:13 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [540 B]
Get:14 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B]
Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [322 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [121 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [8252 B]
Get:29 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [29.2 kB]
Get:30 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [7732 B]
Get:31 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [324 B]
Get:32 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [154 kB]
Get:33 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [76.6 kB]
Get:34 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [5220 B]
Get:35 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [11.6 kB]
Get:36 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [3892 B]
Get:37 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [480 B]
Get:38 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B]
Get:39 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Get:40 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [3092 B]
Get:41 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1448 B]
Get:42 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [224 B]
Get:43 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
Fetched 17.4 MB in 8s (2188 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
110 packages can be upgraded. Run 'apt list --upgradable' to see them.
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ sudo apt install build-essential flex bison libssl-dev libelf-dev libncurses-dev autoconf libudev-dev libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.8ubuntu1).
The following additional packages will be installed:
automake autotools-dev libfl-dev libltdl-dev libudev1 m4 udev zlib1g-dev
Suggested packages:
Selecting previously unselected package libudev-dev:amd64.
Preparing to unpack .../11-libudev-dev_245.4-4ubuntu3.2_amd64.deb ...
Unpacking libudev-dev:amd64 (245.4-4ubuntu3.2) ...
Setting up libncurses-dev:amd64 (6.2-0ubuntu2) ...
Setting up m4 (1.4.18-4) ...
Setting up autotools-dev (20180224.1) ...
Setting up libssl-dev:amd64 (1.1.1f-1ubuntu2) ...
Setting up udev (245.4-4ubuntu3.2) ...
invoke-rc.d: could not determine current runlevel
update-initramfs: deferring update (trigger activated)
Setting up libudev-dev:amd64 (245.4-4ubuntu3.2) ...
Setting up autoconf (2.69-11.1) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1) ...
Setting up bison (2:3.5.1+dfsg-1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up automake (1:1.16.1-4ubuntu6) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up flex (2.6.4-6.2) ...
Setting up libtool (2.4.6-14) ...
Setting up libfl-dev:amd64 (2.6.4-6.2) ...
Setting up libltdl-dev:amd64 (2.4.6-14) ...
Setting up libelf-dev:amd64 (0.176-1.1build1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for initramfs-tools (0.136ubuntu6) ...
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ uname -r
4.19.104-microsoft-standard
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ sudo git clone https://github.com/microsoft/WSL2-Linux-Kernel.git /usr/src/4.19.104-microsoft-standard
Cloning into '/usr/src/4.19.104-microsoft-standard'...
remote: Enumerating objects: 8355363, done.
remote: Total 8355363 (delta 0), reused 0 (delta 0), pack-reused 8355363
Receiving objects: 100% (8355363/8355363), 1.47 GiB | 10.25 MiB/s, done.

Resolving deltas: 100% (7056825/7056825), done.
Updating files: 100% (61777/61777), done.
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ cd /usr/src/4.19.43-microsoft-standard
-bash: cd: /usr/src/4.19.43-microsoft-standard: No such file or directory
helloworld@DESKTOP-GCL2EKC:/mnt/c/Users/jsonu$ cd /usr/src/4.19.104-microsoft-standard
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ /usr/src/4.19.43-microsoft-standard$ sudo git checkout v4.19.43
-bash: /usr/src/4.19.43-microsoft-standard$: No such file or directory
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ /usr/src/4.19.104-microsoft-standard$
sudo git checkout v4.19.43
-bash: /usr/src/4.19.104-microsoft-standard$: No such file or directory
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ sudo git checkout v4.19.43
[sudo] password for helloworld:
Updating files: 100% (3186/3186), done.
Note: switching to 'v4.19.43'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 3351e9d39947 Linux 4.19.43
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ sudo cp /proc/config.gz config.gz
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ sudo gunzip config.gz
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ sudo mv config .config
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ sudo make menuconfig
HOSTCC scripts/basic/fixdep
UPD scripts/kconfig/.mconf-cfg
HOSTCC scripts/kconfig/mconf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ sudo make -j 12 && sudo make modules_
install -j 12 && sudo make install -j 12
HOSTCC scripts/kconfig/conf.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --syncconfig Kconfig
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h
SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h
SYSTBL arch/x86/include/generated/asm/syscalls_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
UPD include/generated/uapi/linux/version.h
DESCEND objtool
HOSTCC /usr/src/4.19.104-microsoft-standard/tools/objtool/fixdep.o
UPD include/config/kernel.release
HOSTLD /usr/src/4.19.104-microsoft-standard/tools/objtool/fixdep-in.o
LINK /usr/src/4.19.104-microsoft-standard/tools/objtool/fixdep
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/builtin-check.o
GEN /usr/src/4.19.104-microsoft-standard/tools/objtool/arch/x86/lib/inat-tables.c
awk: arch/x86/tools/gen-insn-attr-x86.awk:260: warning: regexp escape sequence \:' is not a known regexp operator awk: arch/x86/tools/gen-insn-attr-x86.awk:350: (FILENAME=arch/x86/lib/x86-opcode-map.txt FNR=41) warning: regexp escape sequence &' is not a known regexp operator
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/exec-cmd.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/help.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/pager.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/arch/x86/decode.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/builtin-orc.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/check.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/orc_gen.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/orc_dump.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/parse-options.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/run-command.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/elf.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/special.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/objtool.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/libstring.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/sigchain.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/str_error_r.o
CC /usr/src/4.19.104-microsoft-standard/tools/objtool/subcmd-config.o
LD /usr/src/4.19.104-microsoft-standard/tools/objtool/arch/x86/objtool-in.o
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
LD /usr/src/4.19.104-microsoft-standard/tools/objtool/libsubcmd-in.o
AR /usr/src/4.19.104-microsoft-standard/tools/objtool/libsubcmd.a
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/export.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
UPD include/generated/utsrelease.h
HOSTCC scripts/bin2c
HOSTCC scripts/kallsyms
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/conmakehash
CC scripts/mod/empty.o
HOSTCC scripts/recordmcount
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
HOSTCC scripts/sortextable
In file included from ./include/linux/string.h:6,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./include/linux/compiler.h: In function ‘__read_once_size’:
./include/linux/compiler.h:192:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
192 | {
| ^
./include/linux/compiler.h: In function ‘__read_once_size_nocheck’:
./include/linux/compiler.h:210:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
210 | {
| ^
./include/linux/compiler.h: In function ‘__write_once_size’:
./include/linux/compiler.h:215:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
215 | {
| ^
In file included from ./include/linux/compiler.h:250,
from ./include/linux/string.h:6,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./arch/x86/include/asm/barrier.h: In function ‘array_index_mask_nospec’:
./arch/x86/include/asm/barrier.h:38:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
38 | {
| ^
In file included from ./include/linux/compiler.h:251,
from ./include/linux/string.h:6,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./include/linux/kasan-checks.h: In function ‘kasan_check_read’:
./include/linux/kasan-checks.h:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
10 | { }
| ^
./include/linux/kasan-checks.h: In function ‘kasan_check_write’:
./include/linux/kasan-checks.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
12 | { }
| ^
In file included from ./include/linux/string.h:6,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./include/linux/compiler.h: In function ‘read_word_at_a_time’:
./include/linux/compiler.h:273:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
273 | {
| ^
./include/linux/compiler.h: In function ‘offset_to_ptr’:
./include/linux/compiler.h:303:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
303 | {
| ^
In file included from ./include/linux/jump_label.h:121,
from ./arch/x86/include/asm/string_64.h:6,
from ./arch/x86/include/asm/string.h:5,
from ./include/linux/string.h:20,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch’:
./arch/x86/include/asm/jump_label.h:35:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
35 | {
| ^
./arch/x86/include/asm/jump_label.h: In function ‘arch_static_branch_jump’:
./arch/x86/include/asm/jump_label.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
50 | {
| ^
In file included from ./arch/x86/include/asm/string_64.h:6,
from ./arch/x86/include/asm/string.h:5,
from ./include/linux/string.h:20,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./include/linux/jump_label.h: In function ‘static_key_false’:
./include/linux/jump_label.h:141:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
141 | {
| ^
./include/linux/jump_label.h: In function ‘static_key_true’:
./include/linux/jump_label.h:146:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
146 | {
| ^
In file included from ./arch/x86/include/asm/string.h:5,
from ./include/linux/string.h:20,
from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./arch/x86/include/asm/string_64.h: In function ‘__inline_memcpy’:
./arch/x86/include/asm/string_64.h:12:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
12 | {
| ^
./arch/x86/include/asm/string_64.h: In function ‘memset16’:
./arch/x86/include/asm/string_64.h:41:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
41 | {
| ^
./arch/x86/include/asm/string_64.h: In function ‘memset32’:
./arch/x86/include/asm/string_64.h:53:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
53 | {
| ^
./arch/x86/include/asm/string_64.h: In function ‘memset64’:
./arch/x86/include/asm/string_64.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
65 | {
| ^
./arch/x86/include/asm/string_64.h: In function ‘memcpy_mcsafe’:
./arch/x86/include/asm/string_64.h:125:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
125 | {
| ^
In file included from ./include/linux/uuid.h:20,
from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./include/linux/string.h: In function ‘strstrip’:
./include/linux/string.h:72:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
72 | {
| ^
./include/linux/string.h: In function ‘memset_l’:
./include/linux/string.h:119:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
119 | {
| ^
./include/linux/string.h: In function ‘memset_p’:
./include/linux/string.h:127:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
127 | {
| ^
./include/linux/string.h: In function ‘strtobool’:
./include/linux/string.h:183:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
183 | {
| ^
./include/linux/string.h: In function ‘strstarts’:
./include/linux/string.h:214:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
214 | {
| ^
./include/linux/string.h: In function ‘kbasename’:
./include/linux/string.h:227:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
227 | {
| ^
./include/linux/string.h: In function ‘memcpy_and_pad’:
./include/linux/string.h:447:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
447 | {
| ^
In file included from ./include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
./include/linux/uuid.h: In function ‘guid_equal’:
./include/linux/uuid.h:45:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
45 | {
| ^
./include/linux/uuid.h: In function ‘guid_copy’:
./include/linux/uuid.h:50:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
50 | {
| ^
./include/linux/uuid.h: In function ‘guid_is_null’:
./include/linux/uuid.h:55:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
55 | {
| ^
./include/linux/uuid.h: In function ‘uuid_equal’:
./include/linux/uuid.h:60:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
60 | {
| ^
./include/linux/uuid.h: In function ‘uuid_copy’:
./include/linux/uuid.h:65:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
65 | {
| ^
./include/linux/uuid.h: In function ‘uuid_is_null’:
./include/linux/uuid.h:70:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
70 | {
| ^
./include/linux/uuid.h: In function ‘uuid_le_cmp’:
./include/linux/uuid.h:92:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
92 | {
| ^
scripts/mod/devicetable-offsets.c: In function ‘main’:
scripts/mod/devicetable-offsets.c:10:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
10 | {
| ^
make[2]: *** [scripts/Makefile.build:131: scripts/mod/devicetable-offsets.s] Error 1
make[2]: *** Waiting for unfinished jobs....
HOSTCC scripts/asn1_compiler
HOSTCC scripts/extract-cert
YACC scripts/genksyms/parse.tab.c
make[1]: *** [scripts/Makefile.build:544: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
LEX scripts/genksyms/lex.lex.c
YACC scripts/genksyms/parse.tab.h
HOSTLD arch/x86/tools/relocs
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/genksyms/lex.lex.o
LD /usr/src/4.19.104-microsoft-standard/tools/objtool/objtool-in.o
LINK /usr/src/4.19.104-microsoft-standard/tools/objtool/objtool
HOSTLD scripts/genksyms/genksyms
make: *** [Makefile:1066: scripts] Error 2
make: *** Waiting for unfinished jobs....
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard$ cd tools/usb/usbip
helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$ sudo ./autogen.sh

  • autoreconf -i -f -v
    autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:16: installing './compile' configure.ac:16: installing './config.guess' configure.ac:16: installing './config.sub' configure.ac:15: installing './install-sh' configure.ac:15: installing './missing' libsrc/Makefile.am: installing './depcomp' autoreconf: Leaving directory .'
    helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$ sudo ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking how to print strings... printf
    checking whether make supports the include directive... yes (GNU style)
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @file support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether make supports nested variables... (cached) yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for ANSI C header files... (cached) yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking for stdint.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking for unistd.h... (cached) yes
    checking for int32_t... yes
    checking for size_t... yes
    checking for ssize_t... yes
    checking for uint16_t... yes
    checking for uint32_t... yes
    checking for uint8_t... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for memset... yes
    checking for mkdir... yes
    checking for regcomp... yes
    checking for socket... yes
    checking for strchr... yes
    checking for strerror... yes
    checking for strstr... yes
    checking for strtoul... yes
    checking libudev.h usability... yes
    checking libudev.h presence... yes
    checking for libudev.h... yes
    checking for udev_new in -ludev... yes
    checking whether to use the libwrap (TCP wrappers) library... (default)
    checking for hosts_access in -lwrap... no
    checking whether to use fortify... default
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libsrc/Makefile
    config.status: creating src/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$ sudo make install -j 12
    Making install in libsrc
    make[1]: Entering directory '/usr/src/4.19.104-microsoft-standard/tools/usb/usbip/libsrc'
    CC libusbip_la-names.lo
    CC libusbip_la-usbip_host_driver.lo
    CC libusbip_la-usbip_device_driver.lo
    CC libusbip_la-usbip_common.lo
    CC libusbip_la-usbip_host_common.lo
    CC libusbip_la-vhci_driver.lo
    CC libusbip_la-sysfs_utils.lo
    In file included from /usr/include/string.h:495,
    from usbip_device_driver.c:25:
    In function ‘strncpy’,
    inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:106:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In function ‘strncpy’,
    inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:125:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/string.h:495,
    from usbip_common.h:14,
    from usbip_common.c:7:
    In function ‘strncpy’,
    inlined from ‘read_usb_device’ at usbip_common.c:229:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In function ‘strncpy’,
    inlined from ‘read_usb_device’ at usbip_common.c:230:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    make[1]: *** [Makefile:472: libusbip_la-usbip_device_driver.lo] Error 1
    make[1]: *** Waiting for unfinished jobs....
    cc1: all warnings being treated as errors
    make[1]: *** [Makefile:479: libusbip_la-usbip_common.lo] Error 1
    make[1]: Leaving directory '/usr/src/4.19.104-microsoft-standard/tools/usb/usbip/libsrc'
    make: *** [Makefile:498: install-recursive] Error 1
    helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$ sudo cp libsrc/.libs/libusbip.so.0 /lib/libusbip.so.0
    cp: cannot stat 'libsrc/.libs/libusbip.so.0': No such file or directory
    helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$ sudo make install -j 12
    Making install in libsrc
    make[1]: Entering directory '/usr/src/4.19.104-microsoft-standard/tools/usb/usbip/libsrc'
    CC libusbip_la-usbip_device_driver.lo
    CC libusbip_la-usbip_common.lo
    In file included from /usr/include/string.h:495,
    from usbip_device_driver.c:25:
    In function ‘strncpy’,
    inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:106:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In function ‘strncpy’,
    inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:125:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    make[1]: *** [Makefile:472: libusbip_la-usbip_device_driver.lo] Error 1
    make[1]: *** Waiting for unfinished jobs....
    In file included from /usr/include/string.h:495,
    from usbip_common.h:14,
    from usbip_common.c:7:
    In function ‘strncpy’,
    inlined from ‘read_usb_device’ at usbip_common.c:229:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In function ‘strncpy’,
    inlined from ‘read_usb_device’ at usbip_common.c:230:2:
    /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
    106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    make[1]: *** [Makefile:479: libusbip_la-usbip_common.lo] Error 1
    make[1]: Leaving directory '/usr/src/4.19.104-microsoft-standard/tools/usb/usbip/libsrc'
    make: *** [Makefile:498: install-recursive] Error 1
    helloworld@DESKTOP-GCL2EKC:/usr/src/4.19.104-microsoft-standard/tools/usb/usbip$`

Any way to resolve?

Thanks - precompiled wsl ubuntu usb kernels now available

Hi just wanted to say thanks for your instructions, they were a huge help.

I've set up a gitlab ci auto-building project which should now automatically build any new tagged kernel releases from the WSL official repo with all the USB drivers compiled in. I ended up compiling them directly in rather than as modules because I couldn't find a simple way to get the modules to auto-load at wsl startup (without needing a full systemd install which is a bit of a pain).

For anyone who wants USB kernels on their WSL ubuntu, you can download pre-compiled copies here: https://gitlab.com/alelec/wsl2-usb-kernel/-/releases

The zip package attached to each release contains three deb files and an install script, which will handle installing the deb packages as well as configuring the .wslconfig file automatically to use it.
Just cd into the extracted zip folder and run bash ./install.sh

If you find it interesting / useful I'd be more than happy for you to include in your readme but no pressure, really just wanted to share my thanks.

Cheers,
Andrew

modprobe: FATAL: Module usbcore not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2

Hi

I have followed the instruction with the most up2date wsl2 , however, I get the following at the end :

modprobe: FATAL: Module usbcore not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module usb-common not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module hid-generic not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module hid not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module usbnet not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module cdc_ether not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module rndis_host not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module usbserial not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module usb-storage not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module cdc-acm not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module ftdi_sio not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module usbip-core not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2
modprobe: FATAL: Module vhci-hcd not found in directory /lib/modules/5.15.68.1-microsoft-standard-WSL2

I have followed the instructions twice in case I have missed anything but the result was the same
Any help would be appreciated

modprobe: ERROR: could not insert '<module>': Invalid argument

I do all the steps, however when I execute the startusb.sh, it gives the following errors.
I checked out to the branch v4.19.84 because the version of my kernel is 4.19.84-microsoft-standard.


modprobe: ERROR: could not insert 'usbcore': Invalid argument
modprobe: ERROR: could not insert 'hid_generic': Invalid argument
modprobe: ERROR: could not insert 'hid': Invalid argument
modprobe: ERROR: could not insert 'usbnet': Invalid argument
modprobe: ERROR: could not insert 'cdc_ether': Invalid argument
modprobe: ERROR: could not insert 'rndis_host': Invalid argument
modprobe: ERROR: could not insert 'usbserial': Invalid argument
modprobe: ERROR: could not insert 'usb_storage': Invalid argument
modprobe: ERROR: could not insert 'cdc_acm': Invalid argument
modprobe: ERROR: could not insert 'ftdi_sio': Invalid argument
modprobe: ERROR: could not insert 'usbip_core': Invalid argument
modprobe: ERROR: could not insert 'vhci_hcd': Invalid argument
172.17.240.1


When I run dmesg, it shows the following messages

[ 11.521806] usbcore: disagrees about version of symbol current_time
[ 11.521807] usbcore: Unknown symbol current_time (err -22)
[ 11.521810] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.521810] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.521823] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.521824] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.521954] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.521955] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.521956] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.521968] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.521968] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.535470] hid: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.535472] hid: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.535522] hid: disagrees about version of symbol kmalloc_caches
[ 11.535522] hid: Unknown symbol kmalloc_caches (err -22)
[ 11.541482] hid: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.541484] hid: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.541532] hid: disagrees about version of symbol kmalloc_caches
[ 11.541533] hid: Unknown symbol kmalloc_caches (err -22)
[ 11.547371] usbcore: disagrees about version of symbol current_time
[ 11.547372] usbcore: Unknown symbol current_time (err -22)
[ 11.547375] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.547375] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.547388] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.547388] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.547518] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.547520] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.547521] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.547532] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.547533] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.553540] usbcore: disagrees about version of symbol current_time
[ 11.553542] usbcore: Unknown symbol current_time (err -22)
[ 11.553544] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.553545] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.553558] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.553558] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.553689] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.553691] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.553691] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.553703] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.553703] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.559665] usbcore: disagrees about version of symbol current_time
[ 11.559667] usbcore: Unknown symbol current_time (err -22)
[ 11.559670] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.559670] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.559683] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.559684] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.559838] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.559840] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.559841] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.559853] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.559853] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.565868] usbcore: disagrees about version of symbol current_time
[ 11.565870] usbcore: Unknown symbol current_time (err -22)
[ 11.565873] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.565873] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.565886] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.565887] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.566018] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.566019] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.566020] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.566032] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.566032] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.571854] usbcore: disagrees about version of symbol current_time
[ 11.571855] usbcore: Unknown symbol current_time (err -22)
[ 11.571858] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.571859] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.571871] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.571872] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.572002] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.572003] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.572004] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.572016] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.572016] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.577584] usbcore: disagrees about version of symbol current_time
[ 11.577586] usbcore: Unknown symbol current_time (err -22)
[ 11.577589] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.577589] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.577601] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.577602] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.577730] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.577732] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.577732] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.577744] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.577744] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.584044] usbcore: disagrees about version of symbol current_time
[ 11.584046] usbcore: Unknown symbol current_time (err -22)
[ 11.584048] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.584049] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.584062] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.584062] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.584213] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.584215] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.584216] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.584227] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.584228] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 11.590493] usbip_core: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.590494] usbip_core: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.590510] usbip_core: disagrees about version of symbol sock_recvmsg
[ 11.590510] usbip_core: Unknown symbol sock_recvmsg (err -22)
[ 11.590513] usbip_core: disagrees about version of symbol kmalloc_caches
[ 11.590514] usbip_core: Unknown symbol kmalloc_caches (err -22)
[ 11.595984] usbcore: disagrees about version of symbol current_time
[ 11.595986] usbcore: Unknown symbol current_time (err -22)
[ 11.595988] usbcore: disagrees about version of symbol remap_pfn_range
[ 11.595989] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 11.596001] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 11.596002] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 11.596145] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 11.596147] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 11.596148] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 11.596160] usbcore: disagrees about version of symbol kmalloc_caches
[ 11.596160] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 49.181225] hv_balloon: Max. dynamic memory size: 13088 MB
[ 62.031280] WSL2: Performing memory compaction.
[ 305.041612] WSL2: Performing memory compaction.
[ 426.051431] WSL2: Performing memory compaction.
[ 852.632134] usbcore: disagrees about version of symbol current_time
[ 852.632136] usbcore: Unknown symbol current_time (err -22)
[ 852.632138] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.632139] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.632181] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.632182] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.632316] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.632318] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.632318] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.632330] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.632330] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.649689] hid: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.649692] hid: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.649757] hid: disagrees about version of symbol kmalloc_caches
[ 852.649758] hid: Unknown symbol kmalloc_caches (err -22)
[ 852.657897] hid: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.657901] hid: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.657969] hid: disagrees about version of symbol kmalloc_caches
[ 852.657971] hid: Unknown symbol kmalloc_caches (err -22)
[ 852.667416] usbcore: disagrees about version of symbol current_time
[ 852.667418] usbcore: Unknown symbol current_time (err -22)
[ 852.667422] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.667423] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.667439] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.667440] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.667610] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.667612] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.667613] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.667629] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.667630] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.676083] usbcore: disagrees about version of symbol current_time
[ 852.676086] usbcore: Unknown symbol current_time (err -22)
[ 852.676089] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.676090] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.676108] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.676109] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.676306] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.676308] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.676309] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.676325] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.676326] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.685581] usbcore: disagrees about version of symbol current_time
[ 852.685584] usbcore: Unknown symbol current_time (err -22)
[ 852.685588] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.685588] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.685605] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.685606] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.685776] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.685778] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.685779] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.685794] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.685795] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.695277] usbcore: disagrees about version of symbol current_time
[ 852.695280] usbcore: Unknown symbol current_time (err -22)
[ 852.695283] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.695284] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.695300] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.695301] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.695466] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.695468] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.695469] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.695484] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.695485] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.703437] usbcore: disagrees about version of symbol current_time
[ 852.703441] usbcore: Unknown symbol current_time (err -22)
[ 852.703445] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.703446] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.703464] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.703464] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.703635] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.703637] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.703638] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.703653] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.703654] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.713285] usbcore: disagrees about version of symbol current_time
[ 852.713289] usbcore: Unknown symbol current_time (err -22)
[ 852.713292] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.713293] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.713310] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.713311] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.713479] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.713481] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.713482] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.713497] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.713498] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.721667] usbcore: disagrees about version of symbol current_time
[ 852.721669] usbcore: Unknown symbol current_time (err -22)
[ 852.721672] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.721672] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.721685] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.721686] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.721818] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.721820] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.721820] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.721832] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.721832] usbcore: Unknown symbol kmalloc_caches (err -22)
[ 852.729727] usbip_core: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.729732] usbip_core: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.729756] usbip_core: disagrees about version of symbol sock_recvmsg
[ 852.729757] usbip_core: Unknown symbol sock_recvmsg (err -22)
[ 852.729760] usbip_core: disagrees about version of symbol kmalloc_caches
[ 852.729761] usbip_core: Unknown symbol kmalloc_caches (err -22)
[ 852.739261] usbcore: disagrees about version of symbol current_time
[ 852.739262] usbcore: Unknown symbol current_time (err -22)
[ 852.739265] usbcore: disagrees about version of symbol remap_pfn_range
[ 852.739266] usbcore: Unknown symbol remap_pfn_range (err -22)
[ 852.739280] usbcore: disagrees about version of symbol kmem_cache_alloc_trace
[ 852.739280] usbcore: Unknown symbol kmem_cache_alloc_trace (err -22)
[ 852.739415] usbcore: Unknown symbol usb_hcd_amd_remote_wakeup_quirk (err -2)
[ 852.739416] usbcore: disagrees about version of symbol kill_pid_info_as_cred
[ 852.739417] usbcore: Unknown symbol kill_pid_info_as_cred (err -22)
[ 852.739429] usbcore: disagrees about version of symbol kmalloc_caches
[ 852.739429] usbcore: Unknown symbol kmalloc_caches (err -22)

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.