Bug 1516 - [Anolis 8.6] [ZHAOXIN] 硬件兼容性测试识别到无网卡驱动
Summary: [Anolis 8.6] [ZHAOXIN] 硬件兼容性测试识别到无网卡驱动
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 8.6
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: jiawenwu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-28 16:10 UTC by surmangen001
Modified: 2023-01-17 15:16 UTC (History)
3 users (show)

See Also:


Attachments
硬件兼容测试结果 (33.60 KB, image/png)
2023-01-05 11:15 UTC, DuanqiangWen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description surmangen001 admin 2022-06-28 16:10:46 UTC
Description of problem:
硬件兼容性测试识别到无网卡驱动,报错如下:
[root@localhost ]#ancert -g System --single_mode

*NOTE*: You are using ancert single testing mode! Single testing mode can't fully verify your
        system compatibility with Anolis OS. If you want to run all tests, please configure LTS
        system, then add option --lts_ip [lts ip address] to ancert.

                        Welcome to use the Ancert!

Log folder: /var/log/ancert/System_2022-06-30_09-35-42

OS Relase: Anolis OS release 8.6
Kernel Version: 4.19.91-26.an8.x86_64

Available:  ZHAOXIN KaiSheng KH-37800D@2.7GHz
Available storage controllers:
        ASMedia Technology Inc. [ahci]
        Zhaoxin ZX-100/ZX-200/ZX-E StorX AHCI Controller [ahci]
Available network controllers:
        Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (10G SFP+ DP EP102Fi4 Adapter) [ixgbe]
Unavailable network controllers:
        Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (Qual-Port Ethernet Network Adaptor SF400T)            [* No Driver *]

Test *FAIL* since following Controller was not claimed any driver, please manually attach driver or ask help from OpenAnolis c           ommunity:
    Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (Qual-Port Ethernet Network Adaptor SF400T)
------------------------------------------------------------------
System Test *FAIL*!
Save tar log file to: /var/log/ancert/System_2022-06-30_09-35-42.tar
Please send tar log file and ask help from OpenAnolis hardware compatibility team.


Version-Release number of selected component (if applicable):
Anolis OS release 8.6

环境信息:
########################################
[root@localhost ]#cat /etc/*release*
Anolis OS release 8.6
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

Anolis OS release 8.6
Anolis OS release 8.6

########################################
[root@localhost ]#dmidecode |grep -i version
        Version: 3.2.12
        Version: V1
        Version: CS5260Z
        Version: 0
        Version: ZHAOXIN KaiSheng KH-37800D@2.7GHz
        Version: ZHAOXIN KaiSheng KH-37800D@2.7GHz
        String 4: BMC version:3.15.0
        Specification Version: 2.0

########################################
[root@localhost ]# lspci | grep -i ethernet
03:00.0 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (rev 01)
03:00.1 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (rev 01)
03:00.2 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (rev 01)
03:00.3 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (rev 01)
05:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
05:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

########################################
[root@localhost ]# uname -a
Linux localhost.localdomain 4.19.91-26.an8.x86_64 #1 SMP Tue May 24 13:10:09 CST 2022 x86_64 x86_64 x86_64 GNU/Linux

########################################
[root@localhost ]# ifconfig
ens3f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.1.56  netmask 255.255.255.0  broadcast 172.16.1.255
        inet6 fe80::b605:5dff:fea8:e547  prefixlen 64  scopeid 0x20<link>
        ether b4:05:5d:a8:e5:47  txqueuelen 1000  (Ethernet)
        RX packets 13318478  bytes 19092199636 (17.7 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1740828  bytes 122585671 (116.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens3f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether b4:05:5d:a8:e5:48  txqueuelen 1000  (Ethernet)
        RX packets 35  bytes 4212 (4.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3210  bytes 266536 (260.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3210  bytes 266536 (260.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:00:b7:9f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

How reproducible:
安装ancert工具成功后,跑硬件兼容性整机测试即可发现网卡驱动缺失的报错

Steps to Reproduce:
1.下载工具代码:git clone https://gitee.com/anolis/ancert.git
2.安装所有依赖包:
yum install -y make gcc gcc-c++ bc lvm2 fio nvme-cli glx-utils rpm-build alsa-lib alsa-utils xorg-x11-utils xorg-x11-server-utils xorg-x11-apps virt-what smartmontools hdparm

pip3 install pyyaml
3.ancert根路径下执行:sh build_rpm.sh
然后安装ancert rpm(如:rpm -ivh [path]/XXX.rpm)
4.执行测试命令即可复现:
ancert -g System --single_mode

Actual results:
[root@localhost ]#ancert -g System --single_mode

*NOTE*: You are using ancert single testing mode! Single testing mode can't fully verify your
        system compatibility with Anolis OS. If you want to run all tests, please configure LTS
        system, then add option --lts_ip [lts ip address] to ancert.

                        Welcome to use the Ancert!

Log folder: /var/log/ancert/System_2022-06-30_09-35-42

OS Relase: Anolis OS release 8.6
Kernel Version: 4.19.91-26.an8.x86_64

Available:  ZHAOXIN KaiSheng KH-37800D@2.7GHz
Available storage controllers:
        ASMedia Technology Inc. [ahci]
        Zhaoxin ZX-100/ZX-200/ZX-E StorX AHCI Controller [ahci]
Available network controllers:
        Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (10G SFP+ DP EP102Fi4 Adapter) [ixgbe]
Unavailable network controllers:
        Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (Qual-Port Ethernet Network Adaptor SF400T)            [* No Driver *]

Test *FAIL* since following Controller was not claimed any driver, please manually attach driver or ask help from OpenAnolis c           ommunity:
    Beijing Wangxun Technology Co., Ltd. WX1860A4 Gigabit Ethernet Controller (Qual-Port Ethernet Network Adaptor SF400T)
------------------------------------------------------------------
System Test *FAIL*!
Save tar log file to: /var/log/ancert/System_2022-06-30_09-35-42.tar
Please send tar log file and ask help from OpenAnolis hardware compatibility team.

Expected results:
执行"lspci | grep -i ethernet"查到的网卡型号信息对应的网卡驱动本身存在;
或者执行"lsmod |grep [网卡驱动名]"返回驱动结果。

Additional info:
Comment 1 葛立伟 alibaba_cloud_group 2022-09-06 10:44:10 UTC
请道引帮忙看一下这个驱动问题
Comment 2 DuanqiangWen 2023-01-05 11:15:14 UTC
Created attachment 579 [details]
硬件兼容测试结果

硬件兼容测试结果
Comment 3 xunlei alibaba_cloud_group 2023-01-05 15:21:58 UTC
merged:
https://gitee.com/anolis/cloud-kernel/pulls/1043
Comment 4 maqiao alibaba_cloud_group 2023-01-17 15:16:17 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/1043