[eepro100-bug] two i82559 on board do not work

Anton Yurchenko phila@dg.net.ua
Wed Sep 25 06:00:27 2002


Hello,

I have a Tyan LE-T Dual CPU motherboard 
(http://www.tyan.com/products/html/thunderlet.html), it is based on 
ServerWorks III LE3 chipset, with two i82559 controllers.

I`m running RedHat 7.3, uname -a:
--------------------------------------------------------------------------------
Linux typhoon.dg 2.4.18-10smp #1 SMP Wed Aug 7 11:17:48 EDT 2002 i686 unknown
--------------------------------------------------------------------------------


The first controller is working fine, but when I try to initialize the 
second one I get such msgs(this is the ethernet initialization part):

--------------------------------------------------------------------------------

eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> 
and others
eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:E0:81:21:03:DC, IRQ 20.
  Board assembly 567812-052, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).
eth1: Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2), 00:E0:81:21:03:DD, IRQ 21.
  Board assembly 567812-052, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
Self test failed, status ffffffff:
 Failure to initialize the i82557.
 Verify that the card is a bus-master capable slot.
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
... [ about 40 of such ]
eepro100: wait_for_cmd_done timeout!
--------------------------------------------------------------------------------


and the card doesnt work.
I tryed fiddling with BIOS but no luck. PnP OS option in BIOS is disabled, BIOS shows one controller 
on IRQ 10, and the other on IRQ 11.

I dont have anything besides 
--------------------------------------------------------------------------------
alias eth0 eepro100
alias eth1 eepro100
--------------------------------------------------------------------------------
in my modules.conf


Here is some diagnostics from eepro100-diag:
--------------------------------------------------------------------------------
eepro100-diag.c:v2.08 4/17/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xd400.
EEPROM contents, size 64x16:
    00: e000 2181 dc03 0403 0000 0201 4701 0000
  0x08: 5678 1234 40a0 100c 8086 0000 0000 0000
      ...
  0x30: 0128 0000 0000 0000 0000 0000 0000 0000
  0x38: 0000 0000 0000 0000 0000 0000 0000 552b
 The EEPROM checksum is correct.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:E0:81:21:03:DC.
  Board assembly 567812-052, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
Index #2: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xd000.
EEPROM contents, size 64x16:
    00: e000 2181 dd03 0403 0000 0201 4701 0000
  0x08: 5678 1234 40a0 100c 8086 0000 0000 0000
      ...
  0x30: 0128 0000 0000 0000 0000 0000 0000 0000
  0x38: 0000 0000 0000 0000 0000 0000 0000 542b
 The EEPROM checksum is correct.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:E0:81:21:03:DD.
  Board assembly 567812-052, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
--------------------------------------------------------------------------------

And here are the  /proc/interupts, /proc/ioports, first for the  kernel booted without APIC 
(noapic option), and then with APIC:

--------------------------------------------------------------------------------
           CPU0       CPU1       
  0:     198754          0          XT-PIC  timer
  1:       1838          0          XT-PIC  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0          XT-PIC  rtc
 10:          0          0          XT-PIC  eth1
 11:       1549          0          XT-PIC  eth0
 14:      13062          0          XT-PIC  ide0
 15:         14          0          XT-PIC  ide1
NMI:          0          0 
LOC:     198680     198679 
ERR:          0
MIS:          0



0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
d000-d03f : Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2)
  d000-d03f : eepro100
d400-d43f : Intel Corp. 82557/8/9 [Ethernet Pro 100]
  d400-d43f : eepro100
d800-d8ff : ATI Technologies Inc Rage XL
ffa0-ffaf : ServerWorks OSB4 IDE Controller
  ffa0-ffa7 : ide0
  ffa8-ffaf : ide1


--------------------------------------------------------------------------------

           CPU0       CPU1       
  0:       8003      12658    IO-APIC-edge  timer
  1:          2          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 14:       5274       5440    IO-APIC-edge  ide0
 15:          2         15    IO-APIC-edge  ide1
 20:        240        306   IO-APIC-level  eth0
 21:          0          0   IO-APIC-level  eth1
NMI:          0          0 
LOC:      20577      20575 
ERR:          0
MIS:          0

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
d000-d03f : Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2)
  d000-d03f : eepro100
d400-d43f : Intel Corp. 82557/8/9 [Ethernet Pro 100]
  d400-d43f : eepro100
d800-d8ff : ATI Technologies Inc Rage XL
ffa0-ffaf : ServerWorks OSB4 IDE Controller
  ffa0-ffa7 : ide0
  ffa8-ffaf : ide1
--------------------------------------------------------------------------------

Any help will be much appreciated.

Thnx,

-- 

Anton Yurchenko<phila@dg.net.ua>
Digital Generation