|
Vijay,
The error messages tell you what is wrong. When loading a
module, it expects to resolve all its symbols from other modules or the kernel.
But you are seeing "zaptel: Unknown symbol crc_ccitt_table".
The problem is that your kernel is compiled with CONFIG_CRC_CCITT=n. You need to change it to =m or =y and recompile your
kernel. Then you will be able to load zaptel followed by ztdummy.
As I mentioned in my last email, this stuff probably shouldn't
go to the asterisk-perl list anyway. There are lots of people on asterisk-users
who would be able to help.
Hope this helps
Cheers
Tony
----- Original Message -----
Sent: Saturday, January 21, 2006 11:58
PM
Subject: RE: Asterisk Configuration
Hello Tony,
I
did the first step as you said, upto
# make all
# make install
# make config.
Thereafter i edited the /etc/default/zaptel
file
this is the only hardware that is now
uploading:
MODULES="$MODULES
ztdummy" # UHCI USB Zaptel Timing Only
Interface.
But even after that when i do modprobe ztdummy, it
gives me the same error message as follows:
WARNING: Error inserting zaptel
(/lib/modules/2.6.15.1/misc/zaptel.ko): Unknown symbol in module, or unknown
parameter (see dmesg) WARNING: Error inserting zaptel
(/lib/modules/2.6.15.1/misc/zaptel.ko): Unknown symbol in module, or unknown
parameter (see dmesg) FATAL: Error inserting ztdummy
(/lib/modules/2.6.15.1/misc/ztdummy.ko): Unknown symbol in module, or unknown
parameter (see dmesg) FATAL: Error running install command for
ztdummy
And doing dmesg gives the following error
messages:
eth0: link up, 100Mbps, full-duplex, lpa
0x45E1 zaptel: Unknown symbol crc_ccitt_table zaptel: Unknown symbol
crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table ztdummy: Unknown
symbol zt_receive ztdummy: Unknown symbol zt_transmit ztdummy: Unknown
symbol zt_unregister ztdummy: Unknown symbol zt_register zaptel: Unknown
symbol crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table ztdummy:
Unknown symbol zt_receive ztdummy: Unknown symbol zt_transmit ztdummy:
Unknown symbol zt_unregister ztdummy: Unknown symbol zt_register zaptel:
Unknown symbol crc_ccitt_table zaptel: Unknown symbol
crc_ccitt_table ztdummy: Unknown symbol zt_receive ztdummy: Unknown
symbol zt_transmit ztdummy: Unknown symbol zt_unregister ztdummy:
Unknown symbol zt_register zaptel: Unknown symbol
crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table zaptel: Unknown
symbol crc_ccitt_table ztdummy: Unknown symbol zt_receive ztdummy:
Unknown symbol zt_transmit ztdummy: Unknown symbol
zt_unregister ztdummy: Unknown symbol zt_register zaptel: Unknown symbol
crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table zaptel: Unknown
symbol crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table ztdummy:
Unknown symbol zt_receive ztdummy: Unknown symbol zt_transmit ztdummy:
Unknown symbol zt_unregister ztdummy: Unknown symbol zt_register zaptel:
Unknown symbol crc_ccitt_table zaptel: Unknown symbol
crc_ccitt_table ztdummy: Unknown symbol zt_receive ztdummy: Unknown
symbol zt_transmit ztdummy: Unknown symbol zt_unregister ztdummy:
Unknown symbol zt_register zaptel: Unknown symbol
crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table ztdummy: Unknown
symbol zt_receive ztdummy: Unknown symbol zt_transmit ztdummy: Unknown
symbol zt_unregister ztdummy: Unknown symbol zt_register zaptel: Unknown
symbol crc_ccitt_table zaptel: Unknown symbol crc_ccitt_table ztdummy:
Unknown symbol zt_receive ztdummy: Unknown symbol zt_transmit ztdummy:
Unknown symbol zt_unregister ztdummy: Unknown symbol
zt_register
Please guide me the
solution.
Regards
Vijay
Gandhi
Sorry, but that's complete nonsense. If the system has no
Digium hardware with its associated driver loaded, then ztdummy absolutely
IS required in order to provide a timing source to the zaptel module. The
Linux lernel on its own doesn't know anything about providing timing to
zaptel.
To Vijay, the answer is that you compile it from source
just like you do the rest of asterisk. Download the tarbal for zaptel-1.2.2
(recently released), unpack it into /usr/src/zaptel, then just
do:
# make all
# make install
# make config
The edit /etc/rc.d/init.d/zaptel and change the MODULES
and RMODULES lines just to include ztdummy, and none of the hardware
drivers.
If Slackware doesn't put startup scripts in
/etc/rc.d/init.d then you might have to set up the zaptel loading by
hand.
There is no need to recompile the kernel, nor to change
its clock rate, since ztdummy doesn't use the kernel clock on 2.6.13 or
higher.
Cheers
Tony
----- Original Message -----
Sent: Saturday, January 21, 2006 8:16
PM
Subject: RE: Asterisk
Configuration
Kernel 2.6 doesn't need ztdummy as it has a 1000 hz
timer built in. On debian it default to 250hz so you might need to
recompile your kernel to make what ever interval is needed by Asterisk (I
think the kernel config has options for 100, 250 and 1000 hz). It
has been a while for me, so I'm not certain about the requirement. I
think the newsgroup or the code or the make file refers to
it.
Hi Guys,
Can anyone tell me how to install ztdummy on the slackware system
with kernel 2.6.15, i am not using any digium hardware, i need to install
ztdummy on my slackware system which is compiled with kernel
2.6.15.1.
Please suggest the best possible
way...................
Regards
Vijay Gandhi -- Scanned for viruses
& dangerous content at One
Unified and is believed to be clean. -- Scanned for viruses
& dangerous content at One
Unified and is believed to be clean.
|