Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 17:39:56 +0200
From:      "Daniel A." <alive@dienub.org>
To:        hackers@freebsd.org
Subject:   doadump at pcpu.h:165
Message-ID:  <44EDC84C.6010505@dienub.org>

next in thread | raw e-mail | index | archive | help
Hi guys,
My server crashes very often and it's very random. So not long ago, I 
was suggested that I read the FreeBSD Handbook pages about kernel 
debugging, and here is the result:
root@m00h DIENUB $ kgdb kernel.debug /var/crash/vmcore.3
[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:


Fatal trap 28: machine check trap while in kernel mode
instruction pointer     = 0x20:0xc06830b0
stack pointer           = 0x28:0xd446ea7c
frame pointer           = 0x28:0xd446ea8c
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         = 14 (swi1: net)
trap number             = 28
panic: machine check trap
Uptime: 1d4h24m37s
Dumping 511 MB (2 chunks)
   chunk 0: 1MB (160 pages) ... ok
   chunk 1: 511MB (130800 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             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) q


As far as I understand, the issue is CPU-related, but that doesn't make 
sense, as my network interface cards are constantly giving me watchdog 
timeouts.

root@m00h include $ uname -a
FreeBSD m00h.dienub.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 29 
20:40:41 CEST 2006     root@m00h.dienub.org:/usr/obj/usr/src/sys/DIENUB 
  i386

Thanks for any help. Also, please CC any replies to me.



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