Re: netconsole module cannot be removed

From: Chuck Ebbert
Date: Mon Feb 26 2007 - 18:24:28 EST


Stephen Hemminger wrote:
> On Mon, 26 Feb 2007 15:35:11 -0500
> Chuck Ebbert <cebbert@xxxxxxxxxx> 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.

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