/srv/irclogs.ubuntu.com/2023/02/07/#ubuntu-kernel.txt

=== chris14_ is now known as chris14
=== esembee_ is now known as esembee
SvenKieskeHi 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.15:59
SvenKieskeany hints are appreciated16:00
SvenKieskeor "acpiphp", which is also not present?16:01
SvenKieskewhat 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:05
SvenKieskeI 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/199822416: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:13
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-in16:18
juergh[m]Also check /lib/modules/$(uname -r)/modules.builtin16:21
SvenKieskethat's where I checked..weird (/lib/modules/$(uname -r )/modules.builtin).thanks!16:22
SvenKieskegrep -i pci /lib/modules/$(uname -r )/modules.builtin has no hotplug output: https://paste.opendev.org/show/b1uNAcGFmumVEKz9xuAe/16:24
SvenKieskeanother noob question: is the kernel ppa the canonical (pun somewhat intended) source for the HWE Kernel?16:25
juergh[m]no. the archive or launchpad git for the source.16:37
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:41
juergh[m]on bionic:16:42
juergh[m]ubuntu@ubuntu-bionic:/lib/modules$ uname -r16:42
juergh[m]5.4.0-132-generic16:42
juergh[m]ubuntu@ubuntu-bionic:/lib/modules$ modinfo pciehp16:42
juergh[m]modinfo: ERROR: Module pciehp not found.16:42
juergh[m]same for acpiphp. but the module is loaded so it seems that module.builtin is wrong.16:43
SvenKieskeI 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.ko16:43
juergh[m]dmesg | grep acpiphp16:43
SvenKieskeyeah, dmesg seems to agree that acpiphp is loaded, I suppose it's coming from acpiphp_ibm.ko16:44
juergh[m]no. its acpiphp. bulilt-in.16:44
SvenKieskeI'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:44
SvenKieskeafaik pciehp is shorthand for pci express hotplug; so I suppose I need that as well, for nvme hotplug16:45
juergh[m]I think it depends on the motherboard. whether native PCIe or ACPI hotplugging is supported.16:48
juergh[m]do you have any hotplug related settings in your BIOS?16:49
SvenKieskenot 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 cluster17:14
SvenKieskeI really need a test server for this kind of stuff17:15
SvenKieskethanks so far!17:15
=== JanC is now known as Guest2803
=== JanC_ is now known as JanC
=== chris15 is now known as chris14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!