Date: Tue, 19 Aug 2014 14:13:14 +0300 From: Kimmo Paasiala <kpaasial@icloud.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: ZFS on root booting broken somewhere after r270020 Message-ID: <3082C19A-4DE5-4376-AC24-28D2E85ABAF9@icloud.com> In-Reply-To: <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> <20140819074643.GU2737@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 19.8.2014, at 10.46, Konstantin Belousov <kostikbel@gmail.com> wrote: > On Tue, Aug 19, 2014 at 10:32:08AM +0300, Kimmo Paasiala wrote: >> >> On 19.8.2014, at 10.10, Konstantin Belousov <kostikbel@gmail.com> wrote: >> >>> On Tue, Aug 19, 2014 at 07:40:46AM +0300, Kimmo Paasiala wrote: >>>> >>>> On 18.8.2014, at 8.54, Kimmo Paasiala <kpaasial@icloud.com> wrote: >>>> >>>>> >>>>> On 18.8.2014, at 2.32, Kimmo Paasiala <kpaasial@icloud.com> wrote: >>>>> >>>>>> System is: >>>>>> >>>>>> 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 >>>>>> >>>>>> This version still works fine. The one that didn?t work was r270097. The kernel boots but gets stuck at the line: >>>>>> >>>>>> Trying to mount root from zfs:pool/ROOT/default [] >>>>>> >>>>>> I tried pressing enter at this point but got a panic, I don?t have a screenshot of the panic at the moment. >>>>>> >>>>>> Could this problem be related the this commit? : >>>>>> >>>>>> http://svnweb.freebsd.org/base?view=revision&sortby=rev&sortdir=down&revision=270095 >>>>>> >>>>>> -Kimmo >>>>> >>>>> Trying to bisect this I backed to r270050 and that version still works. More to come. >>>>> >>>>> -Kimmo >>>> >>>> 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 <the ZFS filesystem> 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. >>>> >>>> Adding the committer of r270095 (kib@) to this discussion. >>> >>> 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. >> >> 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. >> >> Very very strange? > 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. > 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’t seem to affect anything. I don’t 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’t spot anything out of the ordinary. -Kimmo [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3082C19A-4DE5-4376-AC24-28D2E85ABAF9>
