Re: Building kernel-5.18.8
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 01, 2022 at 03:07:12PM +0200, Dragan wrote:
> Hi,
>
> I have just finished build of r11.1-145 - see attached report - and logged
> in system in VM.
>
> Build have gone without problems up to kernel-5.18.8. After approximately 65
> I have killed build as previous experience have learned shown that under
> such circumstances (new kernel version) even build of kernel have not
> finished!)
>
> In source directory I have run make defconfig and make menuconfig and
> restarted build after exiting chroot and saving .confing for future use.
>
> Within 2 minutes kernel build have finished.
>
You have told us how you successfully built the new kernel, but not
how you ran the build which apparently failed.
What commands did you use ?
Was it a freshly extracted directory ?
My general recommendation to update the kernel, if you have a
working kernel config for the LFS system on that real machine or in
that VM is:
1. Use fresh source.
2. Copy your .config (for me, zcat /proc/config.gz >.config)
3. make oldconfig.
> After cleaning up lfs directory and starting fresh build with current
> .config file build have finished as expected. Attached report file is from
> second build.
>
> I do believe, based on my experience that building kernel in VM using old
> .config (from previous versions of Linux kernel) can be quite
> counterproductive.
>
> Dragan
>
Using a .config from a successful build of LFS on the same machine,
with 'make oldconfig' should always be straightforward IF the kernel
source is fresh, although you will of course have to answer
questions about new options in a new kernel version.
ĸen
--
"Happiness isn't happiness without a violin-playing goat."
-- Notting Hill
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page