Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Strange hickups while trying to compile a kernel in a chroot
Date: Sat, 25 Feb 2017 12:23:29
Message-Id: 20170225122311.GB5062@solfire
1 hi,
2
3 I am trying to build a linux kernel (vanilla from ftp.kernel.org)
4 in my chrooted new root.
5
6 make modules install
7
8 failed
9
10 with:
11
12 CHK include/config/kernel.release
13 CHK include/generated/uapi/linux/version.h
14 CHK include/generated/utsrelease.h
15 CHK include/generated/bounds.h
16 CHK include/generated/timeconst.h
17 CHK include/generated/asm-offsets.h
18 CALL scripts/checksyscalls.sh
19 CHK include/generated/compile.h
20 ./scripts/gen_initramfs_list.sh: Cannot open '/usr/share/v86d/initramfs'
21 make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.gz] Error 1
22 make: *** [Makefile:988: usr] Error 2
23
24
25 make bImage fails with
26
27 (chroot) make bzImage
28 CHK include/config/kernel.release
29 CHK include/generated/uapi/linux/version.h
30 CHK include/generated/utsrelease.h
31 CHK include/generated/bounds.h
32 CHK include/generated/timeconst.h
33 CHK include/generated/asm-offsets.h
34 CALL scripts/checksyscalls.sh
35 CHK include/generated/compile.h
36 ./scripts/gen_initramfs_list.sh: Cannot open '/usr/share/v86d/initramfs'
37 make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.gz] Error 1
38 make: *** [Makefile:988: usr] Error 2
39
40
41 I look for the magic v83d and found (being at my old root)
42
43 [I] sys-apps/v86d
44 Available versions: 0.1.10 {debug x86emu}
45 Installed versions: 0.1.10(02:34:27 02/28/11)(x86emu -debug)
46 Homepage: https://dev.gentoo.org/~spock/projects/uvesafb/
47 Description: A daemon to run x86 code in an emulated environment
48
49 Is this "quite normal" or does the make process of the kernel make
50 false conclusion while being chrooted?
51
52 Do I really need initram? ... For years I though my grub had
53 booted the kernel which runs my linux directlu...
54
55 My commandline to build the kernel at my old root was:
56
57 kernel=/boot/vmlinuz-4091200-64-RT && make -j7 all && make -j7 modules_install && /bin/cp -f ./arch/x86_64/boot/bzImage* $kernel; emerge nvidia-drivers ;emerge app-emulation/virtualbox-modules ;grub-mkconfig -o /boot/grub/grub.cfg
58
59 whjch had.
60
61 v86d is not installed yet and of course I will install it if needed.
62 But I want to get shure, that the chrooted environment has not
63 confused the kernel build process...
64
65 Thanks for any help in advance!
66 Cheers
67 Meino

Replies

Subject Author
Re: [gentoo-user] Strange hickups while trying to compile a kernel in a chroot Fernando Rodriguez <cyklonite@×××××.com>
Re: [gentoo-user] Strange hickups while trying to compile a kernel in a chroot Neil Bothwick <neil@××××××××××.uk>