Re: Hang during rm on ext2 mounted sync (2.6.14-rc2+)

From: Chris Sykes
Date: Fri Sep 23 2005 - 07:20:04 EST


On Fri, Sep 23, 2005 at 01:57:19AM -0700, Andrew Morton wrote:
> Odd. Seems OK here. How hard is it to make it occur?

The following always works first time on an affected kernel (I'm just
mimmicing that update-grub did at the point it hung on me):

cd /to_ext2_fs_mounted_with_sync
cp /boot/grub/menu.lst menu.lst.new
cat menu.lst.new >menu.lst
rm menu.lst.new

> I'd be suspecting a lost I/O completion from the device driver. Are you
> really sure that ext3 cannot be made to do the same thing?

I just ran the above 1000 times on 2.6.13-git10 (also affected), on
ext3, no hung rm process.
Running on ext2, rm hangs first time.

> Suggest you generate the `dmesg -s 1000000' output for both good and bad
> kernels, do a `diff -u' on them and look for IDE complaints (or SCSI, if
> you're on SCSI).

OK will do.

Initial testing suggests that 2.6.13-git9 is good while 2.6.13-git10
that I'm running now fails. I'll verify this and have a look at dmesg
output as well.

--

(o- Chris Sykes
//\ "Don't worry. Everything is getting nicely out of control ..."
V_/_ Douglas Adams - The Salmon of Doubt
GPG Fingerprint: 5E8E D17F F96C CC08 911D CAF2 9049 70D8 5143 8090

Attachment: signature.asc
Description: Digital signature