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

From: Jens Axboe (axboe@suse.de)
Date: Thu May 22 2003 - 10:18:56 EST


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:49 EST