Hello,
I'm trying to switch to mISDN, but upon loading asterisk mISDN creates
an kernel oops. I'm using a custom configured vanilla kernel version
2.6.22.1 on gentoo. These are the versions I use:
[I--] [ ~] net-dialup/misdn-1.1.5 (0)
[I--] [ ~] net-dialup/misdnuser-1.1.5 (0)
[I--] [ ~] net-misc/asterisk-chan_misdn-0.3.0 (0)
[I--] [ ~] net-misc/asterisk-1.2.21.1-r1 (0)
I'm trying to use a hfc-pci card in NT-mode. The card get's properly
detected and configured by misdn. Here's the dmesg including the oops:
-----8<------------------------------------
CAPI Subsystem Rev 1.1.2.8
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
Modular ISDN Stack core version () revision ($Revision: 1.40 $)
mISDNd: kernel daemon started (current:dfed5070)
mISDNd: test event done
ISDN L1 driver version 1.20
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN Capi 2.0 driver file version 1.21
HFC card dc07a800 dch dc07a85c bch1 dc07a9dc bch2 dc07ab5c
mISDN: HFC-PCI driver Rev. 1.49
mISDN: HFC-PCI card manufacturer: CCD/Billion/Asuscom card name: 2BD0
HFC-PCI: defined at mem 0xe33e6000 fifo 0xd9a68000(0x19a68000) IRQ 21 HZ 250
reset_hfcpci: entered
HFC_PCI: resetting HFC ChipId(30)
HFC-PCI status(4) before reset
HFC-PCI status(2) after reset
HFC-PCI status(4) after 5us
init_card: entered
inithfcpci: entered
HFC PCI: IRQ 21 count 23
HFC card dc63c800 dch dc63c85c bch1 dc63c9dc bch2 dc63cb5c
mISDN: HFC-PCI driver Rev. 1.49
HFC-PCI: No more PCI cards found
HFC 1 cards installed
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2 dtmfthreshold(100)
mISDN_dsp: DSP clocks every 128 samples. This equals 4 jiffies.
BUG: unable to handle kernel NULL pointer dereference at virtual address
00000075
printing eip:
c02c3132
*pde = 00000000
Oops: 0002 [#1]
Modules linked in: mISDN_dsp hfcpci mISDN_capi l3udss1 mISDN_l2 mISDN_l1
mISDN_core capi kernelcapi capifs sch_sfq cls_fw sch_htb ipv6 xt_state
iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack
nfnetlink ipt_tos ipt_TOS xt_length xt_DSCP xt_tcpudp xt_MARK iptable_mangle
ip_tables x_tables usbcore truecrypt dm_mod parport_pc parport floppy 8250_pnp
8250 serial_core pdc202xx_new ide_core e1000 e100 mii rtc sg
CPU: 0
EIP: 0060:[<c02c3132>] Not tainted VLI
EFLAGS: 00210293 (2.6.22.1 #4)
EIP is at mutex_lock+0x0/0xa
eax: 00000075 ebx: 00000075 ecx: d9958bc0 edx: e35c4b80
esi: d9958b90 edi: da894540 ebp: d9912288 esp: d9433f60
ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
Process asterisk (pid: 8560, ti=d9432000 task=c14a3030 task.ti=d9432000)
Stack: c0162d35 00000008 da894540 d992a398 c014435b 00000000 00000000 dffe3140
da894540 c1495ec0 00000000 d9432000 c0142164 dc932df4 c1495ec0 00000020
da894540 c0143098 00000008 b7ecb560 00000004 c01022b6 00000008 00000000
Call Trace:
[<c0162d35>] eventpoll_release_file+0x2d/0x54
[<c014435b>] __fput+0x7b/0x13c
[<c0142164>] filp_close+0x51/0x58
[<c0143098>] sys_close+0x54/0x83
[<c01022b6>] sysenter_past_esp+0x5f/0x85
=======================
Code: c0 8d 54 24 08 8d 4c 24 1c 89 4c 24 1c 89 4c 24 20 8b 4c 24 38 89 0c 24
89 e9 8b 44 24 04 e8 46 ff ff ff 83 c4 24 5b 5e 5f 5d c3 <ff> 08 79 05 e8 d1 00
00 00 c3 ff 00 7f 05 e8 ab 00 00 00 c3 53
EIP: [<c02c3132>] mutex_lock+0x0/0xa SS:ESP 0068:d9433f60
-----8<------------------------------------
Here's my /etc/misdn-init.conf:
-----8<------------------------------------
card=1,hfcpci
nt_ptmp=1
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0
-----8<------------------------------------
And my /etc/asterisk/misdn.conf:
-----8<------------------------------------
[general]
misdn_init=/etc/misdn-init.conf
debug=1
ntdebugflags=0
ntdebugfile=/var/log/misdn-nt.log
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
dynamic_crypt=no
crypt_prefix=**
crypt_keys=test,muh
[default]
context=misdn-in
language=de
musicclass=default
senddtmf=yes
far_alerting=no
allowed_bearers=all
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
te_choose_channel=no
pmp_l1_check=no
reject_cause=16
need_more_infos=no
nttimeout=no
method=standard
dialplan=0
localdialplan=0
cpndialplan=0
early_bconnect=yes
incoming_early_audio=no
nodialtone=no
presentation=-1
screen=-1
echocancel=yes
jitterbuffer=4000
jitterbuffer_upper_threshold=0
hdlc=no
[intern]
ports=1
context=misdn-in
msns=*
-----8<------------------------------------
I haven't changed much in the configs. Upon load, asterisk simply
crashes... No clue where this oops comes from. Anyone?
Thanks
Arne
_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk