On 11/11/22 07:25, Dale wrote:
Howdy,

I been stuck on gentoo-sources 5.14.15 for a while.  I tried upgrading
to I think 5.16 and then more recently 5.18.  I upgraded like I always
do, copy .config over and run make oldconfig.  Once I get everything in
/boot, init thingy and all, I update grub.  When I get around to
rebooting, the new kernels always fail part way through booting.  I
can't recall the error since I last tried a newer kernel several months
ago.

I'm about to try to jump to version 6.0.5 which is latest in the tree.
Is there some major change that causes copying .config file from 5.14 to
5.18 or higher to break?  Do I need to configure a new kernel from
scratch in other words?  While I try to answer each question the best I
can, either I'm breaking something or something else breaks preventing
updating from older versions.  I just don't know which it is. Me or it.

I've had a similar experience recently. I was using LTS (5.15) due to old, no longer supported Nvidia video card, when I switched to nouveau I tried 6.0.x but no go, either USB3 or USB2 where working, but not both. After much fiddling with .config I ended up booting the PC from USB with a recent, working binary distribution - Ubuntu 22.04 - and compared its .config with mine, and found out the problem was in one of the kernel boot parameters, not in the .config!

If you find the binary distribution kernel works, lsmod will tell you which modules are actually used on your machine so you can pick just those in your config. For the .config comparison, meld works just fine.

raffaele


Reply via email to