From darkhost@mail.ru  Mon Mar  5 08:05:24 2007
Return-Path: <darkhost@mail.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 681ED16A402
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Mar 2007 08:05:24 +0000 (UTC)
	(envelope-from darkhost@mail.ru)
Received: from mx28.mail.ru (mx28.mail.ru [194.67.23.67])
	by mx1.freebsd.org (Postfix) with ESMTP id C6C8413C494
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Mar 2007 08:05:23 +0000 (UTC)
	(envelope-from darkhost@mail.ru)
Received: from f41.mail.ru (f41.mail.ru [194.67.57.79])
	by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id DF1736D1725;
	Mon,  5 Mar 2007 10:47:19 +0300 (MSK)
Received: from mail by f41.mail.ru with local 
	id 1HO7uc-000Ctc-00; Mon, 05 Mar 2007 10:47:14 +0300
Received: from [195.14.56.237] by win.mail.ru with HTTP;
	Mon, 05 Mar 2007 10:47:14 +0300
Message-Id: <E1HO7uc-000Ctc-00.darkhost-mail-ru@f41.mail.ru>
Date: Mon, 05 Mar 2007 10:47:14 +0300
From: An An <darkhost@mail.ru>
Reply-To: An An <darkhost@mail.ru>
To: Remko Lodder <remko@elvandar.org>
Cc: freebsd-gnats-submit@FreeBSD.org
In-Reply-To: <20070226165610.GB77109@elvandar.org>
Subject: =?koi8-r?Q?Re[2]=3A_i386/109568=3A_Reboot_server_with_=22Fatal_trap_12=22?=
References: <20070226165610.GB77109@elvandar.org>

>Number:         109906
>Category:       i386
>Synopsis:       Re: i386/109568: Reboot server with "Fatal trap 12"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 05 08:10:04 GMT 2007
>Closed-Date:    Mon Mar 05 08:14:16 GMT 2007
>Last-Modified:  Mon Mar 05 08:14:16 GMT 2007
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 
 I'm sorry for responding too late. This is debug from 5.4 version.
 
 core# cd /sys/i386/compile/CORE.kernel
 core# kgdb kernel.debug /var/crash/vmcore.9
 
 [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".
 #0  doadump () at pcpu.h:159
 159             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
 (kgdb) list 0xc0609582
 Function "0xc0609582" not defined.
 (kgdb) list *0xc0609582
 0xc0609582 is at ../../../i386/i386/support.s:490.
 485             cmpl    %ecx,%eax                       /* overlapping && src < dst? */
 486             jb      1f
 487
 488             shrl    $2,%ecx                         /* copy by 32-bit words */
 489             cld                                     /* nope, copy forwards */
 490             rep
 491             movsl
 492             movl    20(%esp),%ecx
 493             andl    $3,%ecx                         /* any bytes left? */
 494             rep
 (kgdb) backtrace
 #0  doadump () at pcpu.h:159
 #1  0xc04d069b in boot (howto=260) at ../../../kern/kern_shutdown.c:410
 #2  0xc04d09c1 in panic (fmt=0xc063218a "%s") at ../../../kern/kern_shutdown.c:566
 #3  0xc060b414 in trap_fatal (frame=0xe4ab8c34, eva=20) at ../../../i386/i386/trap.c:817
 #4  0xc060b157 in trap_pfault (frame=0xe4ab8c34, usermode=0, eva=20) at ../../../i386/i386/trap.c:735
 #5  0xc060adb1 in trap (frame=
       {tf_fs = 24, tf_es = -993722352, tf_ds = -65520, tf_edi = -1040256448, tf_esi = 20, tf_ebp = -458519392, tf_isp = -458519456, tf_ebx = 108, tf_edx = 108, tf_ecx = 27, tf_eax = -1040256468, tf_trapno = 12, tf_err = 0, tf_eip = -1067412094, tf_cs = 8 , tf_eflags = 66054, tf_esp = 0, tf_ss = -1035447752})
     at ../../../i386/i386/trap.c:425
 #6  0xc05f944a in calltrap () at ../../../i386/i386/exception.s:140
 #7  0x00000018 in ?? ()
 #8  0xc4c50010 in ?? ()
 #9  0xffff0010 in ?? ()
 #10 0xc1fef240 in ?? ()
 #11 0x00000014 in ?? ()
 #12 0xe4ab8ca0 in ?? ()
 #13 0xe4ab8c60 in ?? ()
 #14 0x0000006c in ?? ()
 #15 0x0000006c in ?? ()
 #16 0x0000001b in ?? ()
 #17 0xc1fef22c in ?? ()
 #18 0x0000000c in ?? ()
 #19 0x00000000 in ?? ()
 #20 0xc0609582 in generic_bcopy () at ../../../i386/i386/support.s:489
 #21 0x00000000 in ?? ()
 #22 0xc2485238 in ?? ()
 #23 0xc05025f9 in q_to_b (clistp=0x8, dest=0xc1fef240 "\220 B\204\234,9\220=B\201QMSpN\001@u\r6\2064 \001GtN-{\204", amount=200)
     at ../../../kern/tty_subr.c:290
 #24 0xc05e7df5 in comstart (tp=0xc2485200) at ../../../dev/sio/sio.c:2469
 #25 0xc0542992 in pppstart (tp=0xc2485200) at ../../../net/ppp_tty.c:759
 #26 0xc05e77e1 in siopoll (dummy=0x0) at linedisc.h:129
 #27 0xc04bc645 in ithread_loop (arg=0xc1fd4400) at ../../../kern/kern_intr.c:547
 #28 0xc04bb6e1 in fork_exit (callout=0xc04bc4ec <ithread_loop>, arg=0xc1fd4400, frame=0xe4ab8d48) at ../../../kern/kern_fork.c:791
 #29 0xc05f94ac in fork_trampoline () at ../../../i386/i386/exception.s:209
 (kgdb) quit
 
 I will install the 6.2 version on my production server just to watch if this problem persists.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Mar 5 08:12:18 UTC 2007 
State-Changed-Why:  
Misfiled followup to ports/109568; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Mar 5 08:12:18 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=109906 
>Unformatted:
