5.2.1-R backtrace

From: Rory Arms <rorya_at_TrueStep.com>
Date: Thu, 3 Jun 2004 20:51:48 -0400
Here's another two croshes & backtraces from a single processor Pentium  
II system that is dual capable (Tyan Thunderbolt motherboard). Search  
for the last two emails to the list, from me for kernel conf & dmesg(1)  
info.

 > uname -r
5.2.1-RELEASE-p7
 > gdb -k /usr/obj/usr/src/sys/TREX/kebug vmcore.3
Password:
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-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x6665725f
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0515313
stack pointer           = 0x10:0xcdcccc84
frame pointer           = 0x10:0xcdccccac
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 36 (swi8: tty:sio clock)
trap number             = 12
panic: page fault
cpuid = 0;

syncing disks, buffers remaining... 2160 2160 2160 2160 2160 2160 2160  
2160 2160 kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x432236f0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc05617f0
stack pointer           = 0x10:0xcdcccad0
frame pointer           = 0x10:0xcdcccb20
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 36 (swi8: tty:sio clock)
trap number             = 12
panic: page fault
cpuid = 0;
Uptime: 19d4h41m4s
Dumping 255 MB
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
Reading symbols from  
/usr/obj/usr/src/sys/TREX/modules/usr/src/sys/modules/acpi/ 
acpi.ko.debug...done.
Loaded symbols for  
/usr/obj/usr/src/sys/TREX/modules/usr/src/sys/modules/acpi/ 
acpi.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04fee87 in boot (howto=260) at  
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc04ff2a0 in poweroff_wait (junk=0xc06d0295, howto=-1066453387)
     at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc06a535c in trap_fatal (frame=0xc06d0295, eva=0)
     at /usr/src/sys/i386/i386/trap.c:821
#4  0xc06a49c3 in trap (frame=
       {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1025492992, tf_esi  
= 4, tf_ebp = -842216672, tf_isp = -842216772, tf_ebx = 1126315544,  
tf_edx = -1049980608, tf_ecx = -1066189216, tf_eax = 1, tf_trapno = 12,  
tf_err = 0, tf_eip = -1068099600, tf_cs = 8, tf_eflags = 65542, tf_esp  
= 1575092224, tf_ss = -1049980608})
     at /usr/src/sys/i386/i386/trap.c:250
#5  0xc0691828 in calltrap () at {standard input}:94
#6  0xc0562b60 in sync (td=0x4, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:140
#7  0xc04fea4f in boot (howto=256) at  
/usr/src/sys/kern/kern_shutdown.c:306
#8  0xc04ff2a0 in poweroff_wait (junk=0xc06d0295, howto=-1066453387)
     at /usr/src/sys/kern/kern_shutdown.c:550
#9  0xc06a535c in trap_fatal (frame=0xc06d0295, eva=0)
     at /usr/src/sys/i386/i386/trap.c:821
#10 0xc06a49c3 in trap (frame=
       {tf_fs = -842268648, tf_es = -842268656, tf_ds = -1065222128,  
tf_edi = 1, tf_esi = -1024685952, tf_ebp = -842216276, tf_isp =  
-842216336, tf_ebx = 1457105---Type <return> to continue, or q <return>  
to quit---
, tf_edx = 1717924447, tf_ecx = -1066470242, tf_eax = 533010, tf_trapno  
= 12, tf_err = 0, tf_eip = -1068412141, tf_cs = 8, tf_eflags = 67590,  
tf_esp = -1066187520, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:250
#11 0xc0691828 in calltrap () at {standard input}:94
#12 0xc051120e in softclock (dummy=0x0) at  
/usr/src/sys/kern/kern_timeout.c:225
#13 0xc04e92a8 in ithread_loop (arg=0xc16a4e80)
     at /usr/src/sys/kern/kern_intr.c:544
#14 0xc04e7ed0 in fork_exit (callout=0xc04e90d0 <ithread_loop>, arg=0x0,
     frame=0x0) at /usr/src/sys/kern/kern_fork.c:793
(kgdb)

Here's another:

 > sudo gdb -k /usr/obj/usr/src/sys/TREX/kebug vmcore.4
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-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xc29fcc3c
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc043b373
stack pointer           = 0x10:0xcdcd8c4c
frame pointer           = 0x10:0xcdcd8c64
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         = 4 (g_down)
trap number             = 12
panic: page fault
cpuid = 0;

syncing disks, buffers remaining... kernel trap 12 with interrupts  
disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x60006064
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0664948
stack pointer           = 0x10:0xcdcd88f0
frame pointer           = 0x10:0xcdcd88f4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 4 (g_down)
trap number             = 12
panic: page fault
cpuid = 0;
Uptime: 29s
Dumping 255 MB
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
Reading symbols from  
/usr/obj/usr/src/sys/TREX/modules/usr/src/sys/modules/acpi/ 
acpi.ko.debug...done.
Loaded symbols for  
/usr/obj/usr/src/sys/TREX/modules/usr/src/sys/modules/acpi/ 
acpi.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04fee87 in boot (howto=260) at  
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc04ff2a0 in poweroff_wait (junk=0xc06d0295, howto=-1066453387)
     at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc06a535c in trap_fatal (frame=0xc06d0295, eva=0)
     at /usr/src/sys/i386/i386/trap.c:821
