If you do Asterisk on Red Hat Enterprise Linux (or CentOS) *and* need zaptel hardware, you should be aware of a bug that may cause you to have more downtime then you would like. The latest Zaptel will not build with some kernels “as is.” It seems that there is a minor spelling error in recent Red Hat kernels (I don’t have version numbers - you’ll know if you have it).
What’s crazy is that the bug report that aims to correct the spelling error contains a misspelling itself! I first found the bug on Digium’s list, which *also* misspells the fix!
This is the file that needs edited (line 407):
/usr/src/kernels/2.6.9-34.EL-i686/include/linux/spinlock.h
to read:
#define DEFINE_RWLOCK(x) rwlock_t x = RW_LOCK_UNLOCKED
Hopefully this will save some poor soul from enduring unnecessary pain.
March 26th, 2006 at 6:12 am
Hmmmn… I haven’t run into this one, but I ran into another kernel problem with the FC5 kernel the other day. I wonder if we’ll ever get to the point where the zaptel drivers are integrated into the kernel sources — one can only hope!
March 26th, 2006 at 10:20 am
That would be sweet. I think Asterisk would have to get packaged with the average distro before that would be considered. Brings up a good point, why isn’t Asterisk packaged for Suse, Fedora and Red Hat? You would think they would jump on it.