Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-30 Thread gincantalupo

Hi,
I have the same problem, same error but loading modules changes nothing.
I'm using debian sarge and Asterisk 1.2: after compiling asterisk I 
launched install-misdn from beronet site.

When I started Asterisk the same error arose:
Nov 30 15:43:06 ERROR[4914]: chan_misdn.c:3455 load_module: Unable to 
initialize mISDN


Maybe I'm missing something?
How can I know if I have mISDN module working?

TIA

Giorgio Incantalupo



Yoann Le Bihan wrote:


2005/11/25, Jose Limeres [EMAIL PROTECTED]:
 


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.
___
--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

 



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-25 Thread Kib Eki
yes, i can confirm this. We had similar problems. FC4 comes with gcc4. We added 
gcc3 and recompiled the kernel, asterisk and chan_misdn. Now we can load 
chan_misdn.so with crashing the asterisk server.



Johann Steinwendtner wrote:

Make sure that you compile misdnuser with gcc3.x, gcc4 did
not work for me.

Hans

Yoann Le Bihan schrieb:


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 [EMAIL PROTECTED]:


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 [EMAIL PROTECTED] 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





___
--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





___
--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


Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-25 Thread Yoann Le Bihan
All right, thanks a lot for your answers ! :)
I also contacted beronet support (as they develop chan_misdn)... this
bug is known and should be fixed within a few weeks...

Alleluiiia ;))

I'm compiling with gcc32... hope it runs ! :-)

Cheers,

YLB.


2005/11/25, Kib Eki [EMAIL PROTECTED]:
 yes, i can confirm this. We had similar problems. FC4 comes with gcc4. We 
 added
 gcc3 and recompiled the kernel, asterisk and chan_misdn. Now we can load
 chan_misdn.so with crashing the asterisk server.
___
--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


Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-25 Thread Yoann Le Bihan
2005/11/25, Jose Limeres [EMAIL PROTECTED]:
 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.
___
--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


[Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-24 Thread Yoann Le Bihan
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


Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-24 Thread Jose Limeres
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 [EMAIL PROTECTED] 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

___
--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


Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-24 Thread Yoann Le Bihan
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 [EMAIL PROTECTED]:
 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 [EMAIL PROTECTED] 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


Re: [Asterisk-Users] chan_misdn crashes : init_stack: success but entitylist not empty

2005-11-24 Thread Johann Steinwendtner

Make sure that you compile misdnuser with gcc3.x, gcc4 did
not work for me.

Hans

Yoann Le Bihan schrieb:

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 [EMAIL PROTECTED]:


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 [EMAIL PROTECTED] 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





___
--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