From owner-freebsd-usb@FreeBSD.ORG Wed May 17 06:24:36 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A72B816A407 for ; Wed, 17 May 2006 06:24:36 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A95843D45 for ; Wed, 17 May 2006 06:24:35 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FgFSJ-000Gkb-53; Wed, 17 May 2006 10:24:23 +0400 Message-ID: <446AC196.9070901@FreeBSD.org> Date: Wed, 17 May 2006 10:24:22 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Warner Losh References: <44699796.40206@FreeBSD.org> <20060516.093014.41680320.imp@bsdimp.com> <446A14B1.8090607@FreeBSD.org> <20060516.134541.115955424.imp@bsdimp.com> In-Reply-To: <20060516.134541.115955424.imp@bsdimp.com> X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@FreeBSD.org Subject: Re: all usb-ethernet adapters are borked? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 06:24:36 -0000 Warner Losh wrote: > From: Sergey Matveychuk > Subject: Re: all usb-ethernet adapters are borked? > Date: Tue, 16 May 2006 22:06:41 +0400 > >> Warner Losh wrote: >>> From: Sergey Matveychuk >>> 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.