Date: Mon, 22 Oct 2018 14:15:27 +0000 From: Glen Barber <gjb@freebsd.org> To: Eugene Grosbein <eugen@grosbein.net> Cc: Andriy Gapon <avg@freebsd.org>, FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: krpc: unbootable ZFS-on-root after major upgrade to 11.2 Message-ID: <20181022141527.GF13668@FreeBSD.org> In-Reply-To: <1d5236b8-0269-5dce-3f2e-e7b1910836c6@grosbein.net> References: <8517429b-9e3b-2ea3-80a6-12fc92106252@grosbein.net> <6627d159-fd52-2d10-2d45-97fd02725adc@FreeBSD.org> <5BC9A2E4.9010306@grosbein.net> <6c2f8adb-c0e7-550b-8595-e7a4768d5157@FreeBSD.org> <f6249da6-db28-6672-5d4f-3e711e98f87e@grosbein.net> <20181022140304.GE13668@FreeBSD.org> <1d5236b8-0269-5dce-3f2e-e7b1910836c6@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sw7tCqrGA+HQ0/zt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 22, 2018 at 09:09:14PM +0700, Eugene Grosbein wrote: > 22.10.2018 21:03, Glen Barber wrote: >=20 > t's strange that this is a 10.x vs 11.x issue. > >>> I see that zfs has the krpc dependency since r193128. > >>> And the call to xdrmem_create is there since r168404. > >> > >> You are right. I was mis-informed and have not verified enough a repor= t from local user. > >> > >> Glen, maybe that errata record should be deleted. The problem is real = but it is long-standing > >> and present in 10.x too. > >> > >=20 > > Could you elaborate more on the failure case you originally reported > > first? If the problem is real, my feeling is that the errata entry > > should stay, just worded differently to reflect the failure case here. >=20 > zfs.ko depends on krpc.ko. The KRPC code in compiled in GENERIC kernel as= dependency > of NFS client/server code. The problem arises if all of these are true: >=20 > 1) a system uses custom kernel with NFS options removed; > 2) there is no krpc.ko available due to MODULES_OVERRIDE excluding it; > 3) the system boots off ZFS pool. >=20 > In such case, loader cannot resolve dependency and fails to load zfs.ko > and kernel fails to mount root breaking boot sequence. >=20 >=20 So, if I understand correctly (and please correct me if I am wrong), the majority of the text in the errata note is correct, however needs to be tweaked to remove "upgrading from 10.x...". Is this generally correct? Glen --Sw7tCqrGA+HQ0/zt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAlvN238ACgkQAxRYpUeP 4pMl5g/9FJ15APPdi/UMSY9eZ+GOO4KHyGcZS9KlTwRAhTX//i8Ec702PgaApqGH 4VhX4yIocrXOfEWRoSGsEQaUNlRPyxZo49vu19ujC6o9pBWLZpfYogvKnfXsHAsy GtYEInpR7uWCCATnAbPxYviYkKmcMKXOu4CMRbbfNe+RNRjW2pCpk9YrQva1vGrI cBy2SJ6L1LyQPvhj86Kj+XE+6XVIuOoDTygk5sCDPnIed9TWh67yO8zHnqsb3Qxp GYJ9tcGbhdz6o8IjtlB1c4+dsKKW8ClzvaOTrXrlPJAkYCXxp8Dek6SLppFq15oo dfwHbvl4CynuGkHat6Rkwhmx/l3lBVP1dkNFLyPqlF8+L52MqYRjNoiX+377nq/K FvksnoalUkukhsdGQl3BurgXwG5Qaddc6P6kpwFpFNPA3GP2G0NWhAA4aXcRl5Dw YhSLKmgNx1QwZsDsOWosWTTVp2C/nOYj86EhkdqghVM8giyFpv3rEtYklkmZtHdO 6/VLYebOt0fPL6YwHMzP1nb/vvjukjYEtghIgmUs/BAKPT6SRDP+idYMtQaLeRcC 7a1VeoDOO90PQsrFGg1WU+sWjrh8jCPLcnJbOCL2Hk+jAVgqYOgGtFUcZ/xHRliZ 9cud9uX8zDMYUoDzLFxBScU1WcZg1LPwDkOmF2l2TKojApIMn1Y= =K8ne -----END PGP SIGNATURE----- --Sw7tCqrGA+HQ0/zt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181022141527.GF13668>