Date: Sun, 27 Nov 2011 11:59:13 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: freebsd-fs@FreeBSD.org Subject: Re: NFS corruption in recent HEAD. Message-ID: <20111127105913.GH8794@garage.freebsd.pl> In-Reply-To: <1798569802.431412.1322359425997.JavaMail.root@erie.cs.uoguelph.ca> References: <20111126165823.GD8794@garage.freebsd.pl> <1798569802.431412.1322359425997.JavaMail.root@erie.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--Dx9iWuMxHO1cCoFc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Nov 26, 2011 at 09:03:46PM -0500, Rick Macklem wrote:
> Pawel Jakub Dawidek wrote:
> > Hi.
> >=20
> > I'm booting machine over the network using new NFS client and I'm
> > getting those warnings on boot:
> >=20
> > /etc/rc.subr: 666: Syntax error: "(" unexpected (expecting ";;")
[...]
> Oh, and maybe you could try reverting r227543 in the client (assuming
> the client is post-r227543). Maybe that file's vnode type isn't set to
> VREG early in the diskless booting and needs the ncl_flush() for some
> reason.
>=20
> I don't actually have a bug that needs r227543 to fix it. It just seemed
> incorrect to flush non-VREG files (particularily VDIR). As such, reverting
> it wouldn't be a big deal.
I haven't tried reverting anything yet, but I think I was able to
reproduce this with old NFS client as well. The problem goes away when I
comment out root mount point from /etc/fstab or remove mntudp from mount
options. NFS root is mounted using TCP, AFAIK and it probably happens
when startup scripts (rc.d/mountcritremote) remounts root with mntudp
flag. The rc.subr warning starts to appear just after mountcritremote is
called.
--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
--Dx9iWuMxHO1cCoFc
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEARECAAYFAk7SGAEACgkQForvXbEpPzR0jgCfSk7qlWbtlihOUj/0Cw2osf0T
baMAoL+2PaO1uOzI02VySRccGJuqw0/Q
=eelX
-----END PGP SIGNATURE-----
--Dx9iWuMxHO1cCoFc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111127105913.GH8794>
