Hallo,
hab da ein kleines Problem, meine HFC-S PCI Karte will nicht mehr. Habe ein frisches Ubuntu 10.04 server x86_64 aufgesetzt und wie folgt asterisk und dahdi installiert:
sudo apt-get install asterisk dahdi-* libpri1.4
rein und raus telefonieren geht leider garnicht, mit "console dial rufnummer" bekomme ich ein Cause 34... kann mir jemand helfen?
BTW: unter Ubuntu Hardy ging es mit 2.6.24-25-server #1 SMP Tue Oct 20 08:12:40 UTC 2009 i686 GNU/Linux und selbstgebauten asterisk-1.6.1.8 sowie libpri-1.4.10.2 und zaphfc noch...
Anbei soviel Info's wie ich sammeln konnte:
Kernel: Linux vdrhd 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux
Asterisk: asterisk -V
Asterisk 1.6.2.5-0ubuntu1
Karte (lspci):
07:02.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Subsystem: Advanced Integrations Research Device c101
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16 (4000ns max)
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at 1040 [disabled]
Region 1: Memory at e3244800 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+
Kernel driver in use: vzaphfc
Kernel modules: zaphfc, hisax, hfcpci
geladene Module (dahdi):
dahdi_echocan_mg2 5729 2
dahdi_dummy 2760 0
dahdi_transcode 6836 0
dahdi 210853 10 dahdi_echocan_mg2,dahdi_dummy,dahdi_transcode,zaphfc
crc_ccitt 1675 1 dahdi
modinfo zaphfc:
filename: /lib/modules/2.6.32-21-server/updates/dkms/zaphfc.ko
license: GPL
alias: vzaphfc
author: Jens Wilke <[email protected]>, Daniele (Vihai) Orlandi <[email protected]>, Jose A. Deniz <[email protected]>
description: HFC-S PCI A ISDN
srcversion: E79299907E41CF7E998B14C
alias: pci:v0000182Dd00003069sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000073sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000072sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000071sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000070sv*sd*bc*sc*i*
alias: pci:v000015B0d00002BD0sv*sd*bc*sc*i*
alias: pci:v00001051d00000100sv*sd*bc*sc*i*
alias: pci:v00000871d0000FFA1sv*sd*bc*sc*i*
alias: pci:v00000871d0000FFA2sv*sd*bc*sc*i*
alias: pci:v00001043d00000675sv*sd*bc*sc*i*
alias: pci:v000013D1d00002BD1sv*sd*bc*sc*i*
alias: pci:v00001397d0000B100sv*sd*bc*sc*i*
alias: pci:v00001397d0000B00Csv*sd*bc*sc*i*
alias: pci:v00001397d0000B00Bsv*sd*bc*sc*i*
alias: pci:v00001397d0000B00Asv*sd*bc*sc*i*
alias: pci:v00001397d0000B009sv*sd*bc*sc*i*
alias: pci:v00001397d0000B008sv*sd*bc*sc*i*
alias: pci:v00001397d0000B007sv*sd*bc*sc*i*
alias: pci:v00001397d0000B006sv*sd*bc*sc*i*
alias: pci:v00001397d0000B000sv*sd*bc*sc*i*
alias: pci:v00001397d00002BD0sv*sd*bc*sc*i*
depends: dahdi
vermagic: 2.6.32-21-server SMP mod_unload modversions
parm: modes:[Deprecated] bit-mask to configure NT mode (int)
parm: nt_modes:Comma-separated list of card IDs to configure in NT mode (array of int)
parm: force_l1_upon't allow L1 to go down (int)
interrupts:
CPU0 CPU1 CPU2 CPU3
0: 26 0 8 0 IO-APIC-edge timer
1: 0 1 0 1 IO-APIC-edge i8042
4: 1 1 1 1 IO-APIC-edge
8: 0 0 1 0 IO-APIC-edge rtc0
9: 0 0 1 0 IO-APIC-fasteoi acpi
12: 1 2 0 1 IO-APIC-edge i8042
16: 374 517367 42349 31018 IO-APIC-fasteoi cx23885[0], nvidia
17: 684 1207 1030 601 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, pata_marvell
18: 15620996 20251 46639 20251 IO-APIC-fasteoi uhci_hcd:usb3, uhci_hcd:usb8, vzaphfc
19: 1 0 1 1 IO-APIC-fasteoi uhci_hcd:usb7, ohci1394
21: 33 31 32 33 IO-APIC-fasteoi ata_piix, ata_piix, uhci_hcd:usb4
22: 8334 90050 196 2343 IO-APIC-fasteoi HDA Intel
23: 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb6
30: 6 13 6266 12 PCI-MSI-edge eth0
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 158511 1089633 31731 1396194 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 Performance pending work
RES: 923 33834 12053 171484 Rescheduling interrupts
CAL: 1641 420 137 174 Function call interrupts
TLB: 960 593 865 1477 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 8 8 8 8 Machine check polls
ERR: 3
MIS: 0
dmesg zaphfc:
[ 1355.528626] vzaphfc: HFC-S PCI A ISDN (V1.42) loading
[ 1355.528696] vzaphfc 0000:07:02.0: enabling device (0000 -> 0003)
[ 1355.528705] vzaphfc 0000:07:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 1355.531630] vzaphfc: card 0: registered ZTHFC1/0/1
[ 1355.531634] vzaphfc: card 0: registered ZTHFC1/0/2
[ 1355.531637] vzaphfc: card 0: registered ZTHFC1/0/3
[ 1355.531761] vzaphfc: card 0: resetting
[ 1355.551270] vzaphfc: card 0 configured for TE mode at mem 0xe3244800 (0xffffc9000a102800) IRQ 18
[ 1355.636052] vzaphfc: card 0: chan B1: TX FIFO has become empty
[ 1355.636054] vzaphfc: card 0: chan B1 opened as ZTHFC1/0/1.
[ 1355.636062] vzaphfc: card 0: chan B1 closed as ZTHFC1/0/1.
[ 1355.636069] vzaphfc: card 0: chan B2: TX FIFO has become empty
[ 1355.636071] vzaphfc: card 0: chan B2 opened as ZTHFC1/0/2.
[ 1355.636075] vzaphfc: card 0: chan B2 closed as ZTHFC1/0/2.
[ 1355.636081] vzaphfc: card 0: chan D opened as ZTHFC1/0/3.
[ 1355.636084] vzaphfc: card 0: chan D closed as ZTHFC1/0/3.
[ 1436.602608] vzaphfc: card 0: chan B1 opened as ZTHFC1/0/1.
[ 1436.602670] vzaphfc: card 0: chan B2 opened as ZTHFC1/0/2.
[ 1436.602765] vzaphfc: card 0: chan D opened as ZTHFC1/0/3.
cat /proc/dahdi/1
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER) AMI/CCS
1 ZTHFC1/0/1 Clear (In use) (SWEC: MG2)
2 ZTHFC1/0/2 Clear (In use) (SWEC: MG2)
3 ZTHFC1/0/3 HDLCFCS (In use)
asterisk dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
HFC-S PCI A ISDN card 0 [TE] OK 0 0 0 CCS AMI YEL 399-533 feet (DSX-1)
DAHDI_DUMMY/1 (source: HRtimer) 1 UNCONFI 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)
asterisk dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 Extern de default In Service
2 Extern de default In Service
asterisk pri intensive debug span 1
1 Sending TEI management message 1, TEI=127
1
> [ fc ff 03 0f c0 6a 01 ff ]
1
> Unnumbered frame:
1 > SAPI: 63 C/R: 0 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 5 bytes of data
1 > MDL Message: TEI Identity Request (1)
1 > RI: 49258
1 > Ai: 127 E:1
1 Sending TEI management message 1, TEI=127
1
> [ fc ff 03 0f 72 03 01 ff ]
1
> Unnumbered frame:
1 > SAPI: 63 C/R: 0 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 5 bytes of data
1 > MDL Message: TEI Identity Request (1)
1 > RI: 29187
1 > Ai: 127 E:1
1 Sending TEI management message 1, TEI=127
1
> [ fc ff 03 0f ab d1 01 ff ]
1
> Unnumbered frame:
1 > SAPI: 63 C/R: 0 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 5 bytes of data
1 > MDL Message: TEI Identity Request (1)
1 > RI: 43985
1 > Ai: 127 E:1
dial via console:
console dial 0176xxxxxxxx
[May 4 17:47:21] WARNING[1854]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:21] NOTICE[1854]: console_video.c:133 console_video_start: voice only, console video support not present
-- Executing [017618479131@default:1] Dial("Console/dsp", "DAHDI/g1/0176xxxxxxxx,60,r") in new stack
[May 4 17:47:21] WARNING[1855]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'Console/dsp' status is 'CONGESTION'
[May 4 17:47:22] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:23] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:24] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:25] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
*CLI> console hangup
<< Hangup on console >>
hab da ein kleines Problem, meine HFC-S PCI Karte will nicht mehr. Habe ein frisches Ubuntu 10.04 server x86_64 aufgesetzt und wie folgt asterisk und dahdi installiert:
sudo apt-get install asterisk dahdi-* libpri1.4
rein und raus telefonieren geht leider garnicht, mit "console dial rufnummer" bekomme ich ein Cause 34... kann mir jemand helfen?
BTW: unter Ubuntu Hardy ging es mit 2.6.24-25-server #1 SMP Tue Oct 20 08:12:40 UTC 2009 i686 GNU/Linux und selbstgebauten asterisk-1.6.1.8 sowie libpri-1.4.10.2 und zaphfc noch...
Anbei soviel Info's wie ich sammeln konnte:
Kernel: Linux vdrhd 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux
Asterisk: asterisk -V
Asterisk 1.6.2.5-0ubuntu1
Karte (lspci):
07:02.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Subsystem: Advanced Integrations Research Device c101
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16 (4000ns max)
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at 1040 [disabled]
Region 1: Memory at e3244800 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+
Kernel driver in use: vzaphfc
Kernel modules: zaphfc, hisax, hfcpci
geladene Module (dahdi):
dahdi_echocan_mg2 5729 2
dahdi_dummy 2760 0
dahdi_transcode 6836 0
dahdi 210853 10 dahdi_echocan_mg2,dahdi_dummy,dahdi_transcode,zaphfc
crc_ccitt 1675 1 dahdi
modinfo zaphfc:
filename: /lib/modules/2.6.32-21-server/updates/dkms/zaphfc.ko
license: GPL
alias: vzaphfc
author: Jens Wilke <[email protected]>, Daniele (Vihai) Orlandi <[email protected]>, Jose A. Deniz <[email protected]>
description: HFC-S PCI A ISDN
srcversion: E79299907E41CF7E998B14C
alias: pci:v0000182Dd00003069sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000073sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000072sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000071sv*sd*bc*sc*i*
alias: pci:v0000114Fd00000070sv*sd*bc*sc*i*
alias: pci:v000015B0d00002BD0sv*sd*bc*sc*i*
alias: pci:v00001051d00000100sv*sd*bc*sc*i*
alias: pci:v00000871d0000FFA1sv*sd*bc*sc*i*
alias: pci:v00000871d0000FFA2sv*sd*bc*sc*i*
alias: pci:v00001043d00000675sv*sd*bc*sc*i*
alias: pci:v000013D1d00002BD1sv*sd*bc*sc*i*
alias: pci:v00001397d0000B100sv*sd*bc*sc*i*
alias: pci:v00001397d0000B00Csv*sd*bc*sc*i*
alias: pci:v00001397d0000B00Bsv*sd*bc*sc*i*
alias: pci:v00001397d0000B00Asv*sd*bc*sc*i*
alias: pci:v00001397d0000B009sv*sd*bc*sc*i*
alias: pci:v00001397d0000B008sv*sd*bc*sc*i*
alias: pci:v00001397d0000B007sv*sd*bc*sc*i*
alias: pci:v00001397d0000B006sv*sd*bc*sc*i*
alias: pci:v00001397d0000B000sv*sd*bc*sc*i*
alias: pci:v00001397d00002BD0sv*sd*bc*sc*i*
depends: dahdi
vermagic: 2.6.32-21-server SMP mod_unload modversions
parm: modes:[Deprecated] bit-mask to configure NT mode (int)
parm: nt_modes:Comma-separated list of card IDs to configure in NT mode (array of int)
parm: force_l1_upon't allow L1 to go down (int)
interrupts:
CPU0 CPU1 CPU2 CPU3
0: 26 0 8 0 IO-APIC-edge timer
1: 0 1 0 1 IO-APIC-edge i8042
4: 1 1 1 1 IO-APIC-edge
8: 0 0 1 0 IO-APIC-edge rtc0
9: 0 0 1 0 IO-APIC-fasteoi acpi
12: 1 2 0 1 IO-APIC-edge i8042
16: 374 517367 42349 31018 IO-APIC-fasteoi cx23885[0], nvidia
17: 684 1207 1030 601 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, pata_marvell
18: 15620996 20251 46639 20251 IO-APIC-fasteoi uhci_hcd:usb3, uhci_hcd:usb8, vzaphfc
19: 1 0 1 1 IO-APIC-fasteoi uhci_hcd:usb7, ohci1394
21: 33 31 32 33 IO-APIC-fasteoi ata_piix, ata_piix, uhci_hcd:usb4
22: 8334 90050 196 2343 IO-APIC-fasteoi HDA Intel
23: 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb6
30: 6 13 6266 12 PCI-MSI-edge eth0
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 158511 1089633 31731 1396194 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 Performance pending work
RES: 923 33834 12053 171484 Rescheduling interrupts
CAL: 1641 420 137 174 Function call interrupts
TLB: 960 593 865 1477 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 8 8 8 8 Machine check polls
ERR: 3
MIS: 0
dmesg zaphfc:
[ 1355.528626] vzaphfc: HFC-S PCI A ISDN (V1.42) loading
[ 1355.528696] vzaphfc 0000:07:02.0: enabling device (0000 -> 0003)
[ 1355.528705] vzaphfc 0000:07:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 1355.531630] vzaphfc: card 0: registered ZTHFC1/0/1
[ 1355.531634] vzaphfc: card 0: registered ZTHFC1/0/2
[ 1355.531637] vzaphfc: card 0: registered ZTHFC1/0/3
[ 1355.531761] vzaphfc: card 0: resetting
[ 1355.551270] vzaphfc: card 0 configured for TE mode at mem 0xe3244800 (0xffffc9000a102800) IRQ 18
[ 1355.636052] vzaphfc: card 0: chan B1: TX FIFO has become empty
[ 1355.636054] vzaphfc: card 0: chan B1 opened as ZTHFC1/0/1.
[ 1355.636062] vzaphfc: card 0: chan B1 closed as ZTHFC1/0/1.
[ 1355.636069] vzaphfc: card 0: chan B2: TX FIFO has become empty
[ 1355.636071] vzaphfc: card 0: chan B2 opened as ZTHFC1/0/2.
[ 1355.636075] vzaphfc: card 0: chan B2 closed as ZTHFC1/0/2.
[ 1355.636081] vzaphfc: card 0: chan D opened as ZTHFC1/0/3.
[ 1355.636084] vzaphfc: card 0: chan D closed as ZTHFC1/0/3.
[ 1436.602608] vzaphfc: card 0: chan B1 opened as ZTHFC1/0/1.
[ 1436.602670] vzaphfc: card 0: chan B2 opened as ZTHFC1/0/2.
[ 1436.602765] vzaphfc: card 0: chan D opened as ZTHFC1/0/3.
cat /proc/dahdi/1
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER) AMI/CCS
1 ZTHFC1/0/1 Clear (In use) (SWEC: MG2)
2 ZTHFC1/0/2 Clear (In use) (SWEC: MG2)
3 ZTHFC1/0/3 HDLCFCS (In use)
asterisk dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
HFC-S PCI A ISDN card 0 [TE] OK 0 0 0 CCS AMI YEL 399-533 feet (DSX-1)
DAHDI_DUMMY/1 (source: HRtimer) 1 UNCONFI 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)
asterisk dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 Extern de default In Service
2 Extern de default In Service
asterisk pri intensive debug span 1
1 Sending TEI management message 1, TEI=127
1
> [ fc ff 03 0f c0 6a 01 ff ]
1
> Unnumbered frame:
1 > SAPI: 63 C/R: 0 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 5 bytes of data
1 > MDL Message: TEI Identity Request (1)
1 > RI: 49258
1 > Ai: 127 E:1
1 Sending TEI management message 1, TEI=127
1
> [ fc ff 03 0f 72 03 01 ff ]
1
> Unnumbered frame:
1 > SAPI: 63 C/R: 0 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 5 bytes of data
1 > MDL Message: TEI Identity Request (1)
1 > RI: 29187
1 > Ai: 127 E:1
1 Sending TEI management message 1, TEI=127
1
> [ fc ff 03 0f ab d1 01 ff ]
1
> Unnumbered frame:
1 > SAPI: 63 C/R: 0 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 5 bytes of data
1 > MDL Message: TEI Identity Request (1)
1 > RI: 43985
1 > Ai: 127 E:1
dial via console:
console dial 0176xxxxxxxx
[May 4 17:47:21] WARNING[1854]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:21] NOTICE[1854]: console_video.c:133 console_video_start: voice only, console video support not present
-- Executing [017618479131@default:1] Dial("Console/dsp", "DAHDI/g1/0176xxxxxxxx,60,r") in new stack
[May 4 17:47:21] WARNING[1855]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'Console/dsp' status is 'CONGESTION'
[May 4 17:47:22] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:23] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:24] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
[May 4 17:47:25] WARNING[1855]: chan_oss.c:485 setformat: Unable to re-open DSP device /dev/dsp: Device or resource busy
*CLI> console hangup
<< Hangup on console >>
Zuletzt bearbeitet: