Re: [usbip-devel] USB/IP not working with 2.6.24.2
Status: Alpha
Brought to you by:
hirofuchi
From: Takahiro H. <hir...@us...> - 2008-04-29 05:02:44
|
Hi, Thanks!. Let me know a new release usbip-0.1.6 works when you get time to test. Takahiro > > Sorry mate, didn't test this yet. The kernel had some difficulties loading > modules (also other modules then USB/IP). Maybe this week I have time for > it. > > Also nice work with testing it for Windows. ;-) > > Greetings, > > Michiel Eghuizen > > ICT4Schools B.V. [Michiel Eghuizen] schreef: > > Hello, > > We plan to test this version before Friday. With kernel 2.6.25. Using a > webcam, usb disk (which can also use SSHFS or LTSPFS, so I'm not sure to use > USBIP for that, but testing won't do any harm), usb voip telephone. Maybe I > can find some other usb devices as well. I will mail my expierences with it. > > Using the following construction: > > usb device -> thin client (Linux with 2.6.25) -> usbip bind -> network > (100mbit) -> server (Linux 2.6.25) -> usbip hub -> usb device driver -> > software > > I hope I can make it work. This construction I have already working with > older versions, though. > > Maybe I'm also going to try to tunnel USBIP traffic over a SSH tunnel. > > Met vriendelijke groeten, > > > Michiel Eghuizen > ICT4Schools B.V. > > > Takahiro Hirofuchi wrote: > Hi all, > > > I fixed some issues for 2.6.25 and older kernels. > - More code about tracking URBs and power management is added for 2.6.24. > - Fix: autosupend by usb core prevents a connected device from going > foward. (2.6.24 and 2.6.25 only) > - Some code that might fix reset issues is added. (2.6.24 and 2.6.25 > only). > I am not sure this solves the known problems about resetting devices. > - Fix: a device which has mutiple active interfaces fails a usbip > connection. > - Some compatiblity code is added, which enables drivers to be compiled for > old kernels (i.e., after 2.6.16?). > > > Have a fun with the trunk of the repository! > > > Thanks, > > Takahiro > > > > 2008/4/18, ICT4Schools B.V. [Michiel Eghuizen] <mi...@ic...>: > > > > 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...>: > > > Hi, > > > > > > > > > Thanks! > > > I will make a new release tarball available in sf.net now. > > > > > > > > > Regards, > > > > > > Takahiro > > > > > > > > > 2008/4/17, ICT4Schools B.V. [Michiel Eghuizen] <mi...@ic...>: > > > > > > > > > > > Hello, > > > > > > > > 2.6.25 also works with the same code, so added a symlink to the code > of 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...>: > > > > > > > > > > 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...>: > > > > > > as soon i deploy it, i'll give you some information. > > > > > > > > > > > > > > > > > > > > > > > > 2008/4/4, ICT4Schools B.V. [Michiel Eghuizen] > <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...>: > > > > > > > > > > > > > > > > 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. 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 > > > > > > > > > > > > > > > > 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) > > > > > > > > > > > > > > > > > > > > > > > > DavidKra wrote: > > > > > > > > > > > > > > > > Hello, > > > > > > > > USB/IP build for 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... > > > > > > > > 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... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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... > > > > > > > > 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... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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... > > > > > > > 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... > > > > > > 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 > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > ------------------------------------------------------------------------- > > > > 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 > > > > > > > > > ------------------------------------------------------------------------- > > > > 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 > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > 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 > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > ------------------------------------------------------------------------- > > 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 > > > > > > > > ------------------------------------------------------------------------- > > 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 > > > > > > ________________________________ > > ------------------------------------------------------------------------- > 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 > > ------------------------------------------------------------------------- > 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 > > > > ------------------------------------------------------------------------- > 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 > > |