[lkml]   [2001]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectCall for testers: ne2k-pci and io apic (was: Re: QUESTION: Network hangs with BP6...)
Russell King wrote:
> Doesn't the NCR53C9x SCSI drivers use disable_irq() a lot? Do they have
> any problems?

It seems that a certain timing is necessary: one flood ping or a single
ncp usually doesn't trigger any problems, but 2 concurrent flood pings
hang the network after 5-10 seconds. It's not multi processor specific,
both I and Frank can trigger it when we boot with one cpu.

So far it seems that only the io apic for the BX chipset is affected
(only SMP BX boards contain an io apic).

Any volunteers with ne2k-pci cards and other motherboards that include
an io apic (e.g. all Intel motherboards that use an IO Controller Hub,
Via Apollo Pro133, Pro133A, KX133)?

* apply the attached patch.
* compile the kernel for SMP, or at least enable uniprocessor io apic
* reboot.
* flood ping the computer with 2 concurrent flood pings from a second
* wait one minute.

According to the ICH2 documentation the IRR bit on the IO APIC is
writable - that's either a docu error, or could cause further problems.

Manfred--- linux/arch/i386/kernel/apic.c Tue Dec 5 21:43:48 2000
+++ linux/arch/i386/kernel/ Sat Jan 13 15:54:56 2001
@@ -270,7 +270,7 @@
* PCI Ne2000 networking cards and PII/PIII processors, dual
* BX chipset. ]
-#if 0
+#if 1
/* Enable focus processor (bit==0) */
value &= ~(1<<9);
 \ /
  Last update: 2005-03-22 13:22    [W:0.131 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site