From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 10:29:29 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 AE07016A4CE for ; Wed, 28 Jan 2004 10:29:29 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E8EC43D4C for ; Wed, 28 Jan 2004 10:29:26 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0SITMuO016675; Wed, 28 Jan 2004 19:29:22 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: "Robin P. Blanchard" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 28 Jan 2004 13:24:11 EST." Date: Wed, 28 Jan 2004 19:29:22 +0100 Message-ID: <16674.1075314562@critter.freebsd.dk> cc: Chip Norkus cc: Robert Watson cc: current@freebsd.org cc: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= cc: Ken Smith Subject: Re: Processes blocked on ufs or getblk 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: Wed, 28 Jan 2004 18:29:29 -0000 In message , "Robin P. Blan chard" writes: >Ok...I've just triggered another stuck getblk process. This time it happened >during "make install" of apache2. Below is an output of a basic ddb You should be able to get your system unstuck by: dd if=/dev/ad0 count=1 of=/dev/null for some value of "ad0". Use the gstat(8) program to find the disk with 1 in the leftmost column and no activity. I've managed to reproduce this here and have been working with sos@ on fiding the crack that things slip through. If you are brave, you can try the patch at http://phk.freebsd.dk/patch/ata.patch which seems to fix this for me, but have not yet been approved by sos@. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.