Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10992 closed defect (fixed)

usbip packages refer to different modules then provided by the kmod-usbip packages

Reported by: daniel@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

the current usbipd (usbip-server package) is looking for usbip.ko and usbip_common_mod.ko which are not provided by the kernel modules.

root@OpenWrt:~# usbipd -D
usbip err: stub_driver.c:  33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded

** ERROR **: driver open failed
aborting...
Aborted

the kernel modules usbip-core.ko and usbip-host.ko (in packages kmod-usbip and kmod-usbip-server) have been written for the usbip userspace tools included in the kernel-staging area.

see http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=tree;f=drivers/staging/usbip/userspace;hb=dcd6c92267155e70a94b3927bce681ce74b80d1f

The usbip packages needs to be updated to the sources included in the kernel-staging userspace directory.

Attachments (0)

Change History (7)

comment:1 Changed 6 years ago by rektide@…

me too; having this problem as well, eagerly await resolution! these two files ought have sufficient dependencies, i believe:

root@OpenWrt:~# opkg files kmod-usbip;echo;opkg files kmod-usbip-server
Package kmod-usbip (3.2.5+0.1.7-2) is installed on root and has the following files:
/lib/modules/3.2.5/usbip-core.ko
/etc/modules.d/98-usbip

Package kmod-usbip-server (3.2.5+0.1.7-2) is installed on root and has the following files:
/etc/modules.d/99-usbip-server
/lib/modules/3.2.5/usbip-host.ko

comment:3 Changed 6 years ago by anonymous

It's somewhat ridiculous that after using linux since 2.6.39 usbip userspace is still broken and multiple fixes have been submitted - please just apply, will you?

Other solution here: /ticket/5590.html

comment:4 Changed 6 years ago by anonymous

This patch has even made it into regular patchwork, just google to see how many people are confused by usbip userspace 0.1.7 not working with current kernels 2.6.39+: http://patchwork.openwrt.org/patch/2129/

comment:5 Changed 6 years ago by kd4yal@…

Having same issue with current trunk revision 32551.

Has this patch been applied? If not could someone post a current patch that will work with current trunk (revision 32551). I do not have the skill set to do so but would like to use USBIP with OPENWRT.

Thank you

comment:6 Changed 6 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with r32887

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.