Subject: Re: Strange system hang (amd64)
To: Paul Goyette <paul@whooppee.com>
From: Quentin Garnier <cube@cubidou.net>
List: current-users
Date: 05/27/2007 20:57:24
--XV+ZpsDj7MDTX+FM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 27, 2007 at 11:46:56AM -0700, Paul Goyette wrote:
> I've got this very wierd situation going on...
>=20
> One of my amd64 (zippy) boxes mounts /usr/obj via NFS from the other=20
> box (quicky).  Both are currently running 4.99.18, so it's time to=20
> update to more -current.
>=20
> So, I log in on zippy, and attempt to copy the newest kernel file from
> the NFS-mounted /usr/obj/... filesystem to my root filesystem.  It=20
> promptly creates the output file but then immediately hangs hard.  So=20
> hard that I can't even do an 'ls -l /' command from another session!
>=20
> Attempting to figure out where the problem is, I've reboot both the NFS=
=20
> server as well as the client.  No improvement - hangs in the same place.
>=20
> I've done the following tests
>=20
> 	cp /2MB-file /2MB-copy           Succeeds
> 	cp /2MB-file /dev/null           Succeeds
>=20
> 	cp /usr/obj/2KB-file /2KB-copy   Succeeds
> 	cp /usr/obj/2KB-file /dev/null   Succeeds
>=20
> 	cp /usr/obj/2MB-file /dev/null   Succeeds
> 	cp /usr/obj/2MB-file /2MB-copy   Fails
>=20
> I haven't yet tried copy in the local-FS --> NFS direction yet, but so=20
> far this problem seems to affect only copying of large files from the=20
> NFS file system to the local fs.  (I'm currently running memtestplus=20
> just to eliminate the possibility of memory failure.)
>=20
> Any clues on what's wrong?  Or what else I can do to help narrow this=20
> down?

tcpdump and see what goes on.  It might be as simple as a MTU issue, or
indeed a kernel bug.  You can play with the mount options anyway,
reducing the nfs packet size, switching to TCP, that kind of stuff.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--XV+ZpsDj7MDTX+FM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRlnUk9goQloHrPnoAQJhVAgAvGw/7hyZOxypkW+0EN3HcOnB8VBKmSC2
9556taJ8mI4iNoMHcSOXljrxCe6E968pouDR9j8EYQX6R5IVXzzVAtC7CkxZC4IE
TsQNndFULkGDPdr3NYqRDg4VT8njc1ENGOdNzgpYdCgH5C15qKD7uHZMGqajrLam
01J73aMIQDCzPCyWKXlD+sZ/YzDt97g16nfSlQNXgL7uGmOo/3Xn3V6yT8e+Ad1R
6j2+81Wzld59VtGGUPb58WM33uWJd8NG4ABb1EIgF+S0fGhXbpw+xvVhBp4KkJPP
I3Mb+aU1S52oBrwmqpyIdvlhXRazZrGzwnxhLAAEUaX4PU5ukRrjHw==
=y8Sd
-----END PGP SIGNATURE-----

--XV+ZpsDj7MDTX+FM--