Jump to content
  • 0

Problems with 4.16.8 kernel headers & scripts


Gymnae

Question

I just ran apt-get update && apt-get upgrade, sure enough, a new kernel was downloaded.

Due to a non-standard wifi chip, I always run KMS before rebooting, giving the new kernel version as an argument. (The automatic install on reboot didn't work so well in the past) It seems now that something is not right with the new kernel headers. I have not rebooted yet, out of fear the system might be unstable then.

 

Log: http://ix.io/1djM

Compiling scripts:

/usr/src/linux-headers-4.16.8-cubox# make -s scripts
scripts/selinux/genheaders/genheaders.c:19:22: fatal error: classmap.h: No such file or directory
 #include "classmap.h"
                      ^
compilation terminated.
scripts/Makefile.host:90: recipe for target 'scripts/selinux/genheaders/genheaders' failed
make[3]: *** [scripts/selinux/genheaders/genheaders] Error 1
scripts/Makefile.build:583: recipe for target 'scripts/selinux/genheaders' failed
make[2]: *** [scripts/selinux/genheaders] Error 2
scripts/Makefile.build:583: recipe for target 'scripts/selinux' failed
make[1]: *** [scripts/selinux] Error 2
Makefile:566: recipe for target 'scripts' failed
make: *** [scripts] Error 2

Modules_prepare:

/usr/src/linux-headers-4.16.8-cubox# make modules_prepare
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'.  Stop.
arch/arm/Makefile:322: recipe for target 'archheaders' failed
make: *** [archheaders] Error 2

headers_check:

/usr/src/linux-headers-4.16.8-cubox# make headers_check
  CHK     include/generated/uapi/linux/version.h
make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'.  Stop.
arch/arm/Makefile:322: recipe for target 'archheaders' failed
make: *** [archheaders] Error 2

Last bits of log from compiling the kernel module for wifi:

LD [M]  /var/lib/dkms/rtl8812AU/4.3.20/build/8812au.o
  Building modules, stage 2.
  MODPOST 1 modules
/bin/sh: 1: scripts/mod/modpost: not found
scripts/Makefile.modpost:92: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 127
Makefile:1564: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.16.8-cubox'
Makefile:1687: recipe for target 'modules' failed
make: *** [modules] Error 2

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
3 hours ago, Igor said:


Yes, it looks so. I already reverted back to 4.14.y few weeks ago https://github.com/armbian/build/blob/master/config/sources/cubox.conf#L20 and you can get it from beta repository or DIY.

 

Thanks for your quick reply. I installed armbian-config but it only offers me to switch to dev or default - it states I'm already at next? But your link states that 14.14 should be next. What could I do?

1980322319_ScreenShot2018-06-14at16_56_02.png.8931444bb31e86bae4c40d072986ee46.png

Current version: Armbian 5.38 stable

Link to comment
Share on other sites

  • 0
On 6/14/2018 at 5:26 PM, Igor said:

You need to switch to the nightly repository and update the actual kernel. Kernal can be a default, dev or next branch.

 

Thank you, that helped. The systems has other problems, though :(

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines