Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 20:10:58 +1100
From:      Peter Kostouros <kpeter@melbpc.org.au>
To:        freebsd-current@FreeBSD.ORG
Subject:   Fatal trap 12: page fault while in kernel mode
Message-ID:  <3E2E6021.4AF5F14C@melbpc.org.au>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------D227E213F67B3024E3FCCBAC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi

I am having a similar problem to what has been reported previously
regarding X. Basically I get a fatal trap 12. (cvsup'ed about one hour
ago.) I have attached a backtrace I hope is useful.

When I started X within gdb, I received the following:

Program received signal SIGUSR1. User defined signal 1
0x2818b1a3 in sigsuspend() from /usr/lib/libc.so.5.

Peter

--------------D227E213F67B3024E3FCCBAC
Content-Type: text/plain; charset=us-ascii;
 name="bt3.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bt3.txt"

Script started on Wed Jan 22 19:55:34 2003
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: bwrite: buffer is not busy???
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x308
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc03a9ce2
stack pointer	        = 0x10:0xe09cb66c
frame pointer	        = 0x10:0xe09cb678
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 679 (XFree86)
trap number		= 12
panic: page fault

syncing disks, buffers remaining... panic: bwrite: buffer is not busy???
Uptime: 8m37s
Dumping 511 MB
ata0: resetting devices ..
ad0: DMA limited to UDMA33, non-ATA66 cable or device
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496
---
#0  doadump () at /mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:232
/mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:232:6775:beg:0xc025687b
(kgdb) bt
#0  doadump () at /mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:232
#1  0xc0256d99 in boot (howto=260)
    at /mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:364
#2  0xc0256ff3 in panic ()
    at /mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:531
#3  0xc0299e82 in bwrite (bp=0xcc314d28)
    at /mnt/cvs/freebsd/usr/src/sys/kern/vfs_bio.c:798
#4  0xc029b605 in vfs_bio_awrite (bp=0xcc314d28)
    at /mnt/cvs/freebsd/usr/src/sys/kern/vfs_bio.c:1650
#5  0xc035390a in ffs_fsync (ap=0xe09cb474)
    at /mnt/cvs/freebsd/usr/src/sys/ufs/ffs/ffs_vnops.c:258
#6  0xc0352a37 in ffs_sync (mp=0xc1f8d800, waitfor=2, cred=0xc150ae00, 
    td=0xc0436000) at vnode_if.h:612
#7  0xc02afc9b in sync (td=0xc0436000, uap=0x0)
    at /mnt/cvs/freebsd/usr/src/sys/kern/vfs_syscalls.c:138
#8  0xc025697c in boot (howto=256)
    at /mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:273
#9  0xc0256ff3 in panic ()
    at /mnt/cvs/freebsd/usr/src/sys/kern/kern_shutdown.c:531
#10 0xc03af692 in trap_fatal (frame=0xe09cb62c, eva=0)
    at /mnt/cvs/freebsd/usr/src/sys/i386/i386/trap.c:844
#11 0xc03af372 in trap_pfault (frame=0xe09cb62c, usermode=0, eva=776)
    at /mnt/cvs/freebsd/usr/src/sys/i386/i386/trap.c:758
#12 0xc03aee60 in trap (frame=
---Type <return> to continue, or q <return> to quit---
      {tf_fs = 24, tf_es = 33554448, tf_ds = 16, tf_edi = -1067102624, tf_esi = 812924928, tf_ebp = -526600584, tf_isp = -526600616, tf_ebx = -1037925756, tf_edx = 193, tf_ecx = -526598752, tf_eax = 4, tf_trapno = 12, tf_err = 0, tf_eip = -1069900574, tf_cs = 8, tf_eflags = 78339, tf_esp = 812924928, tf_ss = 812924928}) at /mnt/cvs/freebsd/usr/src/sys/i386/i386/trap.c:445
#13 0xc039f548 in calltrap () at {standard input}:98
#14 0xc06327d6 in ?? ()
#15 0xc0567b8e in ?? ()
#16 0xc05681d1 in ?? ()
#17 0xc055ca70 in ?? ()
#18 0xc056a1d9 in ?? ()
#19 0xc0569e1b in ?? ()
#20 0xc0631b9d in ?? ()
#21 0xc062fec1 in ?? ()
#22 0xc021bc09 in spec_ioctl (ap=0xc0654e60)
    at /mnt/cvs/freebsd/usr/src/sys/fs/specfs/spec_vnops.c:349
#23 0xc021b3a8 in spec_vnoperate (ap=0x0)
    at /mnt/cvs/freebsd/usr/src/sys/fs/specfs/spec_vnops.c:123
#24 0xc02b8591 in vn_ioctl (fp=0xc1fe02d0, com=3223602724, data=0xe09cbc48, 
    active_cred=0xc23b3b00, td=0xc1ef4d20) at vnode_if.h:488
#25 0xc02798f3 in ioctl (td=0xc1ef4d20, uap=0xe09cbd10) at file.h:247
#26 0xc03af9ba in syscall (frame=
      {tf_fs = 47, tf_es = 140574767, tf_ds = -1078001617, tf_edi = 33554946, tf_esi = -1043333118, tf_ebp = -1077938072, tf_isp = -526598796, tf_ebx = -1077938---Type <return> to continue, or q <return> to quit---
020, tf_edx = 0, tf_ecx = 0, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 673858499, tf_cs = 31, tf_eflags = 12934, tf_esp = -1077938100, tf_ss = 47})
    at /mnt/cvs/freebsd/usr/src/sys/i386/i386/trap.c:1033
#27 0xc039f59d in Xint0x80_syscall () at {standard input}:140
---Can't read userspace from dump, or kernel process---

(kgdb) q

Script done on Wed Jan 22 19:55:39 2003

--------------D227E213F67B3024E3FCCBAC--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E2E6021.4AF5F14C>