linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* XT-PIC vs IO-APIC and PCI devices
@ 2001-11-30 11:05 Zwane Mwaikambo
  2001-11-30 11:44 ` Miquel van Smoorenburg
  2001-11-30 12:49 ` Zwane Mwaikambo
  0 siblings, 2 replies; 8+ messages in thread
From: Zwane Mwaikambo @ 2001-11-30 11:05 UTC (permalink / raw)
  To: Linux Kernel

Hi,
	I'm trying to get a PCI device (network) to work on one of my
boxes, and thus far i've only managed to get it to work with "noapic".
Without that kernel option the card stops processing interrupts (as can be
observed in /proc/interrupts) after about ~100 on each CPU. Are there any
things i should look out for when trying to track down the problem?
I've tried swapping the card around in different slots just in case it
was an IRQ routing problem (as suggested by various folks) to no avail.
The box is an IBM Netfinity 3500M20 SMP rig.

Any suggestions would be greatly appreciated,

Regards,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
  2001-11-30 11:05 XT-PIC vs IO-APIC and PCI devices Zwane Mwaikambo
@ 2001-11-30 11:44 ` Miquel van Smoorenburg
  2001-11-30 12:49 ` Zwane Mwaikambo
  1 sibling, 0 replies; 8+ messages in thread
From: Miquel van Smoorenburg @ 2001-11-30 11:44 UTC (permalink / raw)
  To: linux-kernel

In article <Pine.LNX.4.33.0111301241410.4564-100000@netfinity.realnet.co.sz>,
Zwane Mwaikambo  <zwane@linux.realnet.co.sz> wrote:
>	I'm trying to get a PCI device (network) to work on one of my
>boxes, and thus far i've only managed to get it to work with "noapic".
>Without that kernel option the card stops processing interrupts (as can be
>observed in /proc/interrupts) after about ~100 on each CPU. Are there any
>things i should look out for when trying to track down the problem?
>I've tried swapping the card around in different slots just in case it
>was an IRQ routing problem (as suggested by various folks) to no avail.
>The box is an IBM Netfinity 3500M20 SMP rig.

What does cat /proc/interrupts say in APIC mode? Perhaps it thinks the
device uses edge-triggered interrupts instead of level-triggered ?

Mike.
-- 
"Only two things are infinite, the universe and human stupidity,
 and I'm not sure about the former" -- Albert Einstein.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
  2001-11-30 11:05 XT-PIC vs IO-APIC and PCI devices Zwane Mwaikambo
  2001-11-30 11:44 ` Miquel van Smoorenburg
@ 2001-11-30 12:49 ` Zwane Mwaikambo
  2001-11-30 12:59   ` Miquel van Smoorenburg
  2001-11-30 13:12   ` Maciej W. Rozycki
  1 sibling, 2 replies; 8+ messages in thread
From: Zwane Mwaikambo @ 2001-11-30 12:49 UTC (permalink / raw)
  To: Linux Kernel; +Cc: miquels

It shows up as level-triggered.

	CPU0       CPU1
0:    4498447          0  local-APIC-edge  timer
1:        465       6921    IO-APIC-edge  keyboard
2:          0          0          XT-PIC  cascade
8:          0          1    IO-APIC-edge  rtc
14:          2          3    IO-APIC-edge  ide0
16:      59755      52687   IO-APIC-level  dpti0
18:     386054     576702   IO-APIC-level  eth0
22:          0          0   IO-APIC-level  pentanet0 <==
27:      25743      20344   IO-APIC-level  eth1
NMI:          0          0
LOC:    4498376    4498509

