Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 10:15:44 -0800
From:      Doug Barton <DougB@gorean.org>
To:        freebsd-current@freebsd.org
Subject:   Panic with last night's -current
Message-ID:  <3A96A8D0.EFDE1CDE@gorean.org>

next in thread | raw e-mail | index | archive | help
Gang,

	I cvsup'ed last night as of green's latest update of
src/lib/libc/stdio/_flock_stub.c. I had a weird panic this morning, after
the machine was up overnight (although not really doing anything). I have
'tail -f $HOME/.xsession-errors > /dev/console &' in my .xsession file, and
when I logged out of windowmaker to replace it with the latest version, for
some reason the script that's supposed to run that kills that job on the
way out didn't run. When I started the new wm I noticed that I had two
tail's running, so I tried to kill one. As soon as I typed 'kill <pid>' in
the xterm the system locked up, and eventually panic'ed and rebooted. To
add to the excitement I changed my kernel debugging options last night to
include WITNESS. I now have WITNESS and INVARIANTS, no DIAGNOSTIC. I have a
UP system, Celeron 300A on an Asus P2B motherboard. 

	Here's what I got from kgdb, I have the core and debug kernel if anyone
wants more data.

Enjoy,

Doug
-- 
    "Pain heals. Chicks dig scars. Glory . . . lasts forever."
        -- Keanu Reeves as Shane Falco in "The Replacements"

	Do YOU Yahoo!?

IdlePTD 4222976
initial pcb at 361980
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc02815de
stack pointer           = 0x10:0xc8b28db4
frame pointer           = 0x10:0xc8b28dc0
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         = 342 (tail)
trap number             = 12
panic: page fault

syncing disks... 16 16 16 16 16 16 16 16 16 16 16 fxp0: device timeout
16 16 16 16 16 16 16 16 16 
giving up on 16 buffers
Uptime: 8h19m3s

dumping to dev da1s1b, offset 262168
dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111
110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90
89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40
39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15
14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:476
476             if (dumping++) {

(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:476
#1  0xc01a6667 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:319
#2  0xc01a6a31 in panic (fmt=0xc02fcd8f "page fault")
    at /usr/src/sys/kern/kern_shutdown.c:569
#3  0xc02b1756 in trap_fatal (frame=0xc8b28d74, eva=0)
    at /usr/src/sys/i386/i386/trap.c:993
#4  0xc02b14a5 in trap_pfault (frame=0xc8b28d74, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:907
#5  0xc02b0af8 in trap (frame={tf_fs = 24, tf_es = -1070727152, tf_ds = 16, 
      tf_edi = -928237472, tf_esi = -927731776, tf_ebp = -927822400, 
      tf_isp = -927822432, tf_ebx = -927801408, tf_edx = 0, 
      tf_ecx = -928237072, tf_eax = -1056946176, tf_trapno = 12, tf_err =
0, 
      tf_eip = -1071114786, tf_cs = 8, tf_eflags = 66051, tf_esp =
-927731776, 
      tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:454
#6  0xc02815de in filt_ufsdetach (kn=0xc8b3efc0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2226
#7  0xc0194803 in kqueue_close (fp=0xc1000680, p=0xc8ac3860)
    at /usr/src/sys/kern/kern_event.c:702
#8  0xc019351d in fdrop (fp=0xc1000680, p=0xc8ac3860)
    at /usr/src/sys/sys/file.h:216
#9  0xc0193463 in closef (fp=0xc1000680, p=0xc8ac3860)
    at /usr/src/sys/kern/kern_descrip.c:1213
#10 0xc01931d0 in fdfree (p=0xc8ac3860)
    at /usr/src/sys/kern/kern_descrip.c:1052
#11 0xc0195f6d in exit1 (p=0xc8ac3860, rv=15)
    at /usr/src/sys/kern/kern_exit.c:194
#12 0xc01a97ca in sigexit (p=0xc8ac3860, sig=15)
    at /usr/src/sys/kern/kern_sig.c:1599
#13 0xc01a9520 in postsig (sig=15) at /usr/src/sys/kern/kern_sig.c:1500
#14 0xc02affc3 in userret (p=0xc8ac3860, frame=0xc8b28fa8, oticks=1)
    at /usr/src/sys/i386/i386/trap.c:178
#15 0xc02b20dc in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 4, tf_esi = 1, tf_ebp = -1077937168, tf_isp = -927821868, 
      tf_ebx = 672174336, tf_edx = 0, tf_ecx = 0, tf_eax = 4, tf_trapno =
12, 
      tf_err = 2, tf_eip = 671772464, tf_cs = 31, tf_eflags = 663, 
      tf_esp = -1077937388, tf_ss = 47}) at
/usr/src/sys/i386/i386/trap.c:1239
#16 0xc02a4883 in Xint0x80_syscall ()
#17 0x8049e68 in ?? ()
#18 0x8048b8d in ?? ()

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?3A96A8D0.EFDE1CDE>