# Error: missing /dev/zap

**URL:** <https://community.asterisk.org/t/error-missing-dev-zap/13178>\
**Category:** Asterisk Support\
**Created:** [March 18, 2007, 6:44pm UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178 "2007-03-18T18:44:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bond007](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@bond007](https://community.asterisk.org/u/bond007)\
**Post date:** [March 18, 2007, 6:44pm UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178/1 "2007-03-18T18:44:36Z")

</div>

Hi,

I am using zaptel-1.2.10 and below mention os.

cat /etc/issue  
CentOS release 4.4 (Final)  
Kernel \r on an \m

uname -r  
2.6.9-42.ELsmp

ls -l /lib/modules/2.6.9-42.ELsmp  
total 680  
lrwxrwxrwx 1 root root 39 Mar 18 16:13 build -\> /usr/src/kernels/2.6.9-42.0.10.EL-i686/  
drwxr-xr-x 9 root root 4096 Jan 31 22:43 kernel  
-rw-r–r-- 1 root root 119161 Mar 18 19:31 modules.alias  
-rw-r–r-- 1 root root 69 Mar 18 19:31 modules.ccwmap  
-rw-r–r-- 1 root root 136140 Mar 18 19:31 modules.dep  
-rw-r–r-- 1 root root 73 Mar 18 19:31 modules.ieee1394map  
-rw-r–r-- 1 root root 357 Mar 18 19:31 modules.inputmap  
-rw-r–r-- 1 root root 235 Mar 18 19:31 modules.isapnpmap  
-rw-r–r-- 1 root root 114122 Mar 18 19:31 modules.pcimap  
-rw-r–r-- 1 root root 67974 Mar 18 19:31 modules.symbols  
-rw-r–r-- 1 root root 155849 Mar 18 19:31 modules.usbmap  
lrwxrwxrwx 1 root root 6 Mar 18 16:13 source -\> build/

When i am starting the zaptel service it gives me following error. I want to use ztdummy (MeetMe) application.

/etc/init.d/zaptel start  
Loading zaptel framework: FATAL: Module zaptel not found.  
[FAILED]  
Waiting for zap to come online…Error: missing /dev/zap!

I had uncommented the ztdummy from Makefile of zaptel sources.

Pls. tell me wht should i do to get the /dev/zap and retify my problem.

Thanks…

---

<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:** [March 18, 2007, 7:45pm UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178/2 "2007-03-18T19:45:25Z")

</div>

Have you installed the devel package for smp ?

what you dont seem to have is the extra directory which has the modules in.

`/lib/modules/2.6.9-34.0.1.ELsmp/extra
total 4452
-rw-r--r-- 1 root root 253721 Feb 25 14:21 pciradio.ko
-rw-r--r-- 1 root root 225568 Feb 25 14:21 tor2.ko
-rw-r--r-- 1 root root 167571 Feb 25 14:21 torisa.ko
-rw-r--r-- 1 root root 150685 Feb 25 14:21 wcfxo.ko
-rw-r--r-- 1 root root 212783 Feb 25 14:21 wct1xxp.ko
-rw-r--r-- 1 root root 1349865 Feb 25 14:21 wct4xxp.ko
-rw-r--r-- 1 root root 424162 Feb 25 14:21 wctdm24xxp.ko
-rw-r--r-- 1 root root 273585 Feb 25 14:21 wctdm.ko
-rw-r--r-- 1 root root 283670 Feb 25 14:21 wcte11xp.ko
-rw-r--r-- 1 root root 185152 Feb 25 14:21 wcusb.ko
-rw-r--r-- 1 root root 434341 Feb 25 14:21 zaptel.ko
-rw-r--r-- 1 root root 140145 Feb 25 14:21 ztd-eth.ko
-rw-r--r-- 1 root root 125453 Feb 25 14:21 ztd-loc.ko
-rw-r--r-- 1 root root 104282 Feb 25 14:21 ztdummy.ko
-rw-r--r-- 1 root root 135898 Feb 25 14:21 ztdynamic.ko
`

---

<div class="post-metadata">

**Author:** ![bond007](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@bond007](https://community.asterisk.org/u/bond007)\
**Post date:** [March 19, 2007, 9:24am UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178/3 "2007-03-19T09:24:38Z")

</div>

Yes i have install the devel package of kernel smp. But in ls -l /lib/modules/2.6.9-42.ELsmp there is no extra folder in that. How to get that. And pls. let me know wht i am missing.

Thanks for your reply.

---

<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:** [March 19, 2007, 9:46am UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178/4 "2007-03-19T09:46:05Z")

</div>

Hi

What if any errors were reported when you compiled zaptel.

Did you check the spinlock.h file ?

Ian

---

<div class="post-metadata">

**Author:** ![valley](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@valley](https://community.asterisk.org/u/valley)\
**Post date:** [March 19, 2007, 6:13pm UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178/5 "2007-03-19T18:13:13Z")

</div>

Might be a known problem when zaptel Makefile tries to install modules to /lib/modules/[major version]/ instead of /lib/modules/[version]-[arch]/. See if you find an extraneous directory /lib/modules/2.6.9/extra/. (My recollection about zaptel 1.2.10 was that it actually installs into misc/ instead of extra/, so check that, too.)

---

<div class="post-metadata">

**Author:** ![bond007](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@bond007](https://community.asterisk.org/u/bond007)\
**Post date:** [March 19, 2007, 8:45pm UTC](https://community.asterisk.org/t/error-missing-dev-zap/13178/6 "2007-03-19T20:45:51Z")

</div>

Thanks all

AFter i update my kernel my problem gets solve. Thanks a lot to all.
