Having problem loading Te100p

Hi,

for the longest time I was working with Asterisk 1.2 and today I installed 1.4 and realized that zaptel is no longer available… well, replaced by Dahdi

I installed Asterisk 1.4, dahdi-linux 2.1.0.3, dahdi-tool2.1.0.2, libpri 1.4, asterisk-addons1.4.7 and also Freepbx

Asterisk starts just fine but I just cannot load the board…

I have enabled wct1xxp in /etc/dahdi/module, also added this to chan_dahdi.conf in etc/asterisk:

group = 1
switchtype = national
signalling = pri_net
context=default
channel => 1-23

modified /etc/dahdi/system.conf

span=1,0,0,esf,b8zs
bchan=1-23
dchan=24

but when I /etc/init.d/dahdi start I get:

Loading DAHDI hardware modules:
FATAL: Error inserting dahdi (/lib/modules/2.6.26-2-686/asterisk/dahdi/dahdi.ko): Invalid module format
   wct1xxp: error
Error: missing /dev/dahdi!
# dahdi_cfg -vvvvvvvvv
DAHDI Tools Version - 2.1.0.2
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected

Linux version 2.6.26-2-686 (Debian 2.6.26-19) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25))

Am I doing something wrong? Am I missing something?

Please help

Thanks

I just tried to re-compile dahdi and I got this:

make -C /usr/src/linux ARCH=i386 SUBDIRS=/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.1.0.3/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-source-2.6.26’

WARNING: Symbol version dump /usr/src/linux-source-2.6.26/Module.symvers
is missing; modules will have no dependencies and modversions.

managed to fix it by going to

/usr/src/linux-source-2.6.26 and running make

and then re-compiling dahdi