USBIP on proxmox host

frater

New Member
Mar 16, 2011
21
0
1
I'm running a Windows 2008 R2 on proxmox 1.8 to investigate if the upcoming proxmox 2.0 is suitable as a platform for these servers.
Windows 2008 R2 has special backup support for USB harddisks, but exposing an USB device on the host machine to a client is not really an option as it makes this client unable to migrate to another host.

I decided to look into usbip (http://usbip.sourceforge.net/)
Installed it from source, but ran into all kind of dependency problems which I had to tackle step by step.
Then I found this page: http://pijoka.co.za/blog2.php/2011/03/21/usb-ip-and-proxmox-ve
No dependency problems anymore and all seemed to be working fine.... (at least no fails)


Code:
proxmox-2:~# modprobe usbip
proxmox-2:~# modprobe usbip_common_mod
proxmox-2:~# usbipd -D
Bind usbip.ko to a usb device to be exportable!
proxmox-2:~# usbip_bind_driver --usbip 1-1.4
** (process:3372): DEBUG:  1-1.4:1.0    -> none
** (process:3372): DEBUG: write "add 1-1.4" to /sys/bus/usb/drivers/usbip/match_busid
** Message: bind 1-1.4 to usbip, complete!

I then installed these drivers on my Windows 2008 R2 and later on my Windows 7 machine....
http://sourceforge.net/projects/usbip/files/usbip_windows/usbip_windows_v0.2.0.0_signed.zip/download


Code:
K:\usbip>usbip -l 10.0.0.6
- 10.0.0.6
   1-1.4: Freecom Technologies : unknown product (07ab:fc85)
        : /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4
        : (Defined at Interface level) (00/00/00)
        :  0 - Mass Storage / SCSI / Bulk (Zip) (08/06/50)


K:\usbip>usbip -a 10.0.0.6 1-1.4
new usb device attached to usbvbus port 2

usbip err: usbip_windows.c: 457 (sock_read_async) incomplete header 1 997

usbip err: usbip_windows.c: 374 (write_to_dev) read from sock ret 0 not equal a usbip_header

:-( :-( No success

I then used my USB stick which gave the same result.
Because I'm currently also busy with the AVM Fritz!box which can be extended to use USBIP I tested this same stick on there and then it worked.

Code:
K:\usbip>usbip -l 192.168.178.1
- 192.168.178.1
     1-1: Feiya Technology Corp. : unknown product (090c:6200)
        : /sys/devices/platform/musb_hdrc/usb1/1-1
        : (Defined at Interface level) (00/00/00)
        :  0 - Mass Storage / SCSI / Bulk (Zip) (08/06/50)


K:\usbip>usbip -a 192.168.178.1 1-1
new usb device attached to usbvbus port 1

Receive sequence:    8900

The USB-stick is now shared on my LAN :-D

I'm not sure, but it seems the culprit is the server.
Anybody else been more successful?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!