From owner-freebsd-usb@FreeBSD.ORG Thu Mar 31 21:22:36 2005 Return-Path: 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 892BB16A4CE for ; Thu, 31 Mar 2005 21:22:36 +0000 (GMT) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA97F43D1F for ; Thu, 31 Mar 2005 21:22:35 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id j2VLMXrU028836; Thu, 31 Mar 2005 16:22:33 -0500 (EST) (envelope-from mike@sentex.net) Received: from avscan1.sentex.ca ([127.0.0.1]) by localhost (avscan1.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28005-09; Thu, 31 Mar 2005 16:22:32 -0500 (EST) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id j2VLMWDk028808; Thu, 31 Mar 2005 16:22:32 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id j2VLMPh8028436; Thu, 31 Mar 2005 16:22:26 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050331161947.047c6bf0@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Thu, 31 Mar 2005 16:21:42 -0500 To: hselasky@c2i.net, freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <200503311946.23151.hselasky@c2i.net> References: <6.2.1.2.0.20050329222822.04f7c500@64.7.153.2> <6.2.1.2.0.20050330145628.053abc68@64.7.153.2> <6.2.1.2.0.20050331074641.04f72eb8@64.7.153.2> <200503311946.23151.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at avscan1b Subject: Re: panic: uhci_abort_xfer: not in process context (was Re: uplcom / ucom problems on RELENG_5) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 21:22:36 -0000 At 12:46 PM 31/03/2005, Hans Petter Selasky wrote: >On Thursday 31 March 2005 14:49, Mike Tancsa wrote: > > Unfortunately the box coredumped overnight > > > > > > putc to a clist with no reserved cblocks > > putc to a clist with no reserved cblocks > > putc to a clist with no reserved cblocks > > putc to a clist with no reserved cblocks > > panic: uhci_abort_xfer: not in process context > > Uptime: 6h55m12s > > Dumping 254 MB > > 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 > > Dump complete > > Automatic reboot in 15 seconds - press a key on the console to abort > > Rebooting... > >If you are using FreeBSD5.x/6.x my USB driver will most likely fix your >problem. The problem is that that the abort function, which can sleep, is >called from the interrupt handler, which cannot sleep. My USB driver will >allow this. This is a design problem in the existing USB system. Hi, Everything patches and seems to compile OK. However, I cannot talk to the ucom based serial adaptor I was using before [releng5-865]# usbdevs -v | grep -v err Controller /dev/usb0: addr 127: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 126: full speed, power 100 mA, config 1, PL2303 Serial adapter (ATEN/IOGEAR UC232A)(0x2303), Prolific Technology(0x067b), rev 2.02 addr 127: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 126: full speed, power 100 mA, config 1, PL2303 Serial adapter (ATEN/IOGEAR UC232A)(0x2303), Prolific Technology(0x067b), rev 2.02 port 2 powered Controller /dev/usb2: addr 127: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 127: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered [releng5-865]# This is a RELENG_5 box from this morning. ---Mike