Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-06 Thread Anton Tinchev
Ken Godee wrote:

> Mark Spencer wrote:
> 
>>It won't cause any sort of serious problem, but you are getting it with an
>>unusually high frequency.  What's particularly interesting is that it
>>occurs almost exactly once per minute, on the minute.  This would seem to
>>suggest that you have some hardware in your system which, once per minute,
>>is blocking interrupts.
> 
> 
> Wasn't to hard to find. First thing I did was to unload the
> compaq adavance management driver. Now I just get a few on boot
> up, somewhere around when the kernels messing around with the
> mtrr serverworks chipset.
> 
> Ok, I guess it's no big thing and shouldn't cause any harm
> but I've never had this type of error before on any Linux
> server I've run.
> 
> I'll summize that it's one of two things..
> 
> a.) In an effort to push Linux's poor job of handling interrupt
> latancy, which makes it a not so good choice for real time systems
> that the TE410 driver is simply pushing the limits a little.
> Which is all right by me :)
> 
> b.) The TE410 driver needs a little tweaking to play better
> with others and handle it's interrupt requests better.
> Which is all right by me too :)
> 
> I'm not saying I know what the heck I'm talking about here
> but just curious. Falls into one of my Linux mottos...
> "I now know more about it then I ever cared to"
> 
> Thanks,
> Ken
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
Just look in the sources of this compaq adavance management driver.
There must be some braindead logic that disables interrupts for more than a 1/1000 sec 
in the begining of the each minute.
I must be some kind of sync IO with slow bus, that waits for it, instead make the IO 
async.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-05 Thread Ken Godee
Rahul Arvind Jadhav wrote:
hi,
   I have lately acquired a TE410P. The problem i face currently is that 
the span gets(or doesnt gets) UP in an uneven fashion i.e i have to 
load-unload the modules, wait for sometime and then start the 
application i dont know but this execise works well for me (though 
Rahul,
You might want to check a couple of my previous posts in the last couple
of days titled "starting asterisk?". Don't know if this is the same type 
of trouble you're having, but I had a tuff time getting the whole app to 
fire up when booting, all working and booting well now.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-05 Thread Rahul Arvind Jadhav
hi,
   I have lately acquired a TE410P. The problem i face currently is 
that the span gets(or doesnt gets) UP in an uneven fashion i.e i have to 
load-unload the modules, wait for sometime and then start the 
application i dont know but this execise works well for me (though 
not neccassary that this works in first shot, but after retrying it 
somehow works). It is a tedious exercise and moreover i cannot manage to 
do it when i ve to use it in an auto-startup way i.e after a reboot the 
whole thing should come up by itself.
There is no evidence of any strange things happening except for the 
`Double/missed interrupt detected` shown in dmesg. `zttool` shows that 
the span status is OK.
Any thoughts on why i m getting such odd problems? Has anyone else faced 
the same problem (plz reply if u ve managed to fix it)?
Thanx,
Rahul

Mark Spencer wrote:

a.) In an effort to push Linux's poor job of handling interrupt
latancy, which makes it a not so good choice for real time systems
that the TE410 driver is simply pushing the limits a little.
Which is all right by me :)
   

Well, Zaptel needs to service interrupts once every 1000 microseconds.  If
not, it misses a sample (not the end of the world, mind you).  No driver
should leave interrupts disabled for anywhere *near* 1000 microseconds.
If you need that long, put it in a bottom-half handler.
b.) The TE410 driver needs a little tweaking to play better
with others and handle it's interrupt requests better.
Which is all right by me too :)
   

If interrupts are disabled there is nothing we can do, except not
interrupt as frequently, but this leads to additional latency.
Mark

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-05 Thread Mark Spencer
> a.) In an effort to push Linux's poor job of handling interrupt
> latancy, which makes it a not so good choice for real time systems
> that the TE410 driver is simply pushing the limits a little.
> Which is all right by me :)

Well, Zaptel needs to service interrupts once every 1000 microseconds.  If
not, it misses a sample (not the end of the world, mind you).  No driver
should leave interrupts disabled for anywhere *near* 1000 microseconds.
If you need that long, put it in a bottom-half handler.

> b.) The TE410 driver needs a little tweaking to play better
> with others and handle it's interrupt requests better.
> Which is all right by me too :)

If interrupts are disabled there is nothing we can do, except not
interrupt as frequently, but this leads to additional latency.

Mark

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-05 Thread Ken Godee
Mark Spencer wrote:
It won't cause any sort of serious problem, but you are getting it with an
unusually high frequency.  What's particularly interesting is that it
occurs almost exactly once per minute, on the minute.  This would seem to
suggest that you have some hardware in your system which, once per minute,
is blocking interrupts.
Wasn't to hard to find. First thing I did was to unload the
compaq adavance management driver. Now I just get a few on boot
up, somewhere around when the kernels messing around with the
mtrr serverworks chipset.
Ok, I guess it's no big thing and shouldn't cause any harm
but I've never had this type of error before on any Linux
server I've run.
I'll summize that it's one of two things..

