398 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【20.03-LTS-SP3】鲲鹏920机器待机唤醒后网络异常(aarch64)

已完成
缺陷
创建于  
2022-02-25 15:11

【问题描述】
湘江鲲鹏桌面电脑待机唤醒后网络异常,系统唤醒后网络异常现象描述如下:
1) 如果系统网络使用的是DHCP方式,则系统无法获取到ip地址.
2) 如果系统使用的是静态ip地址,则系统无法ping通外部,外部也没法ping通内部.
3) 故障时down掉网卡再up,网络功能不能恢复正常.
4) 去除933b5fc092f67cd4f7bdde31da20b2f211a071b8和2f554490fcd189fd7a49d5dac95742a8e89b43d0两次提交内容,测试功能也是不正常.
关联故障: #I4V86A:【20.03-LTS-SP3】计算机概率性待机唤醒后网络异常(X86)
5) 使用UOS系统安装测试,功能正常,使用UOS kernel + openEuler系统测试功能也是正常的.

【硬件信息】

  1. 台式机: 湘江鲲鹏

  2. Processor Information:
    Socket Designation: CPU0
    Type: Central Processor
    Family: ARM
    Manufacturer: HUAWEI
    ID: 10 D0 1F 48 00 00 00 00
    Signature: Implementor 0x48, Variant 0x1, Architecture 15, Part 0xd01, Revision 0
    Version: HUAWEI Kunpeng 920
    Voltage: 0.9 V
    External Clock: 100 MHz
    Max Speed: 2600 MHz
    Current Speed: 2600 MHz
    Status: Populated, Enabled
    Upgrade: Unknown
    L1 Cache Handle: Not Provided
    L2 Cache Handle: Not Provided
    L3 Cache Handle: Not Provided
    Serial Number: NULL
    Asset Tag: NULL
    Part Number: NULL
    Core Count: 8
    Core Enabled: 8
    Thread Count: 8

【软件信息】

  1. OS版本及分支:openEuler-20.03-LTS-SP3

  2. openEuler-latest系统信息:
    openeulerversion=openEuler-20.03-LTS-SP3
    compiletime=2022-01-29-12-01-40
    gccversion=7.3.0-20211227.44.oe1
    kernelversion=4.19.90-2201.4.0.0135.oe1
    openjdkversion=1.8.0.312.b07-10.oe1

  3. 内核版本: 4.19.90-2202.3.0.0138.oe1.aarch64

【问题复现步骤】
1、配置系统网络为dhcp方式.
2、执行systemctl suspend命令让系统休眠.
3、系统休眠成功后唤醒系统.
4、ifconfig查看系统ip,系统一直获取不到ip地址.
出现概率:100%
补充: 故障时,如果系统使用的是静态ip地址,则系统无法ping通外部,外部也没法ping通内部.

【预期结果】
待机唤醒后网络正常

【实际结果】
待机唤醒后网络不正常

【附件信息】

  1. 网卡pci信息
    #lspci -v
    7d:00.0 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE RDMA Network Controller (rev 21)
    Subsystem: Huawei Technologies Co., Ltd. Device 0000
    Flags: bus master, fast devsel, latency 0
    Memory at 120200000 (64-bit, prefetchable) [size=64K]
    Memory at 120000000 (64-bit, prefetchable) [size=1M]
    Capabilities: [40] Express Endpoint, MSI 00
    Capabilities: [a0] MSI-X: Enable+ Count=131 Masked-
    Capabilities: [b0] Power Management version 3
    Capabilities: [100] Access Control Services
    Capabilities: [200] Single Root I/O Virtualization (SR-IOV)
    Capabilities: [300] Transaction Processing Hints
    Capabilities: [450] Alternative Routing-ID Interpretation (ARI)
    Kernel driver in use: hns3
    Kernel modules: hns3, hclge, hns_roce_hw_v2

7d:00.1 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE Network Controller (rev 21)
Subsystem: Huawei Technologies Co., Ltd. Device 0000
Flags: bus master, fast devsel, latency 0
Memory at 120210000 (64-bit, prefetchable) [size=64K]
Memory at 120100000 (64-bit, prefetchable) [size=1M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [a0] MSI-X: Enable+ Count=131 Masked-
Capabilities: [b0] Power Management version 3
Capabilities: [100] Access Control Services
Capabilities: [200] Single Root I/O Virtualization (SR-IOV)
Capabilities: [300] Transaction Processing Hints
Capabilities: [450] Alternative Routing-ID Interpretation (ARI)
Kernel driver in use: hns3
Kernel modules: hns3, hclge

2)网卡id信息
#lspci -n
7d:00.0 0200: 19e5:a222 (rev 21)
7d:00.1 0200: 19e5:a221 (rev 21)

【目前为止的定位信息】

  1. 故障时down掉网卡再up,网络功能不能恢复正常.
  2. 去除933b5fc092f67cd4f7bdde31da20b2f211a071b8和2f554490fcd189fd7a49d5dac95742a8e89b43d0两次提交内容,测试功能也是不正常.
    关联故障: #I4V86A:【20.03-LTS-SP3】计算机概率性待机唤醒后网络异常(X86)
  3. 使用kernel org v4.19.230版本测试,功能异常.
  4. 使用UOS系统安装测试,功能正常
  5. 使用UOS kernel + openEuler系统测试功能也是正常的.

评论 (3)

刘达林 创建了缺陷

Hi liu_darling, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @YangYingliang , @pi3orama , @成坚 (CHENG Jian) , @Qiuuuuu , @zhengzengkai , @gogooo , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签
刘达林 修改了描述
刘达林 修改了描述
刘达林 修改了描述

请问这个问题解决了吗?如果还能复现可以用ethtool看下异常时网口的状态

sanglipeng 负责人设置为sanglipeng
sanglipeng 任务状态待办的 修改为已完成
sanglipeng 添加协作者sanglipeng
sanglipeng 负责人sanglipeng 修改为zhangchangzhong

关闭重复issue

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助