[elrepo] Building for a non-standard kernel
Manuel Wolfshant
wolfy at nobugconsulting.ro
Fri Feb 19 06:06:50 EST 2021
On 2/19/21 12:03 PM, Roger Sewell wrote:
> If this is not the right place to post this query please tell me where
> is.
>
> I have been sent a built test kernel with a bug fixed, based on a kernel
> many releases later than the current 8.3 RHEL kernel, along with
> corresponding versions of the associated devel packages.
>
> 1. Where can I find instructions for how to rebuild the
> kmod-megaraid_sas RPM for this non-standard kernel from the 8.3 SRPM
> package which I have ? (I tried just changing the definition of
> kmod_kernel_version to 4.18.0-287.el8.test, and it appeared to build
> OK apart from some warnings of whose severity I'm uncertain, it
> installed fine, but booting the resulting kernel produced apparently
> correct boot.log and messages content, but unusable video output both
> on GDM and the tty interfaces.)
i'll let the experts to chime in but AFAIK, you did the correct thing.
Happened to me too when I tested a kernel with NVME patches between RHEL
7.7 and 7.8
I am not really sure because I forgot but IIRC I experimented with
vga=NN added to the kernel line
The question is: beside the obvious lack of megaraid support , does the
kernel boot properly without your kmod ? Because adding a 3rd party
storage kmod shouldn't fiddle with the video...
>
> 2. Is it indeed possible to build it for an installed kernel that is not
> the running kernel ? (If not, then I cannot rebuild on my existing
> hardware.)
yes, it is, of course.
More information about the elrepo
mailing list