From owner-svn-src-all@FreeBSD.ORG Tue Nov 25 15:29:28 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03CD54AA; Tue, 25 Nov 2014 15:29:28 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF6AAB9; Tue, 25 Nov 2014 15:29:26 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id sAPFTMjr092871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 25 Nov 2014 18:29:22 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id sAPFTMBt092870; Tue, 25 Nov 2014 18:29:22 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 25 Nov 2014 18:29:22 +0300 From: Gleb Smirnoff To: Ruslan Bukin Subject: Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm Message-ID: <20141125152922.GX47144@FreeBSD.org> References: <201411231201.sANC1rW1025589@svn.freebsd.org> <20141124110537.GA41282@bsdpad.com> <20141124173733.GI17068@kib.kiev.ua> <20141124180356.GA47782@bsdpad.com> <20141124192902.GQ47144@FreeBSD.org> <20141124211620.GA49975@bsdpad.com> <20141125073145.GT47144@FreeBSD.org> <20141125122754.GA57252@bsdpad.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141125122754.GA57252@bsdpad.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Konstantin Belousov , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2014 15:29:28 -0000 On Tue, Nov 25, 2014 at 12:27:54PM +0000, Ruslan Bukin wrote: R> On Tue, Nov 25, 2014 at 10:31:45AM +0300, Gleb Smirnoff wrote: R> > On Mon, Nov 24, 2014 at 09:16:20PM +0000, Ruslan Bukin wrote: R> > R> On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: R> > R> > On Mon, Nov 24, 2014 at 06:03:56PM +0000, Ruslan Bukin wrote: R> > R> > R> > I this on stock kernel or on kernel with your modifications ? R> > R> > R> R> > R> > R> Stock one. I also checked with no virtio but MDROOT - same problems. R> > R> > R> > R> > I could expect a panic with a damaged 'struct buf', but not vm_page. R> > R> > R> > R> > Can you please do a clean build pre-r274914, and then again a clean R> > R> > build of r274914, and then confirm that the former is stable, but the R> > R> > latter panics? R> > R> R> > R> Yes, I just proceeded re-check both builds with removing obj dir each time and I still see the problem starting with r274914. R> > R> R> > R> Also restoring files like that on latest head makes things happy (no panics): R> > R> svnlite up -r274913 sys/kern/vfs_default.c sys/kern/vnode_if.src sys/sys/buf.h sys/sys/vnode.h sys/ufs/ffs/ffs_vnops.c sys/vm/swap_pager.c sys/vm/vm_pager.h sys/vm/vnode_pager.c sys/vm/vnode_pager.h R> > R> > Can you please try to un-union the struct buf and see if it helps? R> > R> R> Hi, R> R> Un-unioning helps partially: I receive much less panics and able to boot until login prompt in ~ 1/3 attempts with patch attached. What happens then? Same panic as w/o patch? -- Totus tuus, Glebius.