Blog

DAHDI_SPANCONFIG failed on span 1: No such device or address (6)

DAHDI_SPANCONFIG failed on span 1: No such device or address (6)

Trying to upgrade Asterisk and DAHDI drivers and came across this error. I could not get DAHDI to reload.

These are the steps I took to have DAHDI load the modules properly.

  1. Remove DAHDI modules
  2. modprobe -r wctc4xxp wctdm24xxp wcte12xp xpp dahdi_transcode wcb4xxp

    modprobe -r wctdm wcfxo wctdm24xxp wcte11xp wct1xxp wcte12xp

    modprobe -r dahdi_voicebus wct4xxp wctdm24xxp dahdi
  3. Move these folders to a temporary location just in case:

    mv /etc/modprobe.d/dahdi* /tmp/

    mv /etc/dahdi /tmp/

  4. Download DAHDI drivers and recompile:
    cd /usr/src

    wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

    tar -zxvf dahdi-linux-complete-current.tar.gz

    cd dahdi-linux-complete…VERSION

    make; make install; make config

    /etc/init.d/dahdi restart