kdb
[Top] [All Lists]

Re: Why the rmmod command removed from 2.6 kernel?

To: "LIAO, GUANGDENG" <guangdeng.liao@xxxxxxxxx>
Subject: Re: Why the rmmod command removed from 2.6 kernel?
From: Keith Owens <kaos@xxxxxxx>
Date: Tue, 15 Mar 2005 08:12:59 +1100
Cc: kdb@xxxxxxxxxxx, cgllinux@xxxxxxxxxxx
In-reply-to: Your message of "Sat, 12 Mar 2005 21:00:08 +0800." <26F44F810A51DF42A127BC2A06BE185E657922@pdsmsx404>
Sender: kdb-bounce@xxxxxxxxxxx
On Sat, 12 Mar 2005 21:00:08 +0800, 
"LIAO, GUANGDENG" <guangdeng.liao@xxxxxxxxx> wrote:
>Why the command rmmod is removed from the KDB patch for 2.6 kernel?
>Because I know that it exists in the patch for 2.4 kernel.

Rusty rewrote the module loader in 2.6, the kdb rmmod command was
disabled during that rewrite.  The new rmmod tries to stop the system
and wait for the refcount to go to zero.  That is not going to work
with kdb, because kdb has already stopped the system.  Trying to rmmod
from kdb is almost guaranteed to deadlock.  So I never added kdb rmmod
back for 2.6.

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>
  • Re: Why the rmmod command removed from 2.6 kernel?, Keith Owens <=