tech-net archive

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

Re: BCM5720 no carrier



Hi, all.

(2014/05/26 14:48), Masanobu SAITOH wrote:
> Hi, Zafer.
> 
> (2014/05/26 7:42), Zafer Aydogan wrote:
>> Hello List!
>>
>> I am having difficulties in getting a nic to work in a new server.
>>
>> bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>          
>> capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
>>          capabilities=3f80<UDP4CSUM_Rx,UDP4CSUM_Tx>
>>          enabled=0
>>          ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
>>          ec_enabled=0
>>          address: 9c:b6:54:97:dd:55
>>          media: Ethernet autoselect (1000baseSX full-duplex)
>>          status: no carrier
>>          inet 8.9.1.6 netmask 0xffffff00 broadcast 8.9.1.255
>>          inet6 fe80::9eb6:54ff:fe97:dd55%bge0 prefixlen 64 scopeid 0x1
>>
>> I can't get a link.
>>
>> Its a bcm5720 chip but internal not as an adapter.
>> 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720
>> Gigabit Ethernet PCIe
>>
>> Hardware wise, this is the server:
>> http://h18000.www1.hp.com/products/quickspecs/14737_na/14737_na.pdf
>> in this Chassi:
>> http://h10032.www1.hp.com/ctg/Manual/c03728406.pdf
>>
>> Linux wise:
>>
>> Settings for eth0:
>> Supported ports: [ FIBRE ]
>> Supported link modes:   1000baseT/Half 1000baseT/Full
>> Supported pause frame use: No
>> Supports auto-negotiation: Yes
>> Advertised link modes:  1000baseT/Half 1000baseT/Full
>> Advertised pause frame use: Symmetric
>> Advertised auto-negotiation: Yes
>> Speed: 1000Mb/s
>> Duplex: Full
>> Port: FIBRE
>> PHYAD: 8
>> Transceiver: internal
>> Auto-negotiation: on
>> Supports Wake-on: g
>> Wake-on: g
>> Link detected: yes
>>
>> driver is: tg3
>>
>> Linux connects via 5718S PHY
>>
>> tg3 0000:01:00.0 eth0: Tigon3 [partno(N/A) rev 5720000]
>> (PCI Express) MAC address 9c:b6:54:97:dd:55
>> tg3 0000:01:00.0 eth0: attached PHY is 5718S
>> (1000Base-SX Ethernet) (WireSpeed[0], EEE[0])
>>
>> I also tried FreeBSD 10. Same Problem no carrier.
>> Then I tried OpenBSD 5.5. It shows status: active, but
>> autoselect (none). I can't connect.
>>
>> Then I modified one line of code via msaitoh@
>>
>>   http://svnweb.freebsd.org/base?view=revision&revision=241390
>>
>> with that change I also get status: active
>> and brgphy is attaching to bcm5709S phy
>> but I still have autoselect (none) and
>> trying to set media type manually results in:
>> SIOCSIFMEDIA
>>
>> ifconfig -m bge0 shows:
>> media none
>> media 1000baseSX
>> media 1000baseSX mediaopt full-duplex
>> media autoselect
>>
>> Any help is appreciated.
>>
>> Cheers,
>> Zafer
> 
>  Our brgphy()'s SerDes related code was #if 0 ed. For OpenBSD,
> the code was enclosed with
> 
>     if (strncmp(devname, "bnx"))
> 
> Perhaps we have to fix this problem first.

 I committed a lot of fixes into brgphy(4) and bge(4). Now the
machine works fine with the latest -current.

 Thank you for your help!

-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index