ale0 gets no carrier

Marius Nünnerich marius at nuenneri.ch
Thu Oct 22 18:39:58 UTC 2009


On Thu, Oct 22, 2009 at 20:36, Pyun YongHyeon <pyunyh at gmail.com> wrote:
> On Thu, Oct 22, 2009 at 08:22:50PM +0200, Marius N?nnerich wrote:
>> Hi Pyun, all,
>>
>> today I installed FreeBSD 8-STABLE r198366 on a new Box. It has a Atheros nic:
>> ale0 at pci0:2:0:0:        class=0x020000 card=0x831c1043 chip=0x10261969
>> rev=0xb0 hdr=0x00
>>     vendor     = 'Attansic (Now owned by Atheros)'
>>     device     = 'PCI-E ETHERNET CONTROLLER  (AR8121/AR8113 )'
>>     class      = network
>>     subclass   = ethernet
>>
>> ale0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>         options=319a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC>
>>         ether 00:24:8c:a4:0a:b3
>>         media: Ethernet autoselect (none)
>>         status: no carrier
>>
>> The nic gets no carrier at all. I tried against two known-working nics
>> with a cross-over cable and against a dsl-modem.
>> Any idea what to try? Will happily test patches.
>>
>
> Would you show me dmesg output related with ale(4)/atphy(4)?
> Also show me the output "devinfo -rv | grep phy".

Sure:
% dmesg|grep ale
ale0: <Atheros AR8121/AR8113/AR8114 PCIe Ethernet> port 0xdc00-0xdc7f
mem 0xfbec0000-0xfbefffff irq 18 at device 0.0 on pci2
ale0: 960 Tx FIFO, 1024 Rx FIFO
ale0: Using 1 MSI messages.
miibus0: <MII bus> on ale0
ale0: Ethernet address: 00:24:8c:a4:0a:b3
ale0: [FILTER]
ale0: link state changed to DOWN
% dmesg|grep atphy
atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0
atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
% devinfo -rv | grep phy
                atphy0 pnpinfo oui=0x1374 model=0x1 rev=0x9 at phyno=0
                ip1000phy0 pnpinfo oui=0x90c3 model=0x8 rev=0x0 at phyno=24

It is a GENERIC kernel.


More information about the freebsd-stable mailing list