# No /dev/dahdi

**URL:** <https://community.asterisk.org/t/no-dev-dahdi/27060>\
**Category:** Asterisk Support\
**Created:** [May 16, 2009, 7:56pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060 "2009-05-16T19:56:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterESutton](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@PeterESutton](https://community.asterisk.org/u/PeterESutton)\
**Post date:** [May 16, 2009, 7:56pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/1 "2009-05-16T19:56:49Z")

</div>

lspci reports 'ethernet controller: Doigium inc. TDM400P (rev 11)'  
dahdi\_hardware reports ‘Wildcard TDM410P’

However on booting and /etc/init.d/dahdi start:

'Loading hardware dahdi modules:  
FATAL: Module dahdi not found.

wct4xxp: FATAL: Module wct4xxp not found [FAILED]  
…  
etc. etc. etc.  
…

Error: Missing /dev/dahdi’

This is from initial install and when I had no hardware installed. I have since updated to 1.6 Asterisk. Downloaded kernel src, downloaded dahdi-linux-2.1.0.4 and dahdi-tools-2.1.0.2. Managed to compile and install with only errors reported being cannot delete zaptel directory.

I have tried manually creating /dev/dahdi devices but still fails and directory is removed on reboot.

Any ideas? Do I have to debug udev? Thanks.

Peter

---

<div class="post-metadata">

**Author:** ![jonaskellens](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jonaskellens](https://community.asterisk.org/u/jonaskellens)\
**Post date:** [May 16, 2009, 8:15pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/2 "2009-05-16T20:15:33Z")

</div>

You need to make sure that zaptel does not start up at boot.  
So Asterisk uses DAHDI, and does not gets confused. Both zaptel and dahdi may be compiled and installed on the same system, both they may not be loaded at the same time.

You need to edit chan\_dahdi.conf and run dahdi\_cfg -vv to generate the files that are necessary… /dev/dahdi will be created.

This is my experience with zaptel and dahdi. Hope it works for you too.

---

<div class="post-metadata">

**Author:** ![PeterESutton](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@PeterESutton](https://community.asterisk.org/u/PeterESutton)\
**Post date:** [May 16, 2009, 8:42pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/3 "2009-05-16T20:42:57Z")

</div>

Thanks.

There is as yet no chan\_dahdi.conf. I have just this minute simply activated the template one. dahdi\_cfg depends on /dev/ctl so cannot run. There should be no zaptel because I am running 1.6.

I have tried running dahdi\_genconf to generate /etc/dahdi/system.conf (which dahdi\_cfg uses) but the contents of this look inadequate…

‘loadzone=us  
defaultzone=us’

So still stuck! Thanks

Peter

---

<div class="post-metadata">

**Author:** ![jonaskellens](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jonaskellens](https://community.asterisk.org/u/jonaskellens)\
**Post date:** [May 17, 2009, 8:19am UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/4 "2009-05-17T08:19:17Z")

</div>

I have been in the same place where you are now.  
In my case I had first installed the zaptel module + zapata drivers but I needed to update to DAHDI.  
So I compiled dahdi but also I had no chan\_dahdi.conf and other files. Also got the missing /dev/dahdi-message and so on.

I have documented my install, and in my case it helped to do the following :

- make sure zaptel is not loaded (on CentOS : chkconfig 123456 zaptel off)
- edit /etc/dahdi/modules (should be there if DAHDI has compiled without errors !) to make dahdi load the driver for your type of card.
- restart

You should do a “dmesg | grep zaptel” to check if there are any traces of a zaptel module loading at bootup.  
And a “dmesg | grep dahdi” to check if there were error-messages…

Give it a try.

Be sure that when compiling dahdi, there are no compile errors !

./configure  
make  
make install

---

<div class="post-metadata">

**Author:** ![PeterESutton](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@PeterESutton](https://community.asterisk.org/u/PeterESutton)\
**Post date:** [May 17, 2009, 8:08pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/5 "2009-05-17T20:08:23Z")

</div>

chkconfig --list gives no zaptel listed.  
dahdi set - off off on on on on off

/etc/dahdi/modules is present. Currently left as is. Had commented out all drivers except wctdm24xxp for TDM410P, for the card that is installed.

dmesg | grep zaptel - nothing  
dmesg | grep dahdi - nothing

Spotted error in config.log in dahdi-tools,  
…  
ac\_nonexistent.h: no such file …  
…  
/usr/bin/ld: cannot find -lusb  
…  
But none in any of the actual build or install runs logs any errors.

---

<div class="post-metadata">

**Author:** ![PeterESutton](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@PeterESutton](https://community.asterisk.org/u/PeterESutton)\
**Post date:** [May 20, 2009, 12:03pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/6 "2009-05-20T12:03:21Z")

</div>

Tried 64 bit AsteriskNow. No Dahdi errors!  
Am next trying updating this Asterisk 1.4 and then try switching to 1.6.

---

<div class="post-metadata">

**Author:** ![sethsdad0627](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sethsdad0627](https://community.asterisk.org/u/sethsdad0627)\
**Post date:** [May 20, 2009, 9:01pm UTC](https://community.asterisk.org/t/no-dev-dahdi/27060/7 "2009-05-20T21:01:14Z")

</div>

in my case, wctdm24xxp didn’t want to load. manual modprobe fixed problem.
