From owner-freebsd-current@FreeBSD.ORG Fri Dec 28 10:28:57 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53B9816A418 for ; Fri, 28 Dec 2007 10:28:57 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B97D313C442 for ; Fri, 28 Dec 2007 10:28:56 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J8Bvb-0007aC-UG for freebsd-current@freebsd.org; Fri, 28 Dec 2007 09:54:55 +0000 Received: from inet20908nh-1.eranet.pl ([213.158.196.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Dec 2007 09:54:55 +0000 Received: from saper by inet20908nh-1.eranet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Dec 2007 09:54:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Marcin Cieslak Date: Fri, 28 Dec 2007 10:16:50 +0100 Lines: 51 Message-ID: <4774BF02.5030104@system.pl> References: <4677BD25.8030202@cytexbg.com> <20070623.212128.323264592.imp@bsdimp.com> <467F7A69.9000909@cytexbg.com> <20070625.160705.163264235.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: inet20908nh-1.eranet.pl User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.11) Gecko/20071215 SeaMonkey/1.1.7 In-Reply-To: <20070625.160705.163264235.imp@bsdimp.com> Sender: news X-UiO-SPF-Received: Received-SPF: pass (mail-mx2.uio.no: domain of ger.gmane.org designates 80.91.229.13 as permitted sender) client-ip=80.91.229.13; envelope-from=news@ger.gmane.org; helo=ger.gmane.org; X-UiO-ClamAV-Virus: No X-UiO-Spam-info: not spam, SpamAssassin (score=-3.0, required=5.0, autolearn=disabled, UIO_RECEIVED_FROM_NORWAY=-3) X-UiO-Scanned: 8226CACBEE2F595E7E128D40E800BCD1DEA68CD9 X-UiO-SPAM-Test: remote_host: 80.91.229.13 spam_score: -29 maxlevel 200 minaction 2 bait 0 mail/h: 8 total 35 max/h 9 blacklist 0 greylist 0 ratelimit 0 Cc: nike_d@cytexbg.com, "M. Warner Losh" , hselasky@c2i.net Subject: Re: panic when removing pccard (ohci_rem_ed: ED not found) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 10:28:57 -0000 M. Warner Losh wrote: > I don't suppose you could compile a kernel with DDB and get me a > traceback? I getting panic: ohci_rem_ed: ED not found when removing similar UMTS card (Option Globetrotter GT MAX 3.6/7.2). I have gathered various debug info at http://akson.sgh.waw.pl/~saper/FreeBSD/gt/ What's interesting, I cound not find any reference to "ohci_add_ed" while running at USB_DEBUG level 8 in my dmesg: http://akson.sgh.waw.pl/~saper/FreeBSD/gt/msg My stack backtrace: Unread portion of the kernel message buffer: cardbus0: Unable to allocate resource to read CIS. cardbus0: Unable to allocate resources for CIS (cd0:umass-sim1:1:0:0): lost device (cd0:umass-sim1:1:0:0): removing device entry ohci_device_bulk_close: pipe=0xffffff0003dcd000 panic: ohci_rem_ed: ED not found cpuid = 1 KDB: enter: panic Uptime: 1m23s Physical memory: 2031 MB Dumping 178 MB: 163 147 131 115 99 83 67 51 35 19 3 #0 doadump () at pcpu.h:194 194 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80482687 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xffffffff80482b0f in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xffffffff803ef539 in ohci_close_pipe (pipe=Variable "pipe" is not available. ) at /usr/src/sys/dev/usb/ohci.c:1814 #4 0xffffffff803ef5cb in ohci_device_bulk_close (pipe=0xffffff0003dcd000) at /usr/src/sys/dev/usb/ohci.c:3010 #5 0xffffffff80409dfc in usbd_close_pipe (pipe=0xffffff0003dcd000) at /usr/src/sys/dev/usb/usbdi.c:271 #6 0xffffffff80df10f5 in ?? () #7 0xffffffffd5211a60 in ?? ()