Hi,

I'm using linux 2.6.14.3 with swsusp2 2.2rc14 (not the most new ones).
Since I'm using NetworkManager, which switches and manages my wired and 
wireless devices, I have to reload 8139too after resume, before plugin 
events of wired network are recognized. Some other users of NM are 
reporting similar problems.

I assume that either is suspending in 8139too or in mii not working 
properly. Following is some data, I collected so far.


eth1 is my wired, using 8139too from 2.6.14.3:
after resume and NM wake up 

mobile ~ # ifplugstatus -v
eth1:
    SIOCETHTOOL: unplugged
    SIOCGMIIPHY failed (Invalid argument)
    Wireless failed.
    IFF_RUNNING: unplugged
    SIOCDEVPRIVATE failed (Invalid argument)

mobile ~ # cat /sys/class/net/eth1/carrier
cat: /sys/class/net/eth1/carrier: Invalid argument
----------
mobile src # rtl8139-diag -mm
rtl8139-diag.c:v2.11 4/22/2003 Donald Becker ([EMAIL PROTECTED])
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x4000.
Realtek station address 00:00:f0:92:f7:5f, chip type 'rtl8139C+'.
  Receiver configuration: Reception disabled
     Rx FIFO threshold 16 bytes, maximum burst 16 bytes, 8KB ring
  Transmitter disabled with normal settings, maximum burst 16 bytes.
  Flow control: Tx enabled  Rx enabled.
  The chip configuration is 0x10 0x1d, MII half-duplex mode.
  No interrupt sources are pending.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x3100.
   Basic mode status register    0x7809.
   Autonegotiation Advertisement 0x01e1.
   Link Partner Ability register 0x0000.
   Autonegotiation expansion     0x0000.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0404.
   Receive frame error count     0x0000.
libmii.c:v2.10 4/22/2003  Donald Becker ([EMAIL PROTECTED])
 http://www.scyld.com/diag/index.html
 MII PHY #32 transceiver registers:
   3100 7809 0000 0000 01e1 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.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 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 0000:.
   Negotiation did not complete.
----------

then, after restarting NM or reloading 8139too:

mobile ~ # ifplugstatus -v eth1
eth1:
    SIOCETHTOOL: link beat detected
    SIOCGMIIPHY: link beat detected
    Wireless failed.
    IFF_RUNNING: link beat detected
    SIOCDEVPRIVATE failed (Operation not supported)

mobile ~ # cat /sys/class/net/eth1/carrier
1
-------------------------
difference in rtl8139-daig -mm

 Receiver configuration: Unicast and no multicast
    Rx FIFO threshold 2048 bytes, maximum burst 2048 bytes, 32KB ring
 Transmitter enabled with NONSTANDARD! settings, maximum burst 1024 bytes.


Any hints? Is this a bug or a configuration issue?

Nikolaus

-- 
out of signatures
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to