From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 11:26:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81C8C16A4CE for ; Thu, 4 Mar 2004 11:26:52 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64AFD43D1D for ; Thu, 4 Mar 2004 11:26:52 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 53BE072DCB; Thu, 4 Mar 2004 11:26:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 51BDF72DB5; Thu, 4 Mar 2004 11:26:52 -0800 (PST) Date: Thu, 4 Mar 2004 11:26:52 -0800 (PST) From: Doug White To: Chris Shenton In-Reply-To: <86k720bqbt.fsf@PECTOPAH.shenton.org> Message-ID: <20040304112306.E21028@carver.gumbysoft.com> References: <86k720bqbt.fsf@PECTOPAH.shenton.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org Subject: Re: 5.2 "ls -l /" hangs; ^C and kill -9 no help; NFS? 5.1 is OK X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 19:26:52 -0000 On Thu, 4 Mar 2004, Chris Shenton wrote: > Current and new kernel from last week: > > FreeBSD PECTOPAH.shenton.org 5.2-CURRENT FreeBSD 5.2-CURRENT #18: Thu Feb 26 09:24:28 EST 2004 chris@PECTOPAH.shenton.org:/usr/obj/usr/src/sys/PECTOPAH i386 > > When emacs does or I do in a shell an "ls /" it hangs. Neither ^C nor > ^Z help, and root using "kill -9" has no effect on the hung processes: 'ps axlwww' is generally more useful in these cases since it shows the wchan -- what the processs is blocking in. > chris 69584 0.0 0.1 1492 912 p7- D 9:40AM 0:00.01 /bin/ls -al -- /. > > A truss suggests it might be hanging on the NFS mount I have on an old > NetApp. It does NOT hang with simple "ls /netapphome" but does if I > use "ls -l /netapphome". I had hooked up the NetApp last week but had > some problems, so I left the mounts in place. But it looks like some > "ls" I did on those mounts last week are still stuck (Thu11AM above > must be from last week because it's 10am Thursday now). Unless you mounted the NFS volume soft for interruptible (intr), these are stuck permanently. Welcome to the joys of NFS. :) If you're seeing this on new mounts, I strongly sugget getting a network capture and viewing it with ethereal. Its quite good at decoding the RPC calls and can shed some light on the situation. You can use tcpdump's save capability to view the capture on another box if you don't run X off this machine. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org