From owner-freebsd-i386@FreeBSD.ORG Tue Oct 21 14:27:14 2008 Return-Path: Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E75D106569E; Tue, 21 Oct 2008 14:27:14 +0000 (UTC) (envelope-from freebsd@nagilum.org) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id C71D08FC21; Tue, 21 Oct 2008 14:27:13 +0000 (UTC) (envelope-from freebsd@nagilum.org) Received: from cakebox.homeunix.net (p5B2F3717.dip0.t-ipconnect.de [91.47.55.23]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KsI0K2mpp-0000hG; Tue, 21 Oct 2008 16:14:36 +0200 Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 92D6131FA01; Tue, 21 Oct 2008 16:13:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on cakebox.tis X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 Received: by cakebox.homeunix.net (Postfix, from userid 80) id A7CBB31F983; Tue, 21 Oct 2008 16:13:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cakebox.home (Horde Framework) with HTTP; Tue, 21 Oct 2008 16:13:35 +0200 Message-ID: <20081021161335.16813jeihi1yr440@cakebox.home> X-Priority: 3 (Normal) Date: Tue, 21 Oct 2008 16:13:35 +0200 From: Alexander To: kib@FreeBSD.org References: <200810210936.m9L9acdg036825@freefall.freebsd.org> In-Reply-To: <200810210936.m9L9acdg036825@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_710qwra00rk0" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-7.1 X-Provags-ID: V01U2FsdGVkX1/B+FuMwba0b3r6jK2cMgnBPLqLOJlRCakrgxF qq8pEU/UpDzAqq2bgRPOz8HxvLHKWs6kOuXHBgXfwqTG+cN5T2 skBcCma+qzXDbao09q43xFkhEPzSv4N Cc: freebsd-i386@FreeBSD.org Subject: Re: i386/123768: [panic] [vm] 7.0-STABLE locking issue on Soekris net4801 (sys/vm/vm_pageout.c) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 14:27:14 -0000 This message is in MIME format. --=_710qwra00rk0 Content-Type: text/plain; charset=ISO-8859-2; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks a lot for looking into this. I backported patch to RELENG_7 (attached), kernel build is in progress, unfortunately it will take about two days. Then another day or two to test & verify. Thanks & best regards, Alex. ----- Message from kib@FreeBSD.org --------- Date: Tue, 21 Oct 2008 09:36:38 GMT From: kib@FreeBSD.org Subject: Re: i386/123768: [panic] [vm] 7.0-STABLE locking issue on =20 Soekris net4801 (sys/vm/vm_pageout.c) To: freebsd@nagilum.org, kib@FreeBSD.org, freebsd-i386@FreeBSD.org > Synopsis: [panic] [vm] 7.0-STABLE locking issue on Soekris net4801 =20 > (sys/vm/vm_pageout.c) > > State-Changed-From-To: open->analyzed > State-Changed-By: kib > State-Changed-When: Tue Oct 21 09:35:51 UTC 2008 > State-Changed-Why: > Take, I am going to commit Tor' patch. > > > Responsible-Changed-From-To: freebsd-i386->kib > Responsible-Changed-By: kib > Responsible-Changed-When: Tue Oct 21 09:35:51 UTC 2008 > Responsible-Changed-Why: > Take, I am going to commit Tor' patch. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D123768 > ----- End message from kib@FreeBSD.org ----- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # _ __ _ __ http://www.nagilum.org/ \n icq://69646724 # # / |/ /__ ____ _(_) /_ ____ _ nagilum@nagilum.org \n +491776461165 # # / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / Linux / MacOS9 # # /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---------------------------------------------------------------- cakebox.homeunix.net - all the machine one needs.. --=_710qwra00rk0 Content-Type: text/plain; charset=UTF-8; name="vopt.patch" Content-Disposition: attachment; filename="vopt.patch" Content-Transfer-Encoding: 7bit --- vfs_vnops.c.bak 2008-08-31 23:27:05.000000000 +0200 +++ vfs_vnops.c 2008-10-21 15:53:53.000000000 +0200 @@ -904,12 +904,17 @@ while ((mp->mnt_kern_flag & MNTK_SUSPEND) != 0) { if (flags & V_NOWAIT) { error = EWOULDBLOCK; + if (vp != NULL) + *mpp = NULL; goto unlock; } error = msleep(&mp->mnt_flag, MNT_MTX(mp), (PUSER - 1) | (flags & PCATCH), "suspfs", 0); - if (error) + if (error) { + if (vp != NULL) + *mpp = NULL; goto unlock; + } } if (flags & V_XSLEEP) goto unlock; @@ -959,6 +964,8 @@ if (flags & V_NOWAIT) { MNT_REL(mp); MNT_IUNLOCK(mp); + if (vp != NULL) + *mpp = NULL; return (EWOULDBLOCK); } /* @@ -1024,6 +1031,8 @@ vfs_rel(mp); if (error == 0) goto retry; + if (vp != NULL) + *mpp = NULL; return (error); } --=_710qwra00rk0--