Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 10:24:22 +0400
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-usb@FreeBSD.org
Subject:   Re: all usb-ethernet adapters are borked?
Message-ID:  <446AC196.9070901@FreeBSD.org>
In-Reply-To: <20060516.134541.115955424.imp@bsdimp.com>
References:  <44699796.40206@FreeBSD.org>	<20060516.093014.41680320.imp@bsdimp.com>	<446A14B1.8090607@FreeBSD.org> <20060516.134541.115955424.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
> 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

Sure.
http://sunner.elcomnet.ru/~sem/sleep.panic

-- 
Sem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446AC196.9070901>