Thanks,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
  2001-11-30 12:49 ` Zwane Mwaikambo
@ 2001-11-30 12:59   ` Miquel van Smoorenburg
  2001-11-30 13:12   ` Maciej W. Rozycki
  1 sibling, 0 replies; 8+ messages in thread
From: Miquel van Smoorenburg @ 2001-11-30 12:59 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel

According to Zwane Mwaikambo:
> It shows up as level-triggered.
> 
> 22:          0          0   IO-APIC-level  pentanet0 <==

OK. If it showed up as edge I would know what was wrong, but
level is correct.

Mike.
-- 
"Only two things are infinite, the universe and human stupidity,
 and I'm not sure about the former" -- Albert Einstein.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
  2001-11-30 12:49 ` Zwane Mwaikambo
  2001-11-30 12:59   ` Miquel van Smoorenburg
@ 2001-11-30 13:12   ` Maciej W. Rozycki
  2001-11-30 13:30     ` Zwane Mwaikambo
  1 sibling, 1 reply; 8+ messages in thread
From: Maciej W. Rozycki @ 2001-11-30 13:12 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel, miquels

On Fri, 30 Nov 2001, Zwane Mwaikambo wrote:

> 22:          0          0   IO-APIC-level  pentanet0 <==

 Do you have sources for the driver?  Last time I looked at the driver, it
was binary-only (the distribution contained a copy of the GNU GPL, yet the
vendor refused to release sources I asked for) and it seemed to be broken
horribly.  Be happy at least it works for you with interrupts routed
through the 8259A. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
  2001-11-30 13:12   ` Maciej W. Rozycki
@ 2001-11-30 13:30     ` Zwane Mwaikambo
  2001-11-30 14:03       ` Maciej W. Rozycki
  0 siblings, 1 reply; 8+ messages in thread
From: Zwane Mwaikambo @ 2001-11-30 13:30 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Linux Kernel, miquels

On Fri, 30 Nov 2001, Maciej W. Rozycki wrote:

>  Do you have sources for the driver?  Last time I looked at the driver, it
> was binary-only (the distribution contained a copy of the GNU GPL, yet the
> vendor refused to release sources I asked for) and it seemed to be broken
> horribly.  Be happy at least it works for you with interrupts routed
> through the 8259A.

Nope they provide some source as "glue" and do the final linking
against some object files. I've been hacking on the glue code, so far
i've managed to get multiple card detection working and with some
help removed some races but who knows what lurks in those .o's.

Cheers,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
  2001-11-30 13:30     ` Zwane Mwaikambo
@ 2001-11-30 14:03       ` Maciej W. Rozycki
  0 siblings, 0 replies; 8+ messages in thread
From: Maciej W. Rozycki @ 2001-11-30 14:03 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel, miquels

On Fri, 30 Nov 2001, Zwane Mwaikambo wrote:

> Nope they provide some source as "glue" and do the final linking
> against some object files. I've been hacking on the glue code, so far
> i've managed to get multiple card detection working and with some
> help removed some races but who knows what lurks in those .o's.

 Good luck.  I wouldn't bother myself.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: XT-PIC vs IO-APIC and PCI devices
       [not found] <Pine.LNX.4.10.10111301139590.24770-100000@coffee.psychology.mcmaster.ca>
@ 2001-12-01 11:21 ` Zwane Mwaikambo
  0 siblings, 0 replies; 8+ messages in thread
From: Zwane Mwaikambo @ 2001-12-01 11:21 UTC (permalink / raw)
  To: Mark Hahn; +Cc: Linux Kernel

On Fri, 30 Nov 2001, Mark Hahn wrote:

> could your machine be one that contains
> a watchdog card?  some IBM servers do,
> and as I recall, the card does something funky
> (perhaps just NMI) when it thinks there's a problem.

i don't believe it does, but i'm not 100% sure. This server is essentially
an entry level box so it might not have it

Cheers,
	Zwane



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-12-01 11:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-30 11:05 XT-PIC vs IO-APIC and PCI devices Zwane Mwaikambo
2001-11-30 11:44 ` Miquel van Smoorenburg
2001-11-30 12:49 ` Zwane Mwaikambo
2001-11-30 12:59   ` Miquel van Smoorenburg
2001-11-30 13:12   ` Maciej W. Rozycki
2001-11-30 13:30     ` Zwane Mwaikambo
2001-11-30 14:03       ` Maciej W. Rozycki
     [not found] <Pine.LNX.4.10.10111301139590.24770-100000@coffee.psychology.mcmaster.ca>
2001-12-01 11:21 ` Zwane Mwaikambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).