Hello, up to now we build a complete release based on RL9.x to be run on servers from HPE.
Now, we have another HW to support (proprietary, based on a SOM with an AlderLake Atom without any graphic interface, only a serial link).
In test lab, we can run a 5.15.185-based kernel (compiled internally) on this target, but when we are using binary RPM (kernel-core, for example from an official RL repository) and setup the serial link in the kernel command line, then it crashes at 8250 serial driver usage.
The easiest way would be to have access to a kernel RPM package with the CONFIG_MATOM activated instead of CONFIG_GENERIC_CPU, as we did for the 5.15.185 kernel.
It would be helpful to know what this crash is and if it’s physical or virtual. We have not had any reports on crashes due to serial drivers with the base kernel. Speaking anecdotally, where my home hardware uses serial hardware (no backing VGA), I have not experienced any issues.
No.
You may need to consider building your own kernel RPM packages (instead of compiling by hand). See our kernel and elrepo for an example of how it looks, while looking into mock to build the RPMs. If all you’re looking for is to use CONFIG_MATOM vs the generic CPU option, then perhaps rebuilding the base kernel with those changed options will help you. However, that is up to you experiment in your lab.
OK, then if there is no easiest way, we will have to follow the other one: build our own kernel.
Thanks for pointing the tools and repo to refer at. We will have look at them.
Hello.
Some news to close this topic: we finally succeeded to start a Rocky Linux 9.6 kernel on a MSC SM2S-ASL-X7405C-3NN01N0C SMART module.
Actually we had to solve (workaround) 3 root causes all ending up in a kernel crash.
Defining ttyS1 as console in the grub.cfg lead us to the crash described above. Replace this with ‘earlycon=uart8250,mmio,0xfe03e000,115200n8 console=uart8250,mmio,0xfe03e000,115200n8‘ does the job.
Deactivate the CONFIG_PAGE_POISONING option removes another crash quite at beginning of kernel loading.
Deactivate the CONFIG_X86_KERNEL_IBT option will not add additional gcc options in the arch/x86/Makefile and avoids a third type of kernel crash.
After that, the module boots up with a Rocky Linux 9.6 kernel.
I’m not enough skilled to explain what happens with those options. Sorry for that.
Hope it helps anyway.
Best regards,
Patrick Agrain