BBB - kernel Build - Error during update of configuration

Hi all and Robert,

I have a kernel configuration problem during kernel building with current (october 2020) ./build_kernel.sh script. My host computer is on a new ubuntu 20.04. I try many thing (one example to see below) but i turn around !

When i run the script and when i arrive to kernel buid, i have this output !

make -j8 ARCH=arm LOCALVERSION=-bone40 CROSS_COMPILE="/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/dl/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" zimage modules
scripts/kconfig/conf --silentoldconfig Kconfig

****** Error during update of the configuration.***

make[2]: *** [scripts/kconfig/Makefile:40 : silentoldconfig] Erreur 1
make[1]: *** [Makefile:522 : silentoldconfig] Erreur 2

I try to use oldconfig and rebuild … but this DIY solution is not satisfactory :slight_smile: ! And i can’t build modules …

make -j8 ARCH=arm LOCALVERSION=-bone40 CROSS_COMPILE="/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/dl/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" oldconfig

./scripts/kconfig/conf --oldconfig Kconfig

yes “” | make -j8 ARCH=arm LOCALVERSION=-bone40 CROSS_COMPILE="/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/dl/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" oldconfig

make -j8 ARCH=arm LOCALVERSION=-bone40 CROSS_COMPILE="/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/dl/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" zImage


Kernel: arch/arm/boot/zImage is ready

Have you got an idea !? A big thank’s for your help and work since a long time. I’m a french teacher and we use with students your work since many years !

Best regards … and have a nice day :slight_smile:

Hi @hugo,

Can you please share more of your terminal log? Sorry, from your current log, i’m really not sure what actually failed…

Regards,

Hi Robert,

Thank’s for your time !

This is the full terminal log >>>

START_LOG

neku@ensicaen:/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel$ ./build_kernel.sh

  • Detected build host [Ubuntu 20.04.1 LTS]
  • host: [x86_64]
  • git HEAD commit: [fa8ac8b39b8e973e7a4f37a6edd8e266b06c386d]
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    cpio: cpio (GNU cpio) 2.13
    lzop: lzop 1.04
    Using Existing Toolchain: gcc_linaro_gnueabihf_7
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    scripts/gcc: Using: arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0
    Copyright © 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    CROSS_COMPILE=/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/dl/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
    scripts/git: [git version 2.25.1]
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    scripts/git: LINUX_GIT not defined in system.sh
    using default location: /media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/ignore/linux-src/
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    scripts/git: Debug: LINUX_GIT is setup as: [/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/ignore/linux-src].
    scripts/git: [url=https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]
    remote: Enumerating objects: 346, done.
    remote: Counting objects: 100% (219/219), done.
    remote: Compressing objects: 100% (30/30), done.
    remote: Total 111 (delta 93), reused 95 (delta 81), pack-reused 0
    Receiving objects: 100% (111/111), 32.65 KiB | 759.00 KiB/s, done.
    Resolving deltas: 100% (93/93), completed with 67 local objects.
    From https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
    7575fdda569b…c85fb28b6f99 master -> origin/master

