umass panic when connecting camera

From: John Hay <jhay_at_icomtek.csir.co.za>
Date: Sat, 4 Oct 2003 21:02:17 +0200
Hi,

I have decided to upgrade my home box from a March -current to the latest
stuff and now when I connect my HP850 digital camera to the usb port, it
panics the machine. I got a dump and according to the instruction pointer
and kldstat, it must be inside the umass, but I think something confuse
gdb a little because that doesn't show up in the backtrace or maybe it is
just me not knowing how to convince gdb to tell me:

###########
angel:/var/crash # gdb -k /sys/i386/compile/ANGEL/kernel.debug  vmcore.1
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x10
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0729c26
stack pointer           = 0x10:0xc6317cbc
frame pointer           = 0x10:0xc6317cd0
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 (swi8: tty:sio clock)
trap number             = 12
panic: page fault

syncing disks, buffers remaining... 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 
giving up on 598 buffers
Uptime: 2m55s
Dumping 64 MB
 16 32 48
---
Reading symbols from /boot/kernel/if_xl.ko...done.
...
Reading symbols from /usr/src/sys/i386/compile/ANGEL/modules/usr/src/sys/modules/umass/umass.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/ANGEL/modules/usr/src/sys/modules/umass/umass.ko.debug
...
#0  doadump () at ../../../kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:240
#1  0xc0485585 in boot (howto=256) at ../../../kern/kern_shutdown.c:372
#2  0xc0485885 in panic () at ../../../kern/kern_shutdown.c:550
#3  0xc05a54c4 in trap_fatal (frame=0xc6317c7c, eva=16)
    at ../../../i386/i386/trap.c:819
#4  0xc05a520e in trap_pfault (frame=0xc6317c7c, usermode=0, eva=16)
    at ../../../i386/i386/trap.c:733
#5  0xc05a4e61 in trap (frame=
      {tf_fs = -1050279912, tf_es = -1066336240, tf_ds = 16, tf_edi = -1049451008, tf_esi = -1050267648, tf_ebp = -969835312, tf_isp = -969835352, tf_ebx = -1049451008, tf_edx = 4, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066230746, tf_cs = 8, tf_eflags = 66194, tf_esp = -1, tf_ss = -1})
    at ../../../i386/i386/trap.c:418
#6  0xc0597b08 in calltrap () at {standard input}:102
#7  0xc049467c in softclock (dummy=0x0) at ../../../kern/kern_timeout.c:225
#8  0xc0473828 in ithread_loop (arg=0xc0e01c00)
    at ../../../kern/kern_intr.c:534
#9  0xc047288a in fork_exit (callout=0xc04736c0 <ithread_loop>, 
    arg=0xc0e01c00, frame=0xc6317d48) at ../../../kern/kern_fork.c:796
(kgdb) 
###########

John
-- 
John Hay -- John.Hay_at_icomtek.csir.co.za / jhay_at_FreeBSD.org
Received on Sat Oct 04 2003 - 10:02:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC