Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 13:43:17 +0700
From:      Dikshie <dikshie@ppk.itb.ac.id>
To:        freebsd-stable@freebsd.org
Subject:   6.0-STABLE panic once a day
Message-ID:  <20051213064316.GA3620@ppk.itb.ac.id>

next in thread | raw e-mail | index | archive | help
Dear All,
one of my 6.0-STABLE box always panic once a day.
here's the dump:

lapi# kgdb kernel.debug vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:
panic: trying to sleep while sleeping is prohibited
KDB: stack backtrace:
kdb_backtrace(100,c32f4480,c06f74e8,c32f4480,c06f2550) at 0xc0510601 = kdb_backtrace+0x29
panic(c06976a5,c32f4480,0,c06f2550,d5629a7c) at 0xc04f90e4 = panic+0xa8
sleepq_add(c06f2550,c06f3414,c06906e8,1,c06f3414,0,c0690a7a,7d) at 0xc0515b40 = sleepq_add+0x8c
cv_wait(c06f2550,c06f3414,0,16,d5629cb4) at 0xc04d3aa6 = cv_wait+0x132
_sx_xlock(c06f2520,c06907df,180) at 0xc04fe100 = _sx_xlock+0x5c
acctwatch(0) at 0xc04d1c40 = acctwatch+0x20
softclock(0) at 0xc05040b1 = softclock+0x211
ithread_loop(c32ab500,d5629d38,c32ab500,c04e5d20,0) at 0xc04e5e64 = ithread_loop+0x144
fork_exit(c04e5d20,c32ab500,d5629d38) at 0xc04e52d4 = fork_exit+0xa0
fork_trampoline() at 0xc0650aac = fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd5629d6c, ebp = 0 ---
Uptime: 14h34m3s
Dumping 510 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 511MB (130608 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc04f8e9c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc04f9147 in panic (fmt=0xc06976a5 "trying to sleep while sleeping is prohibited")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc0515b40 in sleepq_add (wchan=0xc06f2550, lock=0xc06f3414, wmesg=0x0, flags=1)
    at /usr/src/sys/kern/subr_sleepqueue.c:273
#4  0xc04d3aa6 in cv_wait (cvp=0xc06f2550, mp=0xc06f3414) at /usr/src/sys/kern/kern_condvar.c:127
#5  0xc04fe100 in _sx_xlock (sx=0xc06f2520, file=0xc06907df "/usr/src/sys/kern/kern_acct.c", line=384)
    at /usr/src/sys/kern/kern_sx.c:175
#6  0xc04d1c40 in acctwatch (a=0x0) at /usr/src/sys/kern/kern_acct.c:384
#7  0xc05040b1 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:290
#8  0xc04e5e64 in ithread_loop (arg=0xc32ab500) at /usr/src/sys/kern/kern_intr.c:547
#9  0xc04e52d4 in fork_exit (callout=0xc04e5d20 <ithread_loop>, arg=0xc32ab500, frame=0xd5629d38)
    at /usr/src/sys/kern/kern_fork.c:789
#10 0xc0650aac in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208
(kgdb)







best regards,

-dikshie-




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051213064316.GA3620>