From owner-freebsd-current Mon Apr 24 22:52:34 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA14533 for current-outgoing; Mon, 24 Apr 1995 22:52:34 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA14516 for ; Mon, 24 Apr 1995 22:52:19 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id PAA17451; Tue, 25 Apr 1995 15:48:15 +1000 Date: Tue, 25 Apr 1995 15:48:15 +1000 From: Bruce Evans Message-Id: <199504250548.PAA17451@godzilla.zeta.org.au> To: curt@mofo.emergent.com Subject: Re: kern/360: filesystem deadlock Cc: current@FreeBSD.org Sender: current-owner@FreeBSD.org Precedence: bulk >>Synopsis: filesystem deadlock trivial to produce > the filesystem deadlocks when installing a file to itself. > a ktrace shows a strange sequence: > at this point, deadlock with ps -l reporting ufslk2 > >>How-To-Repeat: > cd /tmp > cp /etc/termcap . > install -c -m 0644 termcap /tmp > >lockup< I think the deadlock was fixed a couple of days ago. >>Fix: > don't install a file to itself. I tried it anyway :-). The mmapping stuff causes the installed copy to be filled to the correct size with garbage. No error is detected. Bruce