[Asterisk-Users] Problem compiling ztdummy on centos 4, 2.6 kernel

Sina Bahram sbahram at nc.rr.com
Wed Mar 8 17:18:55 MST 2006


I sent my reply to this to your off list email to me, which I greatly
appreciate.
 
We can send the results once we fix the problem, to the list?

Take care,
Sina

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of John Daragon
Sent: Wednesday, March 08, 2006 5:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Problem compiling ztdummy on centos 4, 2.6
kernel

Sina, hi;

Let's just do a little recap.

You've downloaded zaptel-1.2.4 and done the

make linux26
make install
make config

thing on it.  If you don't uncomment anything, the builds complete without
error and modules are installed in

/lib/modules/`uname -r`/extra.

You've performed the 2.6 kernel udev configuration :


edit /etc/udev/rules.d/50-udev.rules

and insert the lines :

KERNEL="zapctl",        NAME="zap/ctl"
KERNEL="zapchannel",    NAME="zap/channel"
KERNEL="zaptimer",      NAME="zap/timer"
KERNEL="zappseudo",     NAME="zap/pseudo"
KERNEL="zap[0-9]*",     NAME="zap/%n"


Assuming you're using a user called asterisk...

edit

/etc/udev/permissions.d/50-udev.permissions


and insert :

zap/* asterisk:asterisk:660


If running

/etc/init.d/zaptel start

still fails, then  run

/etc/init.d/zaptel stop

and then

sh -x /etc/init.d/zaptel start

You should be able to work out what's failing from the output here. If you
can't, post the output to the list or email it to me.

If, for example, modprobe is failing on ztdummy.ko, then run

strace modprobe ztdummy

and look at the output. This will identify problems like the modules being
in a directory that modprobe isn't looking at, &c &c.

Again, if the cause isn't clear either post the last (say) 20 lines of the
strace err... trace her or email them to me.

Let's put this one to bed, huh ?

jd
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list