LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* netconsole module cannot be removed
@ 2007-02-26 20:35 Chuck Ebbert
2007-02-26 21:31 ` Stephen Hemminger
0 siblings, 1 reply; 5+ messages in thread
From: Chuck Ebbert @ 2007-02-26 20:35 UTC (permalink / raw)
To: netdev; +Cc: linux-kernel
Trying to remove netconsole, rmmod goes into a tight loop with
100% CPU usage. It can't be killed with 'kill -9'. Shutdown
works, though. Kernel is 2.6.20 FC6 config, and I'm 99.9%
sure the module signing has nothing to do with this.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole module cannot be removed
2007-02-26 20:35 netconsole module cannot be removed Chuck Ebbert
@ 2007-02-26 21:31 ` Stephen Hemminger
2007-02-26 21:40 ` Chuck Ebbert
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Stephen Hemminger @ 2007-02-26 21:31 UTC (permalink / raw)
To: linux-kernel
On Mon, 26 Feb 2007 15:35:11 -0500
Chuck Ebbert <cebbert@redhat.com> wrote:
> Trying to remove netconsole, rmmod goes into a tight loop with
> 100% CPU usage. It can't be killed with 'kill -9'. Shutdown
> works, though. Kernel is 2.6.20 FC6 config, and I'm 99.9%
> sure the module signing has nothing to do with this.
>
No it probably has to do with printing a message during module removal.
--
Stephen Hemminger <shemminger@linux-foundation.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole module cannot be removed
2007-02-26 21:31 ` Stephen Hemminger
@ 2007-02-26 21:40 ` Chuck Ebbert
2007-02-26 21:42 ` Dave Jones
2007-02-26 23:07 ` Chuck Ebbert
2 siblings, 0 replies; 5+ messages in thread
From: Chuck Ebbert @ 2007-02-26 21:40 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: linux-kernel, netdev
Stephen Hemminger wrote:
> On Mon, 26 Feb 2007 15:35:11 -0500
> Chuck Ebbert <cebbert@redhat.com> wrote:
>
>> Trying to remove netconsole, rmmod goes into a tight loop with
>> 100% CPU usage. It can't be killed with 'kill -9'. Shutdown
>> works, though. Kernel is 2.6.20 FC6 config, and I'm 99.9%
>> sure the module signing has nothing to do with this.
>>
>
> No it probably has to do with printing a message during module removal.
>
Yeah that could explain it.
But when I load it after the network has started I can't get it to
output any kernel messages to the network interface, either. I'll
try to reproduce this on a vanilla kernel next...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole module cannot be removed
2007-02-26 21:31 ` Stephen Hemminger
2007-02-26 21:40 ` Chuck Ebbert
@ 2007-02-26 21:42 ` Dave Jones
2007-02-26 23:07 ` Chuck Ebbert
2 siblings, 0 replies; 5+ messages in thread
From: Dave Jones @ 2007-02-26 21:42 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: linux-kernel
On Mon, Feb 26, 2007 at 01:31:56PM -0800, Stephen Hemminger wrote:
> On Mon, 26 Feb 2007 15:35:11 -0500
> Chuck Ebbert <cebbert@redhat.com> wrote:
>
> > Trying to remove netconsole, rmmod goes into a tight loop with
> > 100% CPU usage. It can't be killed with 'kill -9'. Shutdown
> > works, though. Kernel is 2.6.20 FC6 config, and I'm 99.9%
> > sure the module signing has nothing to do with this.
> >
>
> No it probably has to do with printing a message during module removal.
I just reproduced this, and something really spooky happened.
After echo t > /proc/sysrq-trigger, the 'rmmod' process doesn't
show up in the backtrace. Everything else is there though.
The process shows up in a regular 'ps', but not in the sysrq output.
Most bizarre.
Dave
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole module cannot be removed
2007-02-26 21:31 ` Stephen Hemminger
2007-02-26 21:40 ` Chuck Ebbert
2007-02-26 21:42 ` Dave Jones
@ 2007-02-26 23:07 ` Chuck Ebbert
2 siblings, 0 replies; 5+ messages in thread
From: Chuck Ebbert @ 2007-02-26 23:07 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: linux-kernel, netdev
Stephen Hemminger wrote:
> On Mon, 26 Feb 2007 15:35:11 -0500
> Chuck Ebbert <cebbert@redhat.com> wrote:
>
>> Trying to remove netconsole, rmmod goes into a tight loop with
>> 100% CPU usage. It can't be killed with 'kill -9'. Shutdown
>> works, though. Kernel is 2.6.20 FC6 config, and I'm 99.9%
>> sure the module signing has nothing to do with this.
>>
>
> No it probably has to do with printing a message during module removal.
>
Works fine in 2.6.19.5
Hangs in vanilla 2.6.20 in netpoll_cleanup()
Call trace:
flush_cpu_workqueue
flush_workqueue
cancel_rearming_delayed_workqueue
netpoll_cleanup
sys_delete_module
It varies, but is always in one of the first three functions when you
do alt-sysrq-p.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-26 23:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-26 20:35 netconsole module cannot be removed Chuck Ebbert
2007-02-26 21:31 ` Stephen Hemminger
2007-02-26 21:40 ` Chuck Ebbert
2007-02-26 21:42 ` Dave Jones
2007-02-26 23:07 ` Chuck Ebbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).