Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Trevor Peirce wrote: Has anyone tried the combination of asterisk 1.2.24, zaptel 1.4.5 and HPEC 9.00.003? [snip] The result is a kernel panic followed by an automatic reboot. Nothing is written to log files so I cannot provide any debug information. As mentioned this has happened on multiple production machines and I do not have any other wctdm cards to test with. Although I can't say for certain that it's not Asterisk 1.2 vs. Zaptel 1.4 causing your issues, I've had crashes with HPEC on Zaptel 1.2 as well, and finally tracked these down to the HPEC binary overwriting bits of memory it shouldn't be touching. It may be the case that it's doing this for you on Zaptel 1.2, but due to code differences, isn't overwriting anything critical (for me, the crashes only started once we moved from kernel 2.6.15.7 to 2.6.20.x - the memory layout changed, HPEC would quickly corrupt the free list, and things would go boom upon the second deallocation of an HPEC EC). I've been working with Digium to get this found and fixed, so with luck there'll be an updated HPEC sometime reasonably soon. Cheers, Nic. -- Nic Bellamy, Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/ ___ --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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Trevor Peirce wrote: Hello, Has anyone tried the combination of asterisk 1.2.24, zaptel 1.4.5 and HPEC 9.00.003? First of all... Why are you using zaptel 1.4.5 with asterisk 1.2? That is a red flag in itself. In particular, with a hardware configuration similar to: Module 0: Installed -- AUTO FXO (FCC mode) Module 1: Installed -- AUTO FXO (FCC mode) Module 2: Installed -- AUTO FXO (FCC mode) Module 3: Not installed Found a Wildcard TDM: Wildcard TDM400P REV I (3 modules) I have two fully independent systems (both production, so I can't do further testing unfortunately) that crash anywhere between an hour and a day after booting under a minimal load. If HPEC is disabled, the problem is gone (but really bad echo). If I use zaptel 1.2.20.1, the problem is gone. The result is a kernel panic followed by an automatic reboot. Nothing is written to log files so I cannot provide any debug information. As mentioned this has happened on multiple production machines and I do not have any other wctdm cards to test with. I would be curious to hear if anyone else noticed the same problem or if they have it working. What are the common denominators? Thanks, Trevor -- Matthew Fredrickson Software/Firmware Engineer Digium, Inc. ___ --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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Matthew Fredrickson wrote: Trevor Peirce wrote: Hello, Has anyone tried the combination of asterisk 1.2.24, zaptel 1.4.5 and HPEC 9.00.003? First of all... Why are you using zaptel 1.4.5 with asterisk 1.2? That is a red flag in itself. In particular, with a hardware configuration similar to: Module 0: Installed -- AUTO FXO (FCC mode) Module 1: Installed -- AUTO FXO (FCC mode) Module 2: Installed -- AUTO FXO (FCC mode) Module 3: Not installed Found a Wildcard TDM: Wildcard TDM400P REV I (3 modules) I have two fully independent systems (both production, so I can't do further testing unfortunately) that crash anywhere between an hour and a day after booting under a minimal load. If HPEC is disabled, the problem is gone (but really bad echo). If I use zaptel 1.2.20.1, the problem is gone. The result is a kernel panic followed by an automatic reboot. Nothing is written to log files so I cannot provide any debug information. As mentioned this has happened on multiple production machines and I do not have any other wctdm cards to test with. I would be curious to hear if anyone else noticed the same problem or if they have it working. What are the common denominators? Thanks, Trevor Matt Florell seems to think it should be OK./ It's really just a matter of recompiling Asterisk. Libpri-1.4 and zaptel-1.4 seem to work fine with Asterisk 1.2 as well so in a pinchyou may not have to recompile those. Most 1.2 dialplans will work just fine with 1.4, so as long as you delete the modules between builds: rm -f //usr/lib/asterisk/modules//* / /You should be fine. / MATT--- ___ --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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
On Sat, Aug 25, 2007 at 12:20:56PM -0400, Steve Totaro wrote: Matt Florell seems to think it should be OK./ It's really just a matter of recompiling Asterisk. Libpri-1.4 and zaptel-1.4 seem to work fine with Asterisk 1.2 as well so in a pinchyou may not have to recompile those. Most 1.2 dialplans will work just fine with 1.4, so as long as you delete the modules between builds: rm -f //usr/lib/asterisk/modules//* If you want to be able to build asterisk 1.2 with zaptel 1.4 you'll need: ln -s ../zaptel/zaptel.h /usr/include/linux/zaptel.h ln -s zaptel/tonezone.h /usr/include/tonezone.h Note: I'm not sure exactly what happens if you run a 'make install' of zaptel 1.2 on top of that later. I guess you should remove those two symlinks manually before you do that. -- Tzafrir Cohen icq#16849755jabber:[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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Matthew Fredrickson wrote: Trevor Peirce wrote: Hello, Has anyone tried the combination of asterisk 1.2.24, zaptel 1.4.5 and HPEC 9.00.003? First of all... Why are you using zaptel 1.4.5 with asterisk 1.2? That is a red flag in itself. References: http://lists.digium.com/pipermail/asterisk-users/2007-January/177404.html There was another thread once upon a time where it was also indicated that there would not be any problems. Possibly the one Steve Totaro mentioned in another reply. The motivation behind this was to resolve echo issues using the newer echo can. When I finally was able to get some HPEC licenses it was easier to just keep using what had proved stable (which was zaptel 1.4 with asterisk 1.2). Unfortunately the system started crashing often. I tested this on different hardware at the same facility and it crashed less often, but it still crashed. Now if it's a miracle that asterisk 1.2 and zaptel 1.4 could ever play nice together, that could explain it. But if there is nothing wrong with it, then I'd say this is a bug, hence why I asked if anyone else was using it in a similar manner. Thanks, Trevor -- Does your Canadian VoIP service need CRTC-compliant 9-1-1 services? Please visit http://www.digitalcon.ca/voip9-1-1/ to find out more! ___ --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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Trevor Peirce wrote: Matthew Fredrickson wrote: Trevor Peirce wrote: Hello, Has anyone tried the combination of asterisk 1.2.24, zaptel 1.4.5 and HPEC 9.00.003? First of all... Why are you using zaptel 1.4.5 with asterisk 1.2? That is a red flag in itself. References: http://lists.digium.com/pipermail/asterisk-users/2007-January/177404.html There was another thread once upon a time where it was also indicated that there would not be any problems. Possibly the one Steve Totaro mentioned in another reply. The motivation behind this was to resolve echo issues using the newer echo can. When I finally was able to get some HPEC licenses it was easier to just keep using what had proved stable (which was zaptel 1.4 with asterisk 1.2). Unfortunately the system started crashing often. I tested this on different hardware at the same facility and it crashed less often, but it still crashed. Now if it's a miracle that asterisk 1.2 and zaptel 1.4 could ever play nice together, that could explain it. But if there is nothing wrong with it, then I'd say this is a bug, hence why I asked if anyone else was using it in a similar manner. Thanks, Trevor Just to make sure you saw this reply quoted from Tzafrir, seems to really know his stuff: / If you want to be able to build asterisk 1.2 with zaptel 1.4 you'll need: ln -s ../zaptel/zaptel.h /usr/include/linux/zaptel.h ln -s zaptel/tonezone.h /usr/include/tonezone.h Note: I'm not sure exactly what happens if you run a 'make install' of zaptel 1.2 on top of that later. I guess you should remove those two symlinks manually before you do that. / Thanks, Steve Totaro/ / ___ --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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Steve Totaro wrote: Just to make sure you saw this reply quoted from Tzafrir, seems to really know his stuff: / If you want to be able to build asterisk 1.2 with zaptel 1.4 you'll need: ln -s ../zaptel/zaptel.h /usr/include/linux/zaptel.h ln -s zaptel/tonezone.h /usr/include/tonezone.h Note: I'm not sure exactly what happens if you run a 'make install' of zaptel 1.2 on top of that later. I guess you should remove those two symlinks manually before you do that. Yup I saw that. I got to the point where I made a script that'll wipe out tonezone.h and zaptel.h out of the various directories they could end up in, and set up the symlinks so asterisk 1.2 would build the zaptel modules. This all for the express purpose of making sure I had the right versions and nothing conflicting. -- Does your Canadian VoIP service need CRTC-compliant 9-1-1 services? Please visit http://www.digitalcon.ca/voip9-1-1/ to find out more! ___ --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
Re: [asterisk-users] Asterisk 1.2 + Zaptel 1.4 + HPEC = Crash?
Tzafrir Cohen wrote: If you want to be able to build asterisk 1.2 with zaptel 1.4 you'll need: ln -s ../zaptel/zaptel.h /usr/include/linux/zaptel.h ln -s zaptel/tonezone.h /usr/include/tonezone.h Note: I'm not sure exactly what happens if you run a 'make install' of zaptel 1.2 on top of that later. I guess you should remove those two symlinks manually before you do that. It seems to wipe out the symlinks and replace them with actual files... although I've been in the habit of removing them regardless. -- Does your Canadian VoIP service need CRTC-compliant 9-1-1 services? Please visit http://www.digitalcon.ca/voip9-1-1/ to find out more! ___ --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