首页 > 代码库 > dialogic d300语音卡驱动重装后启动报错问题解决方法

dialogic d300语音卡驱动重装后启动报错问题解决方法

dialogic d300 驱动重装后 dlstart  报错解决

问题描述:dlstart  后如下报错

[root@BJAPQ091 data]#dlstop

Stopping Dialogic Services...

Stopping Clocking Daemon:[  纭畾  ]

Stopping ClockingServer:[  纭畾  ]

Stopping Telephony System Monitor:[  纭畾  ]

Stopping Dialogic(R) board(s).

Deleting SW devices ....

Deleting SW devices Done

genload[17226]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Stopping Timeslot Doler:[  纭畾  ]

Stopping Device Mapper:[  纭畾  ]

Shutting Down OAM Event Service:[  纭畾  ]

Stopping Dialogic Runtime Tracing Server:[  纭畾  ]

 

 

[root@BJAPQ091 ~]# dlstart

Starting Dialogic Services...

Starting Dialogic Runtime Tracing Server:[  纭畾  ]

Warning: You have chosen a Springware board to be the Primary clock master

Clock fallback will not be supported in this configuration

Starting OAM Event Service:[  纭畾  ]

Starting Device Mapper:[  纭畾  ]

Starting Timeslot Doler:[  纭畾  ]

Starting Telephony System Monitor:[  纭畾  ]

Starting Clocking Server:[  纭畾  ]

Starting Dialogic(R) board(s).

 

Dialogic(R) Generic Downloader Version 6.00 (Build 1)

Copyright (C) 1992-2007 Dialogic Corporation.

 

Using /usr/dialogic/cfg/dialogic.cfg to configure Dialogic Boards

genload[18399]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

 

System Download ........

Warning: Clock signals not detected on sec. lines

..............................................................................

 

D/300JCT-E1 (PCI ID 0) Download .. spisctr4 Firmware Version 6.70 Build 0024

 

1 Dialogic?Board Successfully Installed

 

 

Dialogic(R) SCSA Transmit Timeslot Assignment Program

Copyright (c) 1997-2007 Dialogic Corporation.  All rights reserved

sctsassign:The Start TS is: 0 and Total Number of TS: 60

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB7 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB8 : Failed open in sctsdtdxag.c: No such file or directory

Add SW Devices ....

REGVOX: #

REGVOX: # Dialogic Generic Configuration File

REGVOX: #

REGVOX: #

REGVOX: # Total number of virtual boards - 9

REGVOX: #

REGVOX:

REGVOX: #

REGVOX: # Board Type - D/300JCT-E1

REGVOX: #

REGVOX: dxxxB1    4  7000010   C         FBFE0000      2000       20        SPAN  50004

REGVOX: dxxxB2    4  7000010   C         FBFE2000      2000       20        SPAN  50005

REGVOX: dxxxB3    4  7000010   C         FBFE4000      2000       20        SPAN  50006

REGVOX: dxxxB4    4  7000010   C         FBFE6000      2000       20        SPAN  50007

REGVOX: dxxxB5    4  7000010   C         FBFE0000      2000        0        SPAN  50008

REGVOX: dtiB1    30  7000010   T         FBFE0000      2000        0        E1SPAN  50009

REGVOX: dxxxB6    4  7000010   C         FBFE2000      2000        0        SPAN  50010

REGVOX: dxxxB7    4  7000010   C         FBFE4000      2000        0        SPAN  50011

REGVOX: dxxxB8    2  7000010   C         FBFE6000      2000        0        SPAN  50012

Add SW Devices Done

Checking for unsupported Dialogic boards:

usbu[18448]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Starting Clocking Daemon:[  纭畾  ]

Starting fault detection on all Dialogic boards:[  纭畾  ]

 

 

解决办法:

经过google,发现是因为语音卡驱动加载openib与streams有冲突

(1)关闭应用  epos用户下  grMain -t

(2)root检查是否有安装openib    rpm -qa | grep openib

(3)如果有,卸载openib     rpm -e openib

(4)检查是否卸载成功   rpm -qa | grep openib

(5)重启机器

(6)root用户下  dlstop

(7)root下    dlstart  查看是否启动成功

