Re: Error when building kernel
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
On 9/17/23 02:10, Dragan ([email protected] via alfs-discuss Mailing List) wrote: > On 17/09/2023 08:04, Pierre Labastie ([email protected] via alfs-discuss > Mailing List) wrote: >> But error 124 is most likely due to a timeout, which most likely means your >> kernel config is not up to date, and "make oldconfig" was waiting for some >> input... >> Previously, the build would have been stuck forever. Now it times out after a >> minute. >> >> Pierre > > Thanks. You were right! > > I have wrongly assumed that I will get option to run make oldconfig in the shell and > then resume build of kernel! > > If the kernel-config file is not up to date (missing options or > whatever), the kernel "make" will hang, waiting for input. So > run "make oldconfig" explicitly, with a timeout. > Fixes: #1736 I'll note that I never try to build the kernel automatically. There are just too many issues with 'make oldconfig' unless you are using a known good config file for the current kernel version. -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page