免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5347 | 回复: 7
打印 上一主题 下一主题

[网络配置] chelsio 10G 网卡驱动安装及配置问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-11 12:12 |只看该作者 |倒序浏览
网卡的驱动及型号:

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 ?

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2014-07-11 13:04 |只看该作者
10G 的网卡是不是根本就不支持 自适应 ?

光纤网卡, 确定两边的 两根线都接好了. 因为有一根接好, 它也会报 link OK 了.

论坛徽章:
0
3 [报告]
发表于 2014-07-11 13:39 |只看该作者
10G网卡不支持自适应,没有在文档里面有提到过。

我把两条网线对调了,还是eth1不通。

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
4 [报告]
发表于 2014-07-11 14:01 |只看该作者
回复 3# 月中井

你是接的交换机? 还是直接两台机器对接的?


   

论坛徽章:
0
5 [报告]
发表于 2014-07-14 11:06 |只看该作者
回复 4# q1208c


    通过交换机接的。

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
6 [报告]
发表于 2014-07-14 11:14 |只看该作者
回复 5# 月中井

在交换机上查看一下这两个网卡接的接口的状态.
   

论坛徽章:
0
7 [报告]
发表于 2014-07-14 11:50 |只看该作者
回复 6# q1208c


    从交换机上看,8个口的连接都是正常的:

xe2     connected     full      auto      access    10GSFP+     
xe3     connected     full      auto      access    10GSFP+     
xe4     connected     full      auto      access    10GSFP+     
xe5     connected     full      auto      access    10GSFP+     
xe6     notconnect    half      auto      access    10GSFP+     
xe7     connected     full      auto      access    10GSFP+     
xe8     notconnect    half      auto      access    10GSFP+     
xe9     notconnect    auto      auto      access    10GSFP+     
xe10    connected     full      auto      access    10GSFP+     
xe11    notconnect    auto      auto      access    10GSFP+     
xe12    connected     full      auto      access    10GSFP+     
xe13    notconnect    auto      auto      access    10GSFP+     
xe14    notconnect    half      auto      access    10GSFP+     
xe15    connected     full      auto      access    10GSFP+     
xe16    notconnect    half      auto      access    10GSFP+   

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
8 [报告]
发表于 2014-07-14 12:12 |只看该作者
回复 7# 月中井


那网络应该没问题呀.     
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP