Re: [Fwd: blk_congestion_wait() with linux-2.5.68]

Jens Axboe
2003-05-22T15:05:52Z

On Thu, May 22 2003, Mathew Spencer wrote:
> I have been using 2.4.19 successfully for a while now with an PCI IDE
> disk drive with no problems whatsoever. I recently upgraded to 2.5.68
> (so that I could use the most recent ieee1394 drivers) and also to start
> experimenting with the new version of the kernel and since then I am
> having problems formatting the hard disk.
>
> When I run mke2fs, it manages to write out the first 12 or 13 blocks
> successfully, but then the code gets stuck continually calling
> blk_congestion_wait() from balance_dirty_pages().
>
> This is the only time that I see this problem. If the disk is already
> formatted, then mounting/reading/writing to the disk happens without any
> problems at all.
>
> Is anyone out there aware of this problem?

Any messages in dmesg? It sounds like io to the drive stops completely,
and that is why you see mke2fs being stuck in blk_congestion_wait
(mke2fs eats most of the requests, the queue gets marked congested). If
io isn't progressing, then the queue won't have the congestion flag
cleared again.

You need to give a lot more hardware details, see REPORTING-BUGS

--
Jens Axboe