modprobe: FATAL: Module vhci-hcd not found in directory /lib/module/4.4.38-tegra

I’m using the Jetson TX2 and I’m receiving the error:

modprobe: FATAL: Module vhci-hcd not found in directory /module/4.4.38-tegra

when I try to run a USB port sharing application. I have installed the the libperl-dev package and the error still persist. Any help is greatly appreciated. Thanks!

Hi,
Please check
https://www.virtualhere.com/content/need-help-ubuntu-console-setup

Looks like you have to build usbip kernel module. The kernel source code of r32.2 is in
https://developer.nvidia.com/embedded/dlc/public_sources_AGX

Thanks for the feedback!

Can you provide commands line process (or step by step example) for building the usbip kernel?

Hi,
We don’t have experience on this. Just tried to grep information from other forums.
Other users may share their experiences.

Hi shad.m.reese,

If you are looking for a guide to compile the kernel module you need there is an step by step guide here: Compiling Tegra Source Code | Jetson Tegra X1 and X2 | RidgeRun

Please note that when you open the menuconfig you have to make sure to enable the vhci-hcd module. You should find the module in Device Drivers → USB Support → USB/IP Support → VHCI hcd.

Regards

Jafet,

Thanks! This wiki is very helpful. Is there a wiki that shows how to upgrade the kernel from 4.4 to 4.9 or higher?

Thanks!

Hi shad.m.reese,

Steps should be similar if not the same, just make sure to download the sources and toolchain accordingly:

Sources (L4T 32.2): https://developer.nvidia.com/embedded/linux-tegra
Toolchain: http://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-i686_aarch64-linux-gnu.tar.xz

Additionally you can check the version by running the following command in the top level of kernel source tree:

make kernelversion