HiSilicon HNS3 ethernet broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Incomplete
|
Undecided
|
Unassigned | ||
Ubuntu-18.04 |
Incomplete
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The TM210 (verified) and TM280 (probably) driver hns3 is broken in Ubuntu 18.04.5 LTS kernel 4.15.0-112-generic. Server Huawei TM200-2280 with Kunpeng920 SOCs. Huawei provides binary distributed driver NIC-hisi_
root@n012:~# uname -ar
Linux n012 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:42:54 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
root@n012:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
root@n012:~# dmesg |grep hns3
[ 3.775711] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 3.789796] hns3: Copyright (c) 2017 Huawei Corporation.
[ 4.295868] hns3 0000:7d:00.0: The firmware version is 01092806
[ 4.395325] hns3 0000:7d:00.0 eth0: No phy led trigger registered for speed(-1)
[ 4.498584] hns3 0000:7d:00.1: The firmware version is 01092806
[ 4.634770] hns3 0000:7d:00.1 eth1: No phy led trigger registered for speed(-1)
[ 4.671546] hns3 0000:7d:00.2: The firmware version is 01092806
[ 4.791311] hns3 0000:7d:00.2 eth2: No phy led trigger registered for speed(-1)
[ 4.813538] hns3 0000:7d:00.3: The firmware version is 01092806
[ 4.915305] hns3 0000:7d:00.3 eth3: No phy led trigger registered for speed(-1)
[ 4.937256] hns3 0000:bd:00.0: The firmware version is 01092806
[ 4.994060] hns3 0000:bd:00.1: The firmware version is 01092806
[ 5.049951] hns3 0000:bd:00.2: The firmware version is 01092806
[ 5.107165] hns3 0000:bd:00.3: The firmware version is 01092806
[ 5.159285] hns3 0000:7d:00.0 enp125s0f0: renamed from eth0
[ 5.379348] hns3 0000:bd:00.2 enp189s0f2: renamed from eth6
[ 5.435880] hns3 0000:bd:00.1 enp189s0f1: renamed from eth5
[ 5.903915] hns3 0000:7d:00.3 enp125s0f3: renamed from eth3
[ 5.999350] hns3 0000:7d:00.1 enp125s0f1: renamed from eth1
[ 6.155353] hns3 0000:7d:00.2 enp125s0f2: renamed from eth2
[ 6.295332] hns3 0000:bd:00.0 enp189s0f0: renamed from eth4
[ 6.443835] hns3 0000:bd:00.3 enp189s0f3: renamed from eth7
[ 18.031167] hns3 0000:7d:00.0 enp125s0f0: link up
[77661.965968] beegfs: enabling unsafe global rkey
[79999.642438] hns3 0000:7d:00.0: PPU_PF_
[79999.642466] hns3 0000:7d:00.0: PF Reset requested
[79999.642491] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[79999.650298] hns3 0000:7d:00.0: inform reset to vf(1) failed -5!
[79999.650315] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[79999.654571] hns3 0000:7d:00.0: inform reset to vf(2) failed -5!
[79999.654588] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[79999.658807] hns3 0000:7d:00.0: inform reset to vf(3) failed -5!
[79999.689650] hns3 0000:7d:00.0 enp125s0f0: link down
[79999.797516] hns3 0000:7d:00.0: prepare wait ok
[79999.908488] hns3 0000:7d:00.0: The firmware version is 01092806
[79999.915807] hns3 0000:7d:00.0: Reset done, hclge driver initialization finished.
[79999.945923] hns3 0000:7d:00.0: PPU_PF_
[79999.945976] hns3 0000:7d:00.0: PF Reset requested
[79999.946065] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[79999.950200] hns3 0000:7d:00.0: inform reset to vf(1) failed -5!
[79999.950218] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[79999.954274] hns3 0000:7d:00.0: inform reset to vf(2) failed -5!
[79999.954292] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[79999.958067] hns3 0000:7d:00.0: inform reset to vf(3) failed -5!
[80000.093493] hns3 0000:7d:00.0: prepare wait ok
[80000.203854] hns3 0000:7d:00.0: The firmware version is 01092806
[80000.210947] hns3 0000:7d:00.0: Reset done, hclge driver initialization finished.
[80001.269514] hns3 0000:7d:00.0 enp125s0f0: link up
[80001.269832] hns3 0000:7d:00.0: PPU_PF_
[80001.269858] hns3 0000:7d:00.0: PF Reset requested
[80001.269881] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80001.273380] hns3 0000:7d:00.0: inform reset to vf(1) failed -5!
[80001.273401] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80001.276876] hns3 0000:7d:00.0: inform reset to vf(2) failed -5!
[80001.276902] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80001.280295] hns3 0000:7d:00.0: inform reset to vf(3) failed -5!
[80001.305621] hns3 0000:7d:00.0 enp125s0f0: link down
[80001.413473] hns3 0000:7d:00.0: prepare wait ok
[80001.523836] hns3 0000:7d:00.0: The firmware version is 01092806
[80001.530925] hns3 0000:7d:00.0: Reset done, hclge driver initialization finished.
[80002.581453] hns3 0000:7d:00.0 enp125s0f0: link up
[80002.869622] hns3 0000:7d:00.0: PPU_PF_
[80002.869649] hns3 0000:7d:00.0: PF Reset requested
[80002.869688] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80002.872958] hns3 0000:7d:00.0: inform reset to vf(1) failed -5!
[80002.872980] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80002.876161] hns3 0000:7d:00.0: inform reset to vf(2) failed -5!
[80002.876187] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80002.879278] hns3 0000:7d:00.0: inform reset to vf(3) failed -5!
[80002.905600] hns3 0000:7d:00.0 enp125s0f0: link down
[80003.013444] hns3 0000:7d:00.0: prepare wait ok
[80003.123765] hns3 0000:7d:00.0: The firmware version is 01092806
[80003.131051] hns3 0000:7d:00.0: Reset done, hclge driver initialization finished.
[80004.181481] hns3 0000:7d:00.0 enp125s0f0: link up
[80006.229759] hns3 0000:7d:00.0: PPU_PF_
[80006.229785] hns3 0000:7d:00.0: PF Reset requested
[80006.229808] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80006.232868] hns3 0000:7d:00.0: inform reset to vf(1) failed -5!
[80006.232889] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80006.235955] hns3 0000:7d:00.0: inform reset to vf(2) failed -5!
[80006.235980] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80006.238986] hns3 0000:7d:00.0: inform reset to vf(3) failed -5!
[80006.265515] hns3 0000:7d:00.0 enp125s0f0: link down
[80006.373383] hns3 0000:7d:00.0: prepare wait ok
[80006.483732] hns3 0000:7d:00.0: The firmware version is 01092806
[80006.490824] hns3 0000:7d:00.0: Reset done, hclge driver initialization finished.
[80007.541401] hns3 0000:7d:00.0 enp125s0f0: link up
[80013.141464] hns3 0000:7d:00.0: PPU_PF_
[80013.141489] hns3 0000:7d:00.0: PF Reset requested
[80013.141528] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80013.144375] hns3 0000:7d:00.0: inform reset to vf(1) failed -5!
[80013.144396] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80013.147296] hns3 0000:7d:00.0: inform reset to vf(2) failed -5!
[80013.147319] hns3 0000:7d:00.0: PF failed(=-5) to send mailbox message to VF
[80013.150041] hns3 0000:7d:00.0: inform reset to vf(3) failed -5!
[80013.177392] hns3 0000:7d:00.0 enp125s0f0: link down
[80013.285261] hns3 0000:7d:00.0: prepare wait ok
[80013.395611] hns3 0000:7d:00.0: The firmware version is 01092806
[80013.402701] hns3 0000:7d:00.0: Reset done, hclge driver initialization finished.
[80014.453270] hns3 0000:7d:00.0 enp125s0f0: link up
[Test Case]
dmesg | egrep -i -e "hns3|enp125s0f0"
[81688.574030] hns3 0000:7d:00.0 enp125s0f0: link up
[81694.458120] hns3 0000:7d:00.0 enp125s0f0: link down
[81695.741981] hns3 0000:7d:00.0 enp125s0f0: link up
[81708.794075] hns3 0000:7d:00.0 enp125s0f0: link down
[81710.077966] hns3 0000:7d:00.0 enp125s0f0: link up
[81738.489985] hns3 0000:7d:00.0 enp125s0f0: link down
[81743.869872] hns3 0000:7d:00.0 enp125s0f0: link up
[Fix]
Backport hns3 driver from linux-hwe linux-image-
[Regression Risk]
Restricted to the hns3 driver, which is only used by certain HiSilicon SOCs.
Other software dependencies (BeeGFS) does not currently allow us to upgrade to 5.x kernels.
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Aug 21 11:55 seq
crw-rw---- 1 root audio 116, 33 Aug 21 11:55 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.16
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2020-05-24 (88 days ago)
InstallationMedia: Ubuntu-Server 18.04.4 LTS "Bionic Beaver" - Release arm64 (20200203.1)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Huawei TaiShan 200 (Model 2280)
Package: linux (not installed)
PciMultimedia:
ProcFB:
0 EFI VGA
1 hibmcdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.19
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic
Uname: Linux 4.15.0-112-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: video
_MarkForUpload: True
dmi.bios.date: 07/04/2020
dmi.bios.vendor: Huawei Corp.
dmi.bios.version: 1.38
dmi.board.
dmi.board.name: BC82AMDD
dmi.board.vendor: Huawei
dmi.board.version: V200R002C00
dmi.chassis.
dmi.chassis.type: 17
dmi.chassis.vendor: Huawei
dmi.chassis.
dmi.modalias: dmi:bvnHuaweiCo
dmi.product.family: To be filled by O.E.M.
dmi.product.name: TaiShan 200 (Model 2280)
dmi.product.
dmi.sys.vendor: Huawei
Changed in kunpeng920: | |
status: | New → Incomplete |
Note! ntttcp is not sufficient to trigger issue. Some heavy MPI or NFS traffic is needed to trigger issue.