Re: SMP-Kernel/NIC problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 Jul 00 at 15:36, Paul Gortmaker wrote:
> DRHAGER@de.ibm.com wrote:
> 
> > I have a Gigabit Dual P133 board with two CPUs.
> > Everything worked.
> > I installed Kernel 2.2.15 and compiled as SMP kernel.
> > 
> > Now I have a problem with my cheap NE2000 PCI clone (10Mbit):
> > (Another, also cheap, 100Mbit runs well)
> > During bootup the card comes up ok:
> 
> Just to clarify, did the same card work with a non-SMP kernel?
> I have had one report a while ago with a RL2000 not getting
> interrupt events in a Hyundai mainbard.  The same card worked
> in another mainboard.
> 
> > .....
> > ne2k-pci.c: PCI NE2000 clone 'Compex RL2000' at I/O 0x6200, IRQ 9
> > eth0: Compex RL2000 found at 0x6200, IRQ 9, 00:80:48:C5:4E:01
> >  ....
> > If I try a ping, I get the following in the log:
> > Jun 30 22:23:09 elbueno kernel: eth0: Tx timed out, lost interrupt?.
> > TSR=0x3, ISR=0x2, t=875
> 
> It should work, but it appears that interrupts aren't being
> registered. An Ox2 bit in the ISR (IRQ status register) indicates
> the chip posted an interrupt but the driver IRQ handler wasn't called.

Sorry for joining discussion so late. I think that problem is in
BIOS APIC tables, which says that IRQ 9 is not PCI interrupt, although
it is. You have couple of choices:

(1) If you select SMP 1.1 in BIOS, it should work. Then nobody will use 
IOAPIC. Wrong.
(2) You can try kernel 'noapic' option... Same as above, wrong way, IOAPIC
delivered interrupts are delivered faster...
(3) so you want 1.4 and you have to find which IRQ really belongs to 
NE2K-PCI. You have two choices:
  (a) try updating BIOS. Maybe it will deliver correct tables then.
  (b) I do not know about any way how to specify irq mapping from 
      kernel cmdline... But if you'll hack NE2k-pci sources to try 
      irqs 16, 17, 18 or 19, one of them will work... (hint: look
      for pci_irq_line = pdev->irq and simple replace pdev->irq with
      hardwired value). You should see that ne2k-pci registered for
      this IRQ and not for 9... You have only 4 choices (unless your
      motherboard is really broken), so it should not be too hard.
                                        Petr Vandrovec
                                        vandrove@vc.cvut.cz
                                        
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux