2007-01-09 23:11:56

by Randy Dunlap

[permalink] [raw]
Subject: ext3 data=journal hangs

Hi,

(2.6.20-rc4, x86_64 1-proc on SMP kernel, 1 GB RAM)

I'm running fsx-linux (akpm ext3-tools version) on an ext3 fs
with data=journal and fs blocksize=2048. I've been trying to
get some kind of kernel messages from it but I can't get any
debug IO done successfully.

It has hung on me 3 times in a row today. I'm using this command:
fsx-linux -l 100M -N 50000 -S 0 fsxtestfile

This is run in a new partition on a IDE drive (/dev/hda7,
using legacy IDE drivers).

Any suggestions for debug output? I can see SysRq output on-screen
(sometimes) but it doesn't make it to my serial console.

Any patches to test? :)

Thanks,
---
~Randy


2007-01-11 00:11:51

by Randy Dunlap

[permalink] [raw]
Subject: Re: ext3 data=journal hangs

On Tue, 9 Jan 2007 15:11:23 -0800 Randy Dunlap wrote:

> Hi,
>
> (2.6.20-rc4, x86_64 1-proc on SMP kernel, 1 GB RAM)
>
> I'm running fsx-linux (akpm ext3-tools version) on an ext3 fs
> with data=journal and fs blocksize=2048. I've been trying to
> get some kind of kernel messages from it but I can't get any
> debug IO done successfully.
>
> It has hung on me 3 times in a row today. I'm using this command:
> fsx-linux -l 100M -N 50000 -S 0 fsxtestfile
>
> This is run in a new partition on a IDE drive (/dev/hda7,
> using legacy IDE drivers).
>
> Any suggestions for debug output? I can see SysRq output on-screen
> (sometimes) but it doesn't make it to my serial console.
>
> Any patches to test? :)

More notes:
Fails (hangs) with fs blocksize of 1024, 2048, or 4096.
On data=journal mode hangs. writeback and ordered run fine.

After several runs (hangs), I was able to get some sysrq output
to the serial console.

kernel config: http://oss.oracle.com/~rdunlap/configs/config-2620-rc4-hangs
message log: http://oss.oracle.com/~rdunlap/logs/fsx-capture.txt

Can anyone see what fsx-linux is waiting on there?

Thanks,
---
~Randy