Date: Tue, 16 May 2006 13:45:41 -0600 (MDT) From: Warner Losh <imp@bsdimp.com> To: sem@FreeBSD.org Cc: freebsd-usb@FreeBSD.org Subject: Re: all usb-ethernet adapters are borked? Message-ID: <20060516.134541.115955424.imp@bsdimp.com> In-Reply-To: <446A14B1.8090607@FreeBSD.org> References: <44699796.40206@FreeBSD.org> <20060516.093014.41680320.imp@bsdimp.com> <446A14B1.8090607@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
From: Sergey Matveychuk <sem@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@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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060516.134541.115955424.imp>
