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

Bug#475575: [linux-image-2.6] 8139too and 8139cp get loaded at the same time



> I want to see the full output from these commands.  I wasn't aware of
> rtl8139-diag but it sounds like that would be useful too.
> 
> Ben.
> 
I included all output of rtl8139-diag, ethtool and mii-tool. All options
for ethtool wich I didn't paste below showed no output ( weren't
supported). Since I am not sure that the change of behavior (dropping of
packages) is due to a difference between ubuntu and debian I will
include the output of modinfo at the end of this message as well.

Sebastian

# rtl8139-diag  -a -e -m -f
rtl8139-diag.c:v2.13 2/28/2005 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x4000.
RealTek chip registers at 0x4000
0x000: 22d31600 0000c67e 80008000 40100000 0008a042 0008a0a8 0008a0a8
0008a064
0x020: 35d00000 35d00600 35d00c00 35d01200 32d60000 0d0a0000 49384928
0000c07f
0x040: 77400680 0000f78e f5208a4a 00000000 004d1000 00000000 0080c110
00100000
0x060: 1100f00f 05e1782d 000141e1 00000000 00000704 000707c8 60f60c59
7b732660.
Realtek station address 00:16:d3:22:7e:c6, chip type 'rtl8139C'.
  Receiver configuration: Normal unicast and hashed multicast
     Rx FIFO threshold 2048 bytes, maximum burst 2048 bytes, 32KB ring
  Transmitter enabled with NONSTANDARD! settings, maximum burst 1024
bytes.
    Tx entry #0 status 0008a042 complete, 66 bytes.
    Tx entry #1 status 0008a0a8 complete, 168 bytes.
    Tx entry #2 status 0008a0a8 complete, 168 bytes.
    Tx entry #3 status 0008a064 complete, 100 bytes.
  Flow control: Tx disabled  Rx disabled.
  The chip configuration is 0x10 0x4d, MII full-duplex mode.
  No interrupt sources are pending.
Decoded EEPROM contents:
   PCI IDs -- Vendor 0x10ec, Device 0x8139.
   PCI Subsystem IDs -- Vendor 0x10ec, Device 0x8139.
   PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xe1  value 0x10.
  Station Address 00:16:D3:22:7E:C6.
  Configuration register 0/1 -- 0x4d / 0xc2.
EEPROM active region checksum is 09cc.
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
   Basic mode control register   0x1100.
   Basic mode status register    0x782d.
   Autonegotiation Advertisement 0x05e1.
   Link Partner Ability register 0x41e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0704.
   Receive frame error count     0x0000.


rtl8139-diag  -aa -ee -mm
rtl8139-diag.c:v2.13 2/28/2005 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x4000.
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 0x4000
0x000: 22d31600 0000c67e 80008000 40100000 0008a03c 0008a064 0008a042
0008a05c
0x020: 35d00000 35d00600 35d00c00 35d01200 32d60000 0d0a0000 bf30bf20
0000c07f
0x040: 77400680 0000f78e 6ab7ac8d 00000000 004d1000 00000000 0080c110
00100000
0x060: 1100f00f 05e1782d 000141e1 00000000 00000704 000707c8 60f60c59
7b732660.
Realtek station address 00:16:d3:22:7e:c6, chip type 'rtl8139C'.
  Receiver configuration: Normal unicast and hashed multicast
     Rx FIFO threshold 2048 bytes, maximum burst 2048 bytes, 32KB ring
  Transmitter enabled with NONSTANDARD! settings, maximum burst 1024
bytes.
    Tx entry #0 status 0008a03c complete, 60 bytes.
    Tx entry #1 status 0008a064 complete, 100 bytes.
    Tx entry #2 status 0008a042 complete, 66 bytes.
    Tx entry #3 status 0008a05c complete, 92 bytes.
  Flow control: Tx disabled  Rx disabled.
  The chip configuration is 0x10 0x4d, MII full-duplex mode.
  No interrupt sources are pending.
