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 ? 2. Secondly, I changed /dev/dahdi content ownership by hand. Then when I'm trying to load chan_dahdi, I can read :> module load chan_dahdiUnable 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 ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110614/05985cf0/attachment.htm>
On Tue, Jun 14, 2011 at 9:44 AM, Olivier <oza_4h07 at yahoo.fr> 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 ? > > 2. Secondly, I changed /dev/dahdi content ownership by hand. 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 ? > > RegardsLook at the init.d file to see who it is started as. You may want to test by "su" as the Asterisk user. -- ~~~ Andrew "lathama" Latham lathama at gmail.com ~~~
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