(8)epos下   grMain  -s -l5 -d5 -w -r 启动应用

 

 

 

 

 

 

参考文档:

Thought I would share this.  I recently ran into this issue when trying to start Dialogic on RHEL 4.  dlstart would produce the following.  Apparently version 6 and older of up2date will load an openib package which conflicts with streams.

 

 

 

SCREEN OUTPUT:

 

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

 

RTF LOG:

 

#Timestamp              #PID   #TID        #Module      #Client    #Label       #Message

06/23/2009 09:20:55.754  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:56.249  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB1    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.258  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB2    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.259  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB3    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.261  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB4    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.262  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB5    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.264  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB6    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): Cannot retrieve TDM bus attributes from Device Mapper for bus id 158570088; 100 returned from dm_getAttributes().

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): FATAL CONFIGURATION ERROR.

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - Failed to configure the TDM bus; ConfigTDMBus() returned 0x0.

06/23/2009 09:20:58.956  21352  3061984160 OAMIPC                  Warning      OAMTransport - CSocketClientTransport::SendMessage() - m_ClientReceiveSocket.ShutAndCloseSocket failed

06/23/2009 09:20:58.955  21051  2892954528 OAMSYSLOG               ErrorEx      DLGSPWRFAULTDETECTOR - CNIStatus::init(): Failed to open the DTI device dtiB1

 

 

 

FIND AND FIX:

[root@ares cfg]# lsmod

Module                  Size  Used by

mercd                 281204  0

ctimod                 28916  1 mercd

streams_dvbmDriver    132616  0

streams_sctmrDriver    29104  0

streams_gpioDriver     21028  0

streams_gncfdDriver    19112  0

streams_dlgnDriver    418536  4 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver

streams               859756  5 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver,streams_dlgnDriver

parport_pc             28033  0

lp                     15661  0

parport                38153  2 parport_pc,lp

autofs4                26053  0

i2c_dev                14529  0

i2c_core               26305  1 i2c_dev

sunrpc                145061  1

ipt_REJECT             10689  1

ipt_state               5953  17

ip_conntrack           46085  1 ipt_state

iptable_filter          6977  1

ip_tables              23105  3 ipt_REJECT,ipt_state,iptable_filter

cpufreq_powersave       5953  0

ib_srp                 39005  0

ib_sdp                 61437  0

ib_ipoib               81769  0

inet_lro               13121  1 ib_ipoib

md5                     8129  1

ipv6                  244833  84 ib_ipoib

rdma_ucm               21189  0

rdma_cm                39937  2 ib_sdp,rdma_ucm

iw_cm                  13381  1 rdma_cm

ib_addr                12357  1 rdma_cm

ib_umad                21737  0

ib_ucm                 22213  0

ib_uverbs              41833  2 rdma_ucm,ib_ucm

ib_cm                  46521  4 ib_srp,ib_ipoib,rdma_cm,ib_ucm

ib_sa                  43213  4 ib_srp,ib_ipoib,rdma_cm,ib_cm

ib_mad                 39897  3 ib_umad,ib_cm,ib_sa

ib_core                66369  12 ib_srp,ib_sdp,ib_ipoib,rdma_ucm,rdma_cm,iw_cm,ib_umad,ib_ucm,ib_uverbs,ib_cm,ib_sa,ib_mad

button                 10705  0

battery                12997  0

ac                      8901  0

uhci_hcd               33241  0

e100                   36677  0

mii                     9281  1 e100

e1000                 122837  0

floppy                 58193  0

dm_snapshot            22633  0

dm_zero                 6337  0

dm_mirror              32969  0

ext3                  119753  4

jbd                    59865  1 ext3

dm_mod                 67049  12 dm_snapshot,dm_zero,dm_mirror

ata_piix               19909  2

libata                105629  1 ata_piix

sd_mod                 20801  3

scsi_mod              120525  3 ib_srp,libata,sd_mod

[root@ares cfg]# rpm -qa | grep openib

openib-1.4-1.el4

[root@ares cfg]# rpm -e openib

[root@ares cfg]# rpm -qa | grep openib

 

 

 

Then reboot and all is back to normal.  Hope this helps some one else out there.

