# Zaptel stopped working

**URL:** <https://community.asterisk.org/t/zaptel-stopped-working/16463>\
**Category:** Asterisk Support\
**Created:** [August 29, 2007, 2:28am UTC](https://community.asterisk.org/t/zaptel-stopped-working/16463 "2007-08-29T02:28:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilso027](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wilso027](https://community.asterisk.org/u/wilso027)\
**Post date:** [August 29, 2007, 2:28am UTC](https://community.asterisk.org/t/zaptel-stopped-working/16463/1 "2007-08-29T02:28:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rjenkins](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@rjenkins](https://community.asterisk.org/u/rjenkins)\
**Post date:** [August 29, 2007, 6:31am UTC](https://community.asterisk.org/t/zaptel-stopped-working/16463/2 "2007-08-29T06:31:25Z")

</div>

Hi,  
I’d try deleting the’misc’ file and create the directory in it’s place, then run the install again.

I’ve just had a look on a Centos 5 box (without zaptel) and there is no misc file, so I guess one of the installer scripts on your system has a bug and created the file in place of a directory.

---

<div class="post-metadata">

**Author:** ![ianplain](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ianplain/32/1776_2.png) [@ianplain](https://community.asterisk.org/u/ianplain)\
**Post date:** [August 29, 2007, 7:58am UTC](https://community.asterisk.org/t/zaptel-stopped-working/16463/3 "2007-08-29T07:58:43Z")

</div>

Hi

Why didnt you just edit grub so it loaded the kernel you wanted ?  
I have seen this problem many times where owners upgrade the kernel and dont realise that zaptel is complied agaist a specific kernel.

Ian

---

<div class="post-metadata">

**Author:** ![wilso027](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wilso027](https://community.asterisk.org/u/wilso027)\
**Post date:** [August 30, 2007, 1:12am UTC](https://community.asterisk.org/t/zaptel-stopped-working/16463/4 "2007-08-30T01:12:45Z")

</div>

Thanks rjenkin, that got it. I thought I could do that but I wanted to make sure that there wasn’t a new kernel feature I was aware of. I am back up and running now.

Also thanks for the tip ianplain, I was going to go that route if I could figure it out.

Allan
