[15:59] <SvenKieske> Hi there, maybe a n00b question, but can it be the case that the 5.4 HWE Kernel on ubuntu 18.04 does neither contain buildin pci hotplug, nor a loadable module for it? it should be "modprobe pciehp" from what I've read so far, but no chance. it is also not builtin, from what I've checked.
[16:00] <SvenKieske> any hints are appreciated
[16:01] <SvenKieske> or "acpiphp", which is also not present?
[16:05] <SvenKieske> what I ultimately want to achieve is NVME hotplug, but I figured I therefore need "acpihp" and/or "pciehp". I can't find those in the builtin modules list, or anywhere under /lib/modules/; also not in the blacklist for modprobe. this is really weird, maybe I'm doing something wrong?
[16:13] <SvenKieske> I reopened my bugreport regarding this with some more information, if someone could take a look at a later date, that would be awesome: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1998224
[16:13] -ubottu:#ubuntu-kernel- Launchpad bug 1998224 in linux (Ubuntu) "pcie hotplug not working in linux-generic-hwe-18.04 5.4.0.107.121~18" [Undecided, New]
[16:18] <juergh[m]> SvenKieske: https://kernel.ubuntu.com/~kernel-ppa/config/bionic/linux-hwe-5.4/5.4.0-139.156~18.04.1/amd64-config.flavour.generic... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/766fb363a0ff23340154a426222f9ca810208eae>)
[16:18] <juergh[m]> all built-in
[16:21] <juergh[m]> Also check /lib/modules/$(uname -r)/modules.builtin
[16:22] <SvenKieske> that's where I checked..weird (/lib/modules/$(uname -r )/modules.builtin).thanks!
[16:24] <SvenKieske> grep -i pci /lib/modules/$(uname -r )/modules.builtin has no hotplug output: https://paste.opendev.org/show/b1uNAcGFmumVEKz9xuAe/
[16:25] <SvenKieske> another noob question: is the kernel ppa the canonical (pun somewhat intended) source for the HWE Kernel?
[16:37] <juergh[m]> no. the archive or launchpad git for the source.
[16:41] <juergh[m]> hmm. there is indeed something weird going on.
[16:41] <juergh[m]> on focal:
[16:41] <juergh[m]> ubuntu@ubuntu-focal:~$ uname -r... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/81ef4101f78f6a7fd76bd1dc226e9e41c63bfb1d>)
[16:42] <juergh[m]> on bionic:
[16:42] <juergh[m]> ubuntu@ubuntu-bionic:/lib/modules$ uname -r
[16:42] <juergh[m]> 5.4.0-132-generic
[16:42] <juergh[m]> ubuntu@ubuntu-bionic:/lib/modules$ modinfo pciehp
[16:42] <juergh[m]> modinfo: ERROR: Module pciehp not found.
[16:43] <juergh[m]> same for acpiphp. but the module is loaded so it seems that module.builtin is wrong.
[16:43] <SvenKieske> I downloaded: de.archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe-5.4/linux-modules-extra-5.4.0-137-generic_5.4.0-137.154~18.04.1_amd64.deb and it has in /lib/modules/..../drivers/pci/hotplug/ 3 .ko files: acpiphp_ibm.ko (dunno about the ibm postfix), cpcihp_generic.ko and cpcihp_zt5550.ko
[16:43] <juergh[m]> dmesg | grep acpiphp
[16:44] <SvenKieske> yeah, dmesg seems to agree that acpiphp is loaded, I suppose it's coming from acpiphp_ibm.ko
[16:44] <juergh[m]> no. its acpiphp. bulilt-in.
[16:44] <SvenKieske> I'm not sure if pciehp is needed as well. I found not much docs on this stuff at docs.kernel.org, or I searched with the wrong terms.
[16:45] <SvenKieske> afaik pciehp is shorthand for pci express hotplug; so I suppose I need that as well, for nvme hotplug
[16:48] <juergh[m]> I think it depends on the motherboard. whether native PCIe or ACPI hotplugging is supported.
[16:49] <juergh[m]> do you have any hotplug related settings in your BIOS?
[17:14] <SvenKieske> not that I remember, can't check atm, it's getting late today and I need to restore service. this is a ceph storage node and I don't want to have an extended downtime in that cluster
[17:15] <SvenKieske> I really need a test server for this kind of stuff
[17:15] <SvenKieske> thanks so far!