Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 17:29:29 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        freebsd-stable@freebsd.org
Cc:        Omer Faruk Sen <omerfsen@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: kernel dump with 7.1-RELEASE
Message-ID:  <20090114152929.GO2247@deviant.kiev.zoral.com.ua>
In-Reply-To: <75a268720901090839q406ed8f3g8d09e83a9a452415@mail.gmail.com>
References:  <75a268720901090839q406ed8f3g8d09e83a9a452415@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, Jan 09, 2009 at 06:39:53PM +0200, Omer Faruk Sen wrote:
> Hi,
> 
> I am having kernel dump with FreeBSD 7.1:
> 
> Here is crashinfo output of it  (Actually i don't know the state of
> crashinfo in Fbsd 7.1)
> 
> 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009
> root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 
> 
> panic: semexit - semid not allocated
> 
> 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 "amd64-marcel-freebsd"...
> 
> Unread portion of the kernel message buffer:
> Physical memory: 8173 MB
> Dumping 437 MB: 422 406 390 374 358 342 326 310 294 278 262 246 230
> 214 198 182 166 150 134 118 102 86 70 54 38 22 6
> 
> #0  doadump () at pcpu.h:195
> 195     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) #0  doadump () at pcpu.h:195
> #1  0x0000000000000004 in ?? ()
> #2  0xffffffff804b4ce9 in boot (howto=260)
>     at /usr/src/sys/kern/kern_shutdown.c:418
> #3  0xffffffff804b50f2 in panic (fmt=0x104 <Address 0x104 out of bounds>)
>     at /usr/src/sys/kern/kern_shutdown.c:574
> #4  0xffffffff804f846d in semexit_myhook (arg=Variable "arg" is not available.
> )
>     at /usr/src/sys/kern/sysv_sem.c:1328
> #5  0xffffffff80490dbc in exit1 (td=0xffffff000995f370, rv=0)
>     at /usr/src/sys/kern/kern_exit.c:244
> #6  0xffffffff8049239e in sys_exit (td=Variable "td" is not available.
> ) at /usr/src/sys/kern/kern_exit.c:109
> #7  0xffffffff8078a7c7 in syscall (frame=0xffffffffb0d4ac80)
>     at /usr/src/sys/amd64/amd64/trap.c:907
> #8  0xffffffff8077088b in Xfast_syscall ()
>     at /usr/src/sys/amd64/amd64/exception.S:330
> #9  0x0000000800a2a30c in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)

The change that is believed to fix the reported panic is committed
as r187223 to HEAD. MFC is set to 1 month, because, mmm, because.

The MFC requires mostly mechanical changes of the MAC hook names.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkluBNgACgkQC3+MBN1Mb4i13wCgz0ReCvIsK93lCuIZhj+Hgokr
UugAnjcstSMmRib2kRVNNVGYThWf3+dP
=mza0
-----END PGP SIGNATURE-----

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