北京行二号机  dlstart  报错解决

问题描述:dlstart  后如下报错

[root@BJAPQ091 data]#dlstop

Stopping Dialogic Services...

Stopping Clocking Daemon:[  纭畾  ]

Stopping ClockingServer:[  纭畾  ]

Stopping Telephony System Monitor:[  纭畾  ]

Stopping Dialogic(R) board(s).

Deleting SW devices ....

Deleting SW devices Done

genload[17226]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Stopping Timeslot Doler:[  纭畾  ]

Stopping Device Mapper:[  纭畾  ]

Shutting Down OAM Event Service:[  纭畾  ]

Stopping Dialogic Runtime Tracing Server:[  纭畾  ]

 

 

[root@BJAPQ091 ~]# dlstart

Starting Dialogic Services...

Starting Dialogic Runtime Tracing Server:[  纭畾  ]

Warning: You have chosen a Springware board to be the Primary clock master

Clock fallback will not be supported in this configuration

Starting OAM Event Service:[  纭畾  ]

Starting Device Mapper:[  纭畾  ]

Starting Timeslot Doler:[  纭畾  ]

Starting Telephony System Monitor:[  纭畾  ]

Starting Clocking Server:[  纭畾  ]

Starting Dialogic(R) board(s).

 

Dialogic(R) Generic Downloader Version 6.00 (Build 1)

Copyright (C) 1992-2007 Dialogic Corporation.

 

Using /usr/dialogic/cfg/dialogic.cfg to configure Dialogic Boards

genload[18399]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

 

System Download ........

Warning: Clock signals not detected on sec. lines

..............................................................................

 

D/300JCT-E1 (PCI ID 0) Download .. spisctr4 Firmware Version 6.70 Build 0024

 

1 Dialogic?Board Successfully Installed

 

 

Dialogic(R) SCSA Transmit Timeslot Assignment Program

Copyright (c) 1997-2007 Dialogic Corporation.  All rights reserved

sctsassign:The Start TS is: 0 and Total Number of TS: 60

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB7 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB8 : Failed open in sctsdtdxag.c: No such file or directory

Add SW Devices ....

REGVOX: #

REGVOX: # Dialogic Generic Configuration File

REGVOX: #

REGVOX: #

REGVOX: # Total number of virtual boards - 9

REGVOX: #

REGVOX:

REGVOX: #

REGVOX: # Board Type - D/300JCT-E1

REGVOX: #

REGVOX: dxxxB1    4  7000010   C         FBFE0000      2000       20        SPAN  50004

REGVOX: dxxxB2    4  7000010   C         FBFE2000      2000       20        SPAN  50005

REGVOX: dxxxB3    4  7000010   C         FBFE4000      2000       20        SPAN  50006

REGVOX: dxxxB4    4  7000010   C         FBFE6000      2000       20        SPAN  50007

REGVOX: dxxxB5    4  7000010   C         FBFE0000      2000        0        SPAN  50008

REGVOX: dtiB1    30  7000010   T         FBFE0000      2000        0        E1SPAN  50009

REGVOX: dxxxB6    4  7000010   C         FBFE2000      2000        0        SPAN  50010

REGVOX: dxxxB7    4  7000010   C         FBFE4000      2000        0        SPAN  50011

REGVOX: dxxxB8    2  7000010   C         FBFE6000      2000        0        SPAN  50012

Add SW Devices Done

Checking for unsupported Dialogic boards:

usbu[18448]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Starting Clocking Daemon:[  纭畾  ]

Starting fault detection on all Dialogic boards:[  纭畾  ]

 

 

解决办法:

经过google,发现是因为语音卡驱动加载openib与streams有冲突

(1)关闭应用  epos用户下  grMain -t

(2)root检查是否有安装openib    rpm -qa | grep openib

(3)如果有,卸载openib     rpm -e openib

(4)检查是否卸载成功   rpm -qa | grep openib

(5)重启机器

(6)root用户下  dlstop

(7)root下    dlstart  查看是否启动成功

(8)epos下   grMain  -s -l5 -d5 -w -r 启动应用

 

 

 

 

 

 感谢这位国外的和我一样的倒霉蛋。

