all usb-ethernet adapters are borked?

Sergey Matveychuk sem at FreeBSD.org
Tue May 16 18:06:32 UTC 2006


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?

-- 
Dixi.
Sem.


More information about the freebsd-usb mailing list