Decoded EEPROM contents:
   PCI IDs -- Vendor 0x10ec, Device 0x8139.
   PCI Subsystem IDs -- Vendor 0x10ec, Device 0x8139.
   PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xe1  value 0x10.
  Station Address 00:16:D3:22:7E:C6.
  Configuration register 0/1 -- 0x4d / 0xc2.
EEPROM active region checksum is 09cc.
EEPROM contents (64 words):
0x00:  8129 10ec 8139 10ec 8139 4020 e110 1600
0x08:  22d3 c67e 4d10 f7c2 8001 b388 58fa 0708
0x10:  d843 a438 d843 a438 d843 a438 d843 a438
0x18:  0000 8ec5 0000 0000 0000 0000 0000 3b00
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
      ...
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
   Basic mode control register   0x1100.
   Basic mode status register    0x782d.
   Autonegotiation Advertisement 0x05e1.
   Link Partner Ability register 0x41e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0704.
   Receive frame error count     0x0000.
libmii.c:v2.11 2/28/2005  Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
MII PHY #32 transceiver registers:
   1100 782d 0000 0000 05e1 41e1 0001 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.
Basic mode control register 0x1100: 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.
This transceiver has no vendor identification.
I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
Link partner capability is 41e1: 100baseTx-FD 100baseTx 10baseT-FD
10baseT.
   Negotiation  completed.



# ethtool  eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes

# ethtool -k eth0
Offload parameters for eth0:
Cannot get device rx csum settings: Operation not supported
Cannot get device flags: Operation not supported
rx-checksumming: off
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: off
udp fragmentation offload: off
generic segmentation offload: on
large receive offload: off

ethtool -i eth0
driver: 8139too
version: 0.9.28
firmware-version: 
bus-info: 0000:0a:07.0

ethtool -d eth0
RealTek RTL-8169 registers:
--------------------------------------------------------
0x00: MAC Address                      f1:0f:02:00:00:00
0x08: Multicast Address Filter     0x00000000 0x00000000
0x10: Dump Tally Counter Command   0x00000000 0x00000000
0x20: Tx Normal Priority Ring Addr 0x00000000 0x00000000
0x28: Tx High Priority Ring Addr   0x00000000 0x00000000
0x30: Flash memory read/write                 0x00000000
0x34: Early Rx Byte Count                              0
0x36: Early Rx Status                               0x00
0x37: Command                                       0x00
      Rx off, Tx off
0x3C: Interrupt Mask                              0x0000
      
0x3E: Interrupt Status                            0x0000
      
0x40: Tx Configuration                        0x00000000
0x44: Rx Configuration                        0x00000000
0x48: Timer count                             0x00000000
0x4C: Missed packet counter                     0x000000
0x50: EEPROM Command                                0x00
0x51: Config 0                                      0x00
0x52: Config 1                                      0x00
0x53: Config 2                                      0x00
0x54: Config 3                                      0x00
0x55: Config 4                                      0x00
0x56: Config 5                                      0x00
0x58: Timer interrupt                         0x00000000
0x5C: Multiple Interrupt Select                   0x0000
0x60: PHY access                              0x00000000
0x64: TBI control and status                  0x00000000
0x68: TBI Autonegotiation advertisement (ANAR)    0x0000
0x6A: TBI Link partner ability (LPAR)             0x0000
0x6C: PHY status                                    0x00
0x84: PM wakeup frame 0            0x00000000 0x00000000
0x8C: PM wakeup frame 1            0x00000000 0x00000000
0x94: PM wakeup frame 2 (low)      0x00000000 0x00000000
0x9C: PM wakeup frame 2 (high)     0x00000000 0x00000000
0xA4: PM wakeup frame 3 (low)      0x00000000 0x00000000
0xAC: PM wakeup frame 3 (high)     0x00000000 0x00000000
0xB4: PM wakeup frame 4 (low)      0x00000000 0x00000000
0xBC: PM wakeup frame 4 (high)     0x00000000 0x00000000
0xC4: Wakeup frame 0 CRC                          0x0000
0xC6: Wakeup frame 1 CRC                          0x0000
0xC8: Wakeup frame 2 CRC                          0x0000
0xCA: Wakeup frame 3 CRC                          0x0000
0xCC: Wakeup frame 4 CRC                          0x0000
0xDA: RX packet maximum size                      0x0000
0xE0: C+ Command                                  0x0000
0xE2: Interrupt Mitigation                        0x0000
      TxTimer:       0
      TxPackets:     0
      RxTimer:       0
      RxPackets:     0
