Got crash

From: Vallo Kallaste <kalts_at_estpak.ee>
Date: Tue, 29 Apr 2003 23:24:22 +0300
Hi

Got a crash after exiting from single user mode. The initial single
user mode was caused by 'shutdown now'. Sources, world and kernel
from ~3 hours ago.

Script started on Tue Apr 29 22:55:20 2003
root:kevad# gdb -k /sys/i386/compile/Kevad/kernel.debug /usr/crash/vmcore.0
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
cpuid = 1; lapic.id = 01000000
fault virtual address	= 0x4c
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc01cfb96
stack pointer	        = 0x10:0xf0bb2a54
frame pointer	        = 0x10:0xf0bb2a54
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		= 932 (umount)
trap number		= 12
panic: page fault
cpuid = 1; lapic.id = 01000000
boot() called on cpu#1

syncing disks, buffers remaining... 814 814 813 813 813 813 813 813 813 813 813 813 813 813 813 813 813 813 813 813 813 813 
giving up on 741 buffers
Uptime: 26m8s
Dumping 1023 MB
ata0: resetting devices ..
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 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008
---
Reading symbols from /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modules/vinum/vinum.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modules/vinum/vinum.ko.debug
Reading symbols from /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug
Reading symbols from /boot/kernel/ng_ether.ko...done.
Loaded symbols for /boot/kernel/ng_ether.ko
Reading symbols from /boot/kernel/netgraph.ko...done.
Loaded symbols for /boot/kernel/netgraph.ko
Reading symbols from /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from /boot/kernel/ng_socket.ko...done.
Loaded symbols for /boot/kernel/ng_socket.ko
Reading symbols from /boot/kernel/ng_iface.ko...done.
Loaded symbols for /boot/kernel/ng_iface.ko
Reading symbols from /boot/kernel/ng_ppp.ko...done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_bpf.ko...done.
Loaded symbols for /boot/kernel/ng_bpf.ko
Reading symbols from /boot/kernel/ng_vjc.ko...done.
Loaded symbols for /boot/kernel/ng_vjc.ko
Reading symbols from /boot/kernel/ng_pppoe.ko...done.
Loaded symbols for /boot/kernel/ng_pppoe.ko
#0  doadump () at ../../../kern/kern_shutdown.c:238
238		dumping++;
(kgdb) bt full
#0  doadump () at ../../../kern/kern_shutdown.c:238
No locals.
#1  0xc01f32f1 in boot (howto=256) at ../../../kern/kern_shutdown.c:370
No locals.
#2  0xc01f36fe in panic () at ../../../kern/kern_shutdown.c:543
	td = (struct thread *) 0xc61aa390
	bootopt = 256
	newpanic = 1
	buf = "page fault", '\0' <repeats 245 times>
#3  0xc0367a92 in trap_fatal (frame=0xf0bb2a14, eva=0)
    at ../../../i386/i386/trap.c:834
	code = 16
	type = 12
	ss = 16
	esp = 0
	softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, 
  ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1}
#4  0xc0367742 in trap_pfault (frame=0xf0bb2a14, usermode=0, eva=76)
    at ../../../i386/i386/trap.c:748
	va = 0
	vm = (struct vmspace *) 0x0
	map = (struct vm_map *) 0x1
	rv = 1
	ftype = 1 '\001'
	td = (struct thread *) 0xc61aa390
	p = (struct proc *) 0xc61a9d20
#5  0xc03672cd in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -965942748, tf_esi = -965806080, tf_ebp = -256169388, tf_isp = -256169408, tf_ebx = 1, tf_edx = 0, tf_ecx = ---Type <return> to continue, or q <return> to quit---
-969412416, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071842410, tf_cs = 8, tf_eflags = 66118, tf_esp = -256169308, tf_ss = -1068633292})
    at ../../../i386/i386/trap.c:433
	td = (struct thread *) 0xc61aa390
	p = (struct proc *) 0xc61a9d20
	sticks = 2
	i = 0
	ucode = 0
	type = 12
	code = 0
	eva = 76
