[linux-usb-devel] USB problems with 2.6.7 kernel / EciAdsl driver

2004-06-26 Thread FlashCode
Hi,

I'm part of EciAdsl USB ADSL modem driver developers
(http://eciadsl.flashtux.org)
I installed 2.6.7 kernel and I have some problems:
since I upload anything at max speed (15 kb/sec for me), I'm
disconnected after 2-5 sec with this USB error in /var/log/messages:
Jun 19 11:13:18 photon kernel: usb 1-2: bulk timeout on ep2out
Jun 19 11:13:18 photon kernel: usb 1-2: usbfs: USBDEVFS_BULK failed ep
0x2 len 1984 ret -110
No problem when I download sth.

I've tested with 2 machines (same problem), with these USB chipsets:
machine 1:
:00:07.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB
1.1 Controller (rev 10)
machine 2:
:00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev
03)

I tested with noapic option, same usb crash.
Many other people have same problem, maybe not for each upload, but lot
of disconnections with same error in logs..

Finally, I have no problem with 2.6.6 kernel or any older kernel (2.6 or
2.4): connection is very stable.

Feel free to ask me more for testing.
Thanks for any help.

-- 
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] USB problems with 2.6.7 kernel / EciAdsl driver

2004-07-03 Thread FlashCode
On Tue, Jun 29, 2004 at 12:11:23PM -0400, Alan Stern wrote:
> On Tue, 29 Jun 2004, FlashCode wrote:
> 
> > Hi Alan,
> > 
> > First thank you for your help.
> > I just tried to compile 2.6.7 with uhci driver from 2.6.6 (patched
> > with out patch - http://eciadsl.flashtux.org/download/beta).
> > Same problem, disconnected since I upload something.
> > 
> > So now we know that problem is not modifications in uhci driver..
> > 
> > Any other suggestion is welcome.
> > Thanks again.
> 
> I suppose you could try doing the same thing, this time copying the entire 
> USB stack from 2.6.6 into 2.6.7.  That's everything under drivers/usb/ 
> together with include/linux/usb*.  If it still fails, then you know you 
> posted your original message to the wrong mailing list!  :-)
> 
> Not long ago a patch was posted for interrupt handling.  You can find it 
> at
> 
>   http://bugme.osdl.org/show_bug.cgi?id=2243
> 
> in Comment #89.  It might possibly help.
> 
> Alan Stern

Hi Alan,

Good news! Connection is perfect with this patch for interrupt handling.
I hope it'll be in next kernel.

FYI, I can't compile 2.6.7 with whole 2.6.6 usb stack:
  CC  drivers/usb/core/usb.o
  drivers/usb/core/usb.c: In function `usb_choose_configuration':
  drivers/usb/core/usb.c:1081: structure has no member named
  `intf_cache'
  drivers/usb/core/usb.c:1076: warning: `desc' might be used
  uninitialized in this function
  make[3]: *** [drivers/usb/core/usb.o] Error 1
  make[2]: *** [drivers/usb/core] Error 2
  make[1]: *** [drivers/usb] Error 2
  make: *** [drivers] Error 2
But that's not necessary to try that :)

Thank you.

-- 
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] USB problems with 2.6.7 kernel / EciAdsl driver

2004-07-04 Thread FlashCode
On Sat, Jul 03, 2004 at 03:13:59PM -0400, Alan Stern wrote:
> On Sat, 3 Jul 2004, FlashCode wrote:
> 
> > Good news! Connection is perfect with this patch for interrupt handling.
> > I hope it'll be in next kernel.
> 
> It probably will be.
> 
> > FYI, I can't compile 2.6.7 with whole 2.6.6 usb stack:
> >   CC  drivers/usb/core/usb.o
> >   drivers/usb/core/usb.c: In function `usb_choose_configuration':
> >   drivers/usb/core/usb.c:1081: structure has no member named
> >   `intf_cache'
> >   drivers/usb/core/usb.c:1076: warning: `desc' might be used
> >   uninitialized in this function
> >   make[3]: *** [drivers/usb/core/usb.o] Error 1
> >   make[2]: *** [drivers/usb/core] Error 2
> >   make[1]: *** [drivers/usb] Error 2
> >   make: *** [drivers] Error 2
> > But that's not necessary to try that :)
> 
> Those error messages look like you didn't do a complete copy.  Like maybe 
> you've got drivers/usb/core/usb.c from 2.6.7 and include/linux/usb.h from 
> 2.6.6.  Not that it matters, since your problem was interrupt-related.
> 
> Alan Stern
> 

Re Alan,

I think I spoke too fast :(
I still have same problems when I upload (maybe less than before)..
I'll try again to compile 2.6.7 with 2.6.6 usb stack.

-- 
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel