From owner-freebsd-questions Mon Aug 6 13:17:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id E705A37B403 for ; Mon, 6 Aug 2001 13:17:18 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 30585 invoked by uid 100); 6 Aug 2001 16:17:17 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15214.49933.44428.304768@guru.mired.org> Date: Mon, 6 Aug 2001 11:17:17 -0500 To: Duke Normandin <01031149@3web.net> Cc: Mike Meyer , questions@freebsd.org Subject: Re: PID with a 'D' status - what to do? In-Reply-To: <20010806052259.A231411@mandy.rockingd.calgary.ab.ca> References: <85913237@toto.iv> <15214.16928.322835.749014@guru.mired.org> <20010806052259.A231411@mandy.rockingd.calgary.ab.ca> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Duke Normandin <01031149@3web.net> types: > On Mon, Aug 06, 2001 at 02:07:12AM -0500, Mike Meyer wrote: > > Duke Normandin <01031149@3web.net> types: > > > What is the proper way to deal with a PID having a "D" status - i.e., > > > it's uninterruptable - so that I can 'shutdown' cleanly? > > D is supposed to be a short term wait. If it's waiting on something > > that's never going to happen, you might as well ignore it and shut > > down anyway. What's it waiting on? > > The pid is an attempt at mounting my CD Changer which my recent posts > outline. It never does mount. I did a 'shutdown -h now' on a couple of > these occasions only to have the system hang after the "sync message" on > exit. The subsequent boot then produced a warning that the system had not > been shutdown properly. So I was wondering if there was an "I don't care! > kill this pid" command? I don't think anyone has ever written such a thing. If "kill -KILL" doesn't make it go away, it isn't going to go away. Being hung waiting on broken hardware is a typical cause of such things, and there's not much that can be done other than getting the hardware fixed. What's the text of the message about "not shut down properly"? You might check /var/log/console.log to see if it showed up there. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message