VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
rodrigoborgespereira a... Guest
|
Posted: Wed Feb 12, 2014 12:19 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
Hello,
Getting this error on dahdi_cfg. Reverting to 2.8 the error goes away:
line 15: Unable to create 'dahdi_cfg' mutex.
Is this a problem?
Thanks in advance.
Full detail:
[ebox]> dahdi_cfg -vvvvvvv
DAHDI Tools Version - 2.9.0.1
DAHDI Version: 2.9.0
Echo Canceller(s): HWEC
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: kb1) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: kb1) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 0
Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: kb1) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 11)
Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: kb1) (Slaves: 12)
12 channels to configure.
Notice: Configuration file is /etc/dahdi/system.conf
line 15: Unable to create 'dahdi_cfg' mutex. |
|
Back to top |
|
|
sruffell at digium.com Guest
|
Posted: Wed Feb 12, 2014 12:35 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
On Wed, Feb 12, 2014 at 05:21:24PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Hello,
Getting this error on dahdi_cfg. Reverting to 2.8 the error goes away:
*line 15: Unable to create 'dahdi_cfg' mutex.*
Is this a problem?
Thanks in advance.
Full detail:
[ebox]> dahdi_cfg -vvvvvvv
DAHDI Tools Version - 2.9.0.1
DAHDI Version: 2.9.0
Echo Canceller(s): HWEC
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 0
Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 11)
Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 12)
12 channels to configure.
Notice: Configuration file is /etc/dahdi/system.conf
*line 15: Unable to create 'dahdi_cfg' mutex.*
|
Which distro / version are you running? It appears that the sem_open
call has failed on this platform.
There does appear to be a mistake in the code though with the error
reporting. 'perror' should be used instead of 'error'. The line
number in the config file isn't related to this error report.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
rodrigoborgespereira a... Guest
|
Posted: Wed Feb 12, 2014 12:47 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
Hello Shaun,
This system is a custom distro, based on debian and currently built around kernel 2.6.35.8. Is sem_open introduced only in DAHDI 2.9 ?
On Wed, Feb 12, 2014 at 5:37 PM, Shaun Ruffell <sruffell@digium.com (sruffell@digium.com)> wrote:
Quote: | On Wed, Feb 12, 2014 at 05:21:24PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Hello,
Getting this error on dahdi_cfg. Reverting to 2.8 the error goes away:
|
Quote: | *line 15: Unable to create 'dahdi_cfg' mutex.*
Is this a problem?
Thanks in advance.
Full detail:
[ebox]> dahdi_cfg -vvvvvvv
DAHDI Tools Version - 2.9.0.1
DAHDI Version: 2.9.0
Echo Canceller(s): HWEC
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 0
Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 11)
Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 12)
12 channels to configure.
Notice: Configuration file is /etc/dahdi/system.conf
|
Quote: | *line 15: Unable to create 'dahdi_cfg' mutex.*
|
Which distro / version are you running? It appears that the sem_open
call has failed on this platform.
There does appear to be a mistake in the code though with the error
reporting. 'perror' should be used instead of 'error'. The line
number in the config file isn't related to this error report.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
rodrigoborgespereira a... Guest
|
Posted: Wed Feb 12, 2014 12:53 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
Maybe the problem is lack of tmpfs?
statfs("/dev/shm", 0xbff88568) = -1 ENOENT (No such file or directory)
Is this a new requirement for DAHDI?
On Wed, Feb 12, 2014 at 5:49 PM, Rodrigo Borges Pereira <rodrigoborgespereira@gmail.com (rodrigoborgespereira@gmail.com)> wrote:
Quote: | Hello Shaun,
This system is a custom distro, based on debian and currently built around kernel 2.6.35.8. Is sem_open introduced only in DAHDI 2.9 ?
On Wed, Feb 12, 2014 at 5:37 PM, Shaun Ruffell <sruffell@digium.com (sruffell@digium.com)> wrote:
Quote: | On Wed, Feb 12, 2014 at 05:21:24PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Hello,
Getting this error on dahdi_cfg. Reverting to 2.8 the error goes away:
|
Quote: | *line 15: Unable to create 'dahdi_cfg' mutex.*
Is this a problem?
Thanks in advance.
Full detail:
[ebox]> dahdi_cfg -vvvvvvv
DAHDI Tools Version - 2.9.0.1
DAHDI Version: 2.9.0
Echo Canceller(s): HWEC
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 0
Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 11)
Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
(Slaves: 12)
12 channels to configure.
Notice: Configuration file is /etc/dahdi/system.conf
|
Quote: | *line 15: Unable to create 'dahdi_cfg' mutex.*
|
Which distro / version are you running? It appears that the sem_open
call has failed on this platform.
There does appear to be a mistake in the code though with the error
reporting. 'perror' should be used instead of 'error'. The line
number in the config file isn't related to this error report.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
|
Back to top |
|
|
sruffell at digium.com Guest
|
|
Back to top |
|
|
sruffell at digium.com Guest
|
Posted: Wed Feb 12, 2014 1:04 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
On Wed, Feb 12, 2014 at 05:55:41PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Maybe the problem is lack of tmpfs?
statfs("/dev/shm", 0xbff88568) = -1 ENOENT (No such file or
directory)
Is this a new requirement for DAHDI?
|
tmpfs is not a requirement per-se, but it's how most POSIX libraries
on linux (including the one installed on your system) implement the
named semaphores.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
rodrigoborgespereira a... Guest
|
Posted: Wed Feb 12, 2014 1:05 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
Well, I created /dev/shm and mounted tmpfs on it, and the problem is no more. Just creating /dev/shm was not enough.
thanks.
On Wed, Feb 12, 2014 at 6:06 PM, Shaun Ruffell <sruffell@digium.com (sruffell@digium.com)> wrote:
Quote: | On Wed, Feb 12, 2014 at 05:55:41PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Maybe the problem is lack of tmpfs?
statfs("/dev/shm", 0xbff88568) = -1 ENOENT (No such file or
directory)
Is this a new requirement for DAHDI?
|
tmpfs is not a requirement per-se, but it's how most POSIX libraries
on linux (including the one installed on your system) implement the
named semaphores.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
rodrigoborgespereira a... Guest
|
Posted: Wed Feb 12, 2014 1:10 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
Just one last question: do you have another suggestion about this?
thanks.
On Wed, Feb 12, 2014 at 6:07 PM, Rodrigo Borges Pereira <rodrigoborgespereira@gmail.com (rodrigoborgespereira@gmail.com)> wrote:
Quote: | Well, I created /dev/shm and mounted tmpfs on it, and the problem is no more. Just creating /dev/shm was not enough.
thanks.
On Wed, Feb 12, 2014 at 6:06 PM, Shaun Ruffell <sruffell@digium.com (sruffell@digium.com)> wrote:
Quote: | On Wed, Feb 12, 2014 at 05:55:41PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Maybe the problem is lack of tmpfs?
statfs("/dev/shm", 0xbff88568) = -1 ENOENT (No such file or
directory)
Is this a new requirement for DAHDI?
|
tmpfs is not a requirement per-se, but it's how most POSIX libraries
on linux (including the one installed on your system) implement the
named semaphores.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
|
Back to top |
|
|
sruffell at digium.com Guest
|
Posted: Wed Feb 12, 2014 1:20 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
On Wed, Feb 12, 2014 at 06:12:41PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Just one last question: do you have another suggestion about this?
thanks.
|
Not really. There are other ways that dahdi_cfg could serialize
itself, but POSIX semaphores are widely deployed on systems that are
installing newer versions of DAHDI.
Although, dahdi-tools should probably have a configure script test
for a working implementation of sem_open and use another mechanism
if it is not available.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
rodrigoborgespereira a... Guest
|
Posted: Wed Feb 12, 2014 1:28 pm Post subject: [asterisk-users] Problem/error with DAHDI tools 2.9.0.1 |
|
|
Ok thanks Shaun!
Best regards.
On Wed, Feb 12, 2014 at 6:22 PM, Shaun Ruffell <sruffell@digium.com (sruffell@digium.com)> wrote:
Quote: | On Wed, Feb 12, 2014 at 06:12:41PM +0000, Rodrigo Borges Pereira wrote:
Quote: | Just one last question: do you have another suggestion about this?
thanks.
|
Not really. There are other ways that dahdi_cfg could serialize
itself, but POSIX semaphores are widely deployed on systems that are
installing newer versions of DAHDI.
Although, dahdi-tools should probably have a configure script test
for a working implementation of sem_open and use another mechanism
if it is not available.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|