<div>Hello,</div>
<div> </div>
<div>First step:</div>
<div>Stop and Uninstall DAHDI, well theres no uninstall script in DAHDI source, so just stop it and remove kernel modules.</div>
<div><br>> /etc/init.d/dahdi stop</div>
<div> </div>
<div>then go to your /usr/src<br>dont forget to install your kernel headers and sources, and these packages are necessary:</div>
<div> </div>
<div>gcc<br>g++<br>make<br>libncurses5-dev<br>flex<br>bison<br>patch<br>linux-source<br>linux-headers-$(uname -r)</div>
<div> </div>
<div><br>then purge your DAHDI source, and download again.</div>
<div><a href="http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.0.0.tar.gz">http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.0.0.tar.gz</a></div>
<div><a href="http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.0.0.tar.gz">http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.0.0.tar.gz</a></div>
<div> </div>
<div>and go to dahdi-linux first.</div>
<div>> make</div>
<div>> make install</div>
<div> </div>
<div>and then go to dahdi-tools:</div>
<div>> ./configure</div>
<div>> make</div>
<div>> make install</div>
<div>> make config</div>
<div> </div>
<div>then restart DAHDI with:</div>
<div>> /etc/init.d/dahdi stop</div>
<div>> /etc/init.d/dahdi start</div>
<div>> dahdi_cfg -vvv (2 times)</div>
<div> </div>
<div>Hope this works, good luck!</div>
<div><br> </div>
<div class="gmail_quote">On Wed, Nov 19, 2008 at 10:22 AM, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">On Tue, Nov 18, 2008 at 07:56:36PM -0500, Jerry Geis wrote:<br>> I am installing dahdi on a machine<br>> lspci<br>> 00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge<br>> 00:01.0 PCI bridge: Hewlett-Packard Company Unknown device 9602<br>
> 00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge<br>> (PCIE port 0)<br>> 00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge<br>> (PCIE port 1)<br>> 00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge<br>
> (PCIE port 2)<br>> 00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge<br>> (PCIE port 3)<br>> 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA<br>> Controller [AHCI mode]<br>
> 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0<br>> Controller<br>> 00:12.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1<br>> Controller<br>> 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller<br>
> 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0<br>> Controller<br>> 00:13.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1<br>> Controller<br>> 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller<br>
> 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)<br>> 00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller<br>> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia<br>> 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller<br>
> 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge<br>> 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h<br>> HyperTransport Configuration (rev 40)<br>> 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map<br>
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller<br>> 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h<br>> Miscellaneous Control<br>> 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control<br>
> 01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN<br>> [Radeon HD 3200 Graphics]<br>> 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller<br>> 08:00.0 System peripheral: JMicron Technologies, Inc. Unknown device 2382<br>
> 08:00.2 SD Host controller: JMicron Technologies, Inc. Unknown device 2381<br>> 08:00.3 System peripheral: JMicron Technologies, Inc. Unknown device 2383<br>> 08:00.4 System peripheral: JMicron Technologies, Inc. Unknown device 2384<br>
> 09:00.0 Ethernet controller: Atheros Communications Inc. AR242x<br>> 802.11abg Wireless PCI Express Adapter (rev 01)<br>> 0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E<br>> PCI Express Fast Ethernet controller (rev 02)<br>
><br>><br>> dahdi complete 2.0.0 compiles fine. I am running centos 5.2 x86_64.<br>> the service starts fine.<br>><br>> lsmod | grep dahdi<br>> dahdi_dummy 38984 0<br>> dahdi 231888 1 dahdi_dummy<br>
> crc_ccitt 35265 1 dahdi<br><br></div></div>dahdi_dummy should be the source of timing ("ticks")<br>
<div class="Ih2E3d"><br>><br>><br>> dahdi_dummy loads as shown.<br>><br>> When compiling asterisk 1.4.22 it compiles fine.<br>><br>> when running I get the message:<br>> ] ERROR[10981]: asterisk.c:3036 main: Asterisk has detected a problem<br>
> with your DAHDI configuration and will shutdown for your protection.<br>> You have options:<br>> 1. You only have to compile DAHDI support into Asterisk if you<br>> need it. One option is to recompile without DAHDI support.<br>
> 2. You only have to load DAHDI drivers if you want to take<br>> advantage of DAHDI services. One option is to unload DAHDI modules if<br>> you don't need them.<br>> 3. If you need DAHDI services, you must correctly configure DAHDI.<br>
><br>><br>> dahdi_speed gives:<br>> Count: 1782120<br><br></div>dahdi_speed is pointless.<br>
<div class="Ih2E3d"><br>><br>> dahdi_test never somes back<br><br></div>DAHDI loaded. Device files exist. But nothing actually ticks.<br><font color="#888888"><br>--<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="Wj3C7c"><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</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>