a.) In an effort to push Linux's poor job of handling interrupt
latancy, which makes it a not so good choice for real time systems
that the TE410 driver is simply pushing the limits a little.
Which is all right by me :)
b.) The TE410 driver needs a little tweaking to play better
with others and handle it's interrupt requests better.
Which is all right by me too :)
I'm not saying I know what the heck I'm talking about here
but just curious. Falls into one of my Linux mottos...
"I now know more about it then I ever cared to"
Thanks,
Ken
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-04 Thread Mark Spencer
> I think that assumption is wrong. The repeated messages are when syslog
> decides to empty the buffer.  As far as I know, it isn't possible to
> turn off that and get real timing information.
> > > Oct  3 22:48:01 cti-350 kernel: TE410P: Double/missed interrupt detected
> > > Oct  3 22:49:01 cti-350 kernel: TE410P: Double/missed interrupt detected

On per minute, on the minute

> > > Oct  3 22:52:01 cti-350 last message repeated 2 times
> > > Oct  3 22:54:01 cti-350 last message repeated 3 times

Five minutes later, we've had 5 more messages.

> > > Oct  3 22:56:01 cti-350 last message repeated 2 times
> > > Oct  3 22:58:01 cti-350 last message repeated 2 times
> > > Oct  3 23:00:01 cti-350 last message repeated 2 times
> > > Oct  3 23:03:01 cti-350 last message repeated 2 times
> > > Oct  3 23:05:01 cti-350 last message repeated 2 times
> > > Oct  3 23:07:01 cti-350 last message repeated 2 times
> > > Oct  3 23:09:01 cti-350 last message repeated 2 times
> > > Oct  3 23:11:01 cti-350 last message repeated 2 times
> > > Oct  3 23:14:01 cti-350 last message repeated 2 times
> > > Oct  3 23:16:01 cti-350 last message repeated 2 times
> > > Oct  3 23:18:01 cti-350 last message repeated 2 times
> > > Oct  3 23:20:01 cti-350 last message repeated 2 times
> > > Oct  3 23:22:01 cti-350 last message repeated 2 times

Every two minutes, we have 2 messages, thus

one message per minute.

Mark

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-04 Thread Steven Critchfield
On Sat, 2003-10-04 at 09:57, Mark Spencer wrote:
> It won't cause any sort of serious problem, but you are getting it with an
> unusually high frequency.  What's particularly interesting is that it
> occurs almost exactly once per minute, on the minute.  This would seem to
> suggest that you have some hardware in your system which, once per minute,
> is blocking interrupts.

I think that assumption is wrong. The repeated messages are when syslog
decides to empty the buffer.  As far as I know, it isn't possible to
turn off that and get real timing information. 

> On Fri, 3 Oct 2003, Ken Godee wrote:
> 
> > Any ideas on the following? (CVS 10/01/2003)
> > Only reference I could find was a Zaptel change log update...
> >
> > 2003-09-02 18:23  martinp
> > * wct4xxp.c (1.6): Get rid of the Double missed interrupt message
> > every time you load the driver
> > and an email refering this to serial console usage.
> > Something I should worry about?
> >
> > Oct  3 22:48:01 cti-350 kernel: TE410P: Double/missed interrupt detected
> > Oct  3 22:49:01 cti-350 kernel: TE410P: Double/missed interrupt detected
> > Oct  3 22:52:01 cti-350 last message repeated 2 times
> > Oct  3 22:54:01 cti-350 last message repeated 3 times
> > Oct  3 22:56:01 cti-350 last message repeated 2 times
> > Oct  3 22:58:01 cti-350 last message repeated 2 times
> > Oct  3 23:00:01 cti-350 last message repeated 2 times
> > Oct  3 23:03:01 cti-350 last message repeated 2 times
> > Oct  3 23:05:01 cti-350 last message repeated 2 times
> > Oct  3 23:07:01 cti-350 last message repeated 2 times
> > Oct  3 23:09:01 cti-350 last message repeated 2 times
> > Oct  3 23:11:01 cti-350 last message repeated 2 times
> > Oct  3 23:14:01 cti-350 last message repeated 2 times
> > Oct  3 23:16:01 cti-350 last message repeated 2 times
> > Oct  3 23:18:01 cti-350 last message repeated 2 times
> > Oct  3 23:20:01 cti-350 last message repeated 2 times
> > Oct  3 23:22:01 cti-350 last message repeated 2 times
> > Oct  3 23:25:01 cti-350 last message repeated 2 times
> > Oct  3 23:27:01 cti-350 last message repeated 3 times
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-04 Thread Mark Spencer
It won't cause any sort of serious problem, but you are getting it with an
unusually high frequency.  What's particularly interesting is that it
occurs almost exactly once per minute, on the minute.  This would seem to
suggest that you have some hardware in your system which, once per minute,
is blocking interrupts.

