[Kernel-packages] [Bug 1998224] Re: pcie hotplug not working in linux-generic-hwe-18.04 5.4.0.135.152~18

2023-02-09 Thread Sven Kieske
The above comment might not be correct, because it turned out one of the
micron nvme devices had a defect and was not recognized by any hardware
at all, even when not hot swapping.

There is a chance that this is related to the bios/firmware combination
on this supermicro model.

I will test this again with a known working micron nvme and the
following scenarios:

- hotswap intel -> micron
- hotswap micron -> micron

both will first be tested on the linux-generic-hwe-18.04
5.4.0.135.152~18 kernel.

** Changed in: linux (Ubuntu)
   Status: Confirmed => 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/1998224

Title:
  pcie hotplug not working in linux-generic-hwe-18.04 5.4.0.135.152~18

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  situation: ubuntu 18.04 server install on a supermicro x64 host.

  hot plug NVME ssd into NVME U.2 HotSwap Slot.

  problem: hot plug does not work/ nvme is not recognised.

  how to test:

  echo 1 > /sys/bus/pci/rescan

  dmesg output:

  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: bridge window [io  
0x1000-0x0fff] to [bus 41] add_size 1000
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: bridge window [io  
0x1000-0x0fff] to [bus 42] add_size 1000
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: failed to assign 
[io  size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: failed to assign 
[io  size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: failed to assign 
[io  size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: failed to assign 
[io  size 0x1000]

  Kernel Version:

  5.4.0-107-generic #121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022
  x86_64 x86_64 x86_64 GNU/Linux

  hardware information: tried with micron and intel NVME, e.g:

  INTEL SSDPE2KE016T8

  after a reboot, the NVME is recognized, so there is no hardware
  problem.

  if you need additional debug information, feel free to ask.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1998224/+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 1998224] Re: pcie hotplug not working in linux-generic-hwe-18.04 5.4.0.135.152~18

2023-02-09 Thread Sven Kieske
I was finally able to test this with the mainline kernel:

6.1.10-060110-generic #202302060840

taken from: https://kernel.ubuntu.com/~kernel-
ppa/mainline/v6.1.10/amd64/linux-image-
unsigned-6.1.10-060110-generic_6.1.10-060110.202302060840_amd64.deb

and it works!

this is specific about hot swap.

i suspect the following commits are missing from the HWE kernel in
18.04. to make this work:

2baa85d6927d11b8d946da2e4ad00dddca5b8da2
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2baa85d6927d11b8d946da2e4ad00dddca5b8da2)

and 85ae3970a0e393cbb07ec30ac99d82cfd6c3f922
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=85ae3970a0e393cbb07ec30ac99d82cfd6c3f922)

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

Title:
  pcie hotplug not working in linux-generic-hwe-18.04 5.4.0.135.152~18

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  situation: ubuntu 18.04 server install on a supermicro x64 host.

  hot plug NVME ssd into NVME U.2 HotSwap Slot.

  problem: hot plug does not work/ nvme is not recognised.

  how to test:

  echo 1 > /sys/bus/pci/rescan

  dmesg output:

  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: bridge window [io  
0x1000-0x0fff] to [bus 41] add_size 1000
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: bridge window [io  
0x1000-0x0fff] to [bus 42] add_size 1000
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: failed to assign 
[io  size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: failed to assign 
[io  size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.2: BAR 13: failed to assign 
[io  size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: no space for [io  
size 0x1000]
  [Mon Nov 28 15:46:33 2022] pcieport :40:01.1: BAR 13: failed to assign 
[io  size 0x1000]

  Kernel Version:

  5.4.0-107-generic #121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022
  x86_64 x86_64 x86_64 GNU/Linux

  hardware information: tried with micron and intel NVME, e.g:

  INTEL SSDPE2KE016T8

  after a reboot, the NVME is recognized, so there is no hardware
  problem.

  if you need additional debug information, feel free to ask.

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