kernel dump with 7.1-RELEASE

Kostik Belousov kostikbel at gmail.com
Wed Jan 14 07:29:36 PST 2009


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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090114/378c04e2/attachment.pgp


More information about the freebsd-hackers mailing list