Fatal trap 12 pcm / devfs related?

From: Michael McGoldrick <michael_at_mcgoldrick.org>
Date: Sat, 24 Jan 2004 13:32:47 +0000
Sources as of Sat Jan 24 10:56:34 GMT 2004

(kgdb) uriel# gdb -k /usr/obj/usr/src/sys/URIEL/kernel.debug vmcore.2
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   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc051be9a
stack pointer           = 0x10:0xcf0c385c
frame pointer           = 0x10:0xcf0c389c
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         = 805 (xine)
trap number             = 12
panic: page fault
at line 821 in file /usr/src/sys/i386/i386/trap.c

syncing disks, buffers remaining... 1384 1384 1381 1381 1381 1381 1381 1381
1381 1381 1381 1381 1381 1381 1381 1381 1381 1381 1381 1381 1381 1381 
giving up on 724 buffers
Uptime: 3m30s
Dumping 127 MB
 16 32 48 64 80 96 112
---
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from /boot/kernel/nvidia.ko...done.
Loaded symbols for /boot/kernel/nvidia.ko
Reading symbols from /boot/kernel/ng_ubt.ko...done.
Loaded symbols for /boot/kernel/ng_ubt.ko
Reading symbols from /boot/kernel/netgraph.ko...done.
Loaded symbols for /boot/kernel/netgraph.ko
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ntfs/ntfs.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ntfs/ntfs.ko.debug
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug
Reading symbols from
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug
Reading symbols from /boot/kernel/logo_saver.ko...done.
Loaded symbols for /boot/kernel/logo_saver.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) l *0xc051be9a
0xc051be9a is in dsp_clone (/usr/src/sys/dev/sound/pcm/dsp.c:1096).
1091            if (unit == -1 || unit >= devclass_get_maxunit(pcm_devclass))
1092                    return;
1093
1094            pcm_dev = devclass_get_softc(pcm_devclass, unit);
1095
1096            SLIST_FOREACH(pcm_chan, &pcm_dev->channels, link) {
1097
1098                    switch(devtype) {
1099                            case SND_DEV_DSP:
1100                                    pdev = pcm_chan->dsp_devt;
(kgdb) 

Additional information available if someone tells me what they need and how to
get it. :)


-- 
Michael McGoldrick: michael_at_mcgoldrick.org 
Received on Sat Jan 24 2004 - 04:32:53 UTC

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