Skip to contentSkip to conversation

2.4.21-pre4: PDC ide driver problems with shared interrupts

DISCUSSION Stephan von Krawczynski 2 participants 3 messages Feb 23, 2003 7 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 39 lines · On Thu, 06 Feb 2003 15:51:47 +0100 Hans Lambrechts <[email protected]>…

Stephan von Krawczynski wrote:

<---snip--->

Quoted 19 lines

CPU0 CPU1

  0:      71158          0    IO-APIC-edge  timer
  1:        941          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
 12:      33166          0    IO-APIC-edge  PS/2 Mouse
 15:          4          0    IO-APIC-edge  ide1
 17:       1732          0   IO-APIC-level  ide2, ide3
 18:       3423          0   IO-APIC-level  eth0, eth1
 21:       8177          0   IO-APIC-level  eth2
 22:     112943          0   IO-APIC-level  aic7xxx
 23:         16          0   IO-APIC-level  aic7xxx
 25:         74          0   IO-APIC-level  HiSax
 26:          0          0   IO-APIC-level  EMU10K1
NMI:          0          0
LOC:      71085      71059
ERR:          0
MIS:          0
Quoted 2 lines

??
(kernel 2.4.21-pre4)

Stephan,
this patch should fix the interrupt problem.

Marcelo, please apply.

Greetings,
Hans Lambrechts

include/asm-i386/smpboot.h.orig 2003-01-20 renamed from include/asm-i386/smpboot.h 2003-01-20 16:45:13.000000000 +0100 +0 -0

16:44:05.000000000 +0100

include/asm-i386/smpboot.h.orig 2003-01-20 line 121

Quoted 7 lines
include/asm-i386/smpboot.h.orig 2003-01-20 renamed from include/asm-i386/smpboot.h 2003-01-20 16:45:13.000000000 +0100 +1 -1
@@ -116,6 +116,6 @@
        return cpu_online_map;
 }
 #else
-#define target_cpus() (0xFFFFFFFF)
+#define target_cpus() (0x01)
 #endif
 #endif

I am sorry, but this patch is:
a) already included in 2.4.21-pre4 (which I run)
b) does therefore obviously not help

Any other suggestions?

Signature · 2 lines
Regards,
Stephan
#8 lore raw
Quoted 14 lines · Stephan von Krawczynski
Quoted 11 lines · On Thu, 06 Feb 2003 15:51:47 +0100 Hans Lambrechts <[email protected]>…

Stephan von Krawczynski wrote:

<---snip--->

Quoted 7 lines

CPU0 CPU1

  0:      71158          0    IO-APIC-edge  timer
  1:        941          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
 12:      33166          0    IO-APIC-edge  PS/2 Mouse
 15:          4          0    IO-APIC-edge  ide1

<snip>

Quoted 5 lines

I am sorry, but this patch is:
a) already included in 2.4.21-pre4 (which I run)
b) does therefore obviously not help

Any other suggestions?

could you give the irqbalance daemon from

http://people.redhat.com/arjanv/irqbalance/irqbalance-0.06.tar.gz

a try ?

Greetings,
Arjan van de Ven

#9 lore raw
Quoted 22 lines · On 23 Feb 2003 16:04:31 +0100 Arjan van de Ven <[email protected]> wrote:
Quoted 14 lines · Stephan von Krawczynski
Quoted 11 lines · On Thu, 06 Feb 2003 15:51:47 +0100 Hans Lambrechts <[email protected]>…

Stephan von Krawczynski wrote:

<---snip--->

Quoted 7 lines

CPU0 CPU1

  0:      71158          0    IO-APIC-edge  timer
  1:        941          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
 12:      33166          0    IO-APIC-edge  PS/2 Mouse
 15:          4          0    IO-APIC-edge  ide1

<snip>

Quoted 4 lines

I am sorry, but this patch is:
a) already included in 2.4.21-pre4 (which I run)
b) does therefore obviously not help

Quoted 7 lines
Quoted 1 line

Any other suggestions?

could you give the irqbalance daemon from

http://people.redhat.com/arjanv/irqbalance/irqbalance-0.06.tar.gz

a try ?

Hella Arjan,

I tried it and it looks as if it performs as expected:

CPU0 CPU1

  0:    1288917      35375    IO-APIC-edge  timer
  1:       8917        244    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
 12:     350644        552    IO-APIC-edge  PS/2 Mouse
 15:          6          0    IO-APIC-edge  ide1
 17:     426082       7881   IO-APIC-level  ide2, ide3
 18:     329936        919   IO-APIC-level  eth0, eth1
 20:         43          0   IO-APIC-level  aic7xxx
 21:   10439503          0   IO-APIC-level  eth2
 22:    1596851     122119   IO-APIC-level  aic7xxx
 23:         16          0   IO-APIC-level  aic7xxx
 25:       1304         36   IO-APIC-level  HiSax
 26:          0          0   IO-APIC-level  EMU10K1
NMI:          0          0 
LOC:    1324228    1324203 
ERR:          0
MIS:          0

Within a few minutes I see the above. The only thing left: I am not able to produce interrupts from eth2 (tg3) on CPU1. I have not looked at the daemons policies so far, so maybe this is normal...
It looks interesting. Did you decribe it somewhere?

Signature · 2 lines
Regards,
Stephan