[Asterisk-Users] Re: Asterisk 1.0.7 on Gentoo

Waldo Rubinstein waldo at trianet.net
Fri Jun 3 06:08:00 MST 2005


Ok. I recompiled the kernel with CITT support.

After rebooting, I do:
# modprobe zaptel
# dmesg | tail

Zapata Telephony Interface Registered on major 196

Then, I do:
# modprobe ztdummy

FATAL: Error inserting ztdummy (/lib/modules/2.6.11-gentoo-r9/misc/ 
ztdummy.ko): No such device

# dmesg | tail

Span  already appears to be registered
ztdummy: Unable to intialize zaptel driver

# ls -l /lib/modules/2.6.11-gentoo-r9/misc/
total 2164
-rw-r--r--  1 root root 220036 Jun  3 08:38 tor2.ko
-rw-r--r--  1 root root 137079 Jun  3 08:38 torisa.ko
-rw-r--r--  1 root root 149189 Jun  3 08:38 wcfxo.ko
-rw-r--r--  1 root root 181825 Jun  3 08:38 wcfxs.ko
-rw-r--r--  1 root root 158167 Jun  3 08:38 wct1xxp.ko
-rw-r--r--  1 root root 283486 Jun  3 08:38 wct4xxp.ko
-rw-r--r--  1 root root 213192 Jun  3 08:38 wcte11xp.ko
-rw-r--r--  1 root root 158008 Jun  3 08:38 wcusb.ko
-rw-r--r--  1 root root 251830 Jun  3 08:38 zaptel.ko
-rw-r--r--  1 root root 142320 Jun  3 08:38 ztd-eth.ko
-rw-r--r--  1 root root 118674 Jun  3 08:38 ztdummy.ko
-rw-r--r--  1 root root 129133 Jun  3 08:38 ztdynamic.ko

Any other suggestions?

Thanks,
Waldo

On Jun 3, 2005, at 9:07 AM, Maron Kristófersson wrote:

> Hi.
>
> Agree with the above, you probably need the crc_citt module.   
> Modules should be loaded before starting zaptel.  Use ztcfg -v to  
> get specific error messages.  If your using this in a production  
> environment I suggest buying a card from digium to use as a timer,  
> I tried using ztdummy but Meetme is totally out of sync after 10  
> minutes.
>
> Regards,
>
> Maron Kristofersson
>
> Ron Wellsted wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> Waldo Rubinstein wrote:
>>
>>> I installed Asterisk on Gentoo using emerge. At first, emerge  
>>> tried installing version 0.9 but reading the wiki showed how to  
>>> get the latest stable. I'm running Gentoo kernel 2.6.11-gentoo-r9.
>>>
>>> Asterisk seems to be working just fine, but I'm concerned that  
>>> since  I
>>> don't have any Digium hardware, I may need a timer source. When I  
>>> executed emerge zaptel, it installed zaptel 1.0.7 as well. The   
>>> problem
>>> is that I can't seem to be able to load ztdummy or any zaptel   
>>> module.
>>>
>>> When I type modprobe ztdummy, I get:
>>>
>>> # modprobe ztdummy
>>>
>>> WARNING: Error inserting zaptel (/lib/modules/2.6.11-gentoo-r9/misc/
>>> zaptel.ko): Unknown symbol in module, or unknown parameter (see  
>>> dmesg)
>>> FATAL: Error inserting ztdummy (/lib/modules/2.6.11-gentoo-r9/misc/
>>> ztdummy.ko): Unknown symbol in module, or unknown parameter (see  
>>> dmesg)
>>>
>>> # ls -l /lib/modules/2.6.11-gentoo-r9/misc/
>>>
>>> total 2152
>>> -rw-r--r--  1 root root 219140 Jun  3 00:18 tor2.ko
>>> -rw-r--r--  1 root root 136183 Jun  3 00:18 torisa.ko
>>> -rw-r--r--  1 root root 148293 Jun  3 00:18 wcfxo.ko
>>> -rw-r--r--  1 root root 180929 Jun  3 00:18 wcfxs.ko
>>> -rw-r--r--  1 root root 157271 Jun  3 00:18 wct1xxp.ko
>>> -rw-r--r--  1 root root 282590 Jun  3 00:18 wct4xxp.ko
>>> -rw-r--r--  1 root root 212296 Jun  3 00:18 wcte11xp.ko
>>> -rw-r--r--  1 root root 157112 Jun  3 00:18 wcusb.ko
>>> -rw-r--r--  1 root root 250934 Jun  3 00:18 zaptel.ko
>>> -rw-r--r--  1 root root 141424 Jun  3 00:18 ztd-eth.ko
>>> -rw-r--r--  1 root root 111094 Jun  3 00:18 ztdummy.ko
>>> -rw-r--r--  1 root root 128237 Jun  3 00:18 ztdynamic.ko
>>>
>>> # dmesg | tail
>>>
>>> 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
>>>
>>> Can anyone help me? Do I really need or is it recommended to get  
>>> a timer? I do need to be able to play MOH as well as have  
>>> several  MeetMe
>>> rooms. Can anyone tell me what I'm doing wrong? Could it be   
>>> something
>>> that I need to compile into the kernel (may be I disabled a   
>>> feature)?
>>> Could it be a setting in /etc/make.conf? I'm relatively new  to  
>>> Gentoo
>>> so I don't have much experience to tell me if it's a   
>>> distribution issue
>>> or an asterisk/zaptel issue.
>>>
>>> Thanks,
>>> Waldo
>>>
>> Also running Asterisk 1.0.7, currently on kernel 2.6.11-Gentoo-r6
>> The dmesg output suggests that zaptel wants the crc-ccitt module  
>> to be
>> loaded.
>> You need to ensure that your kernel build includes this module and  
>> that
>> it is loaded.
>> HTH
>> - --
>> Ron Wellsted
>> http://www.wellsted.org.uk
>> ron at wellsted.org.uk
>> FWD:519961  Gossiptel:9309811
>> N 52.567623, W 2.137621
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>> iQEVAwUBQqAVUUtP/KMNOfRbAQKBCAgAkVcjT0kUUwPefYoI/C7q1DKqQ1W4++Ek
>> y5IlNYf8H+PAG1rDvkaGarquFqf30qHjjNRxTw0f/PHxIFGgkuCO4nmHw6mAjE6g
>> lsVsHsAQ4NKBAk5jrEB2OYqzvHudmIIbGs+ydfVMHJVtzQK0jfg4kUNT4MqD4DUX
>> zCW5kmSWgLHhPUbg6HVJ9yB7J5vzyIfvhiDoxfGy7qN/L1nfBWjOI99GvWH57DTI
>> aU+RhM4zGqM2q7wc1uh/24bLuogNiie3nHl/P52eARqezaJbXV/1n+DfNzR3Vr/z
>> jDGZd0EGPr0N54Hx21gXLxLCyl3D8czNYhvMnM3Z2XhK6hDiUpX4Nw==
>> =ohdx
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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