Skip to contentSkip to conversation

appearance of /proc/interrupts ?

DISCUSSION Steven Scholz 4 participants 6 messages Jan 11, 2007 – Jan 12, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

with Linux 2.6.17-rt3 /proc/interrupts looks as described on

http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO

CPU0

  0:      11188  XT-PIC         [........N/  0]-level    pit
  1:          8  XT-PIC         [........./  0]-level    i8042
  2:          0  XT-PIC         [........N/  0]-level    cascade
  4:        131  XT-PIC         [........./ 10]-level    serial
 11:         10  XT-PIC         [........./  0]-level    eth0
 14:       4087  XT-PIC         [........./  0]-level    ide0

But when using a Linux 2.6.19.1-rt15 it looks like

CPU0

  0:      15499   IO-APIC-edge      timer
  1:          8   IO-APIC-edge      i8042
  4:        161   IO-APIC-edge      serial
  9:          0   IO-APIC-fasteoi   acpi
 12:          3   IO-APIC-edge      i8042
 14:       4082   IO-APIC-edge      ide0
 16:         93   IO-APIC-fasteoi   eth0

which is pretty much the same as a vanilla 2.6.19.

What does it mean? Is RT PREEMPT not working correctly?

Thanks,

Steven

#1 lore raw
Quoted 23 lines · Steven Scholz

with Linux 2.6.17-rt3 /proc/interrupts looks as described on

http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO

CPU0

  0:      11188  XT-PIC         [........N/  0]-level    pit
  1:          8  XT-PIC         [........./  0]-level    i8042
  2:          0  XT-PIC         [........N/  0]-level    cascade
  4:        131  XT-PIC         [........./ 10]-level    serial
 11:         10  XT-PIC         [........./  0]-level    eth0
 14:       4087  XT-PIC         [........./  0]-level    ide0

But when using a Linux 2.6.19.1-rt15 it looks like

CPU0

  0:      15499   IO-APIC-edge      timer
  1:          8   IO-APIC-edge      i8042
  4:        161   IO-APIC-edge      serial
  9:          0   IO-APIC-fasteoi   acpi
 12:          3   IO-APIC-edge      i8042
 14:       4082   IO-APIC-edge      ide0
 16:         93   IO-APIC-fasteoi   eth0
Quoted 3 lines

which is pretty much the same as a vanilla 2.6.19.

What does it mean? Is RT PREEMPT not working correctly?

i restored it to be as compatible with upstream as possible. You have a PREEMPT_RT kernel if you have this message in the dmesg:

Real-Time Preemption Support (C) 2004-2006 Ingo Molnar

Ingo

#2 lore raw

Ingo,

Quoted 7 lines
Quoted 1 line

What does it mean? Is RT PREEMPT not working correctly?

i restored it to be as compatible with upstream as possible. You have a PREEMPT_RT kernel if you have this message in the dmesg:

Real-Time Preemption Support (C) 2004-2006 Ingo Molnar

Ah. I see. Thanks! Maybe someone could update the wiki then! ;-)

Thanks a million,

Steven

#3 lore raw
Quoted 1 line · Steven Scholz

Ah. I see. Thanks! Maybe someone could update the wiki then! ;-)

Yep; Fu, could you please update the HOWTO?

Btw, if nobody has a good idea how to convert from docbook to the wiki format, we'll probably put the HOWTO to some place where the HTML version can be generated from the original docbook automatically. The way it is done now (with lots of hand-fiddeling) isn't really going to work.

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9
#4 lore raw
Quoted 4 lines · Robert Schwebel
Quoted 1 line · Steven Scholz

Ah. I see. Thanks! Maybe someone could update the wiki then! ;-)

Yep; Fu, could you please update the HOWTO?

And is it possible that the "command line" mentioned for the "Interval 500 micro seconds" test cases is wrong? "-i 10000" is 10ms, right?

--
Steven

#5 lore raw
In reply to Robert Schwebel

Hi,

Quoted 5 lines · Robert Schwebel
Quoted 1 line · Steven Scholz

Ah. I see. Thanks! Maybe someone could update the wiki then! ;-)

Yep; Fu, could you please update the HOWTO?

The change is obviously made since 2.6.19-rt4, I just added the info to the wiki.

cheers
Fu

Signature · 5 lines
     Dipl.-Ing. Luotao Fu | http://www.pengutronix.de
  Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
      Hannoversche Str. 2, 31134 Hildesheim, Germany
    Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9