I lost power to my box today due to bad weather. When it booted back up Asterisk was working but my TDM400P card isn’t. I looked in to it and the zaptel driver wasn’t loaded. I tried to load it but it said it couldn’t find it.
[root@australia zaptel]# modprobe zaptel
FATAL: Module zaptel not found.
I’m running Centos 5. So I ran
[root@australia zaptel]# find /lib/modules | grep zaptel
/lib/modules/2.6.18-8.1.4.el5/misc/zaptel.ko
then ran
[root@australia zaptel]# uname -r
2.6.18-8.1.8.el5
It looks like a new kernel update was installed and now my zaptel driver is in the wrong place. I went back to my zaptel directory and tried to recompile it. Make runs fine but when I run make install I get the following error:
make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.8.el5-i686'
mkdir: `/lib/modules/2.6.18-8.1.8.el5/misc' exists but is not a directory
make[1]: *** [_emodinst_] Error 1
make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.8.el5-i686'
make: *** [install-modules] Error 2
I checked and misc is there but it is a compiled file not a directory. I’m stuck anyone have any ideas? Thanks for any help.