[realtek] interrupts error on ppc

leeyang leeyang77@hotmail.com
Mon Apr 15 02:40:01 2002


hi!

I am trying to use rtl8139 NIC on Motorola
Sandpoint evaluation board for MPC8245.
But here are some problems I think related
with interrupts.

I put some my console msg below:

......
8139too Fast Ethernet driver 0.9.24
eth0: RealTek RTL8139 Fast Ethernet at 0xbffe00, 00:e0:4c:5e:bf:25, IRQ 18
/*I compile the driver into the kernel.*/
......
......
# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Class 0600: PCI device 1057:0006 (rev 18).
      Prefetchable 32 bit memory at 0x0 [0xffffffff].
      Non-prefetchable 32 bit memory at 0x0 [0xfff].
      Prefetchable 32 bit memory at 0x0 [0xffffffff].
  Bus  0, device  11, function  0:
    Class 0601: PCI device 10ad:0565 (rev 16).
      IRQ 16.
  Bus  0, device  11, function  1:
    Class 0101: PCI device 10ad:0105 (rev 5).
      IRQ 16.
      Master Capable.  Latency=128.  Min Gnt=2.Max Lat=40.
      I/O at 0xbffff8 [0xbfffff].
      I/O at 0xbffff4 [0xbffff7].
      I/O at 0xbfffe8 [0xbfffef].
      I/O at 0xbfffe4 [0xbfffe7].
      I/O at 0xbfffd0 [0xbfffdf].
      I/O at 0xbfffc0 [0xbfffcf].
  Bus  0, device  13, function  0:
    Class 0200: PCI device 10ec:8139 (rev 16).
      IRQ 18.
      Master Capable.  Latency=128.  Min Gnt=32.Max Lat=64.
      I/O at 0xbffe00 [0xbffeff].
      Non-prefetchable 32 bit memory at 0xbfffff00 [0xbfffffff].
........
# ifconfig eth0 192.168.0.252
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability
45e1.

# eth0: Too much work at interrupt, IntrStatus=0x0001.
eth0: Too much work at interrupt, IntrStatus=0x0001.
eth0: Too much work at interrupt, IntrStatus=0x0001.
eth0: Too much work at interrupt, IntrStatus=0x0001.
/*and sometimes it says pci error*/
# eth0: PCI Bus error 2290.
eth0: PCI Bus error 0290.
#cat /proc/interrupts
           CPU0
  2:          0   i8259     Edge      82c59 secondary cascade
  4:        324   i8259     Edge      serial
 16:          0   OpenPIC   Level     8259 cascade to EPIC
 18:         55   OpenPIC   Level     eth0
BAD:          6
the numbers of interrupts (55) goes up but the bad number unchanged
as time fly by.

Could you explain the pop msg here and Why the card can not
successfully work.
BTW,I knew there are different between 8139too and rtl8139 driver,
but I can not compile rtl8139.c in my cross compile enviroment.

Best regards.