[Asterisk-Users] zaphfc troubles
Hi, you are right!!! I tried zaprtc but even if it doesn't give me errors and I loaded it as a module, it is not working: with or without is the same, conference doesn't work with asterisk and HFC card. Giorgio -- GIORGIO INCANTALUPO Tel. +39 02 9350 4780 (104) FGA Software 20017 Rho - Via Puccini, 8 E-Mail : [EMAIL PROTECTED] Internet: http://www.fgasoftware.com ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] zaphfc troubles
Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] Code: 8b 4b fc 8b 01 85 45 f0 74 56 31 c0 9c 5e fa 8b 51 3c c7 01 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Here is the output from asterisk: No entry for terminal type screen; using dumb terminal settings. == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e, Copyright (C) 1999-2004 Digium. Written by Mark Spencer [EMAIL PROTECTED] = == Parsing '/etc/asterisk/logger.conf': Found Asterisk Event Logger Started /var/log/asterisk/event_log == Manager registered action Ping == Manager registered action Events == Manager registered action Logoff == Manager registered action Hangup == Manager registered action Status == Manager registered action Setvar == Manager registered action Getvar == Manager registered action Redirect == Manager registered action Originate == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxStatus == Manager registered action MailboxCount == Manager registered action DBget == Manager registered action DBput == Manager registered action DBdel == Manager registered action ListCommands == Parsing '/etc/asterisk/manager.conf': Found Asterisk Management interface listening on port 5038 == Parsing '/etc/asterisk/rtp.conf': Found == RTP Allocating from port range 1
Re: [Asterisk-Users] zaphfc troubles
Dear Nicolas Olivier Just try the florz patch at http://zaphfc.florz.dyndns.org/ and look at cat /proc/interupts if your not sharing irq's Maybe this will help Good luck Sjaak Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] Code: 8b 4b fc 8b 01 85 45 f0 74 56 31 c0 9c 5e fa 8b 51 3c c7 01 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Here is the output from asterisk: No entry for terminal type screen; using dumb terminal settings. == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e, Copyright (C) 1999-2004 Digium. Written by Mark Spencer [EMAIL PROTECTED] = == Parsing '/etc/asterisk/logger.conf': Found Asterisk Event Logger Started /var/log/asterisk/event_log == Manager registered action Ping == Manager registered action Events == Manager registered action Logoff == Manager registered action Hangup == Manager registered action Status == Manager registered action Setvar == Manager registered action Getvar == Manager registered action Redirect == Manager registered action Originate == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxStatus == Manager registered action MailboxCount == Manager registered action DBget == Manager registered action DBput == Manager registered action DBdel == Manager registered action ListCommands == Parsing '/etc/asterisk/manager.conf': Found Asterisk Management interface
Re: [Asterisk-Users] zaphfc troubles
I recently experienced weird buffer overrun errors with zaphfc which I eventually identified as being was caused by mismatched memory on the motherboard. You might want to check this out. Stuart Nicolas Olivier wrote: Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] Code: 8b 4b fc 8b 01 85 45 f0 74 56 31 c0 9c 5e fa 8b 51 3c c7 01 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Here is the output from asterisk: No entry for terminal type screen; using dumb terminal settings. == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e, Copyright (C) 1999-2004 Digium. Written by Mark Spencer [EMAIL PROTECTED] = == Parsing '/etc/asterisk/logger.conf': Found Asterisk Event Logger Started /var/log/asterisk/event_log == Manager registered action Ping == Manager registered action Events == Manager registered action Logoff == Manager registered action Hangup == Manager registered action Status == Manager registered action Setvar == Manager registered action Getvar == Manager registered action Redirect == Manager registered action Originate == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxStatus == Manager registered action MailboxCount == Manager registered action DBget == Manager registered action DBput == Manager registered action DBdel == Manager registered action ListCommands == Parsing '/etc/asterisk/manager.conf':
Re: [Asterisk-Users] zaphfc troubles
Just an update, I deoopsed the kernel dump, must be usable... Nicolas Olivier wrote: Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] EIP; c0113cc0 __wake_up+20/a0 = eax; c248015c _end+217f0d0/34fef74 esi; c24803a0 _end+217f314/34fef74 edi; c248015c _end+217f0d0/34fef74 ebp; c2c8fe2c _end+298eda0/34fef74 esp; c2c8fe14 _end+298ed88/34fef74 Trace; c3819545 [zaptel]__zt_receive_chunk+133d/1484 Trace; c01cb6b1 __ide_do_rw_disk+3e1/650 Trace; c381aae6 [zaptel]zt_receive+a26/b0c Trace; c381aad7 [zaptel]zt_receive+a17/b0c Trace; c383cd78 [zaphfc]hfc_interrupt+228/358 Trace; c01cae16 read_intr+76/1b0 Trace; c383ce95 [zaphfc]hfc_interrupt+345/358 Trace; c01c5416 ide_intr+96/100 Trace; c01cad01 lba_capacity_is_ok+81/120 Trace; c0109ddd handle_IRQ_event+3d/70 Trace; c0109f78 do_IRQ+68/a0 Trace; c010c328 call_do_IRQ+5/d Code; c0113cc0 __wake_up+20/a0 _EIP: Code; c0113cc0 __wake_up+20/a0 = 0: 8b 4b fc mov0xfffc(%ebx),%ecx = Code; c0113cc3 __wake_up+23/a0 3: 8b 01 mov(%ecx),%eax Code; c0113cc5 __wake_up+25/a0 5: 85 45 f0 test %eax,0xfff0(%ebp) Code; c0113cc8 __wake_up+28/a0 8: 74 56 je 60 _EIP+0x60 c0113d20 __wake_up+80/a0 Code; c0113cca __wake_up+2a/a0 a: 31 c0 xor%eax,%eax Code; c0113ccc __wake_up+2c/a0 c: 9cpushf Code; c0113ccd __wake_up+2d/a0
Re: [Asterisk-Users] zaphfc troubles
Well, afer applying zaphfc_0.2.0-RC8a_florz-6.diff, I'm highly flooded after ztcfg with: May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer underrun: 0, 0 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer overflow: 311, 311 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer overflow: 436, 436 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer underrun: 0, 0 And when I start asterisk, same stuff, kernel crashes. Interrupts are ok. sjaak imap wrote: Dear Nicolas Olivier Just try the florz patch at http://zaphfc.florz.dyndns.org/ and look at cat /proc/interupts if your not sharing irq's Maybe this will help Good luck Sjaak Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] Code: 8b 4b fc 8b 01 85 45 f0 74 56 31 c0 9c 5e fa 8b 51 3c c7 01 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Here is the output from asterisk: No entry for terminal type screen; using dumb terminal settings. == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e, Copyright (C) 1999-2004 Digium. Written by Mark Spencer [EMAIL PROTECTED] = == Parsing '/etc/asterisk/logger.conf': Found Asterisk Event Logger Started /var/log/asterisk/event_log == Manager registered action Ping == Manager registered action Events == Manager registered action Logoff == Manager registered action Hangup == Manager registered
Re: [Asterisk-Users] zaphfc troubles
Nicolas, I replied earlier stating that I saw similar issues and now that you have applied the Florz patch the symptoms you are seeing are all but identical to the issues I saw and resolved by changing out the motherboard memory. The system was an ASUS main board with a Xeon processor. It is not the memory it could be something specific to the VIA motherboard. Stuart Nicolas Olivier wrote: Well, afer applying zaphfc_0.2.0-RC8a_florz-6.diff, I'm highly flooded after ztcfg with: May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer underrun: 0, 0 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer overflow: 311, 311 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer overflow: 436, 436 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer underrun: 0, 0 And when I start asterisk, same stuff, kernel crashes. Interrupts are ok. sjaak imap wrote: Dear Nicolas Olivier Just try the florz patch at http://zaphfc.florz.dyndns.org/ and look at cat /proc/interupts if your not sharing irq's Maybe this will help Good luck Sjaak Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] Code: 8b 4b fc 8b 01 85 45 f0 74 56 31 c0 9c 5e fa 8b 51 3c c7 01 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Here is the output from asterisk: No entry for terminal type screen; using dumb terminal settings. == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk
Re: [Asterisk-Users] zaphfc troubles
Nicolas Olivier wrote: I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. [..] Why are you running zaprtc? zaphfc provides your needed timing source. -- Best regards Peer Oliver Schmidt PGP Key ID: 0x83E1C2EA ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaphfc troubles
Quoting from: http://www.voip-info.org/tiki-index.php?page=Asterisk%20Zaptel%20Installation As I haven't got a Digium card, I need a timer which can be provided by ztdummy, zaprtc or zaprai. But anyway the results are the same with or without zaprtc loaded. Peer Oliver Schmidt wrote: Nicolas Olivier wrote: I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. [..] Why are you running zaprtc? zaphfc provides your needed timing source. -- Best regards Peer Oliver Schmidt PGP Key ID: 0x83E1C2EA ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaphfc troubles
Stuart, I switched the system to a pentium based host, with different memory. The results are the same. I've also changed the ISDN card to be sure. Nicolas Stuart Hirst wrote: Nicolas, I replied earlier stating that I saw similar issues and now that you have applied the Florz patch the symptoms you are seeing are all but identical to the issues I saw and resolved by changing out the motherboard memory. The system was an ASUS main board with a Xeon processor. It is not the memory it could be something specific to the VIA motherboard. Stuart Nicolas Olivier wrote: Well, afer applying zaphfc_0.2.0-RC8a_florz-6.diff, I'm highly flooded after ztcfg with: May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer underrun: 0, 0 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer overflow: 311, 311 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer overflow: 436, 436 May 18 18:11:33 gw-ss daemon.crit klogd: zaphfc[0]: b channel buffer underrun: 0, 0 And when I start asterisk, same stuff, kernel crashes. Interrupts are ok. sjaak imap wrote: Dear Nicolas Olivier Just try the florz patch at http://zaphfc.florz.dyndns.org/ and look at cat /proc/interupts if your not sharing irq's Maybe this will help Good luck Sjaak Hi, I'm trying to setup a small BRI ISDN - voip gateway. The ISDN card is based on Cologne chipset, so I try set it up with zaphfc. The versions i'm running: kernel-2.4.27 Asterisk 1.0.7-BRIstuffed-0.2.0-RC8e zaptel modules 1.0.7 zaphfc is from bristuff-0.2.0-RC8e When I'm doing the insmod on zaptel, zaphfc, zaprtc: Zapata Telephony Interface Registered on major 196 PCI: Found IRQ 12 for device 00:12.0 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc384 fifo 0xc2d58000(0x2d58000) IRQ 12 HZ 100 zaphfc: Card 0 configured for TE mode Registered Span 1 ('ZTHFC1') with 3 channels Span ('ZTHFC1') is new master zaphfc: 1 hfc-pci card(s) in this box. Registered Span 2 ('ZTRTC/1') with 0 channels Real Time Clock Driver v1.10e I'm using zaprtc as the gateway is running on a VIA motherboard without USB controller. When I'm doing ztcfg -vv: Zaptel Configuration == SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. Here are my confs: /etc/zaptel.conf: loadzone=fr defaultzone=fr span=1,1,3,ccs,ami bchan=1-2 dchan=3 /etc/asterisk/zapata.conf: [channels] language=fr context=test switchtype=euroisdn signalling=bri_cpe echocancel=yes immediate=yes channel = 1-2 /etc/asterisk/modules.conf: [modules] autoload=yes noload = pbx_gtkconsole.so noload = pbx_kdeconsole.so noload = app_intercom.so load = chan_modem.so load = res_features.so load = res_musiconhold.so load = chan_zap.so noload = chan_alsa.so noload = chan_oss.so [global] chan_modem.so=yes chan_zap.so=yes The problem is that after ztcfg ran, I've got the following logs: Registered tone zone 2 (France) zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 layer 1 state = F3 zaphfc: card 0 layer 1 state = F4 zaphfc: card 0 layer 1 state = F5 zaphfc: card 0 layer 1 state = F7 zaphfc: bchan rx fifo not enough bytes to receive! (z1=5630, z2=5623, wanted 8 got 7), probably a buffer overrun. zaphfc: bchan rx fifo not enough bytes to receive! (z1=6163, z2=6156, wanted 8 got 7), probably a buffer overrun. zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes zaphfc: card 0 RX [ 0xfe 0xff 0x3 0xf 0x0 0x0 0x4 0xff ] 8 bytes And when I start asterisk -c, same logs keep on, and I've finally a kernel crash: Unable to handle kernel paging request at virtual address fffc printing eip: c0113cc0 *pde = d063 *pte = Oops: CPU:0 EIP:0010:[c0113cc0]Not tainted EFLAGS: 00010013 eax: c248015c ebx: ecx: 0001 edx: 0001 esi: c24803a0 edi: c248015c ebp: c2c8fe2c esp: c2c8fe14 ds: 0018 es: 0018 ss: 0018 Process sshd (pid: 146, stackpage=c2c8f000) Stack: 0001 0086 0001 c24803a0 c24803a0 c270c940 c248 c3819545 0010 0010 c2c8ff24 0046 1140 0003 c2c8ffc4 0086 c01cb6b1 c02f8bc4 c24803a0 8005003b c2c8feb4 0002 0008 c270c800 Call Trace:[c3819545] [c01cb6b1] [c381aae6] [c381aad7] [c383cd78] [c01cae16] [c383ce95] [c01c5416] [c01cad01] [c0109ddd] [c0109f78] [c010c328] Code: 8b 4b fc 8b 01 85 45 f0 74 56 31 c0 9c 5e fa 8b 51 3c c7 01 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler -
Re: [Asterisk-Users] zaphfc troubles
Nicolas Olivier wrote: Quoting from: http://www.voip-info.org/tiki-index.php?page=Asterisk%20Zaptel%20Installation As I haven't got a Digium card, I need a timer which can be provided by ztdummy, zaprtc or zaprai. But anyway the results are the same with or without zaprtc loaded. Irregardless of your problem, the ZAPHFC cards do provide the timer needed for MOH, IAX trunking etc. -- Best regards Peer Oliver Schmidt PGP Key ID: 0x83E1C2EA ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users