From owner-freebsd-stable@FreeBSD.ORG Tue Aug 19 07:46:50 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 9AFD6D27 for ; Tue, 19 Aug 2014 07:46:50 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2124D3B57 for ; Tue, 19 Aug 2014 07:46:49 +0000 (UTC) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s7J7khAm087262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Aug 2014 10:46:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua s7J7khAm087262 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id s7J7kh58087258; Tue, 19 Aug 2014 10:46:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 19 Aug 2014 10:46:43 +0300 From: Konstantin Belousov To: Kimmo Paasiala Subject: Re: ZFS on root booting broken somewhere after r270020 Message-ID: <20140819074643.GU2737@kib.kiev.ua> References: <51AD1F36-1089-481F-8784-8BD8E6EF020F@icloud.com> <71DEB316-3CDD-4403-A397-BCE684725ABD@icloud.com> <25886C53-39C1-47A8-95F7-494FA6E7ABA2@icloud.com> <20140819071045.GS2737@kib.kiev.ua> <99FB0662-1954-4ECB-939B-06D0AA49C1A1@icloud.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E9b8Qrao4pLwl/2H" Content-Disposition: inline In-Reply-To: <99FB0662-1954-4ECB-939B-06D0AA49C1A1@icloud.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 07:46:50 -0000 --E9b8Qrao4pLwl/2H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 19, 2014 at 10:32:08AM +0300, Kimmo Paasiala wrote: >=20 > On 19.8.2014, at 10.10, Konstantin Belousov wrote: >=20 > > On Tue, Aug 19, 2014 at 07:40:46AM +0300, Kimmo Paasiala wrote: > >>=20 > >> On 18.8.2014, at 8.54, Kimmo Paasiala wrote: > >>=20 > >>>=20 > >>> On 18.8.2014, at 2.32, Kimmo Paasiala wrote: > >>>=20 > >>>> System is: > >>>>=20 > >>>> FreeBSD freebsd10.rdnzl.info 10.0-STABLE FreeBSD 10.0-STABLE #2 r270= 020: Fri Aug 15 20:38:59 EEST 2014 kimmo@buildstable10amd64.rdnzl.info:= /usr/obj/usr/src/sys/GENERIC amd64 > >>>>=20 > >>>> This version still works fine. The one that didn?t work was r270097.= The kernel boots but gets stuck at the line: > >>>>=20 > >>>> Trying to mount root from zfs:pool/ROOT/default [] > >>>>=20 > >>>> I tried pressing enter at this point but got a panic, I don?t have a= screenshot of the panic at the moment. > >>>>=20 > >>>> Could this problem be related the this commit? : > >>>>=20 > >>>> http://svnweb.freebsd.org/base?view=3Drevision&sortby=3Drev&sortdir= =3Ddown&revision=3D270095 > >>>>=20 > >>>> -Kimmo > >>>=20 > >>> Trying to bisect this I backed to r270050 and that version still work= s. More to come. > >>>=20 > >>> -Kimmo > >>=20 > >> Version r270094 still works but commit r270095 definitely does break b= ooting from ZFS on root on my system. The error message I see on the consol= e is ?Mounting from failed with error 5? and I?m give= n the mountroot prompt. I don?t see the ZFS pool among the listed GEOM devi= ces on the mountroot prompt. > >>=20 > >> Adding the committer of r270095 (kib@) to this discussion. > >=20 > > I have no idea about ZFS, but the fact that things, which are lower-lev= el > > than ZFS filesystem itself are missing, suggests that the issue is unre= lated. > > At the very least, start with providing the verbose boot dmesg for succ= essful > > and failed boots. >=20 > This looks like to be unrelated to ZFS as you?re saying. I just remembere= d that I?m loading fuse.ko in my /boot/loader.conf. I commented that one ou= t and what do you know? The system boots fine with the r270095 kernel. >=20 > Very very strange?=20 This probably indicates KBI mismatch. Is your fuse.ko installed from the kernel build ? Still, I think the verbose dmesg is the start to look. >=20 > Thanks for the input anyway, >=20 > -Kimmo >=20 >=20 >=20 --E9b8Qrao4pLwl/2H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT8wDjAAoJEJDCuSvBvK1BNGgQAJTleEksE1iHJIgL478oVB8K 1mHxGDMW48gHQYSIho6K/mMRylKz3pumJ0rdlOWLTZZYYdOUfOar+be9TcCbk43G hWb6kABcsTd8izuAgTQejGVu9TUq9A4TrSAJFrTKnvFXNXv3/fk3aCb0+2PlA3q7 NR0EEdSr5LhoJgIBtRBtFKSqKX/QkseGspjIsaGcQaJqPkrJCpmzdZ/L5wwGhVSN 3tjVwVOPA9PXT9dctWESBmqXclJTjA4dHA3v47dXctcf5BtVP0LSENtgXIMeQRY2 F/oWp1hNtF7F4V+Ve2Cu34jML+mE6x269TuJl0fPQNDtIiVCIT62gKiPHOota+az z2W/794XwONU56PHSVXBMbMCcO3DtKZFEwPkKE5DiuYAdcl6sQi+mopkNW3jO2Mc WiLxXWshYh2hgotpk5k7/U4J3ho0kUxT7QnUkIt/f37/vwQVcdczTaZlOpIwmOg+ l+4M++px12fEJPVejtPkUdTQd3aQ6GitopwOust2zfE15soFBU1l6rUFBzbppxog iFoadZwzIXoFURQKW/5D1U8Je+S89mVAgJY088pQBeR0rrJO8d0USMdlvo9v/zNu uihdY0nh+c3Y53pyKsXDBYwJ/iNnwajACewYWaGBNzifNsowNhAAmdmq26ynG7AX 6WkAsZa41cb06ufKeEcz =ChIE -----END PGP SIGNATURE----- --E9b8Qrao4pLwl/2H--