#6  0xc034f568 in calltrap () at {standard input}:97
No locals.
#7  0xc04df334 in launch_requests (rq=0xc6a3adc0, reviveok=0)
    at /usr/src/sys/dev/vinum/vinumrequest.c:442
	rqg = (struct rqgroup *) 0xc66ef800
	rqno = 1
	rqe = (struct rqelement *) 0xc66ce224
	drive = (struct drive *) 0x0
	rcount = 1
#8  0xc04def12 in vinumstart (bp=0xd28ec1b8, reviveok=0)
    at /usr/src/sys/dev/vinum/vinumrequest.c:302
	plexno = 0
	vol = (struct volume *) 0xc6369c00
	rq = (struct request *) 0xc6a3adc0
	status = REQUEST_OK
#9  0xc04dec46 in vinumstrategy (biop=0xd28ec1b8)
    at /usr/src/sys/dev/vinum/vinumrequest.c:165
	bp = (struct buf *) 0xd28ec1b8
---Type <return> to continue, or q <return> to quit---
	volno = 0
	vol = (struct volume *) 0x0
#10 0xc01b5821 in spec_xstrategy (vp=0xc64b6000, bp=0xd28ec1b8)
    at ../../../fs/specfs/spec_vnops.c:513
	mp = (struct mount *) 0x0
	error = 0
	dsw = (struct cdevsw *) 0x0
	td = (struct thread *) 0xd28ec1b8
#11 0xc01b589b in spec_specstrategy (ap=0x0)
    at ../../../fs/specfs/spec_vnops.c:550
No locals.
#12 0xc01b4948 in spec_vnoperate (ap=0x0)
    at ../../../fs/specfs/spec_vnops.c:123
No locals.
#13 0xc023d119 in bwrite (bp=0xd28ec1b8) at vnode_if.h:1114
	oldflags = 536870944
	newbp = (struct buf *) 0xd28ec1b8
#14 0xc02f5dec in ffs_sbupdate (mp=0xc64b3400, waitfor=1)
    at ../../../ufs/ffs/ffs_vfsops.c:1490
	fs = (struct fs *) 0xc63f3000
	bp = (struct buf *) 0xd28ec1b8
	blks = 1
	space = (void *) 0xc636e800
	i = 0
	size = 2048
	error = 0
	allerror = 0
#15 0xc02f4e58 in ffs_unmount (mp=0xc63da000, mntflags=0, td=0xc61aa390)
    at ../../../ufs/ffs/ffs_vfsops.c:981
---Type <return> to continue, or q <return> to quit---
	ump = (struct ufsmount *) 0xc64b3400
	fs = (struct fs *) 0xc63f3000
	error = 0
	flags = 0
#16 0xc024bca4 in dounmount (mp=0xc63da000, flags=0, td=0xc61aa390)
    at ../../../kern/vfs_mount.c:1323
	coveredvp = (struct vnode *) 0x0
	fsrootvp = (struct vnode *) 0xc64b1a44
	error = 0
	async_flag = 0
#17 0xc024ba5c in unmount (td=0xc61aa390, uap=0xf0bb2d10)
    at ../../../kern/vfs_mount.c:1266
	vp = (struct vnode *) 0xc64b1a44
	mp = (struct mount *) 0xc63da000
	error = 0
	nd = {ni_dirp = 0x80be030---Can't read userspace from dump, or kernel process---

(kgdb) quit
root:kevad# addr2line -e /sys/i386/compile/Kevad/kernel.debug -f 0xc01cfb96
devsw
../../../kern/kern_conf.c:116
root:kevad# nm -n /sys/i386/compile/Kevad/kernel.debug | grep c01cfb9
c01cfb90 T devsw
root:kevad# exit
exit

Script done on Tue Apr 29 22:55:47 2003
-- 

Vallo Kallaste
Received on Tue Apr 29 2003 - 11:24:29 UTC

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