panic when removing pccard (ohci_rem_ed: ED not found)

Marcin Cieslak saper at system.pl
Fri Dec 28 02:28:57 PST 2007


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 ?? ()



More information about the freebsd-current mailing list