[asterisk-bugs] [Zaptel 0012606]: zaptel.init: Unloading kernel modules while asterisk has them in use can cause panic.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 8 09:36:27 CDT 2008


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=12606 
====================================================================== 
Reported By:                jfinstrom
Assigned To:                sruffell
====================================================================== 
Project:                    Zaptel
Issue ID:                   12606
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Zaptel Version:             1.4.10 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-08-2008 01:12 CDT
Last Modified:              05-08-2008 09:36 CDT
====================================================================== 
Summary:                    zaptel.init: Unloading kernel modules while asterisk
has them in use can cause panic.
Description: 
The init script will cause kernel modules to be forcibly removed while they
are in use. This is bad mojo and should not occur.

Suggest a condition be added to kill the unload if asterisk is running. 

Suggested edit below so it will need to be made a patch by someone who is
disclaimed, possibly with a more creative error...
====================================================================== 

---------------------------------------------------------------------- 
 sruffell - 05-08-08 09:36  
---------------------------------------------------------------------- 
Can you give a backtrace of the panic?   

A problem like this should be fixed in the drivers because if the
reference counts are maintained properly, the kernel should not allow a
module to be unloaded which is currently in use.  The trace should speed
things along with resolving this.... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-08-08 09:36  sruffell       Note Added: 0086590                          
05-08-08 09:36  sruffell       Assigned To               => sruffell        
05-08-08 09:36  sruffell       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list