[asterisk-users] phoniceq e400p driver for DAHDI
Josh Edwards
limojosh at yahoo.com
Wed Oct 15 14:52:19 CDT 2008
Hello everyone,
We have an E400P Card from phoniceq. There is a DAHDI Driver posted at: http://e400p.phoniceq.com/driver/dahdi-tor2-tormenta3-e1.tgz
but, it doesn't work. The author (martin (or marcin) pycko) says that it isn't finished.
I've e-mailed martin, and he stated that he would fix the driver AFTER we order 10 more cards, not before. I have a difficult time ordering thousands of dollars worth of product BEFORE i see it working correctly. During my life, I've been promised a lot of things....
If anyone can fix the driver, I'll gladly pay a reasonable fee for the service. The hardware seems to work well, and it definately fits my budget, but i'm more comfortable paying a few dollars to get this done BEFORE i buy the cards. Cheap insurance.
To replicate my setup, you would need to download dahdi-linux-complete-2.0.0.tar.gz , untar it, and then download the file above and copy the contents over the top of .../dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi/tor2.c
Below is the debug information I provided when I first contacted phoniceq.
If anyone here thinks they can tackle this for me, Please get in touch via direct email and let me know how much you want to fix it up.
Thanks Everyone,
Josh
-----------------------------------------------------------
When I insmod/modprobe tor2.c, however, I get a segmentation fault, and I can't use the driver, or even unload it. The only way to remove the driver is to reboot the machine.
develop:/usr/src/tor2/dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi # uname -a
Linux develop 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux
develop:/usr/src/tor2/dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi # insmod tor2.ko
Segmentation fault
develop:/usr/src/tor2/dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi #
develop:/usr/src/tor2/dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi # rmmod tor2
ERROR: Module tor2 is in use
develop:/usr/src/tor2/dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi #
*NOTE*************(tor2 is NOT in use)**************NOTE*
develop:/usr/src/tor2/dahdi-linux-complete-2.0.0+2.0.0/linux/drivers/dahdi # dahdi_cfg -vvv
DAHDI Tools Version - 2.0.0
DAHDI Version: 2.0.0
Echo Canceller(s):
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: Clear channel (Default) (Slaves: 24)
Channel 25: Clear channel (Default) (Slaves: 25)
Channel 26: Clear channel (Default) (Slaves: 26)
Channel 27: Clear channel (Default) (Slaves: 27)
Channel 28: Clear channel (Default) (Slaves: 28)
Channel 29: Clear channel (Default) (Slaves: 29)
Channel 30: Clear channel (Default) (Slaves: 30)
Channel 31: Clear channel (Default) (Slaves: 31)
Channel 32: Clear channel (Default) (Slaves: 32)
Channel 33: Clear channel (Default) (Slaves: 33)
Channel 34: Clear channel (Default) (Slaves: 34)
Channel 35: Clear channel (Default) (Slaves: 35)
Channel 36: Clear channel (Default) (Slaves: 36)
Channel 37: Clear channel (Default) (Slaves: 37)
Channel 38: Clear channel (Default) (Slaves: 38)
Channel 39: Clear channel (Default) (Slaves: 39)
Channel 40: Clear channel (Default) (Slaves: 40)
Channel 41: Clear channel (Default) (Slaves: 41)
Channel 42: Clear channel (Default) (Slaves: 42)
Channel 43: Clear channel (Default) (Slaves: 43)
Channel 44: Clear channel (Default) (Slaves: 44)
Channel 45: Clear channel (Default) (Slaves: 45)
Channel 46: Clear channel (Default) (Slaves: 46)
Channel 47: Clear channel (Default) (Slaves: 47)
Channel 48: D-channel (Default) (Slaves: 48)
Channel 49: Clear channel (Default) (Slaves: 49)
Channel 50: Clear channel (Default) (Slaves: 50)
Channel 51: Clear channel (Default) (Slaves: 51)
Channel 52: Clear channel (Default) (Slaves: 52)
Channel 53: Clear channel (Default) (Slaves: 53)
Channel 54: Clear channel (Default) (Slaves: 54)
Channel 55: Clear channel (Default) (Slaves: 55)
Channel 56: Clear channel (Default) (Slaves: 56)
Channel 57: Clear channel (Default) (Slaves: 57)
Channel 58: Clear channel (Default) (Slaves: 58)
Channel 59: Clear channel (Default) (Slaves: 59)
Channel 60: Clear channel (Default) (Slaves: 60)
Channel 61: Clear channel (Default) (Slaves: 61)
Channel 62: Clear channel (Default) (Slaves: 62)
Channel 63: Clear channel (Default) (Slaves: 63)
Channel 65: Clear channel (Default) (Slaves: 65)
Channel 66: Clear channel (Default) (Slaves: 66)
Channel 67: Clear channel (Default) (Slaves: 67)
Channel 68: Clear channel (Default) (Slaves: 68)
Channel 69: Clear channel (Default) (Slaves: 69)
Channel 70: Clear channel (Default) (Slaves: 70)
Channel 71: Clear channel (Default) (Slaves: 71)
Channel 72: Clear channel (Default) (Slaves: 72)
Channel 73: Clear channel (Default) (Slaves: 73)
Channel 74: Clear channel (Default) (Slaves: 74)
Channel 75: Clear channel (Default) (Slaves: 75)
Channel 76: Clear channel (Default) (Slaves: 76)
Channel 77: Clear channel (Default) (Slaves: 77)
Channel 78: Clear channel (Default) (Slaves: 78)
Channel 79: Clear channel (Default) (Slaves: 79)
Channel 80: D-channel (Default) (Slaves: 80)
Channel 81: Clear channel (Default) (Slaves: 81)
Channel 82: Clear channel (Default) (Slaves: 82)
Channel 83: Clear channel (Default) (Slaves: 83)
Channel 84: Clear channel (Default) (Slaves: 84)
Channel 85: Clear channel (Default) (Slaves: 85)
Channel 86: Clear channel (Default) (Slaves: 86)
Channel 87: Clear channel (Default) (Slaves: 87)
Channel 88: Clear channel (Default) (Slaves: 88)
Channel 89: Clear channel (Default) (Slaves: 89)
Channel 90: Clear channel (Default) (Slaves: 90)
Channel 91: Clear channel (Default) (Slaves: 91)
Channel 92: Clear channel (Default) (Slaves: 92)
Channel 93: Clear channel (Default) (Slaves: 93)
Channel 94: Clear channel (Default) (Slaves: 94)
Channel 95: Clear channel (Default) (Slaves: 95)
Channel 97: Clear channel (Default) (Slaves: 97)
Channel 98: Clear channel (Default) (Slaves: 98)
Channel 99: Clear channel (Default) (Slaves: 99)
Channel 100: Clear channel (Default) (Slaves: 100)
Channel 101: Clear channel (Default) (Slaves: 101)
Channel 102: Clear channel (Default) (Slaves: 102)
Channel 103: Clear channel (Default) (Slaves: 103)
Channel 104: Clear channel (Default) (Slaves: 104)
Channel 105: Clear channel (Default) (Slaves: 105)
Channel 106: Clear channel (Default) (Slaves: 106)
Channel 107: Clear channel (Default) (Slaves: 107)
Channel 108: Clear channel (Default) (Slaves: 108)
Channel 109: Clear channel (Default) (Slaves: 109)
Channel 110: Clear channel (Default) (Slaves: 110)
Channel 111: Clear channel (Default) (Slaves: 111)
Channel 112: D-channel (Default) (Slaves: 112)
Channel 113: Clear channel (Default) (Slaves: 113)
Channel 114: Clear channel (Default) (Slaves: 114)
Channel 115: Clear channel (Default) (Slaves: 115)
Channel 116: Clear channel (Default) (Slaves: 116)
Channel 117: Clear channel (Default) (Slaves: 117)
Channel 118: Clear channel (Default) (Slaves: 118)
Channel 119: Clear channel (Default) (Slaves: 119)
Channel 120: Clear channel (Default) (Slaves: 120)
Channel 121: Clear channel (Default) (Slaves: 121)
Channel 122: Clear channel (Default) (Slaves: 122)
120 channels to configure.
DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.0.0
ACPI: PCI Interrupt 0000:01:01.0[A] -> GSI 21 (level, low) -> IRQ 21
Detected Tormenta 2 Quad E1/PRA - E400P at 0xdddff000/0xdddfe800 irq 21
Xilinx Chip successfully loaded, configured and started!!
BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<c01e4642>] vsnprintf+0x71/0x41f
*pdpt = 00000000368d2001 *pde = 0000000000000000
Oops: 0002 [#1] SMP
last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
Modules linked in: tor2(+) dahdi binfmt_misc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device iptable_filter ip_tables ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq speedstep_lib microcode firmware_class fuse loop dm_mod iTCO_wdt rtc_cmos snd_hda_intel iTCO_vendor_support via_rhine rtc_core i2c_i801 snd_pcm sr_mod intel_agp snd_timer rtc_lib mii button ppdev snd_page_alloc crc_ccitt agpgart cdrom joydev i2c_core snd_hwdep r8169 parport_pc snd soundcore parport serio_raw sg usbhid hid ff_memless ehci_hcd uhci_hcd sd_mod usbcore edd ext3 mbcache jbd fan ata_piix libata scsi_mod dock thermal processor
Pid: 7689, comm: insmod Tainted: G N (2.6.25.5-1.1-pae #1)
EIP: 0060:[<c01e4642>] EFLAGS: 00010a83 CPU: 0
EIP is at vsnprintf+0x71/0x41f
EAX: 80000054 EBX: 00000004 ECX: f9ac6387 EDX: f9ac6387
ESI: f695e000 EDI: f7c17d54 EBP: f7c17d38 ESP: f7c17d0c
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process insmod (pid: 7689, ti=f7c16000 task=f6db1020 task.ti=f7c16000)
Stack: f9ac6387 7fffffff 00000004 ffffffff 80000003 00000000 f695e000 f7c17d34
00000000 f695e000 f695e000 f7c17d44 c01e4a07 f7c17d54 f7c17dc8 f9ab49c5
00000004 f9ac6387 00000000 00000001 00000001 dddfe800 00000000 f7c17d74
Call Trace:
[<c01e4a07>] sprintf+0x17/0x19
[<f9ab49c5>] tor2_probe+0x675/0x937 [tor2]
[<c01ee869>] pci_device_probe+0x39/0x59
[<c024f9cd>] driver_probe_device+0xa0/0x136
[<c024fabe>] __driver_attach+0x5b/0x91
[<c024f3a9>] bus_for_each_dev+0x36/0x5e
[<c024f872>] driver_attach+0x14/0x16
[<c024edae>] bus_add_driver+0x9d/0x1ba
[<c024fc34>] driver_register+0x47/0xa7
[<c01eea20>] __pci_register_driver+0x35/0x61
[<f886a018>] tor2_init+0x18/0x2b [tor2]
[<c0144d51>] sys_init_module+0x198b/0x1ab8
[<c01059e4>] sysenter_past_esp+0x6d/0xa9
[<ffffe430>] 0xffffe430
=======================
Code: 45 e4 73 0f 8b 55 dc c7 45 e4 ff ff ff ff f7 d2 89 55 d8 8b 5d dc e9 8d 03 00 00 3c 25 c7 45 e8 00 00 00 00 74 0d 3b 5d e4 73 02 <88> 03 43 e9 72 03 00 00 ff 45 d4 8b 45 d4 8a 10 80 fa 2b 74 20
EIP: [<c01e4642>] vsnprintf+0x71/0x41f SS:ESP 0068:f7c17d0c
---[ end trace fe878e13da40b73b ]---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081015/ec3470e2/attachment.htm
More information about the asterisk-users
mailing list