[Asterisk-Users] Asterisk 1.0.7 on Gentoo

Waldo Rubinstein waldo at trianet.net
Fri Jun 3 06:14:52 MST 2005


I haven't upgraded my kernel. I have the same kernel.

The only difference I have now is I didn't have anything in  
modules.autoload.d. So I made the changes and rebooted.

# lsmod
Module                  Size  Used by
zaptel                180708  0

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

The good thing is that it now loads the zaptel module. However, it  
still fails to load the ztdummy module.

# uname -a
Linux bacardi 2.6.11-gentoo-r9 #2 SMP Fri Jun 3 08:43:55 EDT 2005  
i686 Intel(R) Xeon(TM) CPU 2.66GHz GenuineIntel GNU/Linux

# 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 additional suggestions?

Thanks,
Waldo

On Jun 3, 2005, at 9:00 AM, Michael George wrote:

> You haven't upgraded your kernel since you installed the zaptel  
> package, did
> you?
>
> If you do:
>     ls /lib/modules/<kernel version>/misc
> do you see ztdummy.ko in there?
>
> I have a system running 2.6.11-gentoo-r6 and zaptel 1.0.7 with no  
> problems.
>
> However, I load the modules in /etc/modules.autoload.d/kernel-2.6  
> with:
>     zaptel
>     ztdummy
>
> and I have asterisk and zaptel running at default runlevel with  
> asterisk
> depend()-ing on "after zaptel".
>
> See how that compares to your configuration...
>
> On Fri, Jun 03, 2005 at 08:17:57AM -0400, Waldo Rubinstein wrote:
>
>> It also fails.
>>
>> # /etc/init.d/zaptel start
>> * Starting zaptel...
>> Notice: Configuration file is /etc/zaptel.conf
>> line 206: Unable to open master device '/dev/zap/
>> ctl'                     [ ok ]
>>
>> # lsmod
>> Module                  Size  Used by
>>
>> Any other ideas?
>>
>> Thanks,
>> Waldo
>>
>> On Jun 3, 2005, at 12:56 AM, Dan Perik wrote:
>>
>>
>>> 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.
>>>>
>>>>
>>>>
>>> I'm running * on Gentoo.  Just a shot in the dark here.  Have you
>>> tried:
>>> /etc/init.d/zaptel start
>>>
>>> Then do your modprobe.
>>>
>>> Let us know what happens.
>>>
>>> - Dan
>>> _______________________________________________
>>> 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
>> ---
>> [This E-mail scanned for viruses by Declude Virus]
>>
>>
>
> -- 
> -M
>
> There are 10 kinds of people in this world:
>     Those who can count in binary and those who cannot.
> _______________________________________________
> 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