Bug 128418 - [panic] [rum] loading if_rum causes panic, looks like in usb stack
Summary: [panic] [rum] loading if_rum causes panic, looks like in usb stack
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 8.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 17:10 UTC by Kevin Downey
Modified: 2018-12-17 03:15 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Downey 2008-10-27 17:10:03 UTC
everything runs fine until I load ehci and if_rum, kernel panics a second or so afterwards while I am in the middle of fiddling with the new wlan stuff. the panic message always says something about usbtask or ehci. the machine for some reason stops at the dumping phase and doesn't go any farther, so I have no core dump

How-To-Repeat: load if_rum and wait a few seconds
Comment 1 Kevin Downey 2008-10-27 19:09:02 UTC
actual uname:
FreeBSD circe.nexus.lan 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Sun Oct 26
07:45:58 PDT 2008     root@:/usr/obj/usr/src/sys/CIRCE8  i386

log output:

Oct 27 09:48:36 circe kernel: rum0: could not transmit buffer: TIMEOUT
Oct 27 09:48:36 circe kernel: rum0: device timeout
Oct 27 09:49:59 circe syslogd: restart
Oct 27 09:49:59 circe syslogd: kernel boot file is /boot/kernel/kernel
Oct 27 09:49:59 circe kernel:
Oct 27 09:49:59 circe kernel:
Oct 27 09:49:59 circe kernel: Fatal trap 12: page fault while in kernel mode
Oct 27 09:49:59 circe kernel: cpuid = 1; apic id = 01
Oct 27 09:49:59 circe kernel: fault virtual address     = 0x67001c
Oct 27 09:49:59 circe kernel: fault code                = supervisor
read, page not present
Oct 27 09:49:59 circe kernel: instruction pointer       = 0x20:0xc0572c20
Oct 27 09:49:59 circe kernel: stack pointer             = 0x28:0xe76e9ca0
Oct 27 09:49:59 circe kernel: frame pointer             = 0x28:0xe76e9cd4
Oct 27 09:49:59 circe kernel: code segment              = base rx0,
limit 0xfffff, type 0x1b
Oct 27 09:49:59 circe kernel: = DPL 0, pres 1, def32 1, gran 1
Oct 27 09:49:59 circe kernel: processor eflags  = interrupt enabled,
resume, IOPL = 0
Oct 27 09:49:59 circe kernel: current process           = 1207 (usbtask-dr)
Oct 27 09:49:59 circe kernel: trap number               = 12
Oct 27 09:49:59 circe kernel: panic: page fault
Oct 27 09:49:59 circe kernel: cpuid = 1
Oct 27 09:49:59 circe kernel: Uptime: 3m11s
Oct 27 09:49:59 circe kernel: Physical memory: 1005 MB
Oct 27 09:49:59 circe kernel: Dumping 160 MB: 145 129 113 97 81 65 49 33 17 1
Oct 27 09:49:59 circe kernel: Dump complete
Oct 27 09:49:59 circe kernel: Automatic reboot in 15 seconds - press a
key on the console to abort
Oct 27 09:49:59 circe kernel: panic: bufwrite: buffer is not busy???
Oct 27 09:49:59 circe kernel: cpuid = 1
Oct 27 09:49:59 circe kernel: Rebooting...
Oct 27 09:49:59 circe kernel: cpu_reset: Stopping other CPUs


-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
    Fisheye
Comment 2 Volker Werth freebsd_committer freebsd_triage 2008-10-27 22:48:58 UTC
State Changed
From-To: open->feedback

any chance we can get a backtrace?
Comment 3 Kevin Downey 2008-11-02 03:59:26 UTC
Gar. I had to rebuild the kernel with all the debugging stuffs. Then
loading the usb modules just locked up the laptop, no dumps, so now
the usb modules are compiled into the kernel.

#0  doadump () at pcpu.h:246
#1  0xc05927ae in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:420
#2  0xc0592a82 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:576
#3  0xc048a287 in db_panic (addr=Could not find the frame base for "db_panic".
) at /usr/src/sys/ddb/db_command.c:478
#4  0xc048a8b1 in db_command (last_cmdp=0xc08a8e9c, cmd_table=0x0, dopager=1)
   at /usr/src/sys/ddb/db_command.c:445
#5  0xc048aa0a in db_command_loop () at /usr/src/sys/ddb/db_command.c:498
#6  0xc048c86d in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:229
#7  0xc05bf686 in kdb_trap (type=12, code=0, tf=0xc3bc0bbc)
   at /usr/src/sys/kern/subr_kdb.c:534
#8  0xc07ddd3f in trap_fatal (frame=0xc3bc0bbc, eva=56)
   at /usr/src/sys/i386/i386/trap.c:920
#9  0xc07ddf60 in trap_pfault (frame=0xc3bc0bbc, usermode=0, eva=56)
   at /usr/src/sys/i386/i386/trap.c:842
#10 0xc07de923 in trap (frame=0xc3bc0bbc) at /usr/src/sys/i386/i386/trap.c:522
#11 0xc07c334b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#12 0xc05110f4 in ehci_idone (ex=0xc3fca600) at /usr/src/sys/dev/usb/ehci.c:914
#13 0xc0511a9a in ehci_softintr (v=0xc4012000)
   at /usr/src/sys/dev/usb/ehci.c:802
#14 0xc052a1e2 in usb_schedsoftintr (bus=0xc4012000)
   at /usr/src/sys/dev/usb/usb.c:848
#15 0xc051362e in ehci_intr1 (sc=0xc4012000) at /usr/src/sys/dev/usb/ehci.c:631
#16 0xc0514105 in ehci_intr (v=0xc4012000) at /usr/src/sys/dev/usb/ehci.c:590
#17 0xc0573ee5 in intr_event_execute_handlers (p=0xc3d617d4, ie=0xc3da0b00)
   at /usr/src/sys/kern/kern_intr.c:1134
#18 0xc0574b5f in ithread_loop (arg=0xc4056be0)
   at /usr/src/sys/kern/kern_intr.c:1147
#19 0xc0571ca8 in fork_exit (callout=0xc0574ac0 <ithread_loop>,
   arg=0xc4056be0, frame=0xc3bc0d38) at /usr/src/sys/kern/kern_fork.c:815
#20 0xc07c33c0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:270


-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
    Fisheye
Comment 4 Gavin Atkinson freebsd_committer freebsd_triage 2009-08-24 14:23:33 UTC
State Changed
From-To: feedback->open

Feewdback was received some time ago.
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:40 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
Comment 6 Andriy Voskoboinyk freebsd_committer freebsd_triage 2018-12-17 03:15:42 UTC
Works fine (checked with WUSB54GC) on base r342152.