登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
仓库状态说明
开源项目
>
其他开源
>
操作系统
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
458
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
关闭
代码
Issues
1271
Pull Requests
991
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
openEuler22.03编译安装英特尔ixgbe驱动报错
已完成
#I89YGL
缺陷
神眷之樱花
创建于
2023-10-22 21:37
【简要描述】华为鲲鹏920服务器(泰山200 2280K白牌机)搭载有英特尔X540-T2网卡,在编译安装ixgbe驱动时报错,无法完成安装 【详细描述】 ----基本信息----- 硬件信息: 1)机型:百信恒山TS02F-F39(泰山200 2280对应的白牌机)1710 VD CPU:HUAWEI Kunpeng 920 5251K 48Cores@2.6GHz MEM:Micron 36ASF4G72PZ-2G9E2 32GB 2933MHz*2 Raid card:AVAGO SAS 3508 with CVPM02 BBU Disk:SAMSUNG MZ7KH480HAHQ-00005 480GB SATA SSD Backplane:12*3.5 SAS/SATA, Expander BC11THBQB NIC:Ethernet Converged Network Adapter X540-T2(2*10GE RJ45) 2)服务器版本信息 iBMC固件版本 6.63(U68) BIOS版本 6.65.K(U75) CPLD版本 7.02(U6076) 3)OS信息: 1)22.03 LTS [root@localhost ~]# uname -r 5.10.0-60.18.0.50.oe2203.aarch64 [root@localhost ~]# cat /etc/os-release NAME="openEuler" VERSION="22.03 LTS" ID="openEuler" VERSION_ID="22.03" PRETTY_NAME="openEuler 22.03 LTS" ANSI_COLOR="0;31" 3)发现问题的组件版本信息 [root@localhost ~]# ethtool -i enp129s0f0 driver: ixgbe version: 5.10.0-60.18.0.50.oe2203.aarch6 firmware-version: 0x80000389, 1.1197.0 expansion-rom-version: bus-info: 0000:81:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes [root@localhost ~]# ethtool enp129s0f0 Settings for enp129s0f0: Supported ports: [ TP ] Supported link modes: 100baseT/Full 1000baseT/Full 10000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 100baseT/Full 1000baseT/Full 10000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Auto-negotiation: on Port: Twisted Pair PHYAD: 0 Transceiver: internal MDI-X: Unknown Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes [root@localhost ~]# 【问题时间】2023/10/22 【初步结论】kernel对通用驱动可能有不兼容的函数 -------问题信息-------- 【现象描述】:使用openEuler 22.03 LTS编译安装英特尔万兆网卡驱动ixgbe(版本5.19.6)时,make install会有/root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4806:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 4806 | .get_coalesce = ixgbe_get_coalesce, | ^~~~~~~~~~~~~~~~~~ /root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4806:19: note: (near initialization for ‘ixgbe_ethtool_ops.get_coalesce’) /root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4807:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 4807 | .set_coalesce = ixgbe_set_coalesce, | ^~~~~~~~~~~~~~~~~~ /root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4807:19: note: (near initialization for ‘ixgbe_ethtool_ops.set_coalesce’) cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:280: /root/ixgbe-5.19.6/src/ixgbe_ethtool.o] Error 1 make[1]: *** [Makefile:1822: /root/ixgbe-5.19.6/src] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.10.0-60.18.0.50.oe2203.aarch64' make: *** [Makefile:100: default] Error 2编译错误信息产生,无法完成驱动编译 【问题复现步骤】 1、安装系统 2、下载英特尔官网的ixgbe-5.19.6版本万兆网卡驱动源代码 3、解压源码包,按照README文件提示,进入/src目录,执行make install,执行至 CC [M] /root/ixgbe-5.19.6/src/ixgbe_ethtool.o后弹出现象描述中的错误 【出现概率】 必然出现且可复现 【预期结果】 驱动可以正常编译安装,无err产生,rmmod后加载驱动模块,使用ethtool -i可以查询到驱动升级成功 【实际结果】 驱动编译安装失败,有现象描述的错误信息产生 【附件信息】 infocollect一键收集日志与bmc dump 环境已保留,需要可联系
【简要描述】华为鲲鹏920服务器(泰山200 2280K白牌机)搭载有英特尔X540-T2网卡,在编译安装ixgbe驱动时报错,无法完成安装 【详细描述】 ----基本信息----- 硬件信息: 1)机型:百信恒山TS02F-F39(泰山200 2280对应的白牌机)1710 VD CPU:HUAWEI Kunpeng 920 5251K 48Cores@2.6GHz MEM:Micron 36ASF4G72PZ-2G9E2 32GB 2933MHz*2 Raid card:AVAGO SAS 3508 with CVPM02 BBU Disk:SAMSUNG MZ7KH480HAHQ-00005 480GB SATA SSD Backplane:12*3.5 SAS/SATA, Expander BC11THBQB NIC:Ethernet Converged Network Adapter X540-T2(2*10GE RJ45) 2)服务器版本信息 iBMC固件版本 6.63(U68) BIOS版本 6.65.K(U75) CPLD版本 7.02(U6076) 3)OS信息: 1)22.03 LTS [root@localhost ~]# uname -r 5.10.0-60.18.0.50.oe2203.aarch64 [root@localhost ~]# cat /etc/os-release NAME="openEuler" VERSION="22.03 LTS" ID="openEuler" VERSION_ID="22.03" PRETTY_NAME="openEuler 22.03 LTS" ANSI_COLOR="0;31" 3)发现问题的组件版本信息 [root@localhost ~]# ethtool -i enp129s0f0 driver: ixgbe version: 5.10.0-60.18.0.50.oe2203.aarch6 firmware-version: 0x80000389, 1.1197.0 expansion-rom-version: bus-info: 0000:81:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes [root@localhost ~]# ethtool enp129s0f0 Settings for enp129s0f0: Supported ports: [ TP ] Supported link modes: 100baseT/Full 1000baseT/Full 10000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 100baseT/Full 1000baseT/Full 10000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Auto-negotiation: on Port: Twisted Pair PHYAD: 0 Transceiver: internal MDI-X: Unknown Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes [root@localhost ~]# 【问题时间】2023/10/22 【初步结论】kernel对通用驱动可能有不兼容的函数 -------问题信息-------- 【现象描述】:使用openEuler 22.03 LTS编译安装英特尔万兆网卡驱动ixgbe(版本5.19.6)时,make install会有/root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4806:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 4806 | .get_coalesce = ixgbe_get_coalesce, | ^~~~~~~~~~~~~~~~~~ /root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4806:19: note: (near initialization for ‘ixgbe_ethtool_ops.get_coalesce’) /root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4807:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 4807 | .set_coalesce = ixgbe_set_coalesce, | ^~~~~~~~~~~~~~~~~~ /root/ixgbe-5.19.6/src/ixgbe_ethtool.c:4807:19: note: (near initialization for ‘ixgbe_ethtool_ops.set_coalesce’) cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:280: /root/ixgbe-5.19.6/src/ixgbe_ethtool.o] Error 1 make[1]: *** [Makefile:1822: /root/ixgbe-5.19.6/src] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.10.0-60.18.0.50.oe2203.aarch64' make: *** [Makefile:100: default] Error 2编译错误信息产生,无法完成驱动编译 【问题复现步骤】 1、安装系统 2、下载英特尔官网的ixgbe-5.19.6版本万兆网卡驱动源代码 3、解压源码包,按照README文件提示,进入/src目录,执行make install,执行至 CC [M] /root/ixgbe-5.19.6/src/ixgbe_ethtool.o后弹出现象描述中的错误 【出现概率】 必然出现且可复现 【预期结果】 驱动可以正常编译安装,无err产生,rmmod后加载驱动模块,使用ethtool -i可以查询到驱动升级成功 【实际结果】 驱动编译安装失败,有现象描述的错误信息产生 【附件信息】 infocollect一键收集日志与bmc dump 环境已保留,需要可联系
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
标签
sig/Kernel
未设置
项目
未立项任务
未立项任务
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(3)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册