Re: Processes blocked on ufs or getblk

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 28 Jan 2004 19:29:22 +0100
In message <EE3D3FBAFFCAED448C21C398FDAD91AC0108E7_at_EBE1.gc.nat>, "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_at_
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_at_.



-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_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.
Received on Wed Jan 28 2004 - 09:29:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC