panic on HEAD

Peter Avalos pavalos at theshell.com
Tue Sep 6 20:54:49 PDT 2005


After a week of uptime:

panic: assertion: tok->t_cpu == gd in lwkt_reltoken
panic messages:
---
panic: assertion: tok->t_cpu == gd in lwkt_reltoken
mp_lock = 00000000; cpuid = 0; lapic.id = 00000000
boot() called on cpu#0
Uptime: 7d1h48m15s

dumping to dev #da/0x20001, offset 378927

(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:519
#1  0xc018e512 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:352
#2  0xc018eaad in panic (fmt=0xc0303d6c "assertion: tok->t_cpu == gd in %s") at /usr/src/sys/kern/kern_shutdown.c:665
#3  0xc0196be7 in lwkt_reltoken (_ref=0xe8caeb20) at /usr/src/sys/kern/lwkt_token.c:484
#4  0xc0185550 in lf_advlock (ap=0xe8caeb80, lock=0xe9a81c34, size=Unhandled dwarf expression opcode 0x93
) at /usr/src/sys/kern/kern_lockf.c:226
#5  0xc02773af in ufs_advlock (ap=0xe8caeb80) at /usr/src/sys/vfs/ufs/ufs_vnops.c:2003
#6  0xc02778e1 in ufs_vnoperate (ap=0x0) at /usr/src/sys/vfs/ufs/ufs_vnops.c:2366
#7  0xc01e28c4 in vop_advlock (ops=0x0, vp=0x0, id=0x0, op=0, fl=0x0, flags=0) at /usr/src/sys/kern/vfs_vopops.c:933
#8  0xc017d881 in flock (uap=0x0) at /usr/src/sys/kern/kern_descrip.c:1705
#9  0xc02d0a73 in syscall2 (frame=
      {tf_fs = 47, tf_es = 136183855, tf_ds = -1078001617, tf_edi = 135848016, tf_esi = 671842572, tf_ebp = -1077938776, tf_isp = -389354124, tf_ebx = 673124812, tf_edx = 2, tf_ecx = 671822112, tf_eax = 131, tf_trapno = 12, tf_err = 2, tf_eip = 673583984, tf_cs = 31, tf_eflags = 646, tf_esp = -1077938804, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1338
#10 0xc02b984a in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:854
#11 0x0000002f in ?? ()
#12 0x081e002f in ?? ()
#13 0xbfbf002f in ?? ()
#14 0x0818e050 in ?? ()
#15 0x280b810c in ?? ()
#16 0xbfbff5a8 in ?? ()
#17 0xe8caed74 in ?? ()
#18 0x281f11cc in ?? ()
#19 0x00000002 in ?? ()
#20 0x280b3120 in ?? ()
#21 0x00000083 in ?? ()
#22 0x0000000c in ?? ()
#23 0x00000002 in ?? ()
#24 0x28261370 in ?? ()
#25 0x0000001f in ?? ()
#26 0x00000286 in ?? ()
#27 0xbfbff58c in ?? ()
#28 0x0000002f in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x7796c000 in ?? ()
#34 0x00000001 in ?? ()
#35 0xc0340b08 in ithread_ary ()
#36 0xe8cae818 in ?? ()
#37 0xe8cae800 in ?? ()
#38 0xd64d0900 in ?? ()
#39 0xc0194b42 in lwkt_preempt (ntd=0x280b810c, critpri=---Can't read userspace from dump, or kernel process---

) at /usr/src/sys/kern/lwkt_thread.c:850
Previous frame inner to this frame (corrupt stack?)
(kgdb)

# uname -a
DragonFly box.theshell.com 1.3.5-DEVELOPMENT DragonFly 1.3.5-DEVELOPMENT #3: Sun Aug 28 17:17:05 MST 2005     root at xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/BOX  i386

dump is being uploaded to leaf.

--Peter
Attachment:
pgp00002.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00002.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20050906/2a78afe7/attachment-0015.obj>


More information about the Bugs mailing list