Re: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

From: Kumar Gala
Date: Mon Feb 19 2007 - 17:28:24 EST

On Feb 19, 2007, at 4:19 PM, OGAWA Hirofumi wrote:

Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> writes:

I usually run the following twice to get the hang state:

time ./trunc_test bar 100000000 &
time ./trunc_test baz 100000000 &

I was wondering if anyone had any suggestions on what to poke at next
to try and figure out what is going on.

Can you check /sys/block/xxx/stat or something to make sure there is
no outstanding IO request?

It seems to be no response from the lower layer...

Once the system locks up I dont have any ability to do anything.

Ah, doesn't sysrq also work? If sysrq work, it can use to see IO
request state with a patch.

Yeah, got sysrq working today. If you can point me at the patch I happy to apply it and get data.

- k

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at