Date: Tue, 29 Apr 2003 23:24:22 +0300 From: Vallo Kallaste <kalts@estpak.ee> To: freebsd-current@freebsd.org Subject: Got crash Message-ID: <20030429202422.GA786@kevad.internal>
next in thread | raw e-mail | index | archive | help
Hi
Got a crash after exiting from single user mode. The initial single
user mode was caused by 'shutdown now'. Sources, world and kernel
=66rom ~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 condition=
s.
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 =3D 1; lapic.id =3D 01000000
fault virtual address =3D 0x4c
fault code =3D supervisor read, page not present
instruction pointer =3D 0x8:0xc01cfb96
stack pointer =3D 0x10:0xf0bb2a54
frame pointer =3D 0x10:0xf0bb2a54
code segment =3D base 0x0, limit 0xfffff, type 0x1b
=3D DPL 0, pres 1, def32 1, gran 1
processor eflags =3D interrupt enabled, resume, IOPL =3D 0
current process =3D 932 (umount)
trap number =3D 12
panic: page fault
cpuid =3D 1; lapic.id =3D 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=20
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 92=
8 944 960 976 992 1008
---
Reading symbols from /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/mo=
dules/vinum/vinum.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modu=
les/vinum/vinum.ko.debug
Reading symbols from /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/mo=
dules/ipfw/ipfw.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modu=
les/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/mo=
dules/acpi/acpi.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/Kevad/modules/usr/src/sys/modu=
les/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=3D256) at ../../../kern/kern_shutdown.c:370
No locals.
#2 0xc01f36fe in panic () at ../../../kern/kern_shutdown.c:543
td =3D (struct thread *) 0xc61aa390
bootopt =3D 256
newpanic =3D 1
buf =3D "page fault", '\0' <repeats 245 times>
#3 0xc0367a92 in trap_fatal (frame=3D0xf0bb2a14, eva=3D0)
at ../../../i386/i386/trap.c:834
code =3D 16
type =3D 12
ss =3D 16
esp =3D 0
softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D 27,=20
ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 0, ssd_xx1 =3D 0, ssd_def32 =3D 1,=
ssd_gran =3D 1}
#4 0xc0367742 in trap_pfault (frame=3D0xf0bb2a14, usermode=3D0, eva=3D76)
at ../../../i386/i386/trap.c:748
va =3D 0
vm =3D (struct vmspace *) 0x0
map =3D (struct vm_map *) 0x1
rv =3D 1
ftype =3D 1 '\001'
td =3D (struct thread *) 0xc61aa390
p =3D (struct proc *) 0xc61a9d20
#5 0xc03672cd in trap (frame=3D
{tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -965942748, tf_=
esi =3D -965806080, tf_ebp =3D -256169388, tf_isp =3D -256169408, tf_ebx =
=3D 1, tf_edx =3D 0, tf_ecx =3D ---Type <return> to continue, or q <return>=
to quit---
-969412416, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -10718=
42410, tf_cs =3D 8, tf_eflags =3D 66118, tf_esp =3D -256169308, tf_ss =3D -=
1068633292})
at ../../../i386/i386/trap.c:433
td =3D (struct thread *) 0xc61aa390
p =3D (struct proc *) 0xc61a9d20
sticks =3D 2
i =3D 0
ucode =3D 0
type =3D 12
code =3D 0
eva =3D 76
#6 0xc034f568 in calltrap () at {standard input}:97
No locals.
#7 0xc04df334 in launch_requests (rq=3D0xc6a3adc0, reviveok=3D0)
at /usr/src/sys/dev/vinum/vinumrequest.c:442
rqg =3D (struct rqgroup *) 0xc66ef800
rqno =3D 1
rqe =3D (struct rqelement *) 0xc66ce224
drive =3D (struct drive *) 0x0
rcount =3D 1
#8 0xc04def12 in vinumstart (bp=3D0xd28ec1b8, reviveok=3D0)
at /usr/src/sys/dev/vinum/vinumrequest.c:302
plexno =3D 0
vol =3D (struct volume *) 0xc6369c00
rq =3D (struct request *) 0xc6a3adc0
status =3D REQUEST_OK
#9 0xc04dec46 in vinumstrategy (biop=3D0xd28ec1b8)
at /usr/src/sys/dev/vinum/vinumrequest.c:165
bp =3D (struct buf *) 0xd28ec1b8
---Type <return> to continue, or q <return> to quit---
volno =3D 0
vol =3D (struct volume *) 0x0
#10 0xc01b5821 in spec_xstrategy (vp=3D0xc64b6000, bp=3D0xd28ec1b8)
at ../../../fs/specfs/spec_vnops.c:513
mp =3D (struct mount *) 0x0
error =3D 0
dsw =3D (struct cdevsw *) 0x0
td =3D (struct thread *) 0xd28ec1b8
#11 0xc01b589b in spec_specstrategy (ap=3D0x0)
at ../../../fs/specfs/spec_vnops.c:550
No locals.
#12 0xc01b4948 in spec_vnoperate (ap=3D0x0)
at ../../../fs/specfs/spec_vnops.c:123
No locals.
#13 0xc023d119 in bwrite (bp=3D0xd28ec1b8) at vnode_if.h:1114
oldflags =3D 536870944
newbp =3D (struct buf *) 0xd28ec1b8
#14 0xc02f5dec in ffs_sbupdate (mp=3D0xc64b3400, waitfor=3D1)
at ../../../ufs/ffs/ffs_vfsops.c:1490
fs =3D (struct fs *) 0xc63f3000
bp =3D (struct buf *) 0xd28ec1b8
blks =3D 1
space =3D (void *) 0xc636e800
i =3D 0
size =3D 2048
error =3D 0
allerror =3D 0
#15 0xc02f4e58 in ffs_unmount (mp=3D0xc63da000, mntflags=3D0, td=3D0xc61aa3=
90)
at ../../../ufs/ffs/ffs_vfsops.c:981
---Type <return> to continue, or q <return> to quit---
ump =3D (struct ufsmount *) 0xc64b3400
fs =3D (struct fs *) 0xc63f3000
error =3D 0
flags =3D 0
#16 0xc024bca4 in dounmount (mp=3D0xc63da000, flags=3D0, td=3D0xc61aa390)
at ../../../kern/vfs_mount.c:1323
coveredvp =3D (struct vnode *) 0x0
fsrootvp =3D (struct vnode *) 0xc64b1a44
error =3D 0
async_flag =3D 0
#17 0xc024ba5c in unmount (td=3D0xc61aa390, uap=3D0xf0bb2d10)
at ../../../kern/vfs_mount.c:1266
vp =3D (struct vnode *) 0xc64b1a44
mp =3D (struct mount *) 0xc63da000
error =3D 0
nd =3D {ni_dirp =3D 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
=2E./../../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
--=20
Vallo Kallaste
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429202422.GA786>
