From owner-freebsd-current Fri Dec 6 10:45: 7 2002 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 BEB0137B404; Fri, 6 Dec 2002 10:45:04 -0800 (PST) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE5CE43EC2; Fri, 6 Dec 2002 10:45:03 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA98515; Fri, 6 Dec 2002 10:39:37 -0800 (PST) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id gB6Id4FF064746; Fri, 6 Dec 2002 10:39:04 -0800 (PST) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id gB6Id3Bn064745; Fri, 6 Dec 2002 10:39:03 -0800 (PST) From: Archie Cobbs Message-Id: <200212061839.gB6Id3Bn064745@arch20m.dellroad.org> Subject: Re: backgroud fsck is still locking up system (fwd) In-Reply-To: <200212060101.gB611u59092060@beastie.mckusick.com> To: Kirk McKusick Date: Fri, 6 Dec 2002 10:39:03 -0800 (PST) Cc: Archie Cobbs , Robert Watson , freebsd-current@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kirk McKusick wrote: > Does the background fsck process continue to run, or does the whole > system come to a halt? If the fsck process continues to run, what > happens when it eventually finishes? Is the system still dead, or > does it come back to life? If the system does not come back to life > can you get me the output of `ps axl'? If not, can you break into > the debugger and get a ps output? (You will need to have the DDB > option specified in your config file). OK, here is some more info.. I easily reproduced the problem again. So far it's 100% reproducible. This time to reproduce it simply booted in single user mode, typed "mount -a -t nonfs" and then pulled the plug. After the reboot, the HDD light soon stops blinking altogether. I waited for several minutes (which should have been long enough) and it never came back to life, which is not surprising considering there's no disk activity. Breaking into the debugger still works. However, pressing the soft power button no longer causes a graceful shutdown as it normally does. To copy the 'ps' debugger output, I'd have to manually copy it all, so here are just a few highlights: Proc State ---- ----- fsck_ufs 0004000 norm[SLPQ nbufbs c036e5b0][SLP] fsck 0004002 norm[SLPQ wait c124dce8][SLP] syncer 0000204 norm[SLPQ nbufbs c036e5b0][SLP] vnlru 0000204 norm[SLPQ vlruwt c12c0ce8][SLP] bufdaemon 0000204 norm[SLPQ qsleep c036e5a4][SLP] swapper 0000200 norm[SLPQ sched c0315a20][SLP] Softupdates is enabled on /usr and /var but not /. This machine also acts as an NFS client for /home/archie. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message