From owner-freebsd-stable@FreeBSD.ORG Wed Apr 16 14:40:28 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29E0267F for ; Wed, 16 Apr 2014 14:40:28 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F29671736 for ; Wed, 16 Apr 2014 14:40:27 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id DE275B982; Wed, 16 Apr 2014 10:40:26 -0400 (EDT) From: John Baldwin To: Claude Buisson Subject: Re: Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels Date: Wed, 16 Apr 2014 10:38:55 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <534E5058.20106@orange.fr> In-Reply-To: <534E5058.20106@orange.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201404161038.55512.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 16 Apr 2014 10:40:27 -0400 (EDT) Cc: FreeBSD stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2014 14:40:28 -0000 On Wednesday, April 16, 2014 5:41:44 am Claude Buisson wrote: > On 04/16/2014 10:09, Trond Endrest=F8l wrote: > > On Tue, 15 Apr 2014 19:44+0200, Trond Endrest=F8l wrote: > > > >> On Fri, 11 Apr 2014 18:38+0200, Trond Endrest=F8l wrote: > >> > >>> Hi, > >>> > >>> I have a couple of uncritical systems running stable/8 r258344. > >>> Hardware is Dell OptiPlex GX260, BIOS A09, which is the latest rev. > >>> > >>> The r264339 GENERIC kernel are unable to mount the root fs from the > >>> hard drive using MBR, FreeBSD slice, and UFS volume labels. > >>> > >>> r258344 obviously can. > >>> > >>> I even tried regular device names like /dev/ad0s1a in /etc/fstab, and > >>> at the mountroot> prompt, i.e. ufs:/dev/ad0s1a. The kernel still > >>> cannot mount the root fs. > >>> > >>> The new kernel (r264339) does recognize the ad0 harddrive, and ad0 is > >>> listed as one of the GEOM managed disk devices; acd0 being the other > >>> one. > >>> > >>> Do I need to load additional geom modules, or is it a genuine bug? > >>> > >>> I have recreated the same conditions on a spare GX260, yes, I have > >>> plenty of them. > >> > >> I believe I have identified r262226 as the offending commit. > >> > >> Maybe the flags integer is set to a bad value before the calls to > >> resource_list_alloc(). > >> > >> My spare system is currently recompiling r262221 of both world and > >> kernel, and I hope to confirm this assumption in a few hours. > > > > Confirmed. > > > >> If all goes well, I intend to move forward to the latest revision of > >> stable/8, back out the change done to sys/dev/pci/pci.c in r262226, > >> recompile world and kernel, install the kernel, and if successfully, > >> I'll install world as well. > > > > Confirmed, stable/8 r264519 with r262226 backed out does indeed work > > on a Dell OptiPlex GX260, BIOS A09. > > >=20 > Just another data point related to r262226: >=20 > Yesterday, I upgraded a stable/8 system from r260539 to r264426, which co= uld not=20 > finish booting. In my case, it stopped just after detecting an agp card (= and=20 > could boot if agp was disabled by device.hints). >=20 > Reverting r262226 gave me back a fully usable system. >=20 > This system is also a Dell, but a (oldish) Dimension 4550 BIOS A08. >=20 > > Any chance anyone would like to dig deeper into the matter? > > Should I file a PR? > > >=20 > I think so, if jhb (cced) keep being interested in stable/8.. >=20 > BTW, this morning I succeeded in booting a stable/10 snapshot r264194 USB= stick=20 > on this machine. Can you get a verbose dmesg with and without the change? =2D-=20 John Baldwin