[Asterisk-Users] zaphfc sound problems

Thomas Jagoditsch tja at tjasoft.com
Tue Nov 23 19:58:56 MST 2004


Thomas Jagoditsch schrieb:

> next step i will try what tim recommends - its cheap hardware vs. 
> expensive time anyway ;-)
> i just have to wait for the second card.


hi all and thanks for your input so far.

second card arrived today and after all the "important" work i had the 
urgent need to try this today - despite the fact that its 2 am and my 
mouth seemed to be fixed in that "hippo-position" ;-)
anyway - this is not my lucky day ;-(

to be short, ztcfg segfaults on me - even after i invested a bit more 
time to start again with a fresh, clean kernel 2.6.9 and fresh compiled 
bristuff 0.2.0 etc etc.

-><--
# modprobe zaphfc modes=1
-><--

syslog shows:

--><--
Nov 24 03:44:01 test kernel: Zapata Telephony Interface Registered on 
major 196
Nov 24 03:44:01 test kernel: PCI: Enabling device 0000:00:08.0 (0004 -> 
0007)
Nov 24 03:44:01 test kernel: PCI: IRQ 0 for device 0000:00:08.0 doesn't 
match PIRQ mask - try pci=us
epirqmask
Nov 24 03:44:01 test kernel: PCI: Assigned IRQ 5 for device 0000:00:08.0
Nov 24 03:44:01 test kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured 
at mem 0xd09c2000 fifo 0xc6
6d8000(0x66d8000) IRQ 5 HZ 1000
Nov 24 03:44:01 test kernel: zaphfc: Card 0 configured for NT mode
Nov 24 03:44:01 test kernel: PCI: Enabling device 0000:00:09.0 (0004 -> 
0007)
Nov 24 03:44:01 test kernel: PCI: IRQ 0 for device 0000:00:09.0 doesn't 
match PIRQ mask - try pci=us
epirqmask
Nov 24 03:44:01 test kernel: PCI: Assigned IRQ 9 for device 0000:00:09.0
Nov 24 03:44:01 test kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured 
at mem 0xd09d2000 fifo 0xc6
6e8000(0x66e8000) IRQ 9 HZ 1000
Nov 24 03:44:01 test kernel: zaphfc: Card 1 configured for TE mode
Nov 24 03:44:01 test kernel: zaphfc: 2 hfc-pci card(s) in this box.
--><--

all nice and tidy IMHO ...

-><--
# ztcfg -v -c /etc/asterisk/zaptel.conf

Zaptel Configuration
======================
 
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 399-533 feet (DSX-1)
 
6 channels configured.
 
Segmentation fault
-><--

DOH >-(

syslog tells me:

-><--
Nov 24 03:46:02 test kernel: d0a576a0
Nov 24 03:46:02 test kernel: PREEMPT
Nov 24 03:46:02 test kernel: Modules linked in: zaphfc zaptel crc_ccitt 
3c59x parport_pc parport evdev rtc
Nov 24 03:46:02 test kernel: CPU:    0
Nov 24 03:46:02 test kernel: EIP:    0060:[<d0a576a0>]    Not tainted VLI
Nov 24 03:46:02 test kernel: EFLAGS: 00010002   (2.6.9-bristuff)
Nov 24 03:46:02 test kernel: EIP is at zt_ctl_ioctl+0x950/0xfe0 [zaptel]
Nov 24 03:46:02 test kernel: eax: 00000000   ebx: 00000002   ecx: 
c66a6998   edx: ced37dec
Nov 24 03:46:02 test kernel: esi: 00000001   edi: 00000246   ebp: 
ced37734   esp: ceb97e40
Nov 24 03:46:02 test kernel: ds: 007b   es: 007b   ss: 0068
Nov 24 03:46:02 test kernel: Process ztcfg (pid: 16223, 
threadinfo=ceb96000 task=cf7ac560)
Nov 24 03:46:02 test kernel: Stack: 00000000 cf32f000 00000001 ceb97e68 
ced37734 c66a6998 cf32f000 ffffffea
Nov 24 03:46:02 test kernel:        ceb96000 002405d3 c01fcfe4 cb4acb60 
c123bab0 c5d41009 00000003 ceb97ef4
Nov 24 03:46:02 test kernel:        ceb97f60 cffd2f80 ceb97eec c015996c 
00000000 cf1d2464 c0162a7d cf1d2464
Nov 24 03:46:02 test kernel: Call Trace:
Nov 24 03:46:02 test kernel:  [<c01fcfe4>] pty_write+0x124/0x130
Nov 24 03:46:02 test kernel:  [<c015996c>] do_lookup+0x1c/0x80
Nov 24 03:46:02 test kernel:  [<c0162a7d>] dput+0x1d/0x240
Nov 24 03:46:02 test kernel:  [<c015a449>] link_path_walk+0xa79/0xdc0
Nov 24 03:46:02 test kernel:  [<c0114b06>] recalc_task_prio+0xa6/0x1d0
Nov 24 03:46:02 test kernel:  [<c0159503>] permission+0x23/0x50
Nov 24 03:46:02 test kernel:  [<c01bf112>] kobject_get+0x12/0x20
Nov 24 03:46:02 test kernel:  [<c0155801>] cdev_get+0x51/0xb0
Nov 24 03:46:02 test kernel:  [<c0155540>] chrdev_open+0xf0/0x200
Nov 24 03:46:02 test kernel:  [<c015e044>] sys_ioctl+0xe4/0x240
Nov 24 03:46:02 test kernel:  [<c0105a67>] syscall_call+0x7/0xb
Nov 24 03:46:02 test kernel: Code: 00 c7 44 24 1c ea ff ff ff 8b 0c 9d 
60 ad a7 d0 8b a9 8c 00 00 00 85 ed 74 7b 89 6c 24 10 8b b5 c0 00 00 00 
85 f6 74 55 8b 55 3c <3b> 96 98 00 00 00 7d 35 89 d3 c1 e3 04 01 d3 c1 
e3 05 01 d3 8d
Nov 24 03:46:02 test kernel:  <6>note: ztcfg[16223] exited with 
preempt_count 2
Nov 24 03:46:02 test kernel:  [<c02e1de0>] schedule+0x4e0/0x4f0
Nov 24 03:46:02 test kernel:  [<c013de39>] unmap_vmas+0x109/0x1f0
Nov 24 03:46:02 test kernel:  [<c013df06>] unmap_vmas+0x1d6/0x1f0
Nov 24 03:46:02 test kernel:  [<c0142078>] exit_mmap+0x68/0x150
Nov 24 03:46:02 test kernel:  [<c01169e4>] mmput+0x64/0xa0
Nov 24 03:46:02 test kernel:  [<c011ab8b>] do_exit+0x14b/0x420
Nov 24 03:46:02 test kernel:  [<c01071e6>] die+0x166/0x170
Nov 24 03:46:02 test kernel:  [<c0113c02>] do_page_fault+0x202/0x5a0
Nov 24 03:46:02 test kernel:  [<c0113c24>] do_page_fault+0x224/0x5a0
Nov 24 03:46:02 test kernel:  [<c0115701>] __wake_up+0x21/0x50
Nov 24 03:46:02 test kernel:  [<c01fa65c>] n_tty_receive_buf+0x19c/0xff0
Nov 24 03:46:02 test kernel:  [<c02999e9>] ip_rcv_finish+0x1a9/0x220
Nov 24 03:46:02 test kernel:  [<c029962b>] ip_rcv+0x37b/0x430
Nov 24 03:46:02 test kernel:  [<c0113a00>] do_page_fault+0x0/0x5a0
Nov 24 03:46:02 test kernel:  [<c0106a2d>] error_code+0x2d/0x40
Nov 24 03:46:02 test kernel:  [<d0a576a0>] zt_ctl_ioctl+0x950/0xfe0 [zaptel]
Nov 24 03:46:02 test kernel:  [<c01fcfe4>] pty_write+0x124/0x130
Nov 24 03:46:02 test kernel:  [<c015996c>] do_lookup+0x1c/0x80
Nov 24 03:46:02 test kernel:  [<c0162a7d>] dput+0x1d/0x240
Nov 24 03:46:02 test kernel:  [<c015a449>] link_path_walk+0xa79/0xdc0
Nov 24 03:46:02 test kernel:  [<c0114b06>] recalc_task_prio+0xa6/0x1d0
Nov 24 03:46:02 test kernel:  [<c0159503>] permission+0x23/0x50
Nov 24 03:46:02 test kernel:  [<c01bf112>] kobject_get+0x12/0x20
Nov 24 03:46:02 test kernel:  [<c0155801>] cdev_get+0x51/0xb0
Nov 24 03:46:02 test kernel:  [<c0155540>] chrdev_open+0xf0/0x200
Nov 24 03:46:02 test kernel:  [<c015e044>] sys_ioctl+0xe4/0x240
Nov 24 03:46:02 test kernel:  [<c0105a67>] syscall_call+0x7/0xb
--><--

... whatever ...

maybe someone out there has an idea - i have to sleep for now.

good night, tja...




More information about the asterisk-users mailing list