* Problem with 2.4.22 and SMC EtherPower II 9432
@ 2003-10-20 20:59 Adrian Bunk
2003-10-20 21:30 ` Francois Romieu
2003-10-20 22:14 ` Andreas Steinmetz
0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2003-10-20 20:59 UTC (permalink / raw)
To: Donald Becker, linux-net, jgarzik; +Cc: linux-kernel
Hi,
on two different machines the ethernet card works with kernel 2.2.20 but
not with kernel 2.4.22 (both contain machines contain the same card).
Card:
lspci:
00:0b.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF (rev 08)
cat /proc/pci:
Bus 0, device 11, function 0:
Ethernet controller: SMC 9432 TX (rev 8).
Fast devsel. Fast back-to-back capable. IRQ 10. Master Capable.
Latency=32. Min Gnt=8.Max Lat=28.
I/O at 0xb000 [0xb001].
Non-prefetchable 32 bit memory at 0xde800000 [0xde800000].
Kernel 2.2.20 (working):
kernel: eth0: SMSC EPIC/100 83c170 at 0xb000, IRQ 10, 00:e0:29:3d:e4:6f.
kernel: eth0: MII transceiver #3 control 3000 status 7809.
kernel: eth0: Autonegotiation advertising 01e1 link partner 0001.
...
kernel: eth0: Setting full-duplex based on MII #3 link partner capability of 45e1.
kernel 2.4.22 (not working):
kernel: epic100.c:v1.11 1/7/2001 Written by Donald Becker
<becker@scyld.com>
kernel: http://www.scyld.com/network/epic100.html
kernel: (unofficial 2.4.x kernel port, version 1.11+LK1.1.14, Aug 4,
2002)
kernel: epic100(00:0b.0): MII transceiver #3 control 3000 status 7809.
kernel: epic100(00:0b.0): Autonegotiation advertising 01e1 link partner
0001.
kernel: eth0: SMSC EPIC/100 83c170 at 0xb000, IRQ 10, 00:e0:29:3d:e4:6f.
...
kernel: eth0: Setting full-duplex based on MII #3 link partner capability of 45e1.
kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: eth0: Transmit timeout using MII device, Tx status 4003.
kernel: eth0: Restarting the EPIC chip, Rx 1/1 Tx 2/12.
kernel: eth0: epic_restart() done, cmd status 000a, ctl 0512 interrupt 240000.
kernel: eth0: Setting half-duplex based on MII #3 link partner
capability of 0001.
kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: eth0: Transmit timeout using MII device, Tx status 0003.
kernel: eth0: Restarting the EPIC chip, Rx 1/1 Tx 3/12.
kernel: eth0: epic_restart() done, cmd status 000a, ctl 0512 interrupt 240000.
kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: eth0: Transmit timeout using MII device, Tx status 000b.
kernel: eth0: Restarting the EPIC chip, Rx 1/1 Tx 4/12.
kernel: eth0: epic_restart() done, cmd status 000a, ctl 0512 interrupt 240000.
kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: eth0: Transmit timeout using MII device, Tx status 000b.
kernel: eth0: Restarting the EPIC chip, Rx 1/1 Tx 5/12.
kernel: eth0: epic_restart() done, cmd status 000a, ctl 0512 interrupt 240000.
kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: eth0: Transmit timeout using MII device, Tx status 000b.
kernel: eth0: Restarting the EPIC chip, Rx 1/1 Tx 6/12.
kernel: eth0: epic_restart() done, cmd status 000a, ctl 0512 interrupt 240000.
kernel: eth0: Too much work at interrupt, IntrStatus=0x008d0004.
kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: eth0: Transmit timeout using MII device, Tx status 000b.
kernel: eth0: Restarting the EPIC chip, Rx 1/1 Tx 7/17.
kernel: eth0: epic_restart() done, cmd status 000a, ctl 0512 interrupt 240000.
Does anyone have an idea what's going wrong in 2.4.22?
TIA
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with 2.4.22 and SMC EtherPower II 9432
2003-10-20 20:59 Problem with 2.4.22 and SMC EtherPower II 9432 Adrian Bunk
@ 2003-10-20 21:30 ` Francois Romieu
2003-10-20 21:49 ` Adrian Bunk
2003-10-20 22:14 ` Andreas Steinmetz
1 sibling, 1 reply; 4+ messages in thread
From: Francois Romieu @ 2003-10-20 21:30 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Donald Becker, linux-net, jgarzik, linux-kernel
Adrian Bunk <bunk@fs.tum.de> :
[...]
> on two different machines the ethernet card works with kernel 2.2.20 but
> not with kernel 2.4.22 (both contain machines contain the same card).
Could you display the registers with the utility available at
<URL:ftp://ftp.scyld.com/pub/diag/epic-diag.c> ?
--
Ueimor
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with 2.4.22 and SMC EtherPower II 9432
2003-10-20 21:30 ` Francois Romieu
@ 2003-10-20 21:49 ` Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2003-10-20 21:49 UTC (permalink / raw)
To: Francois Romieu, Donald Becker, linux-net, jgarzik, linux-kernel
On Mon, Oct 20, 2003 at 11:30:45PM +0200, Francois Romieu wrote:
> Adrian Bunk <bunk@fs.tum.de> :
> [...]
> > on two different machines the ethernet card works with kernel 2.2.20 but
> > not with kernel 2.4.22 (both contain machines contain the same card).
>
> Could you display the registers with the utility available at
> <URL:ftp://ftp.scyld.com/pub/diag/epic-diag.c> ?
(kernel 2.2.20)
# epic-diag -aa -ee -mm
epic-diag.c:v2.01 1/6/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a SMSC EPIC/100 83c170 adapter at 0xb000.
The EPIC/100 chip appears to be active, so some registers will not be
read.
To see all register values use the '-f' flag.
EPIC chip registers at 0xb000
0x000: 00000008 00240000 000013bf 00000712 00004831 00000061 00000000 00000000
0x020: 00000000 00000000 00000000 00007589 00000610 0000782d 00003816 00003c60
0x040: 0000e000 00003d29 00006fe4 00006700 0000ffff 0000ffff 0000ffff 0000ffff
0x060: 0000000c ******** ******** ******** 00003c7f 00002003 ******** ********
0x080: ******** 0048b810 ******** ******** ******** ******** ******** ********
0x0A0: ******** 005a0801 ******** ******** 005a0bfd ******** ******** ********
0x0C0: ******** 0048baa0 ******** ******** ******** ******** ******** 0048b900
0x0E0: ******** ******** ******** ******** ******** ******** ******** ********
No interrupt sources are pending.
Rx state is 'Running', Tx state is 'Idle'.
Transmitter: slot time 512 bits, full-duplex mode.
Last transmit OK, 0 collisions.
Receiver control is 000c, multicast mode.
The last Rx frame was 90 bytes, status 1.
EEPROM contents (size: 64x16):
e000 3d29 6fe4 6700 0001 1c08 10b8 a014
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0010 0000 1980 2100 0000 0000 0003 0000
0701 0000 0000 0000 4d53 3943 3334 5432
2058 2020 0000 0000 0280 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
The word-wide EEPROM checksum is 0x536a.
Parsing the EEPROM of a EPIC/100:
Station Address 00:E0:29:3D:E4:6F.
Board name 'SMC9432TX ', revision 0.
Calculated checksum is 00, correct.
Subsystem ID Vendor/Device 10b8/a014.
MII PHY found at address 3.
MII PHY #3 transceiver registers:
3000 782d 0181 4401 01e1 45e1 0001 ffff
ffff ffff ffff ffff ffff ffff ffff ffff
0040 0018 ffff ffff ffff ffff ffff ffff
ffff ffff ffff 003e ffff 0048 0000 1dd8.
MII PHY #3 transceiver registers:
3000 782d 0181 4401 01e1 45e1 0001 ffff
ffff ffff ffff ffff ffff ffff ffff ffff
0040 0018 ffff ffff ffff ffff ffff ffff
ffff ffff ffff 003e ffff 0048 0000 1dd8.
Basic mode control register 0x3000: Auto-negotiation enabled.
Basic mode status register 0x782d ... 782d.
Link status: established.
Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
Able to perform Auto-negotiation, negotiation complete.
Vendor ID is 00:60:51:--:--:--, model 0 rev. 1.
Vendor/Part: Quality Semiconductor (unknown type).
I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
Advertising no additional info pages.
IEEE 802.3 CSMA/CD protocol.
Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
Negotiation completed.
Monitoring the MII transceiver status.
23:44:07.609 Baseline value of MII BMSR (basic mode status register) is 782d.
> Ueimor
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with 2.4.22 and SMC EtherPower II 9432
2003-10-20 20:59 Problem with 2.4.22 and SMC EtherPower II 9432 Adrian Bunk
2003-10-20 21:30 ` Francois Romieu
@ 2003-10-20 22:14 ` Andreas Steinmetz
1 sibling, 0 replies; 4+ messages in thread
From: Andreas Steinmetz @ 2003-10-20 22:14 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Donald Becker, linux-net, jgarzik, linux-kernel
Adrian Bunk wrote:
> Hi,
>
> on two different machines the ethernet card works with kernel 2.2.20 but
> not with kernel 2.4.22 (both contain machines contain the same card).
>
Just FYI:
I'm running more than 20 SMC9432TX and SMC9432BTX on 2.4.20 without
problems. Output of one of these systems below.
admin@zeus:~ > /sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
(rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master
IDE (rev 10)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:08.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF
(rev 09)
00:09.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF
(rev 08)
00:0a.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF
(rev 08)
00:0b.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF
(rev 08)
00:0c.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF
(rev 08)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X
(rev 65)
admin@zeus:~ > uname -a
Linux zeus 2.4.20 #2 Sat Sep 27 18:54:19 CEST 2003 i686 unknown
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-20 22:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-20 20:59 Problem with 2.4.22 and SMC EtherPower II 9432 Adrian Bunk
2003-10-20 21:30 ` Francois Romieu
2003-10-20 21:49 ` Adrian Bunk
2003-10-20 22:14 ` Andreas Steinmetz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox