usb/79436: Panic: ohci_abort_xfer: not in process context

Anthony Ginepro anthony.ginepro at laposte.net
Fri Apr 1 21:40:06 PST 2005


>Number:         79436
>Category:       usb
>Synopsis:       Panic: ohci_abort_xfer: not in process context
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 02 05:40:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Ginepro
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD renaissance.homeip.net 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #2: Fri Apr 1 19:46:23 CEST 2005 rapiere at renaissance.homeip.net:/usr/obj/usr/src/sys/CUSTOM_20050323 i386
Palm T3


>Description:
When plugging T3 in craddle, the kernel panics in a few seconds after 
(due to some action in ppp), it either get caught in one of this panic strings:
- ohci_abort_xfer: not in process context
- page fault

Here is the backtrace got from coredump :

#0  doadump () at pcpu.h:159
#1  0xc066b695 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc066bd5f in panic (fmt=0xc08a3f48 "%s") at /usr/src/sys/kern/kern_shutdown.c:566
#3  0xc085913a in trap_fatal (frame=0xeafa2a94, eva=36) at /usr/src/sys/i386/i386/trap.c:809
#4  0xc08593c8 in trap_pfault (frame=0xeafa2a94, usermode=0, eva=36)
    at /usr/src/sys/i386/i386/trap.c:727
#5  0xc0859797 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -1035738880, tf_ebp = -352703744, tf_isp = -352703808, tf_ebx = -1027336832, tf_edx = 0, tf_ecx = -1034872960, tf_eax = 741973904, tf_trapno = 12, tf_err = 0, tf_eip = -1067549854, tf_cs = 8, tf_eflags = 66054, tf_esp = -1034866688, tf_ss = 20}) at /usr/src/sys/i386/i386/trap.c:417
#6  0xc084841a in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7  0x00000018 in ?? ()
#8  0x00000010 in ?? ()
#9  0x00000010 in ?? ()
#10 0x00000000 in ?? ()
#11 0xc243e100 in ?? ()
#12 0xeafa2b00 in ?? ()
#13 0xeafa2ac0 in ?? ()
#14 0xc2c41580 in ?? ()
#15 0x00000000 in ?? ()
#16 0xc2511780 in ?? ()
#17 0x2c399f90 in ?? ()
#18 0x0000000c in ?? ()
#19 0x00000000 in ?? ()
#20 0xc05e7b62 in ohci_abort_xfer (xfer=0xc243e100, status=USBD_NORMAL_COMPLETION)
    at /usr/src/sys/dev/usb/ohci.c:2353
#21 0xc05fbf52 in usbd_abort_pipe (pipe=0xc2c41580) at /usr/src/sys/dev/usb/usbdi.c:762
#22 0xc0ab6461 in ?? ()
#23 0xc2c41580 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000059 in ?? ()
#26 0xc0ab7214 in ?? ()
#27 0x00000064 in ?? ()
#28 0xc2de8400 in ?? ()
#29 0xeafa2b48 in ?? ()
#30 0xc0ab6590 in ?? ()
#31 0xc2de8400 in ?? ()
#32 0x00000003 in ?? ()
#33 0xc2eb8738 in ?? ()
#34 0x00000004 in ?? ()
#35 0xeafa2b7c in ?? ()
#36 0xc0624bc1 in spec_close (ap=0xc2de8400) at /usr/src/sys/fs/specfs/spec_vnops.c:637

>How-To-Repeat:
Here are the lines in /etc/usbd.conf :
device "Palm Handheld Device"
        devname "ucom0"
        vendor  0x0830
        product 0x0060
        attach "/usr/sbin/ppp -background -unit0 palm; /etc/rc.d/named restart"
        detach "/bin/sh /root/close-palm.sh"

in /boot/loader.conf :
# palmt3 cradle
uvisor_load="YES"


>Fix:
Don't ever plug T3, however won't be so nice for synchronization.



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list