Problem installing B410P BRI card for asterisk

Home » Asterisk Users » Problem installing B410P BRI card for asterisk
Asterisk Users 2 Comments

Dear all,

I know this is more a Digium hardware than an Asterisk issue. Already
posted a question at Digium, however also like to see whether anyone in the
Asterisk community has encountered the following situation:

I installed a Digium B410P BRI PCI card on my new asterisk server,
following the steps specified in the manual. I can see the PCI card is
available using the lspci command:


04:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit
Network Connection [8086:10d3]
05:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit
Network Connection [8086:10d3]
08:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI
Bridge [1a03:1150] (rev 02)
09:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED
Graphics Family [1a03:2000] (rev 10)
0a:01.0 ISDN controller [0204]: Digium, Inc. Wildcard B410 quad-BRI card
[d161:b410] (rev 01)

I specified the following in my system.conf in /etc/dahdi:

loadzone = nl
defaultzone = nl
span = 1,1,0,ccs,ami
bchan = 1,2
hardhdlc = 3

I loaded the driver using “sudo modprobe wcb4xxp.”
Next I ran “dahdi_cfg -vv” which returns:

“DAHDI Tools Version – 2.5.0.2

DAHDI Version: 2.5.0.2
Echo Canceller(s): HWEC
Configuration
======================

SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none)
(Slaves: 03)

3 channels to configure.

DAHDI_SPANCONFIG failed on span 1: No such device or address (6)”

I’m in doubt about the “DAHDI_SPANCONFIG failed on span 1: No such device
or address (6)”.
Next, if i execute sudo dmesg as specified by the manual it returns a huge
trace:
….
….
[ 376.082907] Wrote 0x0 to register 0x1ab but got back 0x4
[ 376.594754] Wrote 0x0 to register 0x1ab but got back 0x4
[ 377.106605] Wrote 0x0 to register 0x1ab but got back 0x4
[ 377.618423] Wrote 0x0 to register 0x1ab but got back 0x4
[ 378.130266] Wrote 0x0 to register 0x1ab but got back 0x4
[ 378.642088] Wrote 0x0 to register 0x1ab but got back 0x4
[ 1202.812870] show_signal_msg: 21 callbacks suppressed
[ 1202.812876] dahdi_tool[1277]: segfault at 3fc378fa0 ip 00000000004021ac
sp 00007fff131dd930 error 4 in dahdi_tool[400000+3000]

And a lot of “Wrote 0x0 to register 0x1ab but got back 0x4” statements.

If i run dahdi_tools it fails with a segmentation fault.

Any suggestions are appreciated!

2 thoughts on - Problem installing B410P BRI card for asterisk

  • Either your B410P card is misbehaving (i.e. broken), or there is some
    sort of PCI compatibility issue between it and the system you have it
    installed in. This is a hardware issue, and should be pursed with Digium
    Support.

  • Marco

    Did you get to the bottom of this.

    I’ve just come across the same problem today also with a B410P after
    upgrading from debian lenny( 2.6.26-2-686 ) to squeeze ( 2.6.32-5-686 ).

    On reboot I often get BUG: soft lockup – CPU#0 stuck for 61s[swapper:0]
    The only fix is to power off

    but here’s the clue
    Feb 21 21:15:08 astrid kernel: [ 4.638977] hfc_multi 0000:07:01.0: PCI
    INT A -> GSI 19 (level, low) -> IRQ 19
    Feb 21 21:15:08 astrid kernel: [ 4.638982] Digium Inc. HFC-4S Card:
    defined at IOBASE 0xdc00 IRQ 19 HZ 250 leds-type 2
    Feb 21 21:15:08 astrid kernel: [ 4.803576] wcb4xxp 0000:07:01.0: PCI INT
    A -> GSI 19 (level, low) -> IRQ 19
    Feb 21 21:15:08 astrid kernel: [ 4.803607] wcb4xxp 0000:07:01.0:
    Identified Wildcard B410P (controller rev 1) at 0001dc00, IRQ 19

    hfcmulti can be found here;
    /lib/modules/2.6.32-5-686/kernel/drivers/isdn/hardware/mISDN/hfcmulti.ko

    I’ve got the system running at the moment with the previous kernel, so
    nothing wrong with the B410P.

    I’m hoping that ‘tomorrow’ that adding the line below to
    /etc/modprobe.d/blacklist.conf will fix my lockups.
    blacklist hfcmulti

    Alec Davis

    _____

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Marco
    Mooijekind
    Sent: Friday, 30 December 2011 9:45 p.m.

    Dear all,

    I know this is more a Digium hardware than an Asterisk issue. Already posted
    a question at Digium, however also like to see whether anyone in the
    Asterisk community has encountered the following situation:

    I installed a Digium B410P BRI PCI card on my new asterisk server, following
    the steps specified in the manual. I can see the PCI card is available using
    the lspci command:


    04:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network
    Connection [8086:10d3]
    05:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network
    Connection [8086:10d3]
    08:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge
    [1a03:1150] (rev 02)
    09:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED
    Graphics Family [1a03:2000] (rev 10)
    0a:01.0 ISDN controller [0204]: Digium, Inc. Wildcard B410 quad-BRI card
    [d161:b410] (rev 01)

    I specified the following in my system.conf in /etc/dahdi:

    loadzone = nl
    defaultzone = nl
    span = 1,1,0,ccs,ami
    bchan = 1,2
    hardhdlc = 3

    I loaded the driver using “sudo modprobe wcb4xxp.”
    Next I ran “dahdi_cfg -vv” which returns:

    “DAHDI Tools Version – 2.5.0.2

    DAHDI Version: 2.5.0.2
    Echo Canceller(s): HWEC
    Configuration
    ======================

    SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: Clear channel (Default) (Echo Canceler: none) (Slaves: 01)
    Channel 02: Clear channel (Default) (Echo Canceler: none) (Slaves: 02)
    Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none)
    (Slaves: 03)

    3 channels to configure.

    DAHDI_SPANCONFIG failed on span 1: No such device or address (6)”

    I’m in doubt about the “DAHDI_SPANCONFIG failed on span 1: No such device or
    address (6)”.
    Next, if i execute sudo dmesg as specified by the manual it returns a huge
    trace:
    ….
    ….
    [ 376.082907] Wrote 0x0 to register 0x1ab but got back 0x4
    [ 376.594754] Wrote 0x0 to register 0x1ab but got back 0x4
    [ 377.106605] Wrote 0x0 to register 0x1ab but got back 0x4
    [ 377.618423] Wrote 0x0 to register 0x1ab but got back 0x4
    [ 378.130266] Wrote 0x0 to register 0x1ab but got back 0x4
    [ 378.642088] Wrote 0x0 to register 0x1ab but got back 0x4
    [ 1202.812870] show_signal_msg: 21 callbacks suppressed
    [ 1202.812876] dahdi_tool[1277]: segfault at 3fc378fa0 ip 00000000004021ac
    sp 00007fff131dd930 error 4 in dahdi_tool[400000+3000]

    And a lot of “Wrote 0x0 to register 0x1ab but got back 0x4” statements.

    If i run dahdi_tools it fails with a segmentation fault.

    Any suggestions are appreciated!