2005-11-27 19:51:26

by Frederik

[permalink] [raw]
Subject: 2.6.15-rc2-ck2 with adaptive readahead: processes stuck in D state

Today I compiled 2.6.15-rc2-ck2 kernel with adaptive readahead patch
v.8. The system is running Mandriva Cooker. With this kernel, it
occured two times to me, that urpmi --auto-select starts hanging, and
ps shows several processes stuck in D state (such as ldconfig).

I am using XFS for all file systems, I'm wondering if it is related to
this, because I see several XFS methods mentioned in the trace.

I have put dmesg, config and the trace online on
http://users.telenet.be/fhimpe/kernelbug/


2005-11-27 23:14:33

by Con Kolivas

[permalink] [raw]
Subject: Re: [ck] 2.6.15-rc2-ck2 with adaptive readahead: processes stuck in D state

On Mon, 28 Nov 2005 06:51, Frederik wrote:
> Today I compiled 2.6.15-rc2-ck2 kernel with adaptive readahead patch
> v.8. The system is running Mandriva Cooker. With this kernel, it
> occured two times to me, that urpmi --auto-select starts hanging, and
> ps shows several processes stuck in D state (such as ldconfig).
>
> I am using XFS for all file systems, I'm wondering if it is related to
> this, because I see several XFS methods mentioned in the trace.
>
> I have put dmesg, config and the trace online on
> http://users.telenet.be/fhimpe/kernelbug/

I've cc'ed Wu on this reply. I should have made it clear that was the only way
adaptive readahead feedback would be helpful.

Cheers,
Con

2005-11-28 00:36:13

by Wu Fengguang

[permalink] [raw]
Subject: Re: [ck] 2.6.15-rc2-ck2 with adaptive readahead: processes stuck in D state

Maybe it's this patch that solved the problem:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=551c81e2d32c5867fb592091365d8c37e1509dce
[XFS] Resolve the xlog_grant_log_space hang, revert inline to macro.

Cheers,
Wu

----- Forwarded message from Nathan Scott <[email protected]> -----

Subject: Re: processes stuck in D state
From: Nathan Scott <[email protected]>
To: Wu Fengguang <[email protected]>
Cc: [email protected]
User-Agent: Mutt/1.2.5i
Date: Mon, 28 Nov 2005 11:23:45 +1100

On Mon, Nov 28, 2005 at 08:36:25AM +0800, Wu Fengguang wrote:
> Hello,
>
> In the kernel 2.6.15-rc2-ck2 with adaptive readahead patch, some processes are
> stuck in D state. Since the last functions of the two D process happened to be
> the same set of XFS functions, I resend the bug report here. The original report
> can be found in the -ck kernel mailing list:
> http://bhhdoa.org.au/pipermail/ck/2005-November/004839.html

This is now fixed in Linus' git tree.

cheers.

--
Nathan

----- End forwarded message -----