Re: [usbip-devel] can not load usbip.ko
Status: Alpha
Brought to you by:
hirofuchi
From: Craig P. <cr...@be...> - 2012-03-30 01:40:45
|
Flooding, May I please ask that you reply back to the mailing list and not to the individual, this way you open up the floor to other people on the list responding to your question. May I also ask you keep your query to the one thread, i.e. 'can not load usbip.ko' rather than spamming the 'Windows client driver patch - cancel routine, hardware ID BSOD.' - This makes the discussion easier to follow. Regarding your problem with the client driver, I believe it's a version mismatch problem. In your windows source tree, there should be a usbip_windows_v0.2.0.0_signed\usbip_protocol.h file containing a version definition: #define USBIP_VERSION 0x000106 Change it to #define USBIP_VERSION 0x00000111, recompile and see what happens. This is just a hack I have come up with, I would be interested in what the official solution should be. Regards, Craig On 29/03/2012 11:39 PM, flooding Controlled wrote: > Hi: > I have successfully installed the server side. However, on my client > side(windows XP 3 32bit), I use the usbip_windows_v0.2.0.0_signed and > type the command in the cmd: > C:\usbip_windows_v0.2.0.0_signed>usbip.exe -l 192.168.23.131 > > the error are as follows: > > - 192.168.23.131 > usbip err: usbip_network.c: 121 (usbip_recv_op_common) recv op_common, -1 > usbip err: usbip.c: 216 (query_exported_devices) recv op_common > usbip err: usbip.c: 288 (show_exported_devices) query > > Could you give me some suggestions? Thanks a lot! > > > > 在 2012年3月29日 下午7:35,flooding Controlled <flo...@gm... > <mailto:flo...@gm...>>写 道: > > > > 在 2012年3月29日 下午7:35,flooding Controlled > <flo...@gm... <mailto:flo...@gm...>>写 道: > > Hi Craig: > Thanks a lot! I am tring it! Thanks for your help! > > > > 在 2012年3月29日 下午6:19,Craig Peacock > <cr...@be... <mailto:cr...@be...>>写 道: > > > Sorry Flooding, I think I misread what you are asking. > > I believe you are asking how to install the drivers, not > the userland utilties. > > The drivers are part of the kernel and can be found in the > kernel menu under Device Drivers -> Staging drivers -> > USB/IP support. > > I assume you already have compiled these as modules with > your 3.1 kernel? > > Regards, > > Craig > > > > On 29/03/2012 8:43 PM, Craig Peacock wrote: >> >> Flooding, >> >> To compile the userland utilities, you will have to run >> the autogen.sh script first. Then you can run configure. >> >> cd drivers/staging/usbip/userspace >> ./autogen.sh >> ./configure >> make >> make install >> >> Regards, >> >> Craig >> >> On 29/03/2012 7:55 PM, flooding Controlled wrote: >>> Hi: >>> I have followed the steps in the README file: >>> [Install] >>> 0. Generate configuration scripts. >>> $ ./autogen.sh >>> 1. Compile & install the userspace utilities. >>> $ ./configure [--with-tcp-wrappers=no] >>> [--with-usbids-dir=<dir>] >>> $ make install >>> 2. Compile & install USB/IP drivers. >>> Then I have finished the first step. And how to do the >>> second step "Compile & install USB/IP drivers". >>> >>> For I have run the command under "drivers/staging/usbip" >>> , but the Makefile in the folder has no target. >>> >>> Could tell me how to do this? Thanks a lot! >>> >>> 在 2012年3月29日 下午4:07,Craig Peacock >>> <cr...@be... <mailto:cr...@be...>> >>> 写 道: >>> >>> >>> Flooding, >>> >>> The 0.1.7 userland utilities found on sourceforge is >>> obsolete. >>> >>> Your kernel source (3.1) will include userland >>> utilities in the drivers/staging/usbip/userspace >>> folder. Please compile and give these utilities a go. >>> >>> Regards, >>> >>> Craig >>> >>> >>> >>> On 29/03/2012 6:04 PM, flooding Controlled wrote: >>>> Hi all: >>>> My linux release is Feodra 16 i686 and I have >>>> downloaded the linux kernel src with the version >>>> 3.1. Then I compiled the usbip.ko and >>>> usbip_common_mod.ko successfully by (my kernel >>>> path)/driver/stage/usbip/* . >>>> And I can load them successfully. >>>> modprobe usbip >>>> modprobe usbip_common_mod >>>> Then I installed the usbip.0.17 by src following >>>> the src/REAMME successfully. >>>> Howerver, when I run the command "usbipd", it >>>> called the error as follow: >>>> usbip err: stub_driver.c: 33 >>>> (open_sysfs_stub_driver) usbip_common_mod.ko and >>>> usbip.ko must be loaded >>>> I am puzzled by it. Coule someone give help? Thanks >>>> a lot! >>>> Yours Flooding. >>>> >>> >>> >> > > > > |