#4  0xc06a49c3 in trap (frame=
       {tf_fs = -1066270696, tf_es = -1066270704, tf_ds = -1025310704,  
tf_edi = 2, tf_esi = 4, tf_ebp = -842168076, tf_isp = -842168100,  
tf_ebx = -1066082096, tf_edx = 1610637408, tf_ecx = -1053237144, tf_eax  
= -1066090288, tf_trapno = 12, tf_err = 2, tf_eip = -1067038392, tf_cs  
= 8, tf_eflags = 65542, tf_esp = -1053237144, tf_ss = -842168028}) at  
/usr/src/sys/i386/i386/trap.c:250
#5  0xc0691828 in calltrap () at {standard input}:94
#6  0xc0663357 in vm_page_alloc (object=0xc074de80, pindex=33478,  
req=34)
     at /usr/src/sys/vm/vm_page.c:829
#7  0xc0550389 in vm_hold_load_pages (bp=0xc7d956b8, from=3357298688,
     to=3357302784) at /usr/src/sys/kern/vfs_bio.c:3601
#8  0xc054e3e7 in allocbuf (bp=0xc7d956b8, size=6144)
     at /usr/src/sys/kern/vfs_bio.c:2779
#9  0xc054e02c in geteblk (size=6144) at  
/usr/src/sys/kern/vfs_bio.c:2661
#10 0xc054990c in bwrite (bp=0x4000) at /usr/src/sys/kern/vfs_bio.c:821
#11 0xc054a6bc in bawrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1150
#12 0xc0555610 in vop_stdfsync (ap=0xcdcd8a8c)
---Type <return> to continue, or q <return> to quit---
     at /usr/src/sys/kern/vfs_default.c:743
#13 0xc04befe0 in spec_fsync (ap=0xcdcd8a8c)
     at /usr/src/sys/fs/specfs/spec_vnops.c:422
#14 0xc04be348 in spec_vnoperate (ap=0x0)
     at /usr/src/sys/fs/specfs/spec_vnops.c:122
#15 0xc063cdd1 in ffs_sync (mp=0xc2e16c00, waitfor=2, cred=0xc169f200,
     td=0xc072fa20) at vnode_if.h:627
#16 0xc0562b8e in sync (td=0xc072fa20, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:141
#17 0xc04fe995 in boot (howto=256) at  
/usr/src/sys/kern/kern_shutdown.c:281
#18 0xc04ff2a0 in poweroff_wait (junk=0xc06d0295, howto=-1066453387)
     at /usr/src/sys/kern/kern_shutdown.c:550
#19 0xc06a535c in trap_fatal (frame=0xc06d0295, eva=0)
     at /usr/src/sys/i386/i386/trap.c:821
#20 0xc06a5002 in trap_pfault (frame=0xcdcd8c0c, usermode=0,  
eva=3265252412)
     at /usr/src/sys/i386/i386/trap.c:735
#21 0xc06a4b9d in trap (frame=
       {tf_fs = 24, tf_es = 16, tf_ds = -1065222128, tf_edi = 0, tf_esi  
= -1025669632, tf_ebp = -842167196, tf_isp = -842167240, tf_ebx =  
-1029714944, tf_edx = 1, tf_ecx = -1025487872, tf_eax = -1026316864,  
tf_trapno = 12, tf_err = 0, tf_eip = -1069304973, tf_cs = 8, tf_eflags  
= 66118, tf_esp = -1068382546, tf_ss = -1025487872}) at  
/usr/src/sys/i386/i386/trap.c:420
#22 0xc0691828 in calltrap () at {standard input}:94
---Type <return> to continue, or q <return> to quit---
#23 0xc0445e2c in dastrategy (bp=0x0) at  
/usr/src/sys/cam/scsi/scsi_da.c:645
#24 0xc04c1c86 in g_disk_start (bp=0xc2e31e58)
     at /usr/src/sys/geom/geom_disk.c:272
#25 0xc04c3e8c in g_io_schedule_down (tp=0xc16a9640)
     at /usr/src/sys/geom/geom_io.c:358
#26 0xc04c42b8 in g_down_procbody () at  
/usr/src/sys/geom/geom_kern.c:113
#27 0xc04e7ed0 in fork_exit (callout=0xc04c4290 <g_down_procbody>,  
arg=0x0,
     frame=0x0) at /usr/src/sys/kern/kern_fork.c:793
(kgdb)

Don't know if this is related, but it seems that after the first crash,  
df(1) has been giving invalid information for /var:

 > df -k /var
Filesystem  1K-blocks        Used      Avail Capacity  Mounted on
/dev/da1s1d    253678 -1369996434 1370229818 -587014%    /var
Received on Thu Jun 03 2004 - 15:52:05 UTC

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