Re: [usbip-devel] Unable to insmod usbip_common_mod.ko
Status: Alpha
Brought to you by:
hirofuchi
From: lepton <yth...@gm...> - 2009-07-29 15:57:05
|
Hi, I think for your running kernel, you shouldn't use linux-source as your kernel source. On ubuntu, you should do something like this: apt-get source linux-image-2.6.28-13-generic to get your kernel source, then you can try your method, it should work. For a redhat based system like Fedora, you should install the src.rpm for you running kernel , but not the linux-source rpm. On Tue, Jul 28, 2009 at 02:34:32PM +0200, Lukas Czerner wrote: > Hi, > > Thanks for your response. I simply installed linux-source (on Ubuntu) > then extract it to my home. > > Then as follows: > > make oldconfig > make menuconfig (drivers-staging-usgip) > make prepare > make modules_prepare > make M=drivers/staging/usbip > sudo insmod drivers/staging/usbip/usbip_common_mod.ko > > and the rest you already know. > > lepton napsal(a): > > Hi, > > > > How do you compile this module? > > And can you compile and install other modules? > > Please provide us the detailes. > > > > On Tue, Jul 28, 2009 at 10:54:16AM +0200, Lukas Czerner wrote: > >> I compiled usbip successfully from staging tree, but when i am trying to > >> insmod usbip_common_mod.ko, error occured. > >> > >> insmod: error inserting 'usbip_common_mod.ko': -1 Invalid module format > >> > >> to be sure a try it on two distribution Ubuntu 9.04 (2.6.28-13-generic) > >> and Fedora 11 (2.6.29.6-213.fc11.i686.PAE). On both with the same result. > >> > >> Is this a bug ? Or just my fault (where?) ? > >> > >> -- > >> S pozdravem, > >> > >> Czerner Luk峁 > >> > >> > >> ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > >> trial. Simplify your report design, integration and deployment - and focus on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> usbip-devel mailing list > >> usb...@li... > >> https://lists.sourceforge.net/lists/listinfo/usbip-devel > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > usbip-devel mailing list > > usb...@li... > > https://lists.sourceforge.net/lists/listinfo/usbip-devel > > > -- > S pozdravem, > > Czerner Luká?? > > -- > === WebStep, s.r.o. (Ltd.) ========= a step to the Web === > address: Mezirka 1, 602 00 Brno, CZ. > === www.webstep.net ======= luk...@we... ==== > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > usbip-devel mailing list > usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbip-devel |