On Thu, Jun 18, 2009 at 11:24:40PM -0500, Karl Fife wrote:
> After a kernel update (but before rebooting) Is there a way to recompile 
> Zap/Dahdi against the new kernel?
> 
> My objective is to eliminate the additional downtime that occurs while 
> recompiling/installing zap/dahdi after booting into the new kernel.
> 
> Please correct me if I'm wrong:  
> My understanding is that until you reboot (after a kernel update), 
> recompiling zap/dahdi still compiles against the OLD kernel, and that's why 
> zap/dahdi doesn't start after rebooting into the new kernel (even if you 
> recompiled it just before rebooting).  
> 
> So my question is: 
> Is there a method to recompile dahdi/zap against the new kernel such that the 
> only downtime is the actual server bounce itself?  OR is the current best 
> practice just to simply to reboot, recompile, restart?  
> 
> Thanks in advance.

1. install new kernel (but don't reboot yet)
2. in the dahdi-linux source directory:

  make KVERS=<new version>
  make KVERS=<new version> install

  or:

  make KSRC=/path/to/kernel/source/tree
  make KSRC=/path/to/kernel/source/tree install

3. reboot

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to