On Sat, Nov 30, 2019 at 03:11:10PM -0600, Bruce Dubbs wrote:
> On 11/30/19 1:15 PM, Thomas Seeling wrote:
> > Hallo,
> > 
> > 
> > I started LFS 9.0 on a fresh partition and it stopped at step 158 (of my
> > jhalfs numbering) where it compiles the kernel ... it nearly finishes
> > but then complains about cpio missing.
> > 
> >    CC      kernel/rseq.o
> >    AR      kernel/built-in.a
> >    GZIP    kernel/config_data.gz
> >    CC [M]  kernel/configs.o
> >    CHK     kernel/kheaders_data.tar.xz
> >    GEN     kernel/kheaders_data.tar.xz
> > ./kernel/gen_kheaders.sh: line 61: cpio: command not found
> > make[2]: *** [kernel/Makefile:131: kernel/kheaders_data.tar.xz] Error 127
> > make[1]: *** [Makefile:1085: kernel] Error 2
> > 
> > I built cpio on the fly and it seems to work now but I cannot remember I
> > needed to build cpio before for the base system (I'm a happy user since
> > LFS 6). I've built cpio afterwards anyway for initramfs and early
> > microcode loading but not for the initial kernel compilation.
> > 
> > Is this something new like the requirement for rsync?
> 
> I don't know right now.  I am going to start an update to LFS today and
> there are several new packages, including the kernel.  I don't normally
> rebuild the kernel in chroot, but I'll do that this time.
> 
>   -- Bruce
> 
There is a new config option to do with userspace headers.  Looking
at my running (5.4-rc) config, possibly CONFIG_IKHEADERS.  Yes.

https://github.com/torvalds/linux/blob/master/kernel/gen_kheaders.sh

I have NOT enabled that, I don't think it is needed (it's for
providing the kernel headers to external (android) packages.  It
provides a tarball in /sys/kernel/ see e.g.
https://lkml.org/lkml/2019/5/10/658 where eBPF can use it for
tracing.

I have not built a new system with 5.4, so no idea if this gets
enabled by default in defconfig.  It certainly isn't needed for
normal userspace (I don't regard kernel tracing as normal userspace,
although I get the impression that networking stuff in the kernel is
gradually adding things which need eBPF).

ĸen
-- 
Whilst all mushrooms are edible, the trick is to eat only those which
will prove to be edible more than once. The Celebrated Discworld Almanak
recommends you play safe and eat beans on toast.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to