Skip to content
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

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

Open
grandec opened this issue Mar 26, 2020 · 2 comments
Open

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

grandec opened this issue Mar 26, 2020 · 2 comments

Comments

@grandec
Copy link

grandec commented Mar 26, 2020

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)

@grandec
Copy link
Author

grandec commented Mar 27, 2020

I tried checking out in '4.19.84-microsoft-standard' tag, samething happened.

Here is the kernel version.

/usr/src/4.19.84-microsoft-standard$ uname -r
4.19.84-microsoft-standard

@theseankelly
Copy link

Check out issue #2. I had a similar problem until I configured WSL to actually boot my compiled kernel via the .wslconf file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants