Hi, the panic which belongs to the attached backtrace occured during a normal shutdown. Maybe it might be related to the fact that some time (two hours) before a USB-Disk where inserted and later on ejected. Any clues? Some left over stale pointers? The machine where my IBM A30p Notebook, btw.
Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS
GNU gdb 5.2.0 (FreeBSD) 20020627 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 = 0x28 fault code = supervisor read, page not present instruction pointer = 0x8:0xc017a571 stack pointer = 0x10:0xd2fe9ac4 frame pointer = 0x10:0xd2fe9adc 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 = 1 (init) trap number = 12 panic: page fault Uptime: 4h26m40s Dumping 1023 MB ata0: resetting devices .. (cd0:ata0:0:1:0): lost device (cd0:ata0:0:1:0): removing device entry 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 --- #0 doadump () at ../../../kern/kern_shutdown.c:214 214 dumpsys(&dumper); (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:214 #1 0xc01b364e in boot (howto=256) at ../../../kern/kern_shutdown.c:345 #2 0xc01b3bad in panic (fmt=0xc03347e0 "page fault") at ../../../kern/kern_shutdown.c:493 #3 0xc02a9e60 in trap_fatal (frame=0x100, eva=0) at ../../../i386/i386/trap.c:846 #4 0xc02a9aea in trap_pfault (frame=0xd2fe9a84, usermode=0, eva=40) at ../../../i386/i386/trap.c:760 #5 0xc02a95e9 in trap (frame= {tf_fs = -755105768, tf_es = -1071710192, tf_ds = -1021116400, tf_edi = -1027090432, tf_esi = 0, tf_ebp = -755066148, tf_isp = -755066192, tf_ebx = -755065992, tf_edx = -1021111728, tf_ecx = 0, tf_eax = -755065992, tf_trapno = 12, tf_err = 0, tf_eip = -1072192143, tf_cs = 8, tf_eflags = 66118, tf_esp = -755065992, tf_ss = 104}) at ../../../i386/i386/trap.c:446 #6 0xc029aba8 in calltrap () at {standard input}:98 #7 0xc02035de in vflush (mp=0xc2c7d800, rootrefs=1, flags=2) at vnode_if.h:309 #8 0xc017a147 in devfs_unmount (mp=0xc2c7d800, mntflags=524288, td=0xc22cdf00) at ../../../fs/devfs/devfs_vfsops.c:130 #9 0xc01fee42 in dounmount (mp=0xc2c7d800, flags=-1027090432, td=0xc22cdf00) at ../../../kern/vfs_mount.c:1296 #10 0xc02051ae in vfs_unmountall () at ../../../kern/vfs_subr.c:2923 #11 0xc01b3929 in boot (howto=0) at ../../../kern/kern_shutdown.c:330 #12 0xc01b321c in reboot () at ../../../kern/kern_shutdown.c:154 #13 0xc02aa152 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134875309, tf_esi = -1077936616, tf_ebp = -1077936856, tf_isp = -755065484, tf_ebx = -1077936696, tf_edx = -1, tf_ecx = 4, tf_eax = 55, tf_trapno = 12, tf_err = 2, tf_eip = 134547099, tf_cs = 31, tf_eflags = 583, tf_esp = -1077937060, tf_ss = 47}) at ../../../i386/i386/trap.c:1050 #14 0xc029abfd in Xint0x80_syscall () at {standard input}:140 (kgdb) up #1 0xc01b364e in boot (howto=256) at ../../../kern/kern_shutdown.c:345 345 doadump(); (kgdb) #2 0xc01b3bad in panic (fmt=0xc03347e0 "page fault") at ../../../kern/kern_shutdown.c:493 493 boot(bootopt); (kgdb) #3 0xc02a9e60 in trap_fatal (frame=0x100, eva=0) at ../../../i386/i386/trap.c:846 846 panic("%s", trap_msg[type]); (kgdb) #4 0xc02a9aea in trap_pfault (frame=0xd2fe9a84, usermode=0, eva=40) at ../../../i386/i386/trap.c:760 760 trap_fatal(frame, eva); (kgdb) #5 0xc02a95e9 in trap (frame= {tf_fs = -755105768, tf_es = -1071710192, tf_ds = -1021116400, tf_edi = -1027090432, tf_esi = 0, tf_ebp = -755066148, tf_isp = -755066192, tf_ebx = -755065992, tf_edx = -1021111728, tf_ecx = 0, tf_eax = -755065992, tf_trapno = 12, tf_err = 0, tf_eip = -1072192143, tf_cs = 8, tf_eflags = 66118, tf_esp = -755065992, tf_ss = 104}) at ../../../i386/i386/trap.c:446 446 (void) trap_pfault(&frame, FALSE, eva); (kgdb) #6 0xc029aba8 in calltrap () at {standard input}:98 in {standard input} Current language: auto; currently asm (kgdb) #7 0xc02035de in vflush (mp=0xc2c7d800, rootrefs=1, flags=2) at vnode_if.h:309 309 rc = VCALL(vp, VOFFSET(vop_getattr), &a); Current language: auto; currently c (kgdb) #8 0xc017a147 in devfs_unmount (mp=0xc2c7d800, mntflags=524288, td=0xc22cdf00) at ../../../fs/devfs/devfs_vfsops.c:130 130 error = vflush(mp, 1, flags); (kgdb) #9 0xc01fee42 in dounmount (mp=0xc2c7d800, flags=-1027090432, td=0xc22cdf00) at ../../../kern/vfs_mount.c:1296 1296 error = VFS_UNMOUNT(mp, flags, td); (kgdb) #10 0xc02051ae in vfs_unmountall () at ../../../kern/vfs_subr.c:2923 2923 error = dounmount(mp, MNT_FORCE, td); (kgdb) #11 0xc01b3929 in boot (howto=0) at ../../../kern/kern_shutdown.c:330 330 vfs_unmountall(); (kgdb) #12 0xc01b321c in reboot () at ../../../kern/kern_shutdown.c:154 154 boot(uap->opt); (kgdb) #13 0xc02aa152 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134875309, tf_esi = -1077936616, tf_ebp = -1077936856, tf_isp = -755065484, tf_ebx = -1077936696, tf_edx = -1, tf_ecx = 4, tf_eax = 55, tf_trapno = 12, tf_err = 2, tf_eip = 134547099, tf_cs = 31, tf_eflags = 583, tf_esp = -1077937060, tf_ss = 47}) at ../../../i386/i386/trap.c:1050 1050 error = (*callp->sy_call)(td, args); (kgdb) #14 0xc029abfd in Xint0x80_syscall () at {standard input}:140 in {standard input} Current language: auto; currently asm (kgdb) (kgdb)