Re: Compiling kernel locks system.

"Vivaldi" ([email protected] via lfs-support Mailing List) <[email protected]> Wed, 10 Dec 2025 11:32:12 -0600
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
On 12/9/25 6:36 AM, Vivaldi ([email protected] via lfs-support 
Mailing List) wrote:
>
> I'm running LFS/BLFS 12.4 and built a mid-release LFS 
> (r12.4-47-systemd) but can't compile a kernel.  Everything goes well 
> through chapter 9 but compiling the kernel is quite slow and 
> eventually locks my box.  I've no choice but to power down.
>
> I can compile a 6.17.9 kernel when booted to 12.4 but can't using 
> chroot as described in "Entering the Chroot Environment."  I tried my 
> .config from LFS 12.4 and one generated using "make defconfig" with 
> the same result.
>
> I did make a significant system change as I replaced my HD with an SSD 
> since I built LFS/BLFS 12.4.  That seems to have gone smoothly 
> as, after restoring my 12.4 HD image, I can boot to and run LFS/BLFS 
> without incident.  I'm sending this using BLFS 12.4 on my SSD.  Other 
> than changing to an SSD I did nothing different in building r12.4-47 
> to my knowledge.
>
> This was a manual build and fsck reports the partition is clean.
>
>
I copied my 12.4 kernel and /lib/modules/6.16.1 to the 12.4-47 partition 
and booted to that partition without issue.  I then successfully 
compiled the 12.4-47 linux-6.17.9 kernel and booted to that kernel.

So I accomplished my goal of building LFS 12.4-47 but had to jump 
through a hoop.  I've looked upside down and backwards but still don't 
understand why I couldn't compile a kernel after finishing chapter 9.  
If my problem make sense after this further information I'd be 
interested.  Worse case scenario, I'll see if the problem recurs with 
the March release.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page