Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 05:58:51 GMT
From:      Martin Lesser <ml-freebsd@bettercom.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/132594: USB subsystem causes page fault and crashes
Message-ID:  <200903130558.n2D5wpeQ058261@www.freebsd.org>
Resent-Message-ID: <200903130600.n2D607DV029756@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132594
>Category:       usb
>Synopsis:       USB subsystem causes page fault and crashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 13 06:00:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Martin Lesser
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD fs.bettercom.de 7.1-RELEASE FreeBSD 7.1-RELEASE #4: Thu Jan 15 10:42:38 CET 2009     root@fs.bettercom.de:/usr/obj/usr/src/sys/FSKERNEL  i386
>Description:
Infrequently the system crashes when

- printing to an USB-printer
- inserting or removing USB-sticks

I have two savecores from such crashes (lines #7 and #8 are probably the problematic ones?):

(kgdb) backtrace
#0  doadump () at pcpu.h:196
#1  0xc054e2b3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc054e4be in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc078e38c in trap_fatal (frame=0xe5aeac0c, eva=0) at /usr/src/sys/i386/i386/trap.c:939
#4  0xc078e610 in trap_pfault (frame=0xe5aeac0c, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852
#5  0xc078efa9 in trap (frame=0xe5aeac0c) at /usr/src/sys/i386/i386/trap.c:530
#6  0xc0777d4b in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0xc04d7419 in usbd_setup_xfer (xfer=0x0, pipe=0x0, priv=0xc56ed600, buffer=0xc805c000, length=4096, flags=5, timeout=10, callback=0xc09d6480 <ulpt_read_cb>)
    at /usr/src/sys/dev/usb/usbdi.c:547
#8  0xc09d646d in ulpt_tick (xsc=0xc56ed600) at /usr/src/sys/modules/ulpt/../../dev/usb/ulpt.c:773
#9  0xc055fe07 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274
#10 0xc052e19b in ithread_loop (arg=0xc549f830) at /usr/src/sys/kern/kern_intr.c:1088
#11 0xc052adc6 in fork_exit (callout=0xc052dff0 <ithread_loop>, arg=0xc549f830, frame=0xe5aead38) at /usr/src/sys/kern/kern_fork.c:804
#12 0xc0777dc0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264

What else information can I submit to help to solve this problem?
>How-To-Repeat:

>Fix:
Not using USB-devices on my system ;-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903130558.n2D5wpeQ058261>