Re: SMP-Kernel/NIC problem

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

 



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
>  ....
> I can see the card in ifconfig, everything seems fine.
> 
> 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
> After more pings:
> Tx timed out, excess collisions. TSR=0xe, ISR=0x8, t=5000
> 
> I have read in the source code, that there seems to be a problem with
> some lock and the two CPUs.
> 
> Do I have to buy better cards? Or can I twist something?
> And I would like to understand the meaning of the parameters TSR, ISR
> and t .. ;-)

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.
Does "cat /proc/interrupts" show any interrupt events are getting
through?  (The bitfields for ISR and TSR are listed in 8390.h, and
t is the time in jiffies since the transmit attempt started.)

Paul.



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
: 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