当前位置: > Linux故障 >

chelsio 10G 网卡驱动安装及配置问题

时间:2014-07-14 15:15来源:linux.it.net.cn 作者:it
网卡的驱动及型号:

01:00.0 Ethernet controller: Chelsio Communications Inc T420-CR Unified Wire Ethernet Controller
01:00.1 Ethernet controller: Chelsio Communications Inc T420-CR Unified Wire Ethernet Controller
01:00.2 Ethernet controller: Chelsio Communications Inc T420-CR Unified Wire Ethernet Controller
01:00.3 Ethernet controller: Chelsio Communications Inc T420-CR Unified Wire Ethernet Controller
01:00.4 Ethernet controller: Chelsio Communications Inc T420-CR Unified Wire Ethernet Controller
01:00.5 SCSI storage controller: Chelsio Communications Inc T420-CR Unified Wire Storage Controller
01:00.6 Fibre Channel: Chelsio Communications Inc T420-CR Unified Wire Storage Controller

配置好了以后,lsmod可以看到驱动模块已加载:

[root@167 ~]# lsmod |grep cxgb4
cxgb4                  98749  0

配置了IP后,只有eth0是通的,eth1不通,但用ethtool工具显示是连接的:

[root@167 ~]# ethtool eth1
Settings for eth1:
        Supported ports: [ FIBRE ]
        Supported link modes:   
        Supports auto-negotiation: No
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: Direct Attach Copper
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: bg
        Wake-on: d
        Current message level: 0x000000ff (255)
        Link detected: yes

想修改auto-negotiation失败:

[root@167 ~]# ethtool -A eth1 autoneg on
Cannot set device pause parameters: Invalid argument

问题有:
1、为什么“Supported link modes:”后面没有显示任何信息?网络不通是不是跟这个有关系?但eth0也没有显示,确可以ping通。
2、“Supports auto-negotiation: No”,是否带TOE功能的网卡,都不支持auto-negotiation ?



(责任编辑:IT)
------分隔线----------------------------