From owner-freebsd-usb@FreeBSD.ORG Sun Apr 3 15:47:30 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 41AC016A4CE for ; Sun, 3 Apr 2005 15:47:30 +0000 (GMT) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7519543D3F for ; Sun, 3 Apr 2005 15:47:29 +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 j33FlQJU018812; Sun, 3 Apr 2005 11:47:26 -0400 (EDT) (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 18231-05; Sun, 3 Apr 2005 11:47:25 -0400 (EDT) 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 j33FlKY0018806; Sun, 3 Apr 2005 11:47:20 -0400 (EDT) (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 j33FlEkh037183; Sun, 3 Apr 2005 11:47:14 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050403112813.03f5d610@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Sun, 03 Apr 2005 11:46:19 -0400 To: Ian Dowse From: Mike Tancsa In-Reply-To: <200504021416.aa22417@salmon.maths.tcd.ie> References: <200504021416.aa22417@salmon.maths.tcd.ie> 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 cc: ticso@cicely.de cc: freebsd-usb@freebsd.org 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: Sun, 03 Apr 2005 15:47:30 -0000 At 09:16 AM 02/04/2005, Ian Dowse wrote: >In message <6.2.1.2.0.20050331074641.04f72eb8@64.7.153.2>, Mike Tancsa writes: > >panic: uhci_abort_xfer: not in process context >... > >#6 0xc04d2c1f in usbd_abort_pipe (pipe=0xc19c7e00) > >#7 0xc04c3cf5 in ucomstopread (sc=0x0) > >#8 0xc04c38ba in ucomstop (tp=0xc171c000, flag=1) > >#9 0xc054b393 in ttyflush (tp=0xc171c000, rw=1) > >#10 0xc054974d in ttyinput (c=26, tp=0xc171c000) > >In this case I wonder if the transfer needs to be aborted at all, >since it is just restarted immediately afterwards. Mike, maybe you >could try the following patch? Sorry, I haven't tested this, so I >may be missing something obvious. So far so good! I have been running with this patch for almost 24hrs and still no panic and also the modem attached to the serial device has not hung! I am however getting those 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 putc to a clist with no reserved cblocks spews still. However, on the [hifn]% uname -a FreeBSD hifn.sentex.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Apr 1 02:20:32 EST 2005 mdtancsa@hifn.sentex.net:/usr/obj/usr/src/sys/recycle i386 [hifn]% I am not getting any of those warning/error messages and it has not crashed either. But, its different hardware, and its just stock CURRENT. I am going to restart the test on RELENG_5 to try out some newer drivers and let it run for another 24hrs. ---Mike