[Asterisk-Users] bristuff-0.2.0-RC8n problems and kernel panic

gincantalupo gincantalupo at fgasoftware.com
Mon Nov 7 07:43:03 MST 2005


Hi,

I had some problems to with a quadBRI with a 2.6 kernel debian distro.
Have you tried to insmod the zaptel.ko module instead of modprobing?
It worked for me, hope it will work for you too.

Giorgio Incantalupo



Remco Barende wrote:

> Hi list!
>
> On a newly installed RHEL 4 box I'm trying to install 
> bristuff-0.2.0-RC8n.
>
> Everything did compile but I am running into some problems with the 
> zaphfc driver.
>
> First of all when I load zaphfc *before* zaptel (yes I know I 
> shouldn't do that) I get a kernel panic and the box hangs. Not so 
> nice, especially when you are trying to fix stuff from remote 
> locations. But ok.
>
>
> Now for the real trouble, when I do make load in zaphfc I get this:
>
> make -C /usr/src/linux-2.6 SUBDIRS=/tmp/bristuff-0.2.0-RC8n/zaphfc 
> ZAP=-I/tmp/bristuff-0.2.0-RC8n/zaptel-1.0.9 modules
> make[1]: Entering directory `/usr/src/kernels/2.6.9-11.EL-x86_64'
>   Building modules, stage 2.
>   MODPOST
> *** Warning: "zt_register" [/tmp/bristuff-0.2.0-RC8n/zaphfc/zaphfc.ko] 
> undefined!
> *** Warning: "zt_receive" [/tmp/bristuff-0.2.0-RC8n/zaphfc/zaphfc.ko] 
> undefined!
> *** Warning: "zt_transmit" [/tmp/bristuff-0.2.0-RC8n/zaphfc/zaphfc.ko] 
> undefined!
> *** Warning: "zt_ec_chunk" [/tmp/bristuff-0.2.0-RC8n/zaphfc/zaphfc.ko] 
> undefined!
> *** Warning: "zt_unregister" 
> [/tmp/bristuff-0.2.0-RC8n/zaphfc/zaphfc.ko] undefined!
> make[1]: Leaving directory `/usr/src/kernels/2.6.9-11.EL-x86_64'
> modprobe zaptel
> insmod ./zaphfc.ko
> ztcfg -v
>
> Zaptel Configuration
> ======================
>
> SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
>
> 3 channels configured.
>
> Notice: Configuration file is /etc/zaptel.conf
> line 8: Unable to open master device '/dev/zap/ctl'
>
>
> I guess (hope) the warnings are nothing serious but the message about 
> /dev/zap/ctl is. (I did read README.udev and added the lines.) 
> Rebooting the box didn't help.
>
> And when I try to start asterisk:
> Aug 15 23:25:51 WARNING[6454]: chan_zap.c:933 zt_open: Unable to 
> specify channel 1: No such device or address
> Aug 15 23:25:51 ERROR[6454]: chan_zap.c:6484 mkintf: Unable to open 
> channel 1: No such device or address
> here = 0, tmp->channel = 1, channel = 1
> Aug 15 23:25:51 ERROR[6454]: chan_zap.c:10329 setup_zap: Unable to 
> register channel '1-2'
> Aug 15 23:25:51 WARNING[6454]: loader.c:345 ast_load_resource: 
> chan_zap.so: load_module failed, returning -1
>   == Unregistered channel type 'Tor'
>   == Unregistered channel type 'Zap'
> Aug 15 23:25:51 WARNING[6454]: loader.c:440 load_modules: Loading 
> module chan_zap.so failed!
>
>
>
> Ideas anyone?
>
> Thanks!
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list