<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Is there a dahdi_cfg in your boot sequence? When I modify dahdi
    config files I always launch dahdi_cfg otherwise I get errors like
    yours.<br>
    <br>
    Giorgio<br>
    <br>
    On 06/14/2011 05:37 PM, Olivier wrote:
    <blockquote
      cite="mid:BANLkTi=VZaq9AdqSAV=6BqwH+UZBGu9rBQ@mail.gmail.com"
      type="cite">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">&lt;<a
            moz-do-not-send="true"
            href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>&gt;</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>
            &gt; Hi,<br>
            &gt;<br>
            &gt; I'm using a two-years old installation script for the
            first time on a<br>
            &gt; Squeeze (linux 2.6.32) platform.<br>
            &gt; For an unknown reason (might be an obvious one), Dahdi
            can't be loaded<br>
            &gt; anymore.<br>
            &gt;<br>
            &gt; 1. First of all, it seems /dev/dahdi content was
            previously (ie in Lenny)<br>
            &gt; owned by asterisk:asterisk (asterisk is run as
            asterisk).<br>
            &gt; Now it is owned by root.<br>
            &gt; Any clue about this ?<br>
            <br>
          </div>
          asterisk:asterisk ? How did you set the ownership?</blockquote>
        <div>&nbsp;with&nbsp; 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>
            &gt;<br>
            &gt; 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>
            &gt; Then when I'm<br>
            &gt; trying to load chan_dahdi, I can read :<br>
            &gt;<br>
            &gt; &gt; module load chan_dahdi<br>
            &gt; Unable to load module chan_dahdi<br>
            &gt; Command 'module load chan_dahdi' failed.<br>
            &gt; [Jun 14 15:41:53] WARNING[8150]: chan_dahdi.c:1469
            dahdi_open: Unable to<br>
            &gt; specify channel 1: No such device or address<br>
            &gt; [Jun 14 15:41:53] ERROR[8150]: chan_dahdi.c:8816
            mkintf: Unable to open<br>
            &gt; channel 1: No such device or address<br>
            &gt; here = 0, tmp-&gt;channel = 1, channel = 1<br>
            &gt; [Jun 14 15:41:53] ERROR[8150]: chan_dahdi.c:14229
            build_channels: Unable to<br>
            &gt; register channel '1-2'<br>
            &gt;<br>
            &gt; Suggestions ?<br>
            <br>
          </div>
          What is the output of lsdahdi?<br>
          <br>
          <a moz-do-not-send="true"
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>
          &nbsp;</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>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Tzafrir Cohen<br>
            icq#16849755 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
              href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
            +972-50-7952406 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailto:<a moz-do-not-send="true"
              href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
            <a moz-do-not-send="true" href="http://www.xorcom.com"
              target="_blank">http://www.xorcom.com</a> &nbsp;<a
              moz-do-not-send="true"
              href="http://iax:guest@local.xorcom.com/tzafrir"
              target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
          </font>
          <div>
            <div class="h5"><br>
              --<br>
_____________________________________________________________________<br>
              -- Bandwidth and Colocation Provided by <a
                moz-do-not-send="true" 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>
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
                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>
              &nbsp; <a moz-do-not-send="true"
                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>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>