NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48018 (modunload gets confused with unloading buildin modules)



The following reply was made to PR kern/48018; it has been noted by GNATS.

From: John Nemeth <jnemeth%cue.bc.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost, reinoud%NetBSD.org@localhost
Cc: 
Subject: Re: kern/48018 (modunload gets confused with unloading buildin modules)
Date: Thu, 29 Aug 2013 02:52:26 -0700

 On Aug 29,  6:35am, Reinoud Zandijk wrote:
 }
 } The following reply was made to PR kern/48018; it has been noted by GNATS.
 } 
 } From: Reinoud Zandijk <reinoud%NetBSD.org@localhost>
 } To: Sergio Lopez <slp%sinrega.org@localhost>
 } Cc: gnats-bugs%NetBSD.org@localhost
 } Subject: Re: kern/48018 (modunload gets confused with unloading buildin 
modules)
 } Date: Thu, 29 Aug 2013 08:31:57 +0200
 } 
 }  On Wed, Aug 28, 2013 at 09:29:12PM +0000, Sergio Lopez wrote:
 }  > That's the expected behavior. Running modunload on a builtin module
 }  > just disables it. From modstat(8):
 }  > 
 }  >  REFS  Number of references held on the module.  Disabled builtin
 }  >        modules will show a count of -1 here.
 }  
 }  Oh i must have missed that! tnx
 }  
 }  AFAIR having a disabled kernel module won't allow a new version to be loaded
 }  from disk or is it? If not, wouldn't this be handy?
 
      built-in modules are linked at kernel build time.  There's no
 way to disentangle them so that they can be truely unloaded.
 
 }-- End of excerpt from Reinoud Zandijk
 


Home | Main Index | Thread Index | Old Index