0xE4: Rx Ring Addr                 0x00000000 0x00000000
0xEC: Early Tx threshold                            0x00
0xF0: Func Event                              0x00000000
0xF4: Func Event Mask                         0x00000000
0xF8: Func Preset State                       0x00000000
0xFC: Func Force Event                        0x00000000


# mii-tool -v
eth0: negotiated 100baseTx-FD, link ok
  product info: vendor 00:00:00, model 0 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD



 modinfo 8139cp
filename:       /lib/modules/2.6.28-12-generic/kernel/drivers/net/8139cp.ko
license:        GPL
version:        1.3
description:    RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
author:         Jeff Garzik <jgarzik@pobox.com>
srcversion:     5CBA58AEE9DE7FEF18796CC
alias:          pci:v00000357d0000000Asv*sd*bc*sc*i*
alias:          pci:v000010ECd00008139sv*sd*bc*sc*i*
depends:        mii
vermagic:       2.6.28-12-generic SMP mod_unload modversions 586 
parm:           debug:8139cp: bitmapped message enable number (int)
parm:           multicast_filter_limit:8139cp: maximum number of
filtered multicast addresses (int)


modinfo 8139too
filename:       /lib/modules/2.6.28-12-generic/kernel/drivers/net/8139too.ko
version:        0.9.28
license:        GPL
description:    RealTek RTL-8139 Fast Ethernet driver
author:         Jeff Garzik <jgarzik@pobox.com>
srcversion:     5F3D94DE1A0EECD956A3EA9
alias:          pci:v*d00008139sv000013D1sd0000AB06bc*sc*i*
alias:          pci:v*d00008139sv00001186sd00001300bc*sc*i*
alias:          pci:v*d00008139sv000010ECsd00008139bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
alias:          pci:v0000021Bd00008139sv*sd*bc*sc*i*
alias:          pci:v00001743d00008139sv*sd*bc*sc*i*
alias:          pci:v0000126Cd00001211sv*sd*bc*sc*i*
alias:          pci:v0000018Ad00000106sv*sd*bc*sc*i*
alias:          pci:v000002ACd00001012sv*sd*bc*sc*i*
alias:          pci:v00001432d00009130sv*sd*bc*sc*i*
alias:          pci:v000011DBd00001234sv*sd*bc*sc*i*
alias:          pci:v000014EAd0000AB07sv*sd*bc*sc*i*
alias:          pci:v000014EAd0000AB06sv*sd*bc*sc*i*
alias:          pci:v00001259d0000A11Esv*sd*bc*sc*i*
alias:          pci:v00001259d0000A117sv*sd*bc*sc*i*
alias:          pci:v000013D1d0000AB06sv*sd*bc*sc*i*
alias:          pci:v00001186d00001340sv*sd*bc*sc*i*
alias:          pci:v00001186d00001300sv*sd*bc*sc*i*
alias:          pci:v00004033d00001360sv*sd*bc*sc*i*
alias:          pci:v00001500d00001360sv*sd*bc*sc*i*
alias:          pci:v00001113d00001211sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008138sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008139sv*sd*bc*sc*i*
depends:        mii
vermagic:       2.6.28-12-generic SMP mod_unload modversions 586 
parm:           use_io:Force use of I/O access mode. 0=MMIO 1=PIO (int)
parm:           debug:8139too bitmapped message enable number (int)
parm:           multicast_filter_limit:8139too maximum number of
filtered multicast addresses (int)
parm:           media:8139too: Bits 4+9: force full duplex, bit 5:
100Mbps (array of int)
parm:           full_duplex:8139too: Force full duplex for board(s) (1)
(array of int)





Reply to: