[Asterisk-Users] unloading TE110P bristuffed module cause kernel panic

2005-10-12 Thread Francesco Angi








Hi folks,

I've already searched the mailing list but no one else
seems to have my same problem.

I'm using Asterisk with the following configuration:



Fedora Core 4 (but I also tried Fedora 3)



1 Digium TE110P

1 TDM40B

1 HFC-S 'Cologne'



bristuff 0.2.0-RC8o (zaptel 1.0.9.2)



I compiled right, I can load kernel modules but when I
try to unload wcte11xp module (the one for TE110P card) I get a kernel panic: 

Kernel panic - not syncing:
/usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2/wcte11xp.c:333:
spin_lock(usr/src/zbristuff-0.2.0-RC8o/zaptel-1.0.9.2/wcte11xp.c:d9640004)
already locked by /usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2/wcte11xp.c/887.
(Not tainted)



This happens if I load and unload by zaptel script or
if modprobe or insmod 'by hand', then run ztcfg and the unload the module.

No bristuffed zaptel works right and bristuffed zaptel
module for TDM40B works right.



The card does not share IRQ with other devices,
anyway I tried to have only TE110P mounted on PCI slot and to change PCI slot
where card is mounted. Nothing to do.



I really don't know what else I can try.



Thanks for help,

_fangi_






___
--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] unloading TE110P bristuffed module cause kernel panic

2005-10-12 Thread Simone Cittadini

Francesco Angi ha scritto:


Hi folks,

I've already searched the mailing list but no one else seems to have 
my same problem.


I'm using Asterisk with the following configuration:

 


Fedora Core 4 (but I also tried Fedora 3)

 


1 Digium TE110P

1 TDM40B

1 HFC-S 'Cologne'

 


bristuff 0.2.0-RC8o (zaptel 1.0.9.2)

 

I compiled right, I can load kernel modules but when I try to unload 
wcte11xp module (the one for TE110P card) I get a kernel panic:


Kernel panic - not syncing: 
/usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2/wcte11xp.c:333: 
spin_lock(usr/src/zbristuff-0.2.0-RC8o/zaptel-1.0.9.2/wcte11xp.c:d9640004) 
already locked by 
/usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2/wcte11xp.c/887. (Not tainted)


 

This happens if I load and unload by zaptel script or if modprobe or 
insmod 'by hand', then run ztcfg and the unload the module.


No bristuffed zaptel works right and bristuffed zaptel module for 
TDM40B works right.


 

The card does not share IRQ with other devices, anyway  I tried to 
have only TE110P mounted on PCI slot and to change PCI slot where card 
is mounted. Nothing to do.


 


I really don't know what else I can try.

 


Thanks for help,

_fangi_

Same problem with debian sarge on a dell and asterisk 1.0.7 from 
packages, unloading the module freezes the system, (rebooting the 
machine worked right), I installed zaptel 1.2beta and it seems to work, 
but I haven't really tested it, only loaded/unloaded/loaded and placed a 
couple of calls.

___
--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] unloading TE110P bristuffed module cause kernel panic

2005-10-12 Thread Tzafrir Cohen
On Wed, Oct 12, 2005 at 10:18:15AM +0200, Simone Cittadini wrote:

 Same problem with debian sarge on a dell and asterisk 1.0.7 from 
 packages, unloading the module freezes the system, (rebooting the 
 machine worked right), I installed zaptel 1.2beta and it seems to work, 
 but I haven't really tested it, only loaded/unloaded/loaded and placed a 
 couple of calls.

Interesting. The zaptel part of the bristuff patch is rather small and
does not seem to have much to do with locks or with the init code, at
first glance.

Also note that the zaptel patch actually applies cleanly to 1.2 .
Contact me by email for packages. Though I suspect that it is not going
to solve the problem.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--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