Client on DietPI on Odroid - modprobe: FATAL: Module vhci_hcd not found

Hi, I have a machine as a licensed VirutalHere server.
I want to run the client on an Odroid running DietPi. I have a new install of DietPi. I see it has a built in option to run the VirutalHere server, but not the client.
I have downloaded vhclientarmhf to /usr/local/bin
If I run it, then i get this error.


modprobe: FATAL: Module vhci_hcd not found in directory /lib/modules/4.14.66+

Reading around tells me this is because USBIP is not installed. But I do get a response back from USBIP list

root@DietPi:/usr/local/bin# usbip list -l
- busid 1-1 (0781:5583)
SanDisk Corp. : unknown product (0781:5583)

- busid 6-1 (0bda:8153)
Realtek Semiconductor Corp. : unknown product (0bda:8153)

root@DietPi:/usr/local/bin#

Any pointers please on how to get the client to load?

Cheers!

#2

Can you tell me what you have in the directory?

/lib/modules/4.14.66+/kernel/drivers/usb/usbip

#3

Hi. I don't have the usbip directory under usb. Here's what I do have.

root@DietPi:/lib/modules/4.14.66+/kernel/drivers/usb# ls
class gadget misc serial storage

root@DietPi:/lib/modules/4.14.66+/kernel/drivers/usb/serial# ls
aircable.ko cp210x.ko empeg.ko io_edgeport.ko ir-usb.ko kl5kusb105.ko mos7720.ko omninet.ko pl2303.ko safe_serial.ko symbolserial.ko usb_wwan.ko xsens_mt.ko
ark3116.ko cyberjack.ko f81232.ko io_ti.ko iuu_phoenix.ko kobil_sct.ko mos7840.ko opticon.ko qcaux.ko sierra.ko ti_usb_3410_5052.ko visor.ko
belkin_sa.ko cypress_m8.ko ftdi_sio.ko ipaq.ko keyspan.ko mct_u232.ko mxuport.ko option.ko qcserial.ko spcp8x5.ko usbserial.ko whiteheat.ko
ch341.ko digi_acceleport.ko garmin_gps.ko ipw.ko keyspan_pda.ko metro-usb.ko navman.ko oti6858.ko quatech2.ko ssu100.ko usb-serial-simple.ko wishbone-serial.ko
root@DietPi:/lib/modules/4.14.66+/kernel/drivers/usb/serial#

#5

Thanks, I couldn't get make menuconfig to work, need to do more reading.

I also tried the openmediavault distribution but that would not even try to run vhclientarmhf. It just gave me a blinking cursor. I had to ctrl-c out.

Is there a distribution that you/anyone knows of that has these modules already in the kernel? Or a more detailed link on how to add them into dietpi?

#6

Actually it sounds like openmediavault has those modules as you run the client first like this ./vhclientarmhf -n then run it again like this ./vhclientarmhf -t "LIST" and it should return the list of servers. Then ./vhclientarmhf -t "USE,address" to use a device. If the client doesnt complain then those modules are working

#7

I'd like to see if I can add the modules to the kernel starting with the latest odroid version of Debian Stretch, or DietPi. Does anyone have a guide or link or a few more pointers than the faq on how to do this? I've found a few guides, but not been able to get through them. Cheers.

#8

I recently make a docker file here https://github.com/virtualhere/docker/blob/master/Dockerfile that will show how to compile the drivers and then move them to the same directory as the vhclientarmhf file (note a few changes you need to make from that example is that the kernel source might need to come from somewhere else, not kernel.org . It looks like the source is here https://github.com/hardkernel/linux so you need to download the correct branch and extract that instead then continue with the other commands i.e copying config.gz cat'ing various settings into the config