Yoann Le Bihan
2005-Nov-24 16:29 UTC
[Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty
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.
Jose Limeres
2005-Nov-24 16:53 UTC
[Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty
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@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. > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Yoann Le Bihan
2005-Nov-25 07:00 UTC
[Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty
2005/11/25, Jose Limeres <jlimeres@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?I looked back to this error. In fact, it happens when you forget to initialize driver, so do it : /etc/init.d/misdn-init scan If everything goes well you can do : /etc/init.d/misdn-init config /etc/init.d/misdn-init start Then, you can start asterisk :-) Cheers, YLB.