参考文档:

Thought I would share this.  I recently ran into this issue when trying to start Dialogic on RHEL 4.  dlstart would produce the following.  Apparently version 6 and older of up2date will load an openib package which conflicts with streams.

 

 

 

SCREEN OUTPUT:

 

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

 

RTF LOG:

 

#Timestamp              #PID   #TID        #Module      #Client    #Label       #Message

06/23/2009 09:20:55.754  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:56.249  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB1    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.258  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB2    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.259  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB3    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.261  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB4    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.262  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB5    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.264  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB6    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): Cannot retrieve TDM bus attributes from Device Mapper for bus id 158570088; 100 returned from dm_getAttributes().

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): FATAL CONFIGURATION ERROR.

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - Failed to configure the TDM bus; ConfigTDMBus() returned 0x0.

06/23/2009 09:20:58.956  21352  3061984160 OAMIPC                  Warning      OAMTransport - CSocketClientTransport::SendMessage() - m_ClientReceiveSocket.ShutAndCloseSocket failed

06/23/2009 09:20:58.955  21051  2892954528 OAMSYSLOG               ErrorEx      DLGSPWRFAULTDETECTOR - CNIStatus::init(): Failed to open the DTI device dtiB1

 

 

 

FIND AND FIX:

[root@ares cfg]# lsmod

Module                  Size  Used by

mercd                 281204  0

ctimod                 28916  1 mercd

streams_dvbmDriver    132616  0

streams_sctmrDriver    29104  0

streams_gpioDriver     21028  0

streams_gncfdDriver    19112  0

streams_dlgnDriver    418536  4 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver

streams               859756  5 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver,streams_dlgnDriver

parport_pc             28033  0

lp                     15661  0

parport                38153  2 parport_pc,lp

autofs4                26053  0

i2c_dev                14529  0

i2c_core               26305  1 i2c_dev

sunrpc                145061  1

ipt_REJECT             10689  1

ipt_state               5953  17

ip_conntrack           46085  1 ipt_state

iptable_filter          6977  1

ip_tables              23105  3 ipt_REJECT,ipt_state,iptable_filter

cpufreq_powersave       5953  0

ib_srp                 39005  0

ib_sdp                 61437  0

ib_ipoib               81769  0

inet_lro               13121  1 ib_ipoib

md5                     8129  1

ipv6                  244833  84 ib_ipoib

rdma_ucm               21189  0

rdma_cm                39937  2 ib_sdp,rdma_ucm

iw_cm                  13381  1 rdma_cm

ib_addr                12357  1 rdma_cm

ib_umad                21737  0

ib_ucm                 22213  0

ib_uverbs              41833  2 rdma_ucm,ib_ucm

ib_cm                  46521  4 ib_srp,ib_ipoib,rdma_cm,ib_ucm

ib_sa                  43213  4 ib_srp,ib_ipoib,rdma_cm,ib_cm

ib_mad                 39897  3 ib_umad,ib_cm,ib_sa

ib_core                66369  12 ib_srp,ib_sdp,ib_ipoib,rdma_ucm,rdma_cm,iw_cm,ib_umad,ib_ucm,ib_uverbs,ib_cm,ib_sa,ib_mad

button                 10705  0

battery                12997  0

ac                      8901  0

uhci_hcd               33241  0

e100                   36677  0

mii                     9281  1 e100

e1000                 122837  0

floppy                 58193  0

dm_snapshot            22633  0

dm_zero                 6337  0

dm_mirror              32969  0

ext3                  119753  4

jbd                    59865  1 ext3

dm_mod                 67049  12 dm_snapshot,dm_zero,dm_mirror

ata_piix               19909  2

libata                105629  1 ata_piix

sd_mod                 20801  3

scsi_mod              120525  3 ib_srp,libata,sd_mod

[root@ares cfg]# rpm -qa | grep openib

openib-1.4-1.el4

[root@ares cfg]# rpm -e openib

[root@ares cfg]# rpm -qa | grep openib

 

 

 

Then reboot and all is back to normal.  Hope this helps some one else out there.

dialogic d300语音卡驱动重装后启动报错问题解决方法