From owner-freebsd-stable@FreeBSD.ORG Mon Aug 26 14:09:04 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BCDEE2D5 for ; Mon, 26 Aug 2013 14:09:04 +0000 (UTC) (envelope-from matthias.schuendehuette@siemens.com) Received: from lizzard.sbs.de (lizzard.sbs.de [194.138.37.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 510FE26AD for ; Mon, 26 Aug 2013 14:09:04 +0000 (UTC) Received: from mail1.sbs.de (localhost [127.0.0.1]) by lizzard.sbs.de (8.13.6/8.13.6) with ESMTP id r7QDuQDQ007276 for ; Mon, 26 Aug 2013 15:56:26 +0200 Received: from DEFTHW99ET7MSX.ww902.siemens.net ([157.163.145.4]) by mail1.sbs.de (8.13.6/8.13.6) with ESMTP id r7QDuQOr021396 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 26 Aug 2013 15:56:26 +0200 Received: from DEFTHW99ERGMSX.ww902.siemens.net (139.22.70.132) by DEFTHW99ET7MSX.ww902.siemens.net (157.163.145.4) with Microsoft SMTP Server (TLS) id 8.3.298.1; Mon, 26 Aug 2013 15:56:26 +0200 Received: from DENBGAT9EI2MSX.ww902.siemens.net ([169.254.10.232]) by DEFTHW99ERGMSX.ww902.siemens.net ([139.22.70.132]) with mapi id 14.03.0146.000; Mon, 26 Aug 2013 15:56:26 +0200 From: "Schuendehuette, Matthias" To: "freebsd-stable@freebsd.org" Subject: Stack overflow with kernel r254683 Thread-Topic: Stack overflow with kernel r254683 Thread-Index: Ac6iZA2YH/5eY4y6Qu+VjO1qBsQVHg== Date: Mon, 26 Aug 2013 13:56:25 +0000 Message-ID: <1EFE239F82F279488E86A61C92D5E2DE03828F@DENBGAT9EI2MSX.ww902.siemens.net> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [139.22.70.43] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 14:09:04 -0000 Hello, yesterday I got a kernel crash on my server (a ProLiant DL380 G5): "panic: stack overflow detected; backtrace may be corrupted" Kernel is "9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #7 r254683" The stack trace reads: #0 doadump (textdump=3D1) at pcpu.h:249 249 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3D1) at pcpu.h:249 #1 0xc0668a4d in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:449 #2 0xc0668f07 in panic (fmt=3D0x104
) at /usr/src/sys/kern/kern_shutdown.c:637 #3 0xc0691da2 in __stack_chk_fail () at /usr/src/sys/kern/stack_protector.c:17 #4 0xc7fdb175 in nfsrvd_setattr (nd=3D0xc73b4400, isdgram=3D-952596480, vp=3D0xc8001140, p=3D0xf405ecc8, exp=3D0xc07af7f0) at /usr/src/sys/modules/nfsd/../../fs/nfsserver/nfs_nfsdserv.c:371 #5 0xc7fdb6e0 in nfsrvd_releaselckown (nd=3D0xc7442a00, isdgram=3D-9525964= 80, vp=3D0xc7388848, p=3D0xf405ecb8, exp=3D0x0) at /usr/src/sys/modules/nfsd/../../fs/nfsserver/nfs_nfsdserv.c:3481 #6 0xc07af7f0 in svc_run_internal (pool=3D0xc7de8b80, ismaster=3D0) at /usr/src/sys/rpc/svc.c:1109 #7 0xc07b006d in svc_thread_start (arg=3D0xc7de8b80) at /usr/src/sys/rpc/svc.c:1200 #8 0xc06384f7 in fork_exit (callout=3D0xc07b0060 , arg=3D0xc7de8b80, frame=3D0xf405ed08) at /usr/src/sys/kern/kern_fork.c:= 992 #9 0xc08787c4 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:= 279 I have all the files in /var/crash, so if someone wants additional informat= ions I should be able to deliver them. The kernel config file is customized in the sense that I have removed kerne= l items, that aren't used on that machine. One major difference: I use < options NFSCLIENT # Network Filesystem Client < options NFSSERVER # Network Filesystem Server instead of > options NFSCL # New Network Filesystem Client > options NFSD # New Network Filesystem Server because a kernel a few weeks ago immediately crashed with the new NFS-code. But it seems now, that the old NFS-code is also somehow damaged. Ah, and I still have from older releases of FreeBSD the following loader options - do they still make sense? geom_vinum_load=3D"YES" kern.maxdsiz=3D"734003200" vm.pmap.shpgperproc=3D256 vm.pmap.pv_entry_max=3D3145728 'geom_vinum' is used as LVM only, no RAIDs are configured. This server is primarily a Samba server with the SMB-shares exported as NFS= -shares as well for the other *nix-servers around. Because this is the most loaded production server, testing is a bit difficu= lt, restricted to the evening and the weekends. On my two other FreeBSD machines I have no problems at all, one of them is = an identical ProLiant server with a nearly identical kernel config - runs l= ike a charm... Has someone a good advice or further questions? =20 with best regards Matthias Sch=FCndeh=FCtte