From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 28 19:20:04 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 EED861065670 for ; Mon, 28 Dec 2009 19:20:04 +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 DDFF78FC20 for ; Mon, 28 Dec 2009 19:20:04 +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 nBSJK49q037018 for ; Mon, 28 Dec 2009 19:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBSJK4gk037017; Mon, 28 Dec 2009 19:20:04 GMT (envelope-from gnats) Date: Mon, 28 Dec 2009 19:20:04 GMT Message-Id: <200912281920.nBSJK4gk037017@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 19:20:05 -0000 The following reply was made to PR sparc64/142102; it has been noted by GNATS. From: Manuel Tobias Schiller To: Marius Strobl Cc: bug-followup@FreeBSD.org, Manuel Tobias Schiller Subject: Re: sparc64/142102: FreeBSD 8.0 kernel panics on sparc64 when accessing NFS Date: Mon, 28 Dec 2009 20:15:24 +0100 On Mon, 28 Dec 2009 19:26:47 +0100 Marius Strobl wrote: > > Dear Marius, > > > > sorry, I searched, but I failed to spot PR 140797. I don't think that > > the panic I'm seeing after my change has to do with the size > > parameter (if it's incorrect though, please let me know). With the > > change I can read files and do directory lookups just fine (tested > > with a 45 Gigabyte file). I get the crash the minute I'm trying to > > write a file to the NFS share. > > > > Yes, the size parameter in your patch is wrong. I also can't reproduce > your remaining problem with the stock sources, I haven't checked whether > it could be releated with using an incorrect size parameter though. > > Marius Dear Marius, looking a bit more closely, I also agree that the size parameter is incorrect. However, it should not make a difference on sparc64, since sizeof(u_int64_t *) = 8 = sizeof(u_int64_t). I started a new kernel build with the official fix in PR 140797 right after I wrote my last e-mail, and with any luck, it should finish in an hour or so. I'll let you know if I can reproduce the panic with the official fix. Thanks, Manuel -- Homepage: http://www.hinterbergen.de/mala OpenPGP: 0xA330353E (DSA) or 0xD87D188C (RSA)