After a reboot, I can't reproduce the problem anymore which is quite frustating.<br><br><div class="gmail_quote">2011/6/14 Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Jun 14, 2011 at 03:44:32PM +0200, Olivier wrote:<br>
> Hi,<br>
><br>
> I'm using a two-years old installation script for the first time on a<br>
> Squeeze (linux 2.6.32) platform.<br>
> For an unknown reason (might be an obvious one), Dahdi can't be loaded<br>
> anymore.<br>
><br>
> 1. First of all, it seems /dev/dahdi content was previously (ie in Lenny)<br>
> owned by asterisk:asterisk (asterisk is run as asterisk).<br>
> Now it is owned by root.<br>
> Any clue about this ?<br>
<br>
</div>asterisk:asterisk ? How did you set the ownership?</blockquote><div> with a simple chown -R asterisk:asterisk /dev/dahdi/*</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Through a file in /etc/udev/rules/ ?<br>
<div class="im"><br>
><br>
> 2. Secondly, I changed /dev/dahdi content ownership by hand.<br>
<br>
</div>If the device files are not static (which they normally aren't) the<br>
device files will get re-generated next time the driver loads.<br></blockquote><div><br>Yes, it's true. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
> Then when I'm<br>
> trying to load chan_dahdi, I can read :<br>
><br>
> > module load chan_dahdi<br>
> Unable to load module chan_dahdi<br>
> Command 'module load chan_dahdi' failed.<br>
> [Jun 14 15:41:53] WARNING[8150]: chan_dahdi.c:1469 dahdi_open: Unable to<br>
> specify channel 1: No such device or address<br>
> [Jun 14 15:41:53] ERROR[8150]: chan_dahdi.c:8816 mkintf: Unable to open<br>
> channel 1: No such device or address<br>
> here = 0, tmp->channel = 1, channel = 1<br>
> [Jun 14 15:41:53] ERROR[8150]: chan_dahdi.c:14229 build_channels: Unable to<br>
> register channel '1-2'<br>
><br>
> Suggestions ?<br>
<br>
</div>What is the output of lsdahdi?<br>
<br>
<a href="http://docs.tzafrir.org.il/dahdi-linux/#_procfs_interface_proc_dahdi" target="_blank">http://docs.tzafrir.org.il/dahdi-linux/#_procfs_interface_proc_dahdi</a><br>
</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
</font><div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>Thanks for helping (for both Andrew and Tzafrir).<br>