[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-10-11 Thread Guilherme G. Piccoli
You're very welcome Guo! I'll mark this as resolved, in case you have questions,
feel free to comment here.

Cheers,


Guilherme

** Changed in: linux (Ubuntu)
   Status: Triaged => Fix Released

** Changed in: linux (Ubuntu Bionic)
   Status: Triaged => Fix Released

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-10-10 Thread Guo Yaowen
hi Guilherme,
Get it! Thank you very much for your support.

Guo Yaowen

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-10-08 Thread Guilherme G. Piccoli
Hi Guo, the Ubuntu kernels schedule can be checked here:
https://wiki.ubuntu.com/Kernel/Support .

Ubuntu kernel team chooses a kernel version for a specific release, and
once that release is available, there's a support schedule. Some
versions have long-term support, so they're called LTS.

In particular, the ascending list of Ubuntu kernel starting in 4.4 is:
4.4(*), 4.8, 4.10, 4.13, 4.15(*) and now, to be released this month with
Ubuntu 18.10, 4.18(*). The versions with asterisks are officially
supported (or to be supported, in case of 4.18).

Notice that version 4.17 was never a supported version for any Ubuntu release, 
so there is no official package for it. The LTS versions of Ubuntu (like 14.04, 
16.04 and 18.04) receive kernel updates in form of the HWE kernel packages 
(https://wiki.ubuntu.com/Kernel/LTSEnablementStack), so you can for example get 
v4.15 in Ubuntu 16.04 (although its release version is 4.4).
Notice the HWE releases are supported for 6 months, and then superseded by the 
latest HWE. Except the final HWE kernel, which is supported until Ubuntu's 
release end-of-life (4.15 , for example, is supported in 16.04 until it's EOL, 
in 2021).

That said, my suggestion is to use v4.15, which is the latest supported
version, and fixes your problem. You can use v4.18 without support right
now in 18.04 (from kernel team's unstable PPA) - it'll be the official
release for Ubuntu 18.10, and the first HWE for Ubuntu 18.04 (in
February, probably). Version 4.18 is not supported (and will never be)
for 16.04.

About RAC, I don't know what it means - can you clarify?
If you still have any questions about the kernel versions, let me know.
Cheers,


Guilherme

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-10-07 Thread Guo Yaowen
hi Guilherme,
I couldn't find a normal Linux-image package in 4.17 and 4.17-rac4, just a 
package with unsigned. Could you please tell me  if this package is available. 

  linux-headers-4.17.0-041700_4.17.0-041700.201806041953_all.deb
   linux-headers-4.17.0-041700-generic_4.17.0-041700.201806041953_amd64.deb
   linux-headers-4.17.0-041700-lowlatency_4.17.0-041700.201806041953_amd64.deb
   
//linux-image-unsigned-4.17.0-041700-generic_4.17.0-041700.201806041953_amd64.deb
   
//linux-image-unsigned-4.17.0-041700-lowlatency_4.17.0-041700.201806041953_amd64.deb
   linux-modules-4.17.0-041700-generic_4.17.0-041700.201806041953_amd64.deb
   linux-modules-4.17.0-041700-lowlatency_4.17.0-041700.201806041953_amd64.deb



By the way, can you tell me the relation between the kernel with RAC and the 
kernel without RAC? 

Thanks,
Guo Yaowen

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-10-02 Thread Guilherme G. Piccoli
I've just tested a mainline kernel version 4.17.0, and nvme names didn't
float when using the kernel parameter "nvme_core.multipath=0", which
reinforces that the fix patch is present in 4.17, so Guo: I guess your
4.17 version is really based on 4.17-rc1.

Let me know if there's anything else to investigate in this LP. In my
understanding, we did have a bug after the nvme multipath introduction,
but now kernel has a fix which is available upstream after kernel v4.17,
and available in Ubuntu kernel 4.15.x series, after 4.15.0-34. To keep
the nvme naming behavior as before, we need to use the kernel parameter
"nvme_core.multipath=0".

Thanks,


Guilherme

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-10-01 Thread Guilherme G. Piccoli
Hi Guo, thanks for your tests!

So, to confirm:

a) With Ubuntu kernel 4.15.0-34, using the kernel parameter
"nvme_core.multipath=0", you _don't_ see the issue;

b) With kernel 4.17.0-041700rc1-generic, even using the parameter
"nvme_core.multipath=0", you *can reproduce* the issue.

Right?


I've noticed that the fix patch is present in v4.17-rc4, but I see a "rc1" in 
your kernel version - it could explain why even in this 4.17 version you can 
reproduce the issue.
I'll build an upstream 4.17 and re-test in my environment, to double-check if 
it fixes for me.

Cheers,


Guilherme

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-29 Thread Guo Yaowen
hi Guilherme,

I upgraded to version 34 of the Ubuntu kernel with the "apt-get upgrade"
command, and the problem was solved. So I think the kernel version of
the kernel.ubuntu.com site doesn't fit into the patch, so can we say
that it's Ubuntu's own behavior?

Thanks,
Guo Yaowen

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-28 Thread Guo Yaowen
hi Guilherme,
I have tested kernel 4.17.0,but the issuse is same.The 4.17.0 testing results 
are as below:
uname -r
4.17.0-041700rc1-generic

cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.17.0-041700rc1-generic 
root=UUID=3e875566-3c1b-4bda-a869-6eb59ff1624a ro nvme_core.multipath=0

ls -l /sys/block/*
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop0 -> 
../devices/virtual/block/loop0
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop1 -> 
../devices/virtual/block/loop1
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop2 -> 
../devices/virtual/block/loop2
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop3 -> 
../devices/virtual/block/loop3
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop4 -> 
../devices/virtual/block/loop4
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop5 -> 
../devices/virtual/block/loop5
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop6 -> 
../devices/virtual/block/loop6
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/loop7 -> 
../devices/virtual/block/loop7
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/nvme0n1 -> 
../devices/pci:80/:80:03.2/:83:00.0/nvme/nvme2/nvme0n1
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/nvme1n1 -> 
../devices/pci:80/:80:03.3/:84:00.0/nvme/nvme3/nvme1n1
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/nvme1n2 -> 
../devices/pci:80/:80:03.3/:84:00.0/nvme/nvme3/nvme1n2
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/nvme2n1 -> 
../devices/pci:80/:80:03.1/:82:00.0/nvme/nvme1/nvme2n1
lrwxrwxrwx 1 root root 0 Sep 29 11:19 /sys/block/nvme3n1 -> 
../devices/pci:80/:80:03.0/:81:00.0/nvme/nvme0/nvme3n1


Or can you provide a download link for the Ubuntu kernel? Let me do the same 
test. 

Thanks,
Guo Yaowen

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-28 Thread Guilherme G. Piccoli
Hi Mao, I see...the partner is not using a regular Ubuntu build.
This patch was introduced upstream in kernel 4.17, so it's not present in a 
regular 4.15 or 4.16. It is present in our Ubuntu kernel though, because it was 
backported and added, but I can't guarantee it's present in the custom kernels 
the partner is using.

Some alternatives for us to resolve this issue:

a) If I could access the source tree of the partner kernel, I can check
and even add myself the patch in case it's not there;

b) The partner could test Ubuntu official kernel 4.15.0-34;

c) The partner could test upstream kernel 4.17 (or 4.18).

Preference is alternative (b), but (c) is ok too. The first alternative is the 
least preferred.
Cheers,


Guilherme

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-27 Thread Zhanglei Mao
hi Guilherme,

The partner have tested both for 4.16.0 and 4.15.1 ( I guess it is newer than 
4.15.0-34), it was reported that the issues is same. The 4.15.1 testing results 
are as below:
zlmao@zlmao-T460s:~/tmp$ cat test_result.txt 
uname -r
4.15.1-041501-generic

cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.1-041501-generic 
root=UUID=3e875566-3c1b-4bda-a869-6eb59ff1624a ro nvme_core.multipath=0

ls -l /sys/block/*
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop0 -> 
../devices/virtual/block/loop0
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop1 -> 
../devices/virtual/block/loop1
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop2 -> 
../devices/virtual/block/loop2
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop3 -> 
../devices/virtual/block/loop3
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop4 -> 
../devices/virtual/block/loop4
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop5 -> 
../devices/virtual/block/loop5
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop6 -> 
../devices/virtual/block/loop6
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/loop7 -> 
../devices/virtual/block/loop7
lrwxrwxrwx 1 root root 0 Sep 28 10:13 /sys/block/nvme0n1 -> 
../devices/pci:80/:80:03.2/:83:00.0/nvme/nvme2/nvme0n1
lrwxrwxrwx 1 root root 0 Sep 28 10:13 /sys/block/nvme1n1 -> 
../devices/pci:80/:80:03.3/:84:00.0/nvme/nvme3/nvme1n1
lrwxrwxrwx 1 root root 0 Sep 28 10:09 /sys/block/nvme1n2 -> 
../devices/pci:80/:80:03.3/:84:00.0/nvme/nvme3/nvme1n2
lrwxrwxrwx 1 root root 0 Sep 28 10:13 /sys/block/nvme2n1 -> 
../devices/pci:80/:80:03.0/:81:00.0/nvme/nvme0/nvme2n1
lrwxrwxrwx 1 root root 0 Sep 28 10:13 /sys/block/nvme3n1 -> 
../devices/pci:80/:80:03.1/:82:00.0/nvme/nvme1/nvme3n1
zlmao@zlmao-T460s:~/tmp$ 

thanks,
Mao

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-26 Thread Guilherme G. Piccoli
Hi Zhanglei, thanks for the test and screenshot.

I can't say for sure, but based on the screenshot, seems they are still
running 4.15.0-29 - I'm seeing the BOOT_IMAGE entry in the
/proc/cmdline. Specifically, this doesn't mean much (one can boot like a
4.4 kernel and add a BOOT_IMAGE of a 4.15, no harm), but it's a clue
that customer didn't boot the right kernel, and the patch that restores
the old behavior to nvme driver when the parameter is used is not
present in 4.15.0-29.

So, I'd ask a new test, this time customer could run "uname -r", "cat
/proc/cmdline" and after that, "ls -l /sys/block/*" to check the mapping
between the nvme devices.

Cheers,


Guilherme

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-25 Thread Zhanglei Mao
@Guiherme

Firstly, thank you much to provide those inforamtion. I asked customer
to check on 4.15.0-34 with kernel parameter of "nvme_core.multipath=0",
it was reported the same ( nvme device name would be changed every
reboot).


** Attachment added: "nvme name mismatch screen shoot"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+attachment/5192975/+files/image003.jpg

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-24 Thread Guilherme G. Piccoli
Hi Zhanglei, I've faced this issue some time ago - in fact, it's not
a bug, but some annoyance caused by the multipath introduction in the
nvme driver.

It started recently, after [0] - the introduction of NVMe multipath
brought a change in the way namespaces' "identity" is calculated. Basically,
another level of indirection was added, now we have the "ns_head" entity,
also driver started to use the subsystem instance instead of the ctrl
instance (even with no multipath used), so we may have this link
"mismatch" you have observed.

Recently this was improved by [1], so now if user sets the kernel command-line
parameter "nvme_core.multipath=0", the old behavior was restored. Can
you give it a try? This fix was added in 4.15.0-34 bionic's kernel
(same for Xenial's HWE kernel).

Also, this is the same old discussion of the SCSI naming sdX - we shouldn't
rely on the numbering, usually it's recommended to use some permanent
index, like the partition UUID.

Cheers,


Guilherme


[0] ed754e5dee ("nvme: track shared namespaces")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed754e5dee

[1] a785dbccd9 ("nvme/multipath: Fix multipath disabled naming collisions")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a785dbccd9

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-24 Thread Guilherme G. Piccoli
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Guilherme G. Piccoli (gpiccoli)

** Changed in: linux (Ubuntu Bionic)
 Assignee: (unassigned) => Guilherme G. Piccoli (gpiccoli)

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-20 Thread Zhanglei Mao
The log which collect via 
apport-cli --save=/tmp/apport-log linux

** Attachment added: "apport-cli log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+attachment/5191267/+files/apport-log

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-18 Thread Joseph Salisbury
If the bug still exists in the mainline kernel, we can perform a kernel
bisect to identify the commit that introduced this regression.

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-18 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc4


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
   Status: New => Triaged

** Changed in: linux (Ubuntu)
   Status: Incomplete => Triaged

** Changed in: linux (Ubuntu Bionic)
   Importance: Undecided => Medium

** Tags added: bot-stop-nagging kernel-da-key

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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


[Kernel-packages] [Bug 1792660] Re: nvme name floated after boot with 4.15.0 kernel

2018-09-18 Thread Brian Murray
** Package changed: kernel-package (Ubuntu) => linux (Ubuntu)

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

Title:
  nvme name floated after boot with 4.15.0 kernel

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Bionic:
  Triaged

Bug description:
  nvme device name such as /dev/nvme?n?p? would be floated that is
  symbol link to different real ssd device after reboot in 4.15.0 kernel
  for 16.04.5 HWE and 18.04 GA-kernel. This are not found on 16.04.5 GA-
  kernel ( 4.4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792660/+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