Public bug reported:
[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_eth-Ubuntu18.04.1-hns3-1.0.2-aarch64.deb but it is only for kernel
4.15.0-29-generic.
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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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-5.4.0-42-generic to
linux-image-4.15.0-xxx-generic (Ubuntu 18.04.5LTS or later).
[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.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1892347
Title:
HiSilicon HNS3 ethernet broken
Status in linux package in Ubuntu:
New
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_eth-Ubuntu18.04.1-hns3-1.0.2-aarch64.deb but it is only for kernel
4.15.0-29-generic.
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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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_ABNORMAL_INT_ST over_8bd_no_fe found
[error status=0x1]
[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-5.4.0-42-generic to
linux-image-4.15.0-xxx-generic (Ubuntu 18.04.5LTS or later).
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1892347/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp