[PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-27 Thread Jarek Poplawski
On Tue, Jun 26, 2007 at 06:00:00PM -0700, Andrew Morton wrote: > On Tue, 26 Jun 2007 17:46:13 -0700 "Wessel, Jason" <[EMAIL PROTECTED]> wrote: ... > > > Everything went quiet? > > > > > > If this patch has been tested and fixes the bug, can you > > > please send a version which is ready for mergi

Re: [PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-26 Thread Andrew Morton
On Tue, 26 Jun 2007 17:46:13 -0700 "Wessel, Jason" <[EMAIL PROTECTED]> wrote: > > > } > > > } > > > > Everything went quiet? > > > > If this patch has been tested and fixes the bug, can you > > please send a version which is ready for merging? (ie: add a > > suitab

RE: [PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-26 Thread Wessel, Jason
> -Original Message- > From: Andrew Morton [mailto:[EMAIL PROTECTED] > > > > Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> > > > > --- > > > > diff -Nurp 2.6.21-/net/core/netpoll.c 2.6.21/net/core/netpoll.c > > --- 2.6.21-/net/core/netpoll.c 2007-04-26 > 15:08:32.0

Re: [PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-26 Thread Andrew Morton
On Wed, 13 Jun 2007 11:25:37 +0200 Jarek Poplawski <[EMAIL PROTECTED]> wrote: > On Tue, Jun 12, 2007 at 01:02:33PM +0200, Jarek Poplawski wrote: > ... > > Of course such a problem should preferably be fixed by somebody who > > knows the code (alas I don't know netconsole), to be sure all needed >

[PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-13 Thread Jarek Poplawski
On Tue, Jun 12, 2007 at 01:02:33PM +0200, Jarek Poplawski wrote: ... > Of course such a problem should preferably be fixed by somebody who > knows the code (alas I don't know netconsole), to be sure all needed > cancels are still done after this change. I hope Jason's patch is > right but I'm a lit

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-12 Thread Jarek Poplawski
On Tue, May 29, 2007 at 12:56:28AM -0700, Andrew Morton wrote: > On Sat, 26 May 2007 17:40:12 +0200 Folkert van Heusden <[EMAIL PROTECTED]> > wrote: > > > When trying to remove the netconsole module, I got the following kernel > > output after a while (couple of minutes iirc): > > > > [525720.11

Re: [PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-30 Thread Folkert van Heusden
This patch seems to solve the problem. I removed (and inserted) the module twice without any oopses or panics or hangs in general. On Wed, May 30, 2007 at 08:28:09AM -0500, Jason Wessel wrote: > > Attached is a patch to fix the soft lockup problem when removing the > netconsole module. > > It loo

[PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-30 Thread Jason Wessel
Attached is a patch to fix the soft lockup problem when removing the netconsole module. It looks different than the original patch I posted because the context had to change to maintain 80 column code. For reference the original e-mail + patch was "[BUG] 2.6.21 hang in cancel_rearming_dela

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-29 Thread Andrew Morton
On Sat, 26 May 2007 17:40:12 +0200 Folkert van Heusden <[EMAIL PROTECTED]> wrote: > When trying to remove the netconsole module, I got the following kernel > output after a while (couple of minutes iirc): > > [525720.117293] BUG: soft lockup detected on CPU#1! > [525720.117353] [] show_trace_lo

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-27 Thread Matt Mackall
On Sat, May 26, 2007 at 06:35:24PM +0200, Thomas Gleixner wrote: > On Sat, 2007-05-26 at 18:17 +0200, Folkert van Heusden wrote: > > > > Seems to be hrtimers related - CC'ed Thomas. > > > I doubt that. The tick interrupt just finds out, that the machine is > > > stuck in rmmod. > > > > > Also the r

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Folkert van Heusden
> > > > > > Seems to be hrtimers related - CC'ed Thomas. > > > > > I doubt that. The tick interrupt just finds out, that the machine is > > > > > stuck in rmmod. > > > > > > > Also the rmmod hangs and would not exit even with kill -9. It also > > > > > > > sucks up 100% cpu. > > > > > Can you pleas

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Thomas Gleixner
On Sat, 2007-05-26 at 18:49 +0200, Folkert van Heusden wrote: > > > > > Seems to be hrtimers related - CC'ed Thomas. > > > > I doubt that. The tick interrupt just finds out, that the machine is > > > > stuck in rmmod. > > > > > > Also the rmmod hangs and would not exit even with kill -9. It also >

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Folkert van Heusden
> > > > Seems to be hrtimers related - CC'ed Thomas. > > > I doubt that. The tick interrupt just finds out, that the machine is > > > stuck in rmmod. > > > > > Also the rmmod hangs and would not exit even with kill -9. It also > > > > > sucks up 100% cpu. > > > Can you please enable CONFIG_PROVE_LO

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Thomas Gleixner
On Sat, 2007-05-26 at 18:17 +0200, Folkert van Heusden wrote: > > > Seems to be hrtimers related - CC'ed Thomas. > > I doubt that. The tick interrupt just finds out, that the machine is > > stuck in rmmod. > > > > Also the rmmod hangs and would not exit even with kill -9. It also > > > > sucks up 1

Fw: Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Folkert van Heusden
Hi, > > Seems to be hrtimers related - CC'ed Thomas. > > I doubt that. The tick interrupt just finds out, that the machine is > stuck in rmmod. Can you please make netconsole unloadable via rmmod? My system seems to hang every time I do rmmod on netconsole (rmmod using 100% cpu and not returning

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Folkert van Heusden
> > Seems to be hrtimers related - CC'ed Thomas. > I doubt that. The tick interrupt just finds out, that the machine is > stuck in rmmod. > > > Also the rmmod hangs and would not exit even with kill -9. It also > > > sucks up 100% cpu. > Can you please enable CONFIG_PROVE_LOCKING ? Luckily I alrea

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Thomas Gleixner
On Sat, 2007-05-26 at 11:53 -0400, Parag Warudkar wrote: > Seems to be hrtimers related - CC'ed Thomas. I doubt that. The tick interrupt just finds out, that the machine is stuck in rmmod. > > Also the rmmod hangs and would not exit even with kill -9. It also > > sucks up 100% cpu. Can you pleas

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-26 Thread Parag Warudkar
Seems to be hrtimers related - CC'ed Thomas. Parag Folkert van Heusden wrote: Hi, When trying to remove the netconsole module, I got the following kernel output after a while (couple of minutes iirc): [525720.117293] BUG: soft lockup detected on CPU#1! [525720.117353] [] show_trace_log_lvl+0