[Asterisk-Users] chan_misdn crashes : init_stack: success but
entitylist not empty
Yoann Le Bihan
ylebihan at gmail.com
Thu Nov 24 17:06:37 MST 2005
Jose,
I met so many problems these last 8 days that I don't remember exactly
which config was mine at that time, so I can't testify the answer...
(just for fun : my linux box is having 3 hd with a different distro on
each of them and I plug the cable on the hd I want to boot depending
on my mood ;o)).
I think I was running 1.0.9. The main things I did were :
- deinstalling everything (asterisk, misdn, misdnuser, chan_misdn, ...)
- compiling and installing asterisk 1.2.0 (make ; make install)
- downloading the install_misdn script on beronet
(http://www.beronet.com/download/install-misdn.tar.gz) and executing
the make install (be careful : you need kernel headers)
And now, I'm done : Asterisk runs without chan_misdn, but crashes with
it :-( But it's installed :-)
Good luck ! ;)
Cheers,
YLB.
2005/11/25, Jose Limeres <jlimeres at gmail.com>:
> Yoann,
> I am going through a similar problem you reported in a past posting:
>
> Nov 24 17:49:31 ERROR[9326] chan_misdn.c: Unable to initialize mISDN
> Nov 24 17:49:31 WARNING[9326] loader.c: chan_misdn.so: load_module
> failed, returning -1
> Nov 24 17:49:31 WARNING[9326] chan_misdn.c: cb_log called with
> out-of-range port number! (0)
> Nov 24 17:49:31 WARNING[9326] loader.c: Loading module chan_misdn.so failed!
>
> How did you solve it?
> Thanks, jose
>
> On 25/11/05, Yoann Le Bihan <ylebihan at gmail.com> wrote:
> > Hi,
> >
> > Asterisk 1.2 on FC4, all is right, I'm happy. But when I try to load
> > chan_misdn after a successful install, I get it :
> >
> > # asterisk -vvvgc
> > [...]
> > [chan_features.so] => (Feature Proxy Channel)
> > == Registered channel type 'Feature' (Feature Proxy Channel Driver)
> > [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri))
> > == Parsing '/etc/asterisk/misdn.conf': Found
> > Got: 1 from get_ports
> > Init. Stack on port:1
> > No Connect port:1
> > init_stack: Success
> > #
> >
> > Nothing else. Asterisk crashes. If I look at /var/log/messages :
> >
> > # tail /var/log/messages
> > Nov 25 00:22:39 toto kernel: Debug: sleeping function called from
> > invalid context at arch/i386/lib/usercopy.c:634
> > Nov 25 00:22:39 toto kernel: in_atomic():0, irqs_disabled():1
> > Nov 25 00:22:39 toto kernel: [<c01d16b8>] copy_from_user+0x18/0x80
> > Nov 25 00:22:39 toto kernel: [<e0ba85b8>] mISDN_write+0x318/0x7c5 [mISDN_core]
> > Nov 25 00:22:39 toto kernel: [<e0ba82a0>] mISDN_write+0x0/0x7c5 [mISDN_core]
> > Nov 25 00:22:39 toto kernel: [<c0158bb1>] vfs_write+0xa2/0x15a
> > Nov 25 00:22:39 toto kernel: [<c0158d14>] sys_write+0x41/0x6a
> > Nov 25 00:22:39 toto kernel: [<c0102ec5>] syscall_call+0x7/0xb
> > Nov 25 00:22:39 toto kernel: MISDN free_device: entitylist not empty
> > #
> >
> > Any idea ?... I've been on it for 1 whole week... I'm exhausted :-(
> >
> > Cheers,
> >
> > YLB.
More information about the asterisk-users
mailing list