[asterisk-users] Problems with CentOS ztdummy kernel 2.6
Wireless
wireless at svw.org.uk
Mon Feb 19 10:35:23 MST 2007
is it a spinlock problem? try http://www.trixbox.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=1626&forum=2
----- Original Message -----
From: Mail list
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Monday, February 19, 2007 3:38 PM
Subject: Re: [asterisk-users] Problems with CentOS ztdummy kernel 2.6
did u try modprobe zaptel first ? also check makefile if ztdummy is marked for compilation or not
On 19/02/07, Chris Blunt < chris.blunt at entropy-it.com> wrote:
Hi List,
I am having some trouble with installing the latest version of ztdummy on a CentOS Kernel 2.6 system.
I have installed a few Asterisk systems on Slackware Kernel 2.4.x without any issues, unfortunately there is no choice about this distro, or kernel as it has been preinstalled by someone else. And so I am in the dark with an unfamiliar distro and kernel.
I am fairly sure the kernel source has been installed.
I'm not sure the timer module is installed in the kernel, is it possible to check? If not I think I will need to use ztdummy for definite.
Any help with this would be a real life saver.
Thanks – Chris
From the zaptel-1.2.13 directory I issue the make linux26 command with the following result:
make: *** No rule to make target `linux26'. Stop.
Just issuing the make command does seem to work and concludes with:
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-i686'
Make install outputs the following:
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel-1.2.13 HOTPLUG_FIRMWARE=yes modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-i686'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-i686'
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
if [ -d /usr/lib/hotplug/firmware ]; then \
install -m 644 wct4xxp/*.ima /usr/lib/hotplug/firmware; \
install -m 644 wctc4xxp/*.bin /usr/lib/hotplug/firmware; \
fi
if [ -d /lib/firmware ]; then \
install -m 644 wct4xxp/*.ima /lib/firmware; \
install -m 644 wctc4xxp/*.bin /lib/firmware; \
fi
Installed firmware
install -D -m 755 ztcfg /sbin/ztcfg
if [ -f sethdlc-new ]; then \
install -D -m 755 sethdlc-new /sbin/sethdlc; \
elif [ -f sethdlc ]; then \
install -D -m 755 sethdlc /sbin/sethdlc ; \
fi
if [ -f zttool ]; then install -D -m 755 zttool /sbin/zttool; fi
for x in zaptel.ko tor2.ko torisa.ko wcusb.ko wcfxo.ko wctdm.ko wctdm24xxp.ko ztdynamic.ko ztd-eth.ko wct1xxp.ko wcte11xp.ko pciradio.ko ztd-loc.ko ztdummy.ko zttranscode.ko; do \
rm -f /lib/modules/2.6.9-42.0.3.ELsmp/extra/$x ; \
done; \
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel-1.2.13 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install;
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-i686'
INSTALL /usr/src/zaptel-1.2.13/pciradio.ko
INSTALL /usr/src/zaptel-1.2.13/tor2.ko
INSTALL /usr/src/zaptel-1.2.13/torisa.ko
INSTALL /usr/src/zaptel-1.2.13/wcfxo.ko
INSTALL /usr/src/zaptel-1.2.13/wct1xxp.ko
INSTALL /usr/src/zaptel-1.2.13/wct4xxp/wct4xxp.ko
INSTALL /usr/src/zaptel-1.2.13/wctc4xxp/wctc4xxp.ko
INSTALL /usr/src/zaptel-1.2.13/wctdm.ko
INSTALL /usr/src/zaptel-1.2.13/wctdm24xxp.ko
INSTALL /usr/src/zaptel-1.2.13/wcte11xp.ko
INSTALL /usr/src/zaptel-1.2.13/wcusb.ko
INSTALL /usr/src/zaptel-1.2.13/xpp/xpd_fxo.ko
INSTALL /usr/src/zaptel-1.2.13/xpp/xpd_fxs.ko
INSTALL /usr/src/zaptel-1.2.13/xpp/xpp.ko
INSTALL /usr/src/zaptel-1.2.13/xpp/xpp_usb.ko
INSTALL /usr/src/zaptel-1.2.13/zaptel.ko
INSTALL /usr/src/zaptel-1.2.13/ztd-eth.ko
INSTALL /usr/src/zaptel-1.2.13/ztd-loc.ko
INSTALL /usr/src/zaptel-1.2.13/ztdummy.ko
INSTALL /usr/src/zaptel-1.2.13/ztdynamic.ko
INSTALL /usr/src/zaptel-1.2.13/zttranscode.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-i686'
if ! [ -f wcfxsusb.o ]; then \
rm -f /lib/modules/2.6.9-42.0.3.ELsmp/misc/wcfxsusb.o; \
fi; \
rm -f /lib/modules/2.6.9-42.0.3.ELsmp/misc/wcfxs.o
install -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
[ `id -u` = 0 ] && /sbin/ldconfig || :
rm -f /usr/lib/libtonezone.so
ln -sf libtonezone.so.1.0 \
/usr/lib/libtonezone.so.1
ln -sf libtonezone.so.1.0 \
/usr/lib/libtonezone.so
if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then /sbin/restorecon -v /usr/lib/libtonezone.so; fi
install -D -m 644 zaptel.h /usr/include/linux/zaptel.h
install -D -m 644 torisa.h /usr/include/linux/torisa.h
install -D -m 644 tonezone.h /usr/include/tonezone.h
install -m 644 doc/ztcfg.8 /usr/share/man/man8
install -m 644 doc/zttool.8 /usr/share/man/man8
[ `id -u` = 0 ] && /sbin/depmod -a 2.6.9-42.0.3.ELsmp || :
[ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf
build_tools/genmodconf linux26 "" "tor2 torisa wcusb wcfxo wctdm wctdm24xxp ztdynamic ztd-eth wct1xxp wcte11xp pciradio ztd-loc wct4xxp wcfxs wctdm8xxp wct2xxp"
Building /etc/modprobe.conf...
Once it is installed I run: modprobe ztdummy with the following result.
FATAL: Module ztdummy not found.
FATAL: Error running install command for ztdummy
--
Chris Blunt
Entropy IT Ltd
_______________________________________________
--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
--
This message has been scanned for viruses and
dangerous content by ESVA, and is believed
to be clean.
------------------------------------------------------------------------------
_______________________________________________
--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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070219/ad2c75d0/attachment-0001.htm
More information about the asterisk-users
mailing list