Bug 117946

Summary: [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BETA2
Product: Base System Reporter: alex kushnaryov <help>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-BETA2   
Hardware: Any   
OS: Any   

Description alex kushnaryov 2007-11-09 17:40:01 UTC
A computer with USB ethernet card D-Link DUB-E100 rev. B1 (AX88772 chip)
crashes periodically with page fault in kernel. Trace follows:

Unread portion of the kernel message buffer:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x154
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc057f4b9
stack pointer           = 0x28:0xe40f3b64
frame pointer           = 0x28:0xe40f3b94
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 31 (irq23: ehci0)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 2h9m51s
Physical memory: 1013 MB
Dumping 169 MB: (CTRL-C to abort)  154 138 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  122 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  106 90 74 58 42 26 10

#0  doadump () at pcpu.h:195
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc05dac6c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc05daf09 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0760ebc in trap_fatal (frame=0xe40f3b24, eva=340) at /usr/src/sys/i386/i386/trap.c:872
#4  0xc0761120 in trap_pfault (frame=0xe40f3b24, usermode=0, eva=340)
    at /usr/src/sys/i386/i386/trap.c:785
#5  0xc07619f2 in trap (frame=0xe40f3b24) at /usr/src/sys/i386/i386/trap.c:463
#6  0xc07484ab in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc057f4b9 in usb_transfer_complete (xfer=0xc3ee4200) at /usr/src/sys/dev/usb/usbdi.c:947
#8  0xc0553da0 in ehci_softintr (v=0xc3bbd800) at /usr/src/sys/dev/usb/ehci.c:884
#9  0xc057a3e3 in usb_schedsoftintr (bus=0xc3bbd800) at /usr/src/sys/dev/usb/usb.c:844
#10 0xc055266d in ehci_intr1 (sc=0xc3bbd800) at /usr/src/sys/dev/usb/ehci.c:603
#11 0xc0554b85 in ehci_intr (v=0xc3bbd800) at /usr/src/sys/dev/usb/ehci.c:562
#12 0xc05c0a4b in ithread_loop (arg=0xc3c0ba80) at /usr/src/sys/kern/kern_intr.c:1036
#13 0xc05bda79 in fork_exit (callout=0xc05c08a0 <ithread_loop>, arg=0xc3c0ba80, frame=0xe40f3d38)
    at /usr/src/sys/kern/kern_fork.c:754
#14 0xc0748520 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
(kgdb) bt full
#0  doadump () at pcpu.h:195
No locals.
#1  0xc05dac6c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
        first_buf_printf = 1
#2  0xc05daf09 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:563
        td = (struct thread *) 0xc3c0f420
        bootopt = (kgdb) quit

With this device detached everything works fine, without crashes.

How-To-Repeat: Buy D-Link DUB-E100 B1, plug it in, wait for some hours.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:56 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped