#[solved] PBP (ARM): Kernel not loading nvme module

1 messages · Page 1 of 1 (latest)

narrow urchin
#

Hey there,
today I decided to update the kernel on my PBP which is (was) stuck on 5.16 for quite a while now, because that was the only kernel available that still had a display output "hack" which enabled display output through a usb dock.
I was told by a kernel developer, megi (known for their work around pine64 and a few SBCs), that their kernel for quite a while now had a working usb dock display, so I decided to try it out. With quite a lot of help from some folks over on matrix, I ended up being able to compile the linux kernel, while also having a PKGBUILD (which I am using to 1. prevent file conflicts and overwriting of my kernel files, 2. managing my kernel, because I have practically no kernel handling experience and I want a package manager to do that for me).

From this point onwards, I've been facing a few issues

  1. I installed the new kernel, but I was greeted with mkinitcpio warning me, that I had selected no modules (which didn't happen for the manjaro kernel build for some reason)
  2. Booting into my kernel just resulted in an error, stating that it could not find dtbs/rk3399-pinebook-pro.dtb, even though it should have been installed with the package (it's present in the package, so why the hell did it not install it??)
  3. After manually copying that folder over, my kernel does boot but hangs at a garbled screen of seemingly color gradients (I saw this screen on the manjaro kernel too, but it only appeared for a second, before the systemd log appeared)
  4. After creating a bootable SD card and reinstalling the old, but supposedly working manjaro kernel (no modules warning here), it now also hangs at this color gradients screen...

What am I supposed to do? I'm so confused...
Thanks!

Edit: For anyone wondering, this is the kernel I compiled and packaged: https://chonkyrabbit.eu/files/_share/linux-megi-6.4.1-1-aarch64.pkg.tar.zst

narrow urchin
#

Ok with a lot more help I finally have a bootable kernel, but there is still one glaring issue: It does not mount my nvme drive (it can't find it, and it does not exist in the pci directory, which is also empty. lsmod returns and empty list). I was told that it might not be loading a nvme module, so I tried adding nvme to the MODULES list in mkinitcpio.conf but it still refuses to add any modules and shows still me this as a warning message.

#

PBP (ARM): Kernel not loading nvme module

narrow urchin
#

fixed. The nvme driver was not enabled in the board.dtb config file.