From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 28 21:10:06 2009 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138D41065692 for ; Mon, 28 Dec 2009 21:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE0CA8FC1A for ; Mon, 28 Dec 2009 21:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBSLA5Fi037164 for ; Mon, 28 Dec 2009 21:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBSLA5x2037163; Mon, 28 Dec 2009 21:10:05 GMT (envelope-from gnats) Date: Mon, 28 Dec 2009 21:10:05 GMT Message-Id: <200912282110.nBSLA5x2037163@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Manuel Tobias Schiller Cc: Subject: Re: sparc64/142102: FreeBSD 8.0 kernel panics on sparc64 when accessing NFS X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Manuel Tobias Schiller List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 21:10:06 -0000 The following reply was made to PR sparc64/142102; it has been noted by GNATS. From: Manuel Tobias Schiller To: Mark Linimon Cc: FreeBSD-gnats-submit@FreeBSD.org, Marius Strobl , Manuel Tobias Schiller Subject: Re: sparc64/142102: FreeBSD 8.0 kernel panics on sparc64 when accessing NFS Date: Mon, 28 Dec 2009 22:06:02 +0100 On Mon, 28 Dec 2009 14:26:50 -0600 Mark Linimon wrote: > Just to add a data point, the Netra T1s in the package build cluster do > not show this problem, so I'm guessing that you are hitting an edge > on large file transfers. We run them pretty hard. > > mcl > Hi Mark, Marius, thanks for the data point. In the meantime, I managed to test a kernel with the "official" fix from PR 140797, and I still get the crash when trying to write a moderately sized file (20 Megabytes) to NFS. According to the backtrace below, it crashes in line 1355 of /usr/src/sys/nfsserver/nfs_srvsubs.c. Since I'm using the fix from the original problem report and RELENG_8_0 sources cvsupped on December 20, I guess that means we are either using different source trees (i.e. there is something in the sources for the kernels used on your machines that helps), or there is some other difference which I have not been able to pinpoint yet. Maybe you could clarify before I try hacking away or finding other differences... Thanks, Manuel ---- backtrack of panic follows ---- panic: trap: memory address not aligned cpuid = 0 KDB: stack backtrace: panic() at panic+0x1c8 trap() at trap+0x4d0 -- memory address not aligned sfar=0xfffff800016d08aa sfsr=0x40029 %o7=0xc0528934 -- nfsm_srvmtofh_xx() at nfsm_srvmtofh_xx+0x24 fha_assign() at fha_assign+0x12c svc_run_internal() at svc_run_internal+0x71c svc_thread_start() at svc_thread_start+0x8 fork_exit() at fork_exit+0x80 fork_trampoline() at fork_trampoline+0x8 Uptime: 2m1s Dumping 512 MB (2 chunks) chunk at 0: 268435456 bytes | -- Homepage: http://www.hinterbergen.de/mala OpenPGP: 0xA330353E (DSA) or 0xD87D188C (RSA)