Re: [usbip-devel] USB/IP not working with 2.6.24.2
Status: Alpha
Brought to you by:
hirofuchi
From: ICT4Schools B.V. [M. Eghuizen] <mi...@ic...> - 2008-04-17 17:13:20
|
Hello, In my environment it did work for 2.6.25. I did not tested it (just compiled) for 2.6.24. From the message of DavidKra I saw it worked for 2.6.24, so I guessed it would work. I shall better test it in the comming days. Also my plans are to create some documentation for USBIP to improve developement for it. Greetings, Michiel Eghuizen Takahiro Hirofuchi schreef: > Hello, > > > Does anyone know the trunk of the repository works for 2.6.24 or 2.6.25? > Michiel, in your environment did it actually work with 2.6.24? > When I compiled it, there were warning messages about prototype > declaration mismatches of vhci_{enqeue,deqeue}_urb(). > It seems some modifications are required in vhci_hcd (and usbip?) to > support such recent kernels. > I cannot work for this so much due to lack of time and machines now. > > > Regards, > > > Takahiro > > > > 2008/4/17, Takahiro Hirofuchi <hir...@us... > <mailto:hir...@us...>>: > > Hi, > > > Thanks! > I will make a new release tarball available in sf.net > <http://sf.net> now. > > > Regards, > > Takahiro > > 2008/4/17, ICT4Schools B.V. [Michiel Eghuizen] > <mi...@ic... <mailto:mi...@ic...>>: > > Hello, > > 2.6.25 also works with the same code, so added a symlink to > the code of 2.6.21. <http://2.6.21.> > > Greeting, > > Michiel Eghuizen > > > ICT4Schools B.V. [Michiel Eghuizen] wrote: >> Hi, >> >> Thank for adding me. It works and I added the patch to the trunk. >> >> Greeting, >> >> Michiel Eghuizen >> >> Takahiro Hirofuchi wrote: >>> Hi, >>> >>> >>> I added you to the developer group of the project. >>> Could you make sure that you can commit changes to the trunk >>> of the repository >>> by applying the patch you sent? I think your patch is fine. >>> >>> >>> Regards, >>> >>> Takahiro >>> >>> >>> 2008/4/16, ICT4Schools B.V. [Michiel Eghuizen] >>> <mi...@ic... <mailto:mi...@ic...>>: >>> >>> Hello Takahiro, >>> >>> My SourceForge account is meghuizen >>> >>> It would be nice to add my account to the allow list, to >>> commit changes. I will commit with care. ;-) Also i've >>> seen this patch done on several drivers, not only the >>> USBIP driver. I didn't test it yet (something with time >>> and stuff). If I can find a way, why that lock is >>> removed, I can calculate if it's necessary to leave it >>> there or if it can be removed. So i guess I need to test >>> it this week. >>> >>> Greeting, >>> >>> Michiel Eghuizen >>> >>> ICT4Schools B.V. >>> >>> >>> >>> >>> Takahiro Hirofuchi wrote: >>>> Hi, >>>> >>>> >>>> Does the patch work fine? >>>> I will commit it if it works correctly. >>>> >>>> Michiiel, let me know your sourceforge account if you >>>> want to commit directly. >>>> >>>> >>>> Thanks, >>>> >>>> Takahiro >>>> >>>> >>>> 2008/4/4, DavidKra <te...@go... >>>> <mailto:te...@go...>>: >>>> >>>> as soon i deploy it, i'll give you some information. >>>> >>>> 2008/4/4, ICT4Schools B.V. [Michiel Eghuizen] >>>> <mi...@ic... >>>> <mailto:mi...@ic...>>: >>>> >>>> No problem. >>>> >>>> Comitting to SVN is fine by me, but Takahiro >>>> needs to do that, because he has permissions to >>>> commit to SVN. I hope it will fully work for >>>> you though. I don't know, what impact this has >>>> on the reliability on the code, because for >>>> 2.6.24 you don't lock the urb anymore. Maybe >>>> the kernel itself will arrange that though, but >>>> I don't know much of the internals of the Linux >>>> kernel. >>>> >>>> Do you want to tell us how the usbip module >>>> works under 2.6.24? >>>> >>>> Greetings, >>>> >>>> Met vriendelijke groeten, >>>> >>>> >>>> Michiel Eghuizen >>>> ICT4Schools B.V. >>>> >>>> >>>> >>>> >>>> DavidKra wrote: >>>>> thanks :). What about comitting this patch to svn? >>>>> >>>>> 2008/4/4, ICT4Schools B.V. [Michiel Eghuizen] >>>>> <mi...@ic... >>>>> <mailto:mi...@ic...>>: >>>>> >>>>> Hello, >>>>> >>>>> The following patch, whould solve the problem: >>>>> >>>>> diff -r >>>>> usbip/linux/trunk/drivers/2.6.21/vhci_hcd.c >>>>> usbip-2.6.24/vhci_hcd.c >>>>> 584c584,587 >>>>> < spin_lock >>>>> (&urb->lock); >>>>> --- >>>>> > #if >>>>> LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) >>>>> > >>>>> spin_lock (&urb->lock); >>>>> > #endif >>>>> > >>>>> 590,591c593,596 >>>>> < >>>>> spin_unlock (&urb->lock); >>>>> < >>>>> --- >>>>> > #if >>>>> LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) >>>>> > >>>>> spin_unlock (&urb->lock); >>>>> > #endif >>>>> > >>>>> >>>>> Greetings >>>>> >>>>> Met vriendelijke groeten, >>>>> >>>>> >>>>> Michiel Eghuizen >>>>> ICT4Schools B.V. >>>>> >>>>> >>>>> >>>>> >>>>> ICT4Schools B.V. [Michiel Eghuizen] wrote: >>>>>> Hehe, please don't read the last message. >>>>>> 2.6.23 is a symlink to 2.6.21 ;) >>>>>> Met vriendelijke groeten, >>>>>> >>>>>> >>>>>> Michiel Eghuizen >>>>>> ICT4Schools B.V. >>>>>> >>>>>> Hollewandsweg 25 >>>>>> Postbus 40116 >>>>>> 8015 PC Zwolle >>>>>> http://www.ict4schools.nl >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Telefoon nr: (0529) 497990 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ICT4Schools B.V. [Michiel Eghuizen] wrote: >>>>>>> Hello, >>>>>>> >>>>>>> Also try to compile the code from 2.6.23 >>>>>>> from SVN, instead of 2.6.21. >>>>>>> <http://2.6.21.> SVN is more up to date >>>>>>> and for now even some kind of stable. >>>>>>> >>>>>>> Met vriendelijke groeten, >>>>>>> >>>>>>> >>>>>>> Michiel Eghuizen >>>>>>> ICT4Schools B.V. >>>>>>> >>>>>>> >>>>>>> >>>>>>> ICT4Schools B.V. [Michiel Eghuizen] wrote: >>>>>>>> Hello, >>>>>>>> >>>>>>>> By searching for the error on google, >>>>>>>> in found the following page: >>>>>>>> http://people.debian.org/~terpstra/message/20080201.183916.3d4e7c5d.en.html >>>>>>>> <http://people.debian.org/%7Eterpstra/message/20080201.183916.3d4e7c5d.en.html> >>>>>>>> >>>>>>>> >>>>>>>> When I look at the code from the patch, >>>>>>>> is see the following change: >>>>>>>> #if LINUX_VERSION_CODE < >>>>>>>> KERNEL_VERSION(2,6,24) >>>>>>>> spin_lock_init(&urb->lock); >>>>>>>> #endif >>>>>>>> >>>>>>>> in stead of: spin_lock_init(&urb->lock); >>>>>>>> >>>>>>>> Try to search for the errors on google >>>>>>>> and make changes accordingly. >>>>>>>> >>>>>>>> Met vriendelijke groeten, >>>>>>>> >>>>>>>> >>>>>>>> Michiel Eghuizen >>>>>>>> ICT4Schools B.V. (original mail michiel >>>>>>>> somethingwithat eduwijs.nl >>>>>>>> <http://eduwijs.nl>) >>>>>>>> >>>>>>>> >>>>>>>> DavidKra wrote: >>>>>>>>> Hello, >>>>>>>>> USB/IP build for 2.6.24.2 >>>>>>>>> <http://2.6.24.2> fails with following >>>>>>>>> log: >>>>>>>>> http://paste2.org/p/18707 >>>>>>>>> >>>>>>>>> I'm cross-compiling for armeb (ixp4xx, >>>>>>>>> xscale), but x86 doesn't work >>>>>>>>> too (same error) >>>>>>>>> >>>>>>>>> Bye >>>>>>>>> David >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------- >>>>>>>>> >>>>>>>>> Check out the new SourceForge.net >>>>>>>>> Marketplace. >>>>>>>>> It's the best place to buy or sell >>>>>>>>> services for >>>>>>>>> just about anything Open Source. >>>>>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> >>>>>>>>> usbip-devel mailing list >>>>>>>>> usb...@li... >>>>>>>>> <mailto:usb...@li...> >>>>>>>>> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>>>>>>> >>>>>>>>> >>>>>>>> ------------------------------------------------------------------------- >>>>>>>> Check out the new SourceForge.net Marketplace. >>>>>>>> It's the best place to buy or sell services for >>>>>>>> just about anything Open Source. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>>>>> ------------------------------------------------------------------------ >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> usbip-devel mailing list >>>>>>>> usb...@li... <mailto:usb...@li...> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>>>>>> >>>>>>>> >>>>>>> ------------------------------------------------------------------------- >>>>>>> Check out the new SourceForge.net Marketplace. >>>>>>> It's the best place to buy or sell services for >>>>>>> just about anything Open Source. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>>>> ------------------------------------------------------------------------ >>>>>>> _______________________________________________ >>>>>>> usbip-devel mailing list >>>>>>> usb...@li... >>>>>>> <mailto:usb...@li...> >>>>>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> Check out the new SourceForge.net Marketplace. >>>>>> It's the best place to buy or sell services for >>>>>> just about anything Open Source. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> usbip-devel mailing list >>>>>> usb...@li... <mailto:usb...@li...> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>>>> >>>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> Check out the new SourceForge.net Marketplace. >>>>> It's the best place to buy or sell >>>>> services for >>>>> just about anything Open Source. >>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>> _______________________________________________ >>>>> usbip-devel mailing list >>>>> usb...@li... >>>>> <mailto:usb...@li...> >>>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> ------------------------------------------------------------------------- >>>>> Check out the new SourceForge.net Marketplace. >>>>> It's the best place to buy or sell services for >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> just about anything Open Source. >>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>>> ------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> usbip-devel mailing list >>>>> usb...@li... <mailto:usb...@li...> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>> _______________________________________________ >>>> usbip-devel mailing list >>>> usb...@li... >>>> <mailto:usb...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>>> _______________________________________________ >>>> usbip-devel mailing list >>>> usb...@li... >>>> <mailto:usb...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>>> Don't miss this year's exciting event. There's still time to save $100. >>>> >>>> >>>> >>>> Use priority code J8TL2D2. >>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> usbip-devel mailing list >>>> usb...@li... <mailto:usb...@li...> >>>> >>>> >>>> >>>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) >>> Conference >>> Don't miss this year's exciting event. There's still >>> time to save $100. >>> Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> usbip-devel mailing list >>> usb...@li... >>> <mailto:usb...@li...> >>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save $100. >>> >>> >>> Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> usbip-devel mailing list >>> usb...@li... <mailto:usb...@li...> >>> >>> >>> https://lists.sourceforge.net/lists/listinfo/usbip-devel >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> >> >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> usbip-devel mailing list >> usb...@li... <mailto:usb...@li...> >> >> >> https://lists.sourceforge.net/lists/listinfo/usbip-devel >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to > save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > usbip-devel mailing list > usb...@li... > <mailto:usb...@li...> > https://lists.sourceforge.net/lists/listinfo/usbip-devel > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > usbip-devel mailing list > usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbip-devel > |