** Description changed:

- A number of HiSilicon patches were backported in
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1810457 from
- 5.0rc1.
+ [Impact]
+ The 1G NICs on the Huawei XR320 system do not detect link on initial boot, 
resulting in broken networking. This is a regression caused by:
  
- Subsequently, I lost networking on my Huawei TaiShan XR320 boards.
+   308c6cafde01 ("net: hns: All ports can not work when insmod hns ko
+ after rmmod.")
  
- There are 6 commits to drivers/net/ethernet/hisilicon/hns between 5.0rc1
- and (current) 5.0rc8 - and I know my networking works fine with a 5.0rc8
- mainline build.
+ While that fixed an issue with phys after reloading the driver, it
+ caused an issue with some phys on initial load.
  
- Can we do another update run for the next 4.15.0 kernel service release,
- to include HiSilicon changes from 5.0rc8?
+ [Test Case]
+ dmesg | grep "hns-nic HISI00C2:02 enahisic2i2: link up"
+ (With enahisic2i2 properly wired up)
  
- CC @dannf
- --- 
- AlsaDevices:
-  total 0
-  crw-rw----+ 1 root audio 116,  1 Mar  6 10:17 seq
-  crw-rw----+ 1 root audio 116, 33 Mar  6 10:17 timer
- AplayDevices: Error: [Errno 2] No such file or directory
- ApportVersion: 2.20.1-0ubuntu2.18
- Architecture: arm64
- ArecordDevices: Error: [Errno 2] No such file or directory
- AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
- DistroRelease: Ubuntu 16.04
- HibernationDevice: RESUME=UUID=1422a627-9a9e-4928-ae58-8c33759cd27f
- IwConfig: Error: [Errno 2] No such file or directory
- MachineType: Huawei XR320
- Package: linux (not installed)
- PciMultimedia:
-  
- ProcEnviron:
-  TERM=linux
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- ProcFB: 0 hibmcdrmfb
- ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic 
root=UUID=55387aff-49ec-4252-80e0-c77e039d342f ro
- ProcVersionSignature: Ubuntu 4.15.0-43.46~16.04.1-generic 4.15.18
- RelatedPackageVersions:
-  linux-restricted-modules-4.15.0-43-generic N/A
-  linux-backports-modules-4.15.0-43-generic  N/A
-  linux-firmware                             1.157.21
- RfKill: Error: [Errno 2] No such file or directory
- Tags:  xenial xenial xenial xenial
- Uname: Linux 4.15.0-43-generic aarch64
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups:
-  
- _MarkForUpload: True
- dmi.bios.date: 08/07/2018
- dmi.bios.vendor: Huawei
- dmi.bios.version: 1.54
- dmi.board.asset.tag: To be filled by O.E.M.
- dmi.board.name: BC81HPNA
- dmi.board.vendor: Huawei
- dmi.board.version: VER.A
- dmi.chassis.asset.tag: To be filled by O.E.M.
- dmi.chassis.type: 17
- dmi.chassis.vendor: Huawei
- dmi.chassis.version: To be filled by O.E.M.
- dmi.modalias: 
dmi:bvnHuawei:bvr1.54:bd08/07/2018:svnHuawei:pnXR320:pvrV100R001C00:rvnHuawei:rnBC81HPNA:rvrVER.A:cvnHuawei:ct17:cvrTobefilledbyO.E.M.:
- dmi.product.family: To be filled by O.E.M.
- dmi.product.name: XR320
- dmi.product.version: V100R001C00
- dmi.sys.vendor: Huawei
+ [Fix]
+ This was addressed by upstream commit c77804be53369 ("net: hns: Fix WARNING 
when hns modules installed"). While the commit message suggests this was for a 
separate issue that we are not seeing (a WARNING message), it also resolves 
this issue.
+ 
+ [Regression Risk]
+ Restricted to the hns driver, which is only used by certain HiSilicon SOCs.

-- 
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/1818294

Title:
  HiSilicon HNS ethernet broken in 4.15.0-45

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Cosmic:
  In Progress
Status in linux source package in Disco:
  Fix Released

Bug description:
  [Impact]
  The 1G NICs on the Huawei XR320 system do not detect link on initial boot, 
resulting in broken networking. This is a regression caused by:

    308c6cafde01 ("net: hns: All ports can not work when insmod hns ko
  after rmmod.")

  While that fixed an issue with phys after reloading the driver, it
  caused an issue with some phys on initial load.

  [Test Case]
  dmesg | grep "hns-nic HISI00C2:02 enahisic2i2: link up"
  (With enahisic2i2 properly wired up)

  [Fix]
  This was addressed by upstream commit c77804be53369 ("net: hns: Fix WARNING 
when hns modules installed"). While the commit message suggests this was for a 
separate issue that we are not seeing (a WARNING message), it also resolves 
this issue.

  [Regression Risk]
  Restricted to the hns driver, which is only used by certain HiSilicon SOCs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818294/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to