[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread dann frazier
@directhex: Are you able to test this on your XR320? I've regression tested on a HiSilicon D05 which uses the same driver (it worked before, still works now). ubuntu@d05-5:~$ cat /proc/version Linux version 4.15.0-47-generic (buildd@bos02-arm64-022) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-16ubunt

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread Jo Shields
I've scheduled downtime on a host, it'll take an hour or two before I can reboot into a test kernel -- 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 b

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread Jo Shields
This appears to not be included in 4.15.0-47-generic? I'm offline with the kernel, and can't see anything useful in changelog.Debian.gz -- 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/181829

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread Jo Shields
I'm an idiot and should have been trying the version from -proposed, of course. Working on it -- 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

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread Jo Shields
OK, yes, confirmed I have ethernet with 4.15.0-48.51 -- 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

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-23 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.18.0-18.19 --- linux (4.18.0-18.19) cosmic; urgency=medium * linux: 4.18.0-18.19 -proposed tracker (LP: #1822796) * Packaging resync (LP: #1786013) - [Packaging] update helper scripts - [Packaging] resync retpoline extraction

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-24 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-48.51 --- linux (4.15.0-48.51) bionic; urgency=medium * linux: 4.15.0-48.51 -proposed tracker (LP: #1822820) * Packaging resync (LP: #1786013) - [Packaging] update helper scripts - [Packaging] resync retpoline extraction

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-05 Thread directhex
I still don't have remote hands on my server (!), but I've been able to extract a little more info by cross-referencing another server & checking the kernel git logs: * There are two ethernet drivers, `hns` for first-gen and `hns3` for third-gen. No I don't know what happened to second-gen * The

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-05 Thread directhex
directhex@breakfast:/tmp/linux$ git diff --pretty=oneline v5.0-rc1..v5.0-rc8 -- drivers/net/ethernet/hisilicon/hns/ | diffstat hns_ae_adapt.c |6 ++ hns_dsaf_main.c |5 + hns_enet.c | 22 -- hns_ethtool.c | 16 +--- 4 files changed, 28 i

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-05 Thread dann frazier
I don't think we yet know that one of the changes between 5.0-rc1 & 5.0-rc8 would fix this. It could be an issue with the backport, or a change in a different subsystem. But, as a test, I went ahead and backported the hns changes to a PPA: https://launchpad.net/~dannf/+archive/ubuntu/xr320 If tha

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-05 Thread dann frazier
** Changed in: linux (Ubuntu Bionic) Status: New => Incomplete ** Changed in: linux (Ubuntu Cosmic) Status: New => Incomplete -- 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/1

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
My remote hands seem to be on vacation this week, so I'm bringing another machine out of service to use for testing. Should get the apport logs by the end of today. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://b

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
I can't actually use `apport-collect` without an internet connection, of course, so can't use it when booted to a "bad" kernel And `apport-bug linux` seems to only collect a fraction of the requisite logs. I'll attach a "good" boot, at least, then try your PPA kernel. -- You received this bug n

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
apport information ** Tags added: apport-collected xenial ** Description changed: A number of HiSilicon patches were backported in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1810457 from 5.0rc1. Subsequently, I lost networking on my Huawei TaiShan XR320 boards. There ar

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
(I'd love to know how to convince apport-bug to collect A these logs when offline, it seems to only grab the package list when I try it) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bu

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
OK, I have functioning networking with 4.15.0-45.48+xr320.1 -- 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 pack

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
Aha, cracked it - had to copy the source_linux.py hook to source_linux- hwe.py. Will attach apport from "bad" kernel -- 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: HiSilic

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
Nope, never mind, the docs on the Ubuntu wiki are wrong and it's now impossible to attach an apport report offline (apport-collect is now mandatory for existing bugs, and does not allow passing an apport file as a parameter) I'll get & attach dmesg. -- You received this bug notification because

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
dmesg - the only difference from a "good" boot is the absence of "hns- nic HISI00C2:02 enahisic2i2: link up" ** Attachment added: "dmesg.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818294/+attachment/5244169/+files/dmesg.txt -- You received this bug notification because you ar

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread directhex
Looks like it's 4 hours per build, so I'll give it a shot in the morning. Thanks for your help with the bisect - after v5.0-rc1 mainline failed to boot, I was worried about doing the bisect via 5.0 release candidate mainline builds -- You received this bug notification because you are a member o

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread directhex
bisect 4.15.0-45.48+xr320.2 good So the fix is in one of 263c6d75f9a544a3c2f8f6a26de4f4808d8f59cf, bb989501abcafa0de5f18b0ec0ec459b5b817908 or c77804be53369dd4c15bfc376cf9b45948194cab -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread directhex
I am online with +xr320.3 So the fix is c77804be53369dd4c15bfc376cf9b45948194cab ? The commit message doesn't make it _seem_ relevant, except for the reference to 2b3e88ea65287ba738a798622405b15344871085 which makes it seem like maybe prior to c77804be53369dd4c15bfc376cf9b45948194cab the state ch

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread directhex
- if (h->phy_if == PHY_INTERFACE_MODE_SGMII) - phy_stop(phy_dev); ... if the interface supports sgmii, disable the device? Or am I reading that wrong -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. htt

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread dann frazier
** Changed in: linux (Ubuntu Disco) Status: Incomplete => Fix Released ** Changed in: linux (Ubuntu Cosmic) Assignee: (unassigned) => dann frazier (dannf) ** Changed in: linux (Ubuntu Bionic) Assignee: (unassigned) => dann frazier (dannf) ** Changed in: linux (Ubuntu Cosmic)

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread dann frazier
@directhex: Would you mind also testing a build of the HWE kernel? http://people.canonical.com/~dannf/lp1818294/hwe/ -- 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: HiSili

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-08 Thread directhex
@dannf this 4.18.0 HWE build works for me. builder@xam-taishan-4:~$ uname -a Linux xam-taishan-4 4.18.0-16-generic #17 SMP Thu Mar 7 21:31:17 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux builder@xam-taishan-4:~$ ping -c 1 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: i

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-08 Thread dann frazier
** Changed in: linux (Ubuntu Cosmic) Importance: Undecided => Critical ** Changed in: linux (Ubuntu Bionic) Importance: Undecided => Critical -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.ne

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-08 Thread dann frazier
** 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 cau

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-08 Thread Jo Shields
This'll filter through to the HWE kernel in Xenial without needing to be individually tracked in this bug (or a new one), right? -- 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 Titl

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-27 Thread Khaled El Mously
** Changed in: linux (Ubuntu Bionic) Status: In Progress => Fix Committed ** Changed in: linux (Ubuntu Cosmic) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bug

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-01 Thread dann frazier
Meanwhile, can you confirm whether or not this impacts the 4.18-based HWE kernel in 18.04? See: https://wiki.ubuntu.com/Kernel/LTSEnablementStack -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/b

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-01 Thread dann frazier
Thanks for subscribing me. I'd like to get to the bottom of your specific issue and get that addressed vs. dumping a bunch more patches in and hoping it fixes it. To aide in that, can you provide additional information about the issue? There should be an auto-update to this bug soon that provides a

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-01 Thread directhex
I will, as soon as possible - but the 5.0rc1 mainline build has totally failed to boot, and I'm stuck waiting on remote hands before I can get more investigation done. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https:

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-04 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verifica

[Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-04 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- cosmic' to 'verification-done-cosmic'. If the problem still exists, change the tag 'verifica

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread dann frazier
On Tue, Apr 16, 2019 at 1:50 PM Jo Shields wrote: > > OK, yes, confirmed I have ethernet with 4.15.0-48.51 Awesome, thanks! -- 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:

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-04-16 Thread dann frazier
On Tue, Apr 16, 2019 at 1:26 PM Jo Shields wrote: > > I'm an idiot and should have been trying the version from -proposed, of > course. Working on it Whups, yeah - so was I :) I thought for sure I had enabled -proposed on my D05 Anyway, I was also an idiot and didn't realize I could just chec

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread dann frazier
On Wed, Mar 6, 2019 at 11:25 AM directhex wrote: > > I can't actually use `apport-collect` without an internet connection, of > course, so can't use it when booted to a "bad" kernel Could you save 'dmesg' output of the bad kernel to a file and upload that once you reboot to working networking? -

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-06 Thread dann frazier
On Wed, Mar 6, 2019 at 1:10 PM directhex wrote: > > dmesg - the only difference from a "good" boot is the absence of "hns- > nic HISI00C2:02 enahisic2i2: link up" OK, thanks. Unfortunately, there's no smoking gun there, so I've started a bisect and uploaded another test kernel to https://launchpa

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread dann frazier
On Thu, Mar 7, 2019 at 7:45 AM directhex wrote: > > bisect 4.15.0-45.48+xr320.2 good > > So the fix is in one of 263c6d75f9a544a3c2f8f6a26de4f4808d8f59cf, > bb989501abcafa0de5f18b0ec0ec459b5b817908 or > c77804be53369dd4c15bfc376cf9b45948194cab Thanks. I'll just hand build the rest to save time. H

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-07 Thread dann frazier
On Thu, Mar 7, 2019 at 1:20 PM directhex wrote: > > I am online with +xr320.3 > > So the fix is c77804be53369dd4c15bfc376cf9b45948194cab ? Apparently. > The commit message doesn't make it _seem_ relevant, except for the > reference to 2b3e88ea65287ba738a798622405b15344871085 which makes it > see

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-08 Thread dann frazier
On Fri, Mar 8, 2019 at 10:05 AM directhex wrote: > > @dannf this 4.18.0 HWE build works for me. > > builder@xam-taishan-4:~$ uname -a > Linux xam-taishan-4 4.18.0-16-generic #17 SMP Thu Mar 7 21:31:17 UTC 2019 > aarch64 aarch64 aarch64 GNU/Linux > builder@xam-taishan-4:~$ ping -c 1 8.8.8.8 > PING

Re: [Kernel-packages] [Bug 1818294] Re: HiSilicon HNS ethernet broken in 4.15.0-45

2019-03-08 Thread dann frazier
On Fri, Mar 8, 2019 at 2:00 PM Jo Shields wrote: > > This'll filter through to the HWE kernel in Xenial without needing to be > individually tracked in this bug (or a new one), right? That is correct. -- You received this bug notification because you are a member of Kernel Packages, which is su