Rev 7.0 kernel panic with USB camera
Mike Clarke
jmc-freebsd at milibyte.co.uk
Fri Jun 27 22:31:24 UTC 2008
I get a kernel panic whenever I connect my digital camera (Olympus
C-2040Z) on my 7.0 system. It looks like a rev. 7 related problem,
everything works fine on the same PC if I boot into rev. 6.3.
This might already be covered by PR usb/117313: [umass] [panic] panic on
usb camera insertionraised
<http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/117313> but wading
through crash dumps is new uncharted territory for me. Could anyone
advise me if the attached kgdb output suggests that it's the same
problem or something different?
-----------------------------------------------------------------
kestrel:/boot/kernel% uname -a
FreeBSD kestrel.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
19:59:52 UTC 2008
root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
kestrel:/boot/kernel% sudo kgdb kernel.symbols /usr/crash/vmcore.5
Password:
[GDB will not be able to debug user-mode
threads: /usr/lib/libthread_db.so: Undefined
symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd".
Unread portion of the kernel message buffer:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x20:0x0
stack pointer = 0x28:0xdd6f669c
frame pointer = 0x28:0xdd6f66dc
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 13 (swi4: clock sio)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 3m15s
Physical memory: 755 MB
Dumping 74 MB: 59 43 27 11
#0 doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) backtrace
#0 doadump () at pcpu.h:195
#1 0xc0754457 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409
#2 0xc0754719 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3 0xc0a4905c in trap_fatal (frame=0xdd6f665c, eva=0)
at /usr/src/sys/i386/i386/trap.c:899
#4 0xc0a492e0 in trap_pfault (frame=0xdd6f665c, usermode=0, eva=0)
at /usr/src/sys/i386/i386/trap.c:812
#5 0xc0a49c8c in trap (frame=0xdd6f665c)
at /usr/src/sys/i386/i386/trap.c:490
#6 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7 0x00000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)
--
Mike Clarke
More information about the freebsd-questions
mailing list