A quick check of:

# find . -iname '*.[ch]' | xargs grep HZ | grep 60

in /usr/src/linux-2.4 reveals the following drivers do things once per
minute, so if you have any of these, you might try disabling them (I'm
*NOT* saying all these are incompatible, just that they would be suspect
because they do something once per minute):

arch/i386/kernel/mxt.c (Memory eXpansion Technology)
drivers/block/DAC960 (Mylex PCI RAID controller)
drivers/ide/ide-tape.c (IDE Tape device)
drivers/isdn/avmb1/capidrv.c (CAPI ISDN support)
drivers/message/fusion/mptbase.c: Fiberchannel + SCSI + LAN
drivers/net/8139too.c: NE2000 general driver (PCI and ISA I think)
drivers/net/3c59x.c: 3Com 59X/90X ethernet driver
drivers/net/arcnet.c: ARCnet driver
drivers/net/natsemi.c: National Semiconductor Ethernet driver
drivers/net/strip.c: Radio IP
drivers/net/trulip.c: DEC Tulip based net cards
drivers/scsi/sd.c: SCSI Disk something or other

Anyway "lsmod" is your friend and tell me if you have any of these and if
removing them makes the message go away.

Mark



On Fri, 3 Oct 2003, Ken Godee wrote:

> Any ideas on the following? (CVS 10/01/2003)
> Only reference I could find was a Zaptel change log update...
>
> 2003-09-02 18:23  martinp
> * wct4xxp.c (1.6): Get rid of the Double missed interrupt message
> every time you load the driver
> and an email refering this to serial console usage.
> Something I should worry about?
>
> Oct  3 22:48:01 cti-350 kernel: TE410P: Double/missed interrupt detected
> Oct  3 22:49:01 cti-350 kernel: TE410P: Double/missed interrupt detected
> Oct  3 22:52:01 cti-350 last message repeated 2 times
> Oct  3 22:54:01 cti-350 last message repeated 3 times
> Oct  3 22:56:01 cti-350 last message repeated 2 times
> Oct  3 22:58:01 cti-350 last message repeated 2 times
> Oct  3 23:00:01 cti-350 last message repeated 2 times
> Oct  3 23:03:01 cti-350 last message repeated 2 times
> Oct  3 23:05:01 cti-350 last message repeated 2 times
> Oct  3 23:07:01 cti-350 last message repeated 2 times
> Oct  3 23:09:01 cti-350 last message repeated 2 times
> Oct  3 23:11:01 cti-350 last message repeated 2 times
> Oct  3 23:14:01 cti-350 last message repeated 2 times
> Oct  3 23:16:01 cti-350 last message repeated 2 times
> Oct  3 23:18:01 cti-350 last message repeated 2 times
> Oct  3 23:20:01 cti-350 last message repeated 2 times
> Oct  3 23:22:01 cti-350 last message repeated 2 times
> Oct  3 23:25:01 cti-350 last message repeated 2 times
> Oct  3 23:27:01 cti-350 last message repeated 3 times
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] TE410P: Double/missed interrupt detected

2003-10-03 Thread Ken Godee
Any ideas on the following? (CVS 10/01/2003)
Only reference I could find was a Zaptel change log update...
2003-09-02 18:23  martinp
* wct4xxp.c (1.6): Get rid of the Double missed interrupt message
every time you load the driver
and an email refering this to serial console usage.
Something I should worry about?
Oct  3 22:48:01 cti-350 kernel: TE410P: Double/missed interrupt detected
Oct  3 22:49:01 cti-350 kernel: TE410P: Double/missed interrupt detected
Oct  3 22:52:01 cti-350 last message repeated 2 times
Oct  3 22:54:01 cti-350 last message repeated 3 times
Oct  3 22:56:01 cti-350 last message repeated 2 times
Oct  3 22:58:01 cti-350 last message repeated 2 times
Oct  3 23:00:01 cti-350 last message repeated 2 times
Oct  3 23:03:01 cti-350 last message repeated 2 times
Oct  3 23:05:01 cti-350 last message repeated 2 times
Oct  3 23:07:01 cti-350 last message repeated 2 times
Oct  3 23:09:01 cti-350 last message repeated 2 times
Oct  3 23:11:01 cti-350 last message repeated 2 times
Oct  3 23:14:01 cti-350 last message repeated 2 times
Oct  3 23:16:01 cti-350 last message repeated 2 times
Oct  3 23:18:01 cti-350 last message repeated 2 times
Oct  3 23:20:01 cti-350 last message repeated 2 times
Oct  3 23:22:01 cti-350 last message repeated 2 times
Oct  3 23:25:01 cti-350 last message repeated 2 times
Oct  3 23:27:01 cti-350 last message repeated 3 times
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users