I am installing dahdi on a machine lspci 00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge 00:01.0 PCI bridge: Hewlett-Packard Company Unknown device 9602 00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) 00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) 00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) 00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3) 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller 00:12.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller 00:13.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a) 00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration (rev 40) 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control 01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller 08:00.0 System peripheral: JMicron Technologies, Inc. Unknown device 2382 08:00.2 SD Host controller: JMicron Technologies, Inc. Unknown device 2381 08:00.3 System peripheral: JMicron Technologies, Inc. Unknown device 2383 08:00.4 System peripheral: JMicron Technologies, Inc. Unknown device 2384 09:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) 0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 02) dahdi complete 2.0.0 compiles fine. I am running centos 5.2 x86_64. the service starts fine. lsmod | grep dahdi dahdi_dummy 38984 0 dahdi 231888 1 dahdi_dummy crc_ccitt 35265 1 dahdi dahdi_dummy loads as shown. When compiling asterisk 1.4.22 it compiles fine. when running I get the message: ] ERROR[10981]: asterisk.c:3036 main: Asterisk has detected a problem with your DAHDI configuration and will shutdown for your protection. You have options: 1. You only have to compile DAHDI support into Asterisk if you need it. One option is to recompile without DAHDI support. 2. You only have to load DAHDI drivers if you want to take advantage of DAHDI services. One option is to unload DAHDI modules if you don't need them. 3. If you need DAHDI services, you must correctly configure DAHDI. dahdi_speed gives: Count: 1782120 dahdi_test never somes back What dont I have correct? Thanks, Jerry
>lsmod | grep dahdi >dahdi_dummy 38984 0 >dahdi 231888 1 dahdi_dummy >crc_ccitt 35265 1 dahdiHow did you compile and install this? Did you simply make, make install, make config and chkconfig dahdi on? I assume you edited your /etc/dahdi/modules as your lsmod only shows the dummy? What does dmesg and messages have to say about dahdi? jlc
> > >/lsmod | grep dahdi > />/dahdi_dummy 38984 0 > />/dahdi 231888 1 dahdi_dummy > />/crc_ccitt 35265 1 dahdi > / > How did you compile and install this? Did you simply make, make install, > make config and chkconfig dahdi on? I assume you edited your /etc/dahdi/modules > as your lsmod only shows the dummy? What does dmesg and messages have > to say about dahdi? >I compiled dahdi 2.0 complete with: make all; make install; linux/build_tools/genudevrules; make config dahdi_dummy is what I am looking for. I dont have any cards installed. Jerry
dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.0.0 dahdi_dummy: RTC rate is 1024 dahdi: Registered tone zone 0 (United States / North America) sorry I forgot dmesg. Jerry
>I compiled dahdi 2.0 complete with: >make all; make install; linux/build_tools/genudevrules; make configAs per the readme, I did #make, make install, make config and then double checked chkconfig and although I think /etc/dahdi/modules is for controlling what loads. I suspect as I also have many CentOS 5.2x64 boxes that your issues lies with your genudevrules execution. My dmesg shows the same... Try as I did (and as the readme suggests), my guess is it will be fine. jlc
On Tue, Nov 18, 2008 at 07:56:36PM -0500, Jerry Geis wrote:> I am installing dahdi on a machine > lspci > 00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge > 00:01.0 PCI bridge: Hewlett-Packard Company Unknown device 9602 > 00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge > (PCIE port 0) > 00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge > (PCIE port 1) > 00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge > (PCIE port 2) > 00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge > (PCIE port 3) > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA > Controller [AHCI mode] > 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 > Controller > 00:12.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1 > Controller > 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller > 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 > Controller > 00:13.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1 > Controller > 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller > 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a) > 00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller > 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia > 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller > 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge > 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h > HyperTransport Configuration (rev 40) > 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map > 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller > 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h > Miscellaneous Control > 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control > 01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN > [Radeon HD 3200 Graphics] > 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller > 08:00.0 System peripheral: JMicron Technologies, Inc. Unknown device 2382 > 08:00.2 SD Host controller: JMicron Technologies, Inc. Unknown device 2381 > 08:00.3 System peripheral: JMicron Technologies, Inc. Unknown device 2383 > 08:00.4 System peripheral: JMicron Technologies, Inc. Unknown device 2384 > 09:00.0 Ethernet controller: Atheros Communications Inc. AR242x > 802.11abg Wireless PCI Express Adapter (rev 01) > 0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E > PCI Express Fast Ethernet controller (rev 02) > > > dahdi complete 2.0.0 compiles fine. I am running centos 5.2 x86_64. > the service starts fine. > > lsmod | grep dahdi > dahdi_dummy 38984 0 > dahdi 231888 1 dahdi_dummy > crc_ccitt 35265 1 dahdidahdi_dummy should be the source of timing ("ticks")> > > dahdi_dummy loads as shown. > > When compiling asterisk 1.4.22 it compiles fine. > > when running I get the message: > ] ERROR[10981]: asterisk.c:3036 main: Asterisk has detected a problem > with your DAHDI configuration and will shutdown for your protection. > You have options: > 1. You only have to compile DAHDI support into Asterisk if you > need it. One option is to recompile without DAHDI support. > 2. You only have to load DAHDI drivers if you want to take > advantage of DAHDI services. One option is to unload DAHDI modules if > you don't need them. > 3. If you need DAHDI services, you must correctly configure DAHDI. > > > dahdi_speed gives: > Count: 1782120dahdi_speed is pointless.> > dahdi_test never somes backDAHDI loaded. Device files exist. But nothing actually ticks. -- 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