[asterisk-dev] dahdi + zaphfc

Jean-Denis Girard jd.girard at sysnux.pf
Wed Sep 10 00:32:22 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tzafrir Cohen a écrit :
|
| bri_dchan for latest dahdi attached. Do you happen to have a more
| complete trace from that (e.g.: on your console, through a serial
| console?)
|
| I don't have such a card, so I can't test with that. I do have one
| quadbri card, and I'll try to convert qozap when I get the time

Here is the complete trace:
Sep  5 17:31:21 tiare kernel: dahdi: Telephony Interface Registered on
major 196
Sep  5 17:31:21 tiare kernel: dahdi: Version: SVN--r4865M
Sep  5 17:31:33 tiare kernel: ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI
20 (level, low) -> IRQ 20
Sep  5 17:31:33 tiare kernel: zaphfc: CCD/Billion/Asuscom 2BD0
configured at mem ffffc20010084000 fifo ffff810063048000(0x63048000) IRQ
20 HZ 1000
Sep  5 17:31:33 tiare kernel: zaphfc: Card 0 configured for TE mode
Sep  5 17:31:33 tiare kernel: BUG: unable to handle kernel NULL pointer
dereference at 0000000000000000
Sep  5 17:31:33 tiare kernel: IP: [_end+532653477/2130360152]
:dahdi:dahdi_register+0x11d/0x360
Sep  5 17:31:33 tiare kernel: IP: [<ffffffffa024ee4d>]
:dahdi:dahdi_register+0x11d/0x360
Sep  5 17:31:33 tiare kernel: PGD 6300f067 PUD 6ce32067 PMD 0
Sep  5 17:31:33 tiare kernel: Oops: 0000 [1] PREEMPT SMP
Sep  5 17:31:33 tiare kernel: CPU 0
Sep  5 17:31:33 tiare kernel: Modules linked in: zaphfc(+) dahdi
crc_ccitt i915 drm nfs nfs_acl autofs4 af_packet snd_usb_audio
binfmt_misc loop dm_mirror dm_log pl2303 usbserial snd_usb_lib usbhid
snd_rawm
idi snd_hwdep hid floppy cpufreq_conservative cpufreq_powersave
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
snd_pcm_oss snd_mixer_oss stv0299 b2c2_flexcop_pci b2c2_flexcop dvb_core s
nd_hda_intel cx24123 8250_pnp rtc_cmos s5h1420 8250 rtc_core serial_core
snd_pcm rtc_lib 8139too snd_timer sr_mod i2c_i801 mii sky2 i2c_core snd
bitrev soundcore crc32 snd_page_alloc ehci_hcd thermal uhci_h
cd button processor sg evdev usbcore
Sep  5 17:31:33 tiare kernel: Pid: 4387, comm: modprobe Not tainted
2.6.26.3-sysnux #7
Sep  5 17:31:33 tiare kernel: RIP: 0010:[_end+532653477/2130360152]
[_end+532653477/2130360152] :dahdi:dahdi_register+0x11d/0x360
Sep  5 17:31:33 tiare kernel: RIP: 0010:[<ffffffffa024ee4d>]
[<ffffffffa024ee4d>] :dahdi:dahdi_register+0x11d/0x360
Sep  5 17:31:33 tiare kernel: RSP: 0018:ffff81006ce19e98  EFLAGS: 00010202
Sep  5 17:31:33 tiare kernel: RAX: 0000000000000000 RBX:
ffff810068774008 RCX: 0000000000000001
Sep  5 17:31:33 tiare kernel: RDX: 0000000000000000 RSI:
0000000000000000 RDI: 0000000000000000
Sep  5 17:31:33 tiare kernel: RBP: 0000000000000000 R08:
0000000000000001 R09: 0000000000000001
Sep  5 17:31:33 tiare kernel: R10: 0000000000000000 R11:
000000000000000a R12: 0000000000000001
Sep  5 17:31:33 tiare kernel: R13: 0000000000000003 R14:
0000000000000000 R15: ffff810068774008
Sep  5 17:31:33 tiare kernel: FS:  00007fa15bacc6f0(0000)
GS:ffffffff80597000(0000) knlGS:0000000000000000
Sep  5 17:31:33 tiare kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
000000008005003b
Sep  5 17:31:33 tiare kernel: CR2: 0000000000000000 CR3:
00000000687e1000 CR4: 00000000000006e0
Sep  5 17:31:33 tiare kernel: DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep  5 17:31:33 tiare kernel: DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep  5 17:31:33 tiare kernel: Process modprobe (pid: 4387, threadinfo
ffff81006ce18000, task ffff81006a055c00)
Sep  5 17:31:33 tiare kernel: Stack:  0000000000000000 0000000000000000
ffff810068774e20 ffffffffffffff02
Sep  5 17:31:33 tiare kernel:  ffff810068775530 ffff810068774000
0000000000000003 0000000000000003
Sep  5 17:31:33 tiare kernel:  ffff81007bd3a800 ffffffffa0278dd6
0000000000000014 ffff8100000003e8
Sep  5 17:31:33 tiare kernel: Call Trace:
Sep  5 17:31:33 tiare kernel:  [_end+532825390/2130360152]
:zaphfc:hfc_findCards+0x3e6/0x680
Sep  5 17:31:33 tiare kernel:  [<ffffffffa0278dd6>]
:zaphfc:hfc_findCards+0x3e6/0x680
Sep  5 17:31:33 tiare kernel:  [_end+532826100/2130360152]
:zaphfc:init_module+0x2c/0x60
Sep  5 17:31:33 tiare kernel:  [<ffffffffa027909c>]
:zaphfc:init_module+0x2c/0x60
Sep  5 17:31:33 tiare kernel:  [sys_init_module+176/480]
sys_init_module+0xb0/0x1e0
Sep  5 17:31:33 tiare kernel:  [<ffffffff8025cae0>]
sys_init_module+0xb0/0x1e0
Sep  5 17:31:33 tiare kernel:  [system_call_after_swapgs+138/143]
system_call_after_swapgs+0x8a/0x8f
Sep  5 17:31:33 tiare kernel:  [<ffffffff8020b8ba>]
system_call_after_swapgs+0x8a/0x8f
Sep  5 17:31:33 tiare kernel:
Sep  5 17:31:33 tiare kernel:
Sep  5 17:31:33 tiare kernel: Code: c0 e8 a8 79 fe df 48 c7 83 d0 01 00
00 00 00 00 00 8b ab 2c 01 00 00 85 ed 7e 38 45 31 e4 31 ed 48 8b 83 78
01 00 00 41 83 c4 01 <48> 8b 04 28 48 89 98 20 01 00 00 48 8b
83 78 01 00 00 48 8b 3c
Sep  5 17:31:33 tiare kernel: RIP  [_end+532653477/2130360152]
:dahdi:dahdi_register+0x11d/0x360
Sep  5 17:31:33 tiare kernel: RIP  [<ffffffffa024ee4d>]
:dahdi:dahdi_register+0x11d/0x360
Sep  5 17:31:33 tiare kernel:  RSP <ffff81006ce19e98>
Sep  5 17:31:33 tiare kernel: CR2: 0000000000000000
Sep  5 17:31:33 tiare kernel: ---[ end trace e50d081a57d18c7b ]---


I probably won't have time to test the new bri_dchan patch until end of
week, but I will.

~From Kevin's reply I thought that some changes were also needed to
zaphfc. I looked at the differences between zaptel and dahdi versions of
wctdm.c, and found that chans were converted to pointers; isn't it
needed in zaphfc also?


Thanks,
- --
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iEYEARECAAYFAkjHW+YACgkQuu7Rv+oOo/jmKgCeJHy27uMI4L9CtdAvMzqBI7SN
+UYAniYcNbXaFHtGap5AvcKvzuJSDS3O
=Xxss
-----END PGP SIGNATURE-----



More information about the asterisk-dev mailing list