From owner-freebsd-stable@FreeBSD.ORG Tue Aug 19 11:13:54 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0936BEC for ; Tue, 19 Aug 2014 11:13:54 +0000 (UTC) Received: from st11p09mm-asmtp002.mac.com (st11p09mm-asmtp002.mac.com [17.164.24.97]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 681CC300F for ; Tue, 19 Aug 2014 11:13:54 +0000 (UTC) Received: from [10.71.14.16] (dsl-hkibrasgw1-58c380-33.dhcp.inet.fi [88.195.128.33]) by st11p09mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NAJ00HYGWIKUV00@st11p09mm-asmtp002.mac.com> for freebsd-stable@freebsd.org; Tue, 19 Aug 2014 11:13:35 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.27,0.0.0000 definitions=2014-08-19_02:2014-08-19,2014-08-19,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=21 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1408190135 Content-type: multipart/signed; boundary="Apple-Mail=_E2001D99-8401-4C07-8F07-F268E23DD0CF"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: ZFS on root booting broken somewhere after r270020 From: Kimmo Paasiala In-reply-to: <20140819074643.GU2737@kib.kiev.ua> Date: Tue, 19 Aug 2014 14:13:14 +0300 Message-id: <3082C19A-4DE5-4376-AC24-28D2E85ABAF9@icloud.com> 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> <20140819074643.GU2737@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1878.6) 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 11:13:54 -0000 --Apple-Mail=_E2001D99-8401-4C07-8F07-F268E23DD0CF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 19.8.2014, at 10.46, Konstantin Belousov wrote: > 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 = r270020: 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 = works. More to come. >>>>>=20 >>>>> -Kimmo >>>>=20 >>>> Version r270094 still works but commit r270095 definitely does = break booting from ZFS on root on my system. The error message I see on = the console is ?Mounting from failed with error 5? = and I?m given the mountroot prompt. I don?t see the ZFS pool among the = listed GEOM devices 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-level >>> than ZFS filesystem itself are missing, suggests that the issue is = unrelated. >>> At the very least, start with providing the verbose boot dmesg for = successful >>> and failed boots. >>=20 >> This looks like to be unrelated to ZFS as you?re saying. I just = remembered that I?m loading fuse.ko in my /boot/loader.conf. I commented = that one out and what do you know? The system boots fine with the = r270095 kernel. >>=20 >> Very very strange?=20 > This probably indicates KBI mismatch. >=20 > Is your fuse.ko installed from the kernel build ? > Still, I think the verbose dmesg is the start to look. >=20 The fuse.ko module is from the kernel build because this is on = stable/10, the module loads and works if loaded manually after boot and = doesn=92t seem to affect anything. I don=92t yet have an easy way to = provide the verbose boot log from a failed boot because this is on real = hardware and hooking up a serial console takes some work. I did take a = close look on the messages when I booted with 'boot -v' with the fuse.ko = included but I didn=92t spot anything out of the ordinary. -Kimmo --Apple-Mail=_E2001D99-8401-4C07-8F07-F268E23DD0CF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJT8zFRAAoJEFvLZC0FWRVpef8H/jrMlDZld4dRes9kINoei2p1 ytE5ylvuz2JibqMzEGBBlPQ9f2CiWngaTkxvdMY8EHMtu2Tu9DlJN8dMfWXpA8a8 y1QZqfcc7v0AgYSX+LSxp8/UfyHuS1t5q6+lMV2z859HUZ4nzlGNE44uP5Bm7knl 4CsKrMpcuxouof9O7PjsM59qOnEicPbO3KojdbJAJhTJ9C1YOUuyh7VK4dORRf11 T2rKLs7/IwL4KKohEVML+ETA08/BQQuowogM3vqV4SEcuAFhA8cTukDFTuanIHDD trIEA5wl3dgn8pgULNLDh2oY9Fq1oTVMNW1eyChNwrmx48maut3J+ILMI3x0TKU= =5Lsx -----END PGP SIGNATURE----- --Apple-Mail=_E2001D99-8401-4C07-8F07-F268E23DD0CF--