fatal: Resolve operation not in progress, we are not resuming.
/usr/bin/git tree is clean…
[v4.14.198-bone40 03b4e415f59a] empty cleanup commit
HEAD is now at 03b4e415f59a empty cleanup commit
Updating files: 100% (71014/71014), done.
Switched to branch ‘master’
Your branch is ahead of ‘origin/master’ by 1 commit.
(use “git push” to publish your local commits)
Already up to date.
Deleted branch v4.14.198-bone40 (was 03b4e415f59a).
error: unable to create file drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c: Invalid argument
error: unable to create file drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h: Invalid argument
error: unable to create file include/soc/arc/aux.h: Invalid argument
Updating files: 100% (70759/70759), done.
D drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c
D drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
D include/soc/arc/aux.h
Switched to a new branch ‘v4.14.198-bone40’
v4.14.198
Starting patch.sh
dir: aufs
Applying: merge: aufs-kbuild
Applying: merge: aufs-base
Applying: merge: aufs-mmap
Applying: merge: aufs-standalone
Applying: merge: aufs
dir: can_isotp
Applying: merge: can-isotp: https://github.com/hartkopp/can-isotp
Applying: CAN_ISOTP: wire up to kconfig/makefile
dir: WireGuard
Applying: merge: WireGuard
Applying: WireGuard fixes ipv6_dst_lookup_flow was backported
dir: drivers/ti/firmware
Applying: Add AM335x CM3 Power Managment Firmware
dir: soc/ti/beagleboard_dtbs
Applying: Add BeagleBoard<I_modify_._link_due_to_forum_limitation>org DTBS: v4.14.x
dir: backports/greybus
Applying: backports: greybus: from: linux.git
Applying: greybus: drivers/staging/greybus/module.c: no struct_size yet
dir: backports/wiznet
Applying: backports: wiznet: from: linux.git
dir: reverts
Applying: Revert “eeprom: at24: check if the chip is functional in probe()”
Applying: Revert “of: unittest: kmemleak in of_unittest_platform_populate()”
Applying: Revert “of: fix missing kobject init for !SYSFS && OF_DYNAMIC config”
dir: drivers/ar1021_i2c
Applying: ar1021_i2c.c fixes
dir: drivers/btrfs
Applying: btrfs: backport CONFIG_RAID6_PQ_BENCHMARK
dir: drivers/pwm
Applying: pwm: Create device class for pwm channels
dir: drivers/spi
Applying: NFM: spi: spidev: allow use of spidev in DT
dir: drivers/ssd1306
Applying: fb_ssd1306: add support for MikroElectronica OLED B Click
dir: drivers/tps65217
Applying: HACK: tps65217_pwr_but
dir: drivers/opp
Applying: cpufreq: opp: dont fail opp_add_static_v2, temp till overlays repo moves to v4.14.x base
dir: drivers/ti/bbb_overlays
Applying: Old Overlays Patch
dir: drivers/ti/cpsw
Applying: cpsw: search for phy
dir: drivers/ti/etnaviv
Applying: ti: dra7: etnaviv: 2d acceleration
dir: drivers/ti/eqep
Applying: tieqep: forward port of Nathaniel Lewis eQEP driver
Applying: tieqep: fix unhandled fault on eQEP register access
dir: drivers/ti/mcasp
Applying: ASoC: add generic TDM codec
Applying: ASoC: davinci_mcasp: 20-bit word support
Applying: ASoC: davinci-mcasp: DIT and other fixes (work in progress)
dir: drivers/ti/rpmsg
Applying: ARM: samples seccomp no -m32
dir: drivers/ti/serial
Applying: quiet: 8250_omap.c use pr_info over pr_err
dir: drivers/ti/tsc
Applying: ti_am335x_tsc.c driver
Applying: ti_am335x_tsc: correct formula code to calculate pressure; fix touchscreen jitter problem
dir: drivers/ti/uio
Applying: Making the uio pruss driver work
Applying: fix some uio_pruss braindamage
Applying: uio_pruss: minor cleanup
Applying: uio_pruss: fix unbalanced pm_runtime calls
Applying: uio_pruss: add names to memory regions
dir: drivers/ti/gpio
Applying: BeagleBone pinmux helper
Applying: hack: gpiolib: yes we have drivers stomping on each other…
dir: soc/ti/abbbi
Applying: gpu: drm: i2c: add alternative adv7511 driver with audio support
Applying: gpu: drm: i2c: adihdmi: componentize driver and huge reformat/cleanup
Applying: drm/adihdmi: Drop dummy save/restore hooks
Applying: drm/adihdmi: Pass ‘name’ to drm_encoder_init()
Applying: adihdmi_drv: reg_default -> reg_sequence
Applying: adihdmi_drv fix drm_of.h include
dir: bootup_hacks
Applying: bootup hacks: move mmc early
Applying: bootup-hacks: xor select neon or arm4regs
dir: sgx
Applying: HACK: drm/fb_helper: enable panning support
Applying: HACK: drm/tilcdc: add vsync callback for use in omaplfb for gpu
Applying: ARM: OMAP2+: Use pdata-quirks for sgx deassert_hardreset
Applying: ARM: dts: am33xx: add DT node for gpu
Applying: Revert "ARM: reduce visibility of dmac
* functions"
Applying: arm: Export cache flush management symbols when !MULTI_CACHE
dir: backports/bindeb-pkg
Applying: backports: bindeb-pkg: from: linux.git
Applying: builddeb: Install our dtbs under /boot/dtbs/$version
patch.sh ran successfully
[v4.14.198-bone40 c41e83d876c9] 4.14.198-bone40 patchset
3 files changed, 314 deletions(-)
delete mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c
delete mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h
delete mode 100644 include/soc/arc/aux.h
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated arch/arm/include/generated
CLEAN .config .config.old
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf

configuration written to .config

‘.config’ -> ‘/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/patches/ref_omap2plus_defconfig’
‘/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/patches/defconfig’ -> ‘.config’
scripts/kconfig/conf --oldconfig Kconfig

configuration written to .config

HOSTCC scripts/kconfig/mconf.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig

*** End of the configuration.
*** Execute ‘make’ to start the build or try ‘make help’.

‘.config’ -> ‘/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/patches/defconfig’
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
make -j8 ARCH=arm LOCALVERSION=-bone40 CROSS_COMPILE="/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel/dl/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-" zImage modules
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
scripts/kconfig/conf --silentoldconfig Kconfig

*** Error during update of the configuration.

make[2]: *** [scripts/kconfig/Makefile:40: silentoldconfig] Error 1
make[1]: *** [Makefile:522: silentoldconfig] Error 2
make: *** No rule to make target ‘include/config/auto.conf’, needed by ‘include/config/kernel.release’. Stop.
make: *** Waiting for unfinished jobs…
SYSHDR arch/arm/include/generated/uapi/asm/unistd-common.h
SYSHDR arch/arm/include/generated/uapi/asm/unistd-oabi.h
SYSHDR arch/arm/include/generated/uapi/asm/unistd-eabi.h
neku@ensicaen:/media/neku/home/soft/elinux/tp/2020-2021/disco/kernel/bb-kernel$

END_LOG

Best regards …

Hi @hugo,

What file system is this path on?

/media/neku/home/

This looks to be a non-native linux file system…

Regards,

Hi Robert,

A big thank’s it’s this. I don’t think that problem due to this :slight_smile: !

I just reinstall a new system with dual disk SSD/HDD on my computer, SSD for system (GNU\Linux mount in /) and HDD for data (default mount in /media/). Before, an old windows system from my school with virtual machine for linux was installed on my computer. It’s why now my data working directory (HDD specific disk) is by default mount in /media/ …

Thank’s again and have a nice end of week :slight_smile: