RELENG_5: occasional panic on shutdown

Thomas-Martin Seck tmseck-lists at netcologne.de
Sun Sep 12 05:31:51 PDT 2004


* 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)


More information about the freebsd-current mailing list