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

Re: ifconfig und full duplex



Hallo, Martin,

habe jetzt schon einige Stunden mit mii-diag rumgespielt, aber es
scheint nicht viel zu bringen.

syslog sagt:
kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated
partner ability 41e1.
kernel: eth1: Setting half-duplex based on auto-negotiated partner
ability 0000.

mii-diag bringt:
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  0000 0000 0000 0000 0000 0000 0000
0000.
 Basic mode control register 0x0000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
 Link partner information information is not exchanged when in fixed
speed mode.
   End of basic transceiver informaion.
(nichts ueber eth1, auch nicht mit Option -a)

und rtl8139-diag -eeam:
rtl8139-diag.c:v2.03 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xe000.
The RealTek chip appears to be active, so some registers will not be
read.
To see all register values use the '-f' flag.
RealTek chip registers at 0xe000
 0x000: 41843000 0000cb43 80000000 00000000 0008a03c 0008a03c 0008a062
0008a03c
 0x020: 10a70000 10a70600 10a70c00 10a71200 1f420000 0d0a0000 18701860
0000c07f
 0x040: 74000680 0000f78e 94531e96 00000000 000d10c6 00000000 008cd110
00100000
 0x060: 1100f00f 01e1782d 000141e1 00000000 00000004 000207c8 b0f243b9
8a36df43.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x0d, MII half-duplex mode.
EEPROM size test returned 6, 0x204a7 / 0x2e000.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x1259.
  PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0x00  value 0x00.
  Station Address 00:30:84:41:43:CB.
  Configuration register 0/1 -- 0x0d / 0xc2.
 EEPROM active region checksum is 0734.
EEPROM contents:
  8129 10ec 8139 1259 2503 4020 0000 3000
  4184 cb43 0d10 ffc2 8c01 43b9 b0f2 061a
  df43 8a36 df43 8a36 43b9 b0f2 1111 1111
  0000 0000 0000 0000 0000 0000 0000 2000
  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 b800
 The word-wide EEPROM checksum is 0x1ce8.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1100.
   Autonegotiation Advertisement 0x01e1.
   Link Partner Ability register 0x41e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0004.
   Receive frame error count     0x0000.
Index #2: Found a RealTek RTL8139 adapter at 0xe400.
RealTek chip registers at 0xe400
 0x000: 3b843000 0000aa5f 80000000 00000000 00002000 00002000 00002000
00002000
 0x020: 10442000 10442600 10442c00 10443200 10430000 01000000 0000fff0
00000000
 0x040: 74000000 00000000 94555bdd 00000000 000d10c0 00000000 008cd11c
00100000
 0x060: 1000000f 01e17809 00000000 00000000 00000004 000ff3c0 b0f243b9
7a36d743.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x0d, MII half-duplex mode.
EEPROM size test returned 6, 0x204a6 / 0x30c00.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x1259.
  PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0x00  value 0x00.
  Station Address 00:30:84:3B:5F:AA.
  Configuration register 0/1 -- 0x0d / 0xc2.
 EEPROM active region checksum is 0729.
EEPROM contents:
  8129 10ec 8139 1259 2503 4020 0000 3000
  3b84 aa5f 0d10 ffc2 8c01 43b9 b0f2 061a
  df43 8a36 df43 8a36 43b9 b0f2 1111 1111
  0000 0000 0000 0000 0000 0000 0000 2000
  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 c300
 The word-wide EEPROM checksum is 0x0104.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x7809.
   Basic mode status register    0x1000.
   Autonegotiation Advertisement 0x01e1.
   Link Partner Ability register 0x0000.
   Autonegotiation expansion     0x0000.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0004.
   Receive frame error count     0x0000.

Auch mit Option -F 100baseTx-FD aendert sich weder bei mii-diag noch
bei rtl8139-diag etwas.
Mache ich da jetzt etwas grundsaetzlich verkehrt, oder liegt es an der
Hardware?


On 8/20/2003 at 8:58 PM Martin Samesch wrote:
>On Wed, Aug 20, 2003 at 02:46:19PM +0200, A. Schmidt wrote:
>> [...]
>> Es gaebe zwei Moeglichkeiten, das Problem zu loesen: entweder, indem
>ethX ohne auto-negotiation auf Full Duplex gesetzt wird, oder indem
das
>Logging dieser MEldungen unterbunden wird.
>> Gibt es nun eine Moeglichkeit Full Duplex fest einzustellen? Und wie
>unterbindet man das Logging bestimmter Meldungen, ohne gleich alle
>Kernel.Messages abzustellen? Waere wirklich fuer jeden Hinweis
dankbar.
>
>Schau Dir mal mii-diag an.
>


Hmm, sollte jetzt eigentlich stimmen...
>Gibt es eine Möglichkeit, die Zeilenlänge auf, sagen wir, 72
Zeichen
>zu begrenzen? ;-)


Schoenen Gruss,

Andreas




Reply to: