From owner-freebsd-current@FreeBSD.ORG Sun Sep 12 12:31:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44E8416A4CE for ; Sun, 12 Sep 2004 12:31:51 +0000 (GMT) Received: from smtp1.netcologne.de (smtp1.netcologne.de [194.8.194.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCF7A43D5A for ; Sun, 12 Sep 2004 12:31:50 +0000 (GMT) (envelope-from tmseck-lists@netcologne.de) Received: from laurel.tmseck.homedns.org (xdsl-81-173-169-89.netcologne.de [81.173.169.89]) by smtp1.netcologne.de (Postfix) with SMTP id 243DE38CA2 for ; Sun, 12 Sep 2004 14:31:48 +0200 (MEST) Received: (qmail 1602 invoked by uid 1001); 12 Sep 2004 12:32:07 -0000 Date: Sun, 12 Sep 2004 14:31:45 +0200 From: Thomas-Martin Seck To: freebsd-current@freebsd.org, John-Mark Gurney Message-ID: <20040912123144.GA713@laurel.tmseck.homedns.org> Mail-Followup-To: freebsd-current@freebsd.org, John-Mark Gurney References: <20040911185729.GA382@laurel.tmseck.homedns.org> <20040911193523.GB72089@funkthat.com> <20040911195955.GB382@laurel.tmseck.homedns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040911195955.GB382@laurel.tmseck.homedns.org> User-Agent: Mutt/1.4.2.1i Organization: a private site in Germany X-PGP-KeyID: DF46EE05 X-PGP-Fingerprint: A38F AE66 6B11 6EB9 5D1A B67D 2444 2FE1 DF46 EE05 X-Attribution: tms Subject: Re: RELENG_5: occasional panic on shutdown X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 12:31:51 -0000 * I wrote: > > $ gdb /usr/obj/usr/src/sys/CURRENT/kernel.debug > 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"... > (gdb) l *knote+0x27 > 0xc04c16cf is in knote (atomic.h:154). > 149 atomic.h: No such file or directory. > in atomic.h > (gdb) Sorry: $ cd /usr/obj/usr/src/sys/CURRENT $ gdb kernel.debug 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"... (gdb) l *knote+0x27 0xc04c16cf is in knote (atomic.h:154). 149 static __inline int 150 atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) 151 { 152 int res = exp; 153 154 __asm __volatile ( 155 " " __XSTRING(MPLOCKED) " " 156 " cmpxchgl %1,%2 ; " 157 " setz %%al ; " 158 " movzbl %%al,%0 ; " (gdb)