You are not logged in.

#1 2009-06-26 18:28:24

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 98

[Solved] ATL1E: 1000BaseT mode

Hi everyone,
I'm trying to get gigabit ethernet running on my EEE. The Attansic L1e is supposed to support it, and I know my router (Trendnet TEW-633GR) is not the problem as it works fine for my desktop. Autonegotiation results in 100mbit/s. I'm using the ATL1E driver included in the 2.6.30 kernel.

ethtool reports that this mode is not available, so I can't force it:

malstrond ~  $  sudo ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    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: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pg
    Wake-on: d
    Current message level: 0x00000000 (0)
    Link detected: yes

mii-tool agrees:

malstrond ~  $  sudo mii-tool -v eth0
eth0: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:13:74, model 1 rev 9
  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 flow-control

The last line would suggest that the driver isn't able to recognize my router advertising gigabit ethernet. Might it be possible that my router is at fault and somehow doesn't advertise correctly, in a way the driver doesn't understand?

The NIC:

malstrond ~  $  sudo lspci -vs 03:00.0
03:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)
    Subsystem: ASUSTeK Computer Inc. Device 8324
    Flags: bus master, fast devsel, latency 0, IRQ 27
    Memory at fbfc0000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at ec00 [size=128]
    Capabilities: [40] Power Management version 2
    Capabilities: [48] MSI: Mask- 64bit+ Count=1/1 Enable+
    Capabilities: [58] Express Endpoint, MSI 00
    Capabilities: [6c] Vital Product Data
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [180] Device Serial Number ff-8c-24-00-8d-c5-67-ff
    Kernel driver in use: ATL1E

Any ideas on a solution or where I could continue my research? Google doesn't really help as "Gigabit" is a part of the adapters name and "1000BaseT" seems to be a rarely used term.

Update: I think my NIC just doesn't have this feature. Marking as solved.

Last edited by Malstrond (2009-08-15 18:15:34)

Offline

#2 2009-08-13 20:24:48

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 98

Re: [Solved] ATL1E: 1000BaseT mode

It's been more than a month, I think a bump is justified. smile

Offline

#3 2009-08-14 03:37:39

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: [Solved] ATL1E: 1000BaseT mode

Anything in dmesg when the driver is loaded that might say why it doesn't want to enable gigabit speeds?

Looking at the driver code, the only way I see that these speeds wouldn't be available is if the card itself isn't advertising them in its registers.

Offline

#4 2009-08-14 22:29:39

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 98

Re: [Solved] ATL1E: 1000BaseT mode

No, dmesg doesn't seem to help:

pci 0000:03:00.0: reg 10 64bit mmio: [0xfbfc0000-0xfbffffff]
pci 0000:03:00.0: reg 18 io port: [0xec00-0xec7f]
pci 0000:03:00.0: PME# supported from D3hot D3cold
pci 0000:03:00.0: PME# disabled
ATL1E 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ATL1E 0000:03:00.0: setting latency timer to 64
ATL1E 0000:03:00.0: irq 27 for MSI/MSI-X
ATL1E 0000:03:00.0: ATL1E: eth0 NIC Link is Up<100 Mbps Full Duplex>

I recently upgraded to a kernel 2.6.31 git build, which resulted in a different lspci output:

03:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
    Subsystem: ASUSTeK Computer Inc. Device 8324
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 32 bytes
    Interrupt: pin A routed to IRQ 27
    Region 0: Memory at fbfc0000 (64-bit, non-prefetchable) [size=256K]
    Region 2: I/O ports at ec00 [size=128]
    Capabilities: [40] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0300c  Data: 4189
    Capabilities: [58] Express (v1) Endpoint, MSI 00
        DevCap:    MaxPayload 4096 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
            ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 unlimited, L1 unlimited
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [6c] Vital Product Data
        Unknown small resource type 0b, will not decode more.
    Capabilities: [100] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        AERCap:    First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
    Capabilities: [180] Device Serial Number ff-67-c5-8d-00-24-8c-ff
    Kernel driver in use: ATL1E

Altough the same driver is still in use, the chipset is identified as a different one and not all versions the new name applies to are capable of gigabit ethernet. I'm beginning to think that the EEE 1000H just doesn't have a controller with this capability and it was just incorrectly identified.

Offline

Board footer

Powered by FluxBB