<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<pre>make sure following init script is on at start up. <br><br>/etc/init.d/dahdi <br><br>Run lsmod command to make sure driver is loaded. <br><br>-S<br></pre><br><br>> Date: Wed, 13 Apr 2011 09:35:52 -0500<br>> From: sruffell@digium.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Problems With DAHDI on Ubuntu<br>> <br>> On Wed, Apr 13, 2011 at 09:48:47AM -0400, Shawn L wrote:<br>> > I have 2 separate Asterisk servers that are both exibiting this<br>> > problem. 1 has a 4 port FXO digium card, the other an 8 port.<br>> > <br>> > For some reason when the machine reboots, the dahdi drivers are not<br>> > properly loaded. Then asterisk ends up starting without dahdi<br>> > support. I've tried everything that I can think of, even to the point<br>> > of running dahdi_cfg in the asterisk startup script before asterisk<br>> > itself is started, but it doesn't help.<br>> > <br>> > To fix it, all i have to do is login and run<br>> > dahdi_cfg<br>> > /etc/init.d/asterisk restart<br>> > <br>> > but that's a pain to have to do after every reboot. I've never had<br>> > this problem with asterisk systems in the past, but now it's happening<br>> > on the last 2 servers we've setup. Does anyone have any ideas? I<br>> > can't understand why explicitly calling dahdi_cfg or the<br>> > dahdi_startup script before starting asterisk isn't working.<br>> <br>> Is there any output from either /etc/init.d/dahdi start or dmesg when<br>> this happens?<br>> <br>> Normally the process is this (just in case this helps highlight<br>> something that might not be standard on your system):<br>> <br>> 1) The system boots up, udev runs and *does not* load any drivers<br>> because all the drivers have been blacklisted in<br>> /etc/modprobe.d/dahdi.blacklist.conf<br>> <br>> 2) The init scripts are run (distribution specific how you set there,<br>> chkconfig/update-rc.d/etc...) and /etc/init.d/dahdi looks in<br>> /etc/dahdi/modules to determine which board specific modules are loaded.<br>> <br>> 3) After all the modules are loaded /etc/init.d/dahdi runs dahdi_cfg to<br>> parse /etc/dahdi/system.conf and configure the spans and channels<br>> appropriately.<br>> <br>> In your email you say that the drivers are not properly loaded but to<br>> fix it neither "dahdi_cfg" or "/etc/init.d/asterisk restart" actually<br>> loads the drivers.<br>> <br>> Cheers,<br>> Shaun<br>> <br>> -- <br>> Shaun Ruffell<br>> Digium, Inc. | Linux Kernel Developer<br>> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>> Check us out at: www.digium.com & www.asterisk.org<br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            </body>
</html>