Re: [Bug 10071] kernel hang in inet_init (PREEMPT_RCU problem)

Previous thread: Re: Interactivity issue in 2.6.25-rc3 by Ray Lee on Thursday, February 28, 2008 - 5:28 pm. (3 messages)

Next thread: [PATCH 2.6.25] module: allow ndiswrapper to use GPL-only symbols by Pavel Roskin on Thursday, February 28, 2008 - 6:11 pm. (39 messages)
To: <bugme-daemon@...>
Cc: Yannick Dirou <yannick.dirou@...>, Paul E. McKenney <paulmck@...>, <linux-kernel@...>, <netdev@...>
Date: Thursday, February 28, 2008 - 5:34 pm

Congratulations Yannick!

So, it seems mainly RCU vs. timer(?) problem. I send CC of this message
to RCU author, linux-kernel and netdev lists.

I'm not sure how much time you could/will to offer for this debugging.
Anyway, if it's possible I think it would be interesting to check with
CONFIG_PREEMPT_RCU = y again, but CONFIG_HOTPLUG_CPU = n ("Processor
type and features --> Support for suspend on SMP and ...") in the
meantime.

Many thanks,
--

To: Jarek Poplawski <jarkao2@...>
Cc: <bugme-daemon@...>, Yannick Dirou <yannick.dirou@...>, <linux-kernel@...>, <netdev@...>
Date: Thursday, February 28, 2008 - 8:58 pm

Interesting! Any chance of a pointer to the original messages?
A quick Google search and a look at LKML showed me nothing. :-/

--

To: Jarek Poplawski <jarkao2@...>
Cc: <bugme-daemon@...>, Yannick Dirou <yannick.dirou@...>, <linux-kernel@...>, <netdev@...>
Date: Friday, February 29, 2008 - 12:32 am

Thanks to Raphael for pointing me at the above bugzilla URL!

Yannick,

Would you be willing to try your test again after applying the
patch in http://lkml.org/lkml/2008/2/2/11 and rebuilding your
kernel?

This patch does not appear to be in 2.6.25-rc3. :-(

I am reposting this patch separately.

Thanx, Paul
--

To: <paulmck@...>
Cc: Jarek Poplawski <jarkao2@...>, <linux-kernel@...>, <netdev@...>
Date: Friday, February 29, 2008 - 2:53 am

(In reply to comment #20)
> Reply-To: paulmck@linux.vnet.ibm.com
>
> Would you be willing to try your test again after applying the
> patch in http://lkml.org/lkml/2008/2/2/11 and rebuilding your
> kernel?
>
> This patch does not appear to be in 2.6.25-rc3. :-(
>
> I am reposting this patch separately.
>
> Thanx, Paul

Congratulations Paul and thanks a lot to Jarek , It works,
no more hang or slow boot :
[1.061675] Calling initcall 0xc03b8e10: inet_init+0x0/0x3ba()
[1.061895] NET: Registered protocol family 2
[1.339007] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[1.339470] TCP established hash table entries: 131072 (order: 8, 1048576
bytes)
[1.340375] TCP bind hash table entries: 65536 (order: 9, 2359296 bytes)
[1.349809] TCP: Hash tables configured (established 131072 bind 65536)
[1.349906] TCP reno registered
[1.098514] initcall 0xc03b8e10: inet_init+0x0/0x3ba() returned 0.
[1.098604] initcall 0xc03b8e10 ran for 32 msecs: inet_init+0x0/0x3ba()

Yannick
--

To: Yannick <yannick.dirou@...>
Cc: Jarek Poplawski <jarkao2@...>, <linux-kernel@...>, <netdev@...>
Date: Friday, February 29, 2008 - 12:58 pm

Thank you very much for testing this, Yannick!

Andrew and Ingo have this patch on track to merge into a later -rc
of 2.6.25, so we will get there. ;-)

Thanx, Paul
--

Previous thread: Re: Interactivity issue in 2.6.25-rc3 by Ray Lee on Thursday, February 28, 2008 - 5:28 pm. (3 messages)

Next thread: [PATCH 2.6.25] module: allow ndiswrapper to use GPL-only symbols by Pavel Roskin on Thursday, February 28, 2008 - 6:11 pm. (39 messages)