[asterisk-users] Dahdi 2.4.0 and Squeeze

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jun 14 09:07:15 CDT 2011


On Tue, Jun 14, 2011 at 03:44:32PM +0200, Olivier wrote:
> Hi,
> 
> I'm using a two-years old installation script for the first time on a
> Squeeze (linux 2.6.32) platform.
> For an unknown reason (might be an obvious one), Dahdi can't be loaded
> anymore.
> 
> 1. First of all, it seems /dev/dahdi content was previously (ie in Lenny)
> owned by asterisk:asterisk (asterisk is run as asterisk).
> Now it is owned by root.
> Any clue about this ?

asterisk:asterisk ? How did you set the ownership?

Through a file in /etc/udev/rules/ ?

> 
> 2. Secondly, I changed /dev/dahdi content ownership by hand. 

If the device files are not static (which they normally aren't) the
device files will get re-generated next time the driver loads.

> Then when I'm
> trying to load chan_dahdi, I can read :
> 
> > module load chan_dahdi
> Unable to load module chan_dahdi
> Command 'module load chan_dahdi' failed.
> [Jun 14 15:41:53] WARNING[8150]: chan_dahdi.c:1469 dahdi_open: Unable to
> specify channel 1: No such device or address
> [Jun 14 15:41:53] ERROR[8150]: chan_dahdi.c:8816 mkintf: Unable to open
> channel 1: No such device or address
> here = 0, tmp->channel = 1, channel = 1
> [Jun 14 15:41:53] ERROR[8150]: chan_dahdi.c:14229 build_channels: Unable to
> register channel '1-2'
> 
> Suggestions ?

What is the output of lsdahdi?

http://docs.tzafrir.org.il/dahdi-linux/#_procfs_interface_proc_dahdi

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list