[asterisk-dev] dynamic span only

Kaloyan Kovachev kkovachev at varna.net
Thu Jan 12 10:10:11 CST 2012


The version is trunk ("In dahdi_linux trunk" below). I will try with 2.6

in system.conf i have added:
dynamic=eth,eth0/00:03:0d:08:d4:74,6,0
dchan=6
bchan=1-5
alaw=1-5

modprobe dahdi_dynamic_eth - loads fine dahdi_dynamic and dahdi
dahdi_cfg -tvvv output:
DAHDI Tools Version - SVN-trunk-r10368

DAHDI Version: SVN-trunk-r10397
Echo Canceller(s): HWEC
Configuration
======================

Dynamic span 1: driver eth, addr eth0/00:03:0d:08:d4:74, channels 6,
timing 0

Channel map:

Channel 01: Clear channel (A-law) (Echo Canceler: none) (Slaves: 01)
Channel 02: Clear channel (A-law) (Echo Canceler: none) (Slaves: 02)
Channel 03: Clear channel (A-law) (Echo Canceler: none) (Slaves: 03)
Channel 04: Clear channel (A-law) (Echo Canceler: none) (Slaves: 04)
Channel 05: Clear channel (A-law) (Echo Canceler: none) (Slaves: 05)
Channel 06: D-channel (Default) (Echo Canceler: none) (Slaves: 06)

6 channels to configure.

without the -t flag it shows the same, but is then killed:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000050
IP: [<ffffffffa03067d1>] dahdi_sysfs_add_device+0x21/0x60 [dahdi]

at this point module usage shows all 3 as used


On Thu, 12 Jan 2012 09:22:10 -0600, "Kevin P. Fleming"
<kpfleming at digium.com> wrote:
> On 01/12/2012 09:04 AM, Kaloyan Kovachev wrote:
>> Hi list,
>>   for testing purposes i would like to create SS7 setup without DAHDI
>> hardware, but with only dynamic eth or local span(s). The problem is
>> that i
>> get kernel oops on "/etc/init.d/dahdi start" (dereferencing null
>> pointer).
>> I discovered that dahdi_dummy module is not loaded (hence no timing
>> device), because it is just missing. In dahdi_linux trunk the module is
>> commented out and never build. If manually enabled the module does not
>> compile.
>>
>>   Any way to setup dynamic spans only installation or when dahdi_dummy
>>   will
>> be fixed?
> 
> Since you did not supply a DAHDI version number, I'll assume you are 
> referring to 2.6 or 2.5; in those releases, dahdi_dummy is gone, because

> its functionality has been combined into the core DAHDI module. There is

> *always* a DAHDI timing source present if the DAHDI core module is 
> loaded, so lack of a timing source is not the cause of your problem.
> 
> -- 
> Kevin P. Fleming
> Digium, Inc. | Director of Software Technologies
> Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype:
kpfleming
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at www.digium.com & www.asterisk.org
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list