all usb-ethernet adapters are borked?

Warner Losh imp at bsdimp.com
Tue May 16 19:46:05 UTC 2006


From: Sergey Matveychuk <sem at FreeBSD.org>
Subject: Re: all usb-ethernet adapters are borked?
Date: Tue, 16 May 2006 22:06:41 +0400

> Warner Losh wrote:
> > From: Sergey Matveychuk <sem at freebsd.org>
> > Subject: all usb-ethernet adapters are borked?
> > Date: Tue, 16 May 2006 13:12:54 +0400
> > 
> >> After I've explored my problem with rue(4) I've found out our USB stack
> >> is incompatible with our current TCP/IP implementation (6.0+) ("Trying
> >> sleep, but thread marked as sleeping prohibited" problem).
> >>
> >> I've discussed it with glebius and he told me, it's complete USB problem.
> >>
> >> As I understand USB transfer should be rewritten to use no mspleep calls.
> >>
> >> Any comments? Any quick fixes?
> > 
> > Have you tried marking the rue driver as requing giant?
> 
> I'm not sure how to do it. But let me make an assumption the driver
> already do it:
> 
> ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
> IFF_NEEDSGIANT;
> 
> Is it what do you mean? Or you mean another mark?

No.  that's what I mean.  Can you post a traceback to the sleeping
with the sleep lock issue?

Warner


More information about the freebsd-usb mailing list