Re: Interrupts ?

From: Bernd Walter <ticso(at)cicely8.cicely.de>
Date: Thu, 14 Mar 2002 18:51:18 +0100

On Thu, Mar 14, 2002 at 03:29:29PM +0100, Matthias Fechner wrote:
> * Bernd Walter <ticso(at)cicely8.cicely.de> [14-03-02 14:30]:
> > Keine Ahnung was Linux da zur Verfügung stellt.
> > Ich kann mir allerdings nicht vorstellen wie das abfangen von
> > Interrupts funktionieren soll.
>
> Nein, in /proc/interupt steht nur drin, welcher Interupt von welcher
> Karte belegt ist, sonst nichts.

Ein solches Feature vermisse ich bei FreeBSD.
vmstat -i zeigt mir nur Interrupts an die schon mal ausgelöst wurden
und ist bei PCI typischen Mehrfachbelegungen unvollständig - sprich
es steht nur eines der devices in der Tabelle.
-currents progname Support für ithreads macht die Sache auch nicht
besser:
[236]cicely5> ps -ax | grep irq
   18 ?? WL 0:00.00 (irq13:)
   19 ?? WL 0:00.00 (irq14: ata0)
   20 ?? WL 0:00.00 (irq15: ata1)
   21 ?? WL 5:36.22 (irq5: ahc0 ahc1++)
   22 ?? WL 0:50.23 (irq12: ahc3)
   23 ?? WL 15:14.12 (irq10: de0)
   24 ?? WL 0:31.31 (irq11: ahc5 ahc6+)
   25 ?? WL 0:00.00 (irq6: fdc0)
   26 ?? WL 0:00.00 (irq7: ppc0)
   28 ?? WL 0:00.00 (irq4: sio0)
   29 ?? WL 0:00.00 (irq3: sio1)
   30 ?? WL 0:00.00 (irq0: clk)
   31 ?? WL 0:00.00 (irq8: rtc)
[237]cicely5> vmstat -i
interrupt total rate
stray irq0 2 0
stray irq6 1 0
npx0 irq13 1 0
ata1 irq15 14 0
ahc3 irq12 1310687 3
ahc4 irq5 6965563 20
de0 irq10 18482813 53
ahc7 irq11 518700 1
fdc0 irq6 1 0
sio0 irq4 52418 0
clk irq0 34445564 100
rtc irq8 44090062 128
Total 105865826 307

Beim vmstat -i fehlen ahc0-2, ahc5/6/8, ata0 und sio1.
ps liefert den Mathematischen Coprozessor nicht und schneided
die ahc Liste ab...
Auf einer anderen Maschine wird beim ps nur das erste device geliefert.

Schade...
 

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso(at)cicely.de         Usergroup           info(at)cosmo-project.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 14 Mar 2002 - 19:00:17 CET

search this site