Error 2 determining port, make sure the usbip kernel module is loaded

Hi Michael,

I am having an issue with a cloud-based Ubuntu 64-bit install that I am trying to use.

I can start the virtualhere client, it connects to the server, but as soon as I try to "use" a device, I get the following message:

21:25:47 INFO :VirtualHere 2.4.7 starting (Compiled: Sep 25 2014 01:42:45)
21:25:47 INFO :Using config at /home/ec2user/.vhui
21:25:47 INFO :IPC available at /tmp/vhclient
21:25:58 ERROR :Error 2 determining port, make sure the usbip kernel module is loaded

uname -a gives:

Linux ip-xxx-xx-xx-xx 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Could you give me a hint here?

Thanks, Stuart

#2

Hi Stuart, seems your cloud vendor has not compiled usbip staging drivers into their kernel, therefore you will need to compile them yourself by trying the following:

apt-get install usbip-source
apt-get source linux-image-$(uname -r)
cd /usr/src
tar -xvf usbip.tar.bz2
cd modules/usbip/source
make
make install