*BSD News Article 22899


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!sun4nl!hacktic!not-for-mail
From: ptuomola@hacktic.nl (Petri Tuomola)
Newsgroups: comp.os.386bsd.questions
Subject: Re: The reason for stray interrupts
Date: 27 Oct 1993 12:43:53 +0100
Organization: Hack-Tic, networking for the masses
Lines: 36
Message-ID: <2almu7INNh5n@xs4all.hacktic.nl>
References: <2ais9gINN2t8@xs4all.hacktic.nl> <1993Oct27.100529.13627@ugle.unit.no>
NNTP-Posting-Host: xs4all.hacktic.nl

oytor@hobbes.er.sintef.no (Oystein Torbjornsen) writes:

>|> interrupt         count     rate
>|> stray irq          2985        1 <--
>                      ^^^^
>|> clk irq0         179836      100
>|> wdc0 irq14        84551       47
>|> fdc0 irq6             1        0
>|> sc0 irq1           5006        2
>|> com0 irq4         56583       31
>|> com2 irq9          2985        1
>                      ^^^^
>|> Total            331947      184

>Note that both stray and com2 has a count of 2985. Are they connected in any
>way?

I think the problem (bug) here is that I have nothing assigned to IRQ7 and
in addition to increasing the stray irq 7 counter by one NetBSD feels it 
should increase one other counter too - and so it increases the last one.
It has nothing to do with com2 speficially, because if I remove com2, I 
still get them to one of the counters - currently to my soundblaster ;-)

I will take a look at vector.s which seems to do the counting - although
my knowledge of assembler is very limited, so if someone know where the
problem is, be my guest.

However, my opinion is, that this is a very low priority bug, because it 
causes no harm whatsoever (except aesthetically ;-)

Petri

-- 
----------------------------------------------------------------------------
       Petri Tuomola (root@echelon.hacktic.nl) (ptuomola@hacktic.nl)	  
              "Get stoned - eat wet concrete"   HAM: OH2LJY