[tulip-bug] tulip compiles now, but is not recognized correctly
Don
dharter@mailcity.com
Thu, 28 Dec 2000 07:28:12 -0600
This is a multi-part message in MIME format.
--------------A4BB31A2358C66703C8430A2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I was finally able to compile tulip.c.
The latest stable version of gcc is 2.95.2.
Redhat 7.0 has an experimental version which is more recent.
I downloaded the source for 2.95.2. Then I compiled it.
I tried to apply the patches in the redhat 6.2 src rpm but they would
not work.Then I removed the redhat egcs rpm packages, and inst
alled gcc 2.95.2.
I tried to rebuild the kernel, but there were some sort of header macro
problems.
Then I installed the redhat 6.2 egcs binary rpms.
gcc 2.95.2 may have installed some files which affect this.
So I now have egcs-1.1.2-30 and egcs-c++-1.1.2-30 installed.
Now I could compile the modules, but I had to supply the
"-I/usr/src/linux/include" parameter.
I compiled kernel version 2.2.18 using the latest tulip.c source code.
When 2.2.18 booted it recognized my one card over 7 times and then
crashed.
The crashing is a unrelated problem with the 2.2.18 kernel.
My card is a Linksys EtherFast 10/100 LNE100TX version 4.1.
Maybe all that is needed is to add its PCI ID (for version 4.1) to a
table.
Kernel 2.3.99-pre9 compiles ok for tulip. It only recognizes my chipset
once ,but it is not my card (LNE1200tx) that it says that I
have.
Below is the output of the tulip diag program
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
Use '-a' or '-aa' to show device registers,
'-e' to show EEPROM contents, -ee for parsed contents,
or '-m' or '-mm' to show MII management registers.
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
EEPROM size is 8.
Ethernet MAC Station Address 00:20:78:1c:dc:14.
Default connection type 'Autosense'.
PCI IDs Vendor 1317 Device 0985 Subsystem 1317 0574
PCI min_grant 255 max_latency 255.
CSR18 power-up setting 0xa04c****.
EEPROM contents:
0985 0002 0000 0000 2000 1c78 14dc 0000
0000 0400 0000 0000 0000 0000 0000 0100
0985 1317 0574 1317 ffff 0000 0000 a04c
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 bc41
ID block CRC 0x1a (vs. 00).
Full contents CRC 0xbc41 (read as 0xbc41).
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
ADMtek AL985 Centaur-P chip registers at 0xe800:
fe590000 ffffffff ffffffff 00000000 00000000 fc004010 ff970155
fffe4010
fffe0000 fff0dff8 00000000 fffe0000 00000000 00000200 00000000
c40ffec8
0000c810 a04c0004 00000000 00000000 f0000000 ffff14dc 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Interrupt sources are pending! CSR5 is fc00c810.
Link passed indication.
Timer expired indication.
Early Rx indication.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Interrupt sources are pending! CSR5 is fc00c810.
Link passed indication.
Timer expired indication.
Early Rx indication.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
MII PHY found at address 1, status 0x7849.
MII PHY found at address 2, status 0x7849.
KDE and netscape don't seem to want me to paste the rest of this. I am
attaching this as a file. Maybe my netscape problems are caused by this
redhat misconfiguration.
--------------A4BB31A2358C66703C8430A2
Content-Type: text/plain; charset=us-ascii;
name="error"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="error"
I was finally able to compile tulip.c.
The latest stable version of gcc is 2.95.2.
Redhat 7.0 has an experimental version which is more recent.
I downloaded the source for 2.95.2. Then I compiled it.
I tried to apply the patches in the redhat 6.2 src rpm but they would not work.Then I removed the redhat egcs rpm packages, and installed gcc 2.95.2.
I tried to rebuild the kernel, but there were some sort of header macro problems.
Then I installed the redhat 6.2 egcs binary rpms.
gcc 2.95.2 may have installed some files which affect this.
So I now have egcs-1.1.2-30 and egcs-c++-1.1.2-30 installed.
Now I could compile the modules, but I had to supply the "-I/usr/src/linux/include" parameter.
I compiled kernel version 2.2.18 using the latest tulip.c source code.
When 2.2.18 booted it recognized my one card over 7 times and then crashed.
The crashing is a unrelated problem with the 2.2.18 kernel.
My card is a Linksys EtherFast 10/100 LNE100TX version 4.1.
Maybe all that is needed is to add its PCI ID (for version 4.1) to a table.
Kernel 2.3.99-pre9 compiles ok for tulip. It only recognizes my chipset once ,but it is not my card (LNE1200tx) that it says that I have.
Below is the output of the tulip diag program
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
Use '-a' or '-aa' to show device registers,
'-e' to show EEPROM contents, -ee for parsed contents,
or '-m' or '-mm' to show MII management registers.
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
EEPROM size is 8.
Ethernet MAC Station Address 00:20:78:1c:dc:14.
Default connection type 'Autosense'.
PCI IDs Vendor 1317 Device 0985 Subsystem 1317 0574
PCI min_grant 255 max_latency 255.
CSR18 power-up setting 0xa04c****.
EEPROM contents:
0985 0002 0000 0000 2000 1c78 14dc 0000
0000 0400 0000 0000 0000 0000 0000 0100
0985 1317 0574 1317 ffff 0000 0000 a04c
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 bc41
ID block CRC 0x1a (vs. 00).
Full contents CRC 0xbc41 (read as 0xbc41).
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
ADMtek AL985 Centaur-P chip registers at 0xe800:
fe590000 ffffffff ffffffff 00000000 00000000 fc004010 ff970155 fffe4010
fffe0000 fff0dff8 00000000 fffe0000 00000000 00000200 00000000 c40ffec8
0000c810 a04c0004 00000000 00000000 f0000000 ffff14dc 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Interrupt sources are pending! CSR5 is fc00c810.
Link passed indication.
Timer expired indication.
Early Rx indication.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Interrupt sources are pending! CSR5 is fc00c810.
Link passed indication.
Timer expired indication.
Early Rx indication.
The Comet MAC registers are 1c782000 ffff14dc filter 0000000000000000.
MII PHY found at address 1, status 0x7849.
MII PHY found at address 2, status 0x7849.
MII PHY found at address 3, status 0x7849.
MII PHY found at address 4, status 0x7849.
MII PHY #1 transceiver registers:
3000 7849 0022 5410 01e1 0001 0004 2001
ffff ffff ffff ffff ffff ffff ffff ffff
01c0 0000 0020 8020 4f02 0304 0026 0000
0000 fdbf 0000 ffff ffff ffff ffff ffff.
MII PHY #2 transceiver registers:
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff.
MII PHY #3 transceiver registers:
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff.
MII PHY #4 transceiver registers:
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff.
--------------A4BB31A2358C66703C8430A2--