Jump to content

IgorS

Members
  • Posts

    83
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ok, but how can I create u-boot, firmware and armbian-config packages? Docs said: BUILD_ONLY (comma-separated list) ie. "u-boot,kernel,armbian-config,armbian-zsh,plymouth-theme-armbian,armbian-firmware,armbian-bsp". but this not working. What I am missing?
  2. In kernel 6.1.24 default configuration for orangepione and orangepiplus2e is not checked module wireguard, which was previously checked. Is it paraticular reason for this or it's jus mistake. Please can devs make it checked in furure, this saves time when building. Thanks in advance.
  3. I tryed fresh build today and there was no errors, so it looks that build system is fixed.
  4. @going Found following: igor@honeypot:~/trash/debs$ pushd /usr/src/linux-headers-6.1.15-sunxi/ /usr/src/linux-headers-6.1.15-sunxi ~/trash/debs igor@honeypot:/usr/src/linux-headers-6.1.15-sunxi$ find include/ -name elf.h include/linux/elf.h include/uapi/linux/elf.h igor@honeypot:/usr/src/linux-headers-6.1.15-sunxi$ find arch/ -name elf.h arch/csky/include/asm/elf.h arch/openrisc/include/asm/elf.h arch/openrisc/include/uapi/asm/elf.h arch/xtensa/include/asm/elf.h arch/arm/include/asm/elf.h arch/loongarch/include/asm/elf.h arch/parisc/include/asm/elf.h arch/alpha/include/asm/elf.h arch/riscv/include/asm/elf.h arch/riscv/include/uapi/asm/elf.h arch/sparc/include/asm/elf.h arch/microblaze/include/asm/elf.h arch/microblaze/include/uapi/asm/elf.h arch/arc/include/asm/elf.h arch/arc/include/uapi/asm/elf.h arch/x86/include/asm/elf.h arch/mips/include/asm/elf.h arch/nios2/include/asm/elf.h arch/nios2/include/uapi/asm/elf.h arch/s390/include/asm/elf.h arch/hexagon/include/asm/elf.h arch/arm64/include/asm/elf.h arch/sh/include/asm/elf.h arch/powerpc/include/asm/elf.h arch/powerpc/include/uapi/asm/elf.h arch/m68k/include/asm/elf.h arch/ia64/include/asm/elf.h igor@honeypot:/usr/src/linux-headers-6.1.15-sunxi$ find include/ -name special.h igor@honeypot:/usr/src/linux-headers-6.1.15-sunxi$ find arch/ -name special.h igor@honeypot:/usr/src/linux-headers-6.1.15-sunxi$
  5. @going Thanks for helping. libelf-dev was installed. There is new try with more informations: igor@honeypot:~/trash/debs$ ls -1 armbian-config_23.05.0-85_all.deb armbian-firmware_1-SA56ad-Bf566_all.deb kernel-sunxi-current_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8.tar linux-dtb-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb linux-headers-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb linux-image-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb linux-u-boot-orangepione-current_2022.07-Se092-P12e0-Be261_armhf.deb igor@honeypot:~/trash/debs$ sudo apt install libelf-dev Reading package lists... Done Building dependency tree Reading state information... Done libelf-dev is already the newest version (0.176-1.1build1). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. igor@honeypot:~/trash/debs$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal igor@honeypot:~/trash/debs$ sudo dpkg -i * (Reading database ... 107907 files and directories currently installed.) Preparing to unpack armbian-config_23.05.0-85_all.deb ... Unpacking armbian-config (23.05.0-85) over (23.02.0-82) ... dpkg: warning: downgrading armbian-firmware from 23.02.0-82 to 1-SA56ad-Bf566 Preparing to unpack armbian-firmware_1-SA56ad-Bf566_all.deb ... Unpacking armbian-firmware (1-SA56ad-Bf566) over (23.02.0-82) ... dpkg-deb: error: 'kernel-sunxi-current_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8.tar' is not a Debian format archive dpkg: error processing archive kernel-sunxi-current_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8.tar (--install): dpkg-deb --control subprocess returned error exit status 2 dpkg: warning: downgrading linux-dtb-current-sunxi from 23.02.0-82 to 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Preparing to unpack linux-dtb-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb ... Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'preinst' starting. + rm -rf /boot/dtb + rm -rf /boot/dtb-6.1.15-sunxi + set +x Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'preinst' finishing. Unpacking linux-dtb-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) over (23.02.0-82) ... dpkg: warning: downgrading linux-headers-current-sunxi from 23.02.0-82 to 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Preparing to unpack linux-headers-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb ... Armbian 'linux-headers-current-sunxi' for '6.1.15-sunxi': 'preinst' starting. + [[ -d /usr/src/linux-headers-6.1.15-sunxi ]] + set +x Armbian 'linux-headers-current-sunxi' for '6.1.15-sunxi': 'preinst' finishing. Unpacking linux-headers-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) over (23.02.0-82) ... dpkg: warning: downgrading linux-image-current-sunxi from 23.02.0-82 to 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Preparing to unpack linux-image-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb ... Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'preinst' starting. + export 'DEB_MAINT_PARAMS=upgrade 23.02.0-82 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8' + DEB_MAINT_PARAMS='upgrade 23.02.0-82 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8' + export INITRD=Yes + INITRD=Yes + test -d /etc/kernel/preinst.d + run-parts --arg=6.1.15-sunxi --arg=/boot/vmlinuz-6.1.15-sunxi /etc/kernel/preinst.d update-initramfs: Deleting /boot/initrd.img-5.15.93-sunxi Removing obsolete file uInitrd-5.15.93-sunxi + mountpoint -q /boot + set +x Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'preinst' finishing. Unpacking linux-image-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) over (23.02.0-82) ... Preparing to unpack linux-u-boot-orangepione-current_2022.07-Se092-P12e0-Be261_armhf.deb ... Unpacking linux-u-boot-orangepione-current (2022.07-Se092-P12e0-Be261) over (23.02.0-82) ... Setting up armbian-config (23.05.0-85) ... Setting up armbian-firmware (1-SA56ad-Bf566) ... Setting up linux-dtb-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) ... Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'postinst' starting. + cd /boot + ln -sfT dtb-6.1.15-sunxi dtb + set +x Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'postinst' finishing. Setting up linux-headers-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) ... Armbian 'linux-headers-current-sunxi' for '6.1.15-sunxi': 'postinst' starting. + cd /usr/src/linux-headers-6.1.15-sunxi ++ grep -c processor /proc/cpuinfo + NCPU=4 + echo 'Compiling kernel-headers tools (6.1.15-sunxi) using 4 CPUs - please wait ...' Compiling kernel-headers tools (6.1.15-sunxi) using 4 CPUs - please wait ... + yes '' + make ARCH=arm oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf # # configuration written to .config # + make ARCH=arm -j4 scripts SYNC include/config/auto.conf.cmd HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/fdtoverlay HOSTLD scripts/dtc/dtc HOSTCC scripts/bin2c HOSTCC scripts/kallsyms HOSTCC scripts/recordmcount HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler HOSTCC scripts/insert-sys-cert + make ARCH=arm -j4 M=scripts/mod/ CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost MODPOST scripts/mod/Module.symvers + make ARCH=arm -j4 tools/objtool DESCEND objtool HOSTCC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/fixdep.o HOSTLD /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/fixdep-in.o LINK /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/fixdep CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/weak.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/check.o MKDIR /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/arch/arm/ LD /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/arch/arm/objtool-in.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/special.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/exec-cmd.o check.c:11:10: fatal error: arch/elf.h: No such file or directory 11 | #include <arch/elf.h> | ^~~~~~~~~~~~ compilation terminated. special.c:14:10: fatal error: arch/special.h: No such file or directory 14 | #include <arch/special.h> | ^~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [/usr/src/linux-headers-6.1.15-sunxi/tools/build/Makefile.build:97: /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/check.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [/usr/src/linux-headers-6.1.15-sunxi/tools/build/Makefile.build:97: /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/special.o] Error 1 CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/help.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/pager.o make[2]: *** [Makefile:54: /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/objtool-in.o] Error 2 make[2]: *** Waiting for unfinished jobs.... CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/parse-options.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/run-command.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/sigchain.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/subcmd-config.o LD /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/libsubcmd-in.o AR /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/libsubcmd.a make[1]: *** [Makefile:73: objtool] Error 2 make: *** [Makefile:1437: tools/objtool] Error 2 dpkg: error processing package linux-headers-current-sunxi (--install): installed linux-headers-current-sunxi package post-installation script subprocess returned error exit status 2 Setting up linux-image-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) ... Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'postinst' starting. + export 'DEB_MAINT_PARAMS=configure 23.02.0-82' + DEB_MAINT_PARAMS='configure 23.02.0-82' + export INITRD=Yes + INITRD=Yes + test -d /etc/kernel/postinst.d + run-parts --arg=6.1.15-sunxi --arg=/boot/vmlinuz-6.1.15-sunxi /etc/kernel/postinst.d update-initramfs: Generating /boot/initrd.img-6.1.15-sunxi update-initramfs: Converting to u-boot format + echo 'Armbian: update last-installed kernel symlink to '\''zImage'\''...' Armbian: update last-installed kernel symlink to 'zImage'... + ln -sfv vmlinuz-6.1.15-sunxi /boot/zImage '/boot/zImage' -> 'vmlinuz-6.1.15-sunxi' + touch /boot/.next + set +x Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'postinst' finishing. Setting up linux-u-boot-orangepione-current (2022.07-Se092-P12e0-Be261) ... Errors were encountered while processing: kernel-sunxi-current_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8.tar linux-headers-current-sunxi igor@honeypot:~/trash/debs$ dpkg --info linux-headers-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb new Debian package, version 2.0. size 90777792 bytes: control archive=10240 bytes. 753 bytes, 11 lines control 712 bytes, 18 lines * postinst #!/bin/bash 442 bytes, 13 lines * preinst #!/bin/bash 425 bytes, 13 lines * prerm #!/bin/bash Version: 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Maintainer: Igor Pecovnik <igor.pecovnik@****l.com> Section: devel Package: linux-headers-current-sunxi Architecture: armhf Provides: linux-headers, linux-headers-armbian, armbian-current Depends: make, gcc, libc6-dev, bison, flex, libssl-dev, libelf-dev Description: Armbian Linux current headers version "6.1.15" git revision "42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3" codename "Hurr durr Ima ninja sloth" drivers hash "4dc8886c42c815ac" patches hash "d2ed4fa5f44d9273" .config hash "54bb989b8503c440" .config hook hash "fe661159ee64825e" framework bash hash "d6b88a4bb72d3422" This package provides kernel header files for 6.1.15-sunxi . This is useful for DKMS and building of external modules. Packages were built with: ./compile.sh BOARD=orangepione BRANCH=current BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=yes KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img SKIP_EXTERNAL_TOOLCHAINS=no BUILD_KSRC=no PRIVATE_CCACHE=yes RELEASE=bionic ARTIFACT_IGNORE_CACHE=yes BUILD_KSRC=yes KERNEL_GIT=full
  6. Thanks @going, and this I have to install on every machine in order to be possible install headers? It looks strange to me, I never have any such problems with old build system, last kernel built with it was 6.1.11. I have several OrangePi's (One, Plus2E, PC2, Prime, ZeroPlus) and I allways build kernels for all of them, without need for this packages until new build system.
  7. With new python based build system there is error compiling headers while installing headers deb. Im not sure is it because of new build system or the problem is in 6.1.15 kernel branch. My compile command was: ./compile.sh BOARD=orangepione BRANCH=current BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=yes KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img SKIP_EXTERNAL_TOOLCHAINS=no BUILD_KSRC=no PRIVATE_CCACHE=yes RELEASE=bionic ARTIFACT_IGNORE_CACHE=yes BUILD_KSRC=yes KERNEL_GIT=full While installing i got: igor@honeypot:~/trash/debs$ ls -1 armbian-config_23.05.0-trunk_all.deb armbian-firmware_1-SA56ad-Bf566_all.deb linux-dtb-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb linux-headers-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb linux-image-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb linux-u-boot-orangepione-current_2022.07-Se092-P12e0-Be261_armhf.deb igor@honeypot:~/trash/debs$ sudo dpkg -i * [sudo] password for igor: (Reading database ... 107907 files and directories currently installed.) Preparing to unpack armbian-config_23.05.0-trunk_all.deb ... Unpacking armbian-config (23.05.0-trunk) over (23.02.0-82) ... dpkg: warning: downgrading armbian-firmware from 23.02.0-82 to 1-SA56ad-Bf566 Preparing to unpack armbian-firmware_1-SA56ad-Bf566_all.deb ... Unpacking armbian-firmware (1-SA56ad-Bf566) over (23.02.0-82) ... dpkg: warning: downgrading linux-dtb-current-sunxi from 23.02.0-82 to 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Preparing to unpack linux-dtb-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb ... Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'preinst' starting. + rm -rf /boot/dtb + rm -rf /boot/dtb-6.1.15-sunxi + set +x Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'preinst' finishing. Unpacking linux-dtb-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) over (23.02.0-82) ... dpkg: warning: downgrading linux-headers-current-sunxi from 23.02.0-82 to 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Preparing to unpack linux-headers-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb ... Armbian 'linux-headers-current-sunxi' for '6.1.15-sunxi': 'preinst' starting. + [[ -d /usr/src/linux-headers-6.1.15-sunxi ]] + set +x Armbian 'linux-headers-current-sunxi' for '6.1.15-sunxi': 'preinst' finishing. Unpacking linux-headers-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) over (23.02.0-82) ... dpkg: warning: downgrading linux-image-current-sunxi from 23.02.0-82 to 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8 Preparing to unpack linux-image-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb ... Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'preinst' starting. + export 'DEB_MAINT_PARAMS=upgrade 23.02.0-82 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8' + DEB_MAINT_PARAMS='upgrade 23.02.0-82 6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8' + export INITRD=Yes + INITRD=Yes + test -d /etc/kernel/preinst.d + run-parts --arg=6.1.15-sunxi --arg=/boot/vmlinuz-6.1.15-sunxi /etc/kernel/preinst.d update-initramfs: Deleting /boot/initrd.img-5.15.93-sunxi Removing obsolete file uInitrd-5.15.93-sunxi + mountpoint -q /boot + set +x Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'preinst' finishing. Unpacking linux-image-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) over (23.02.0-82) ... Preparing to unpack linux-u-boot-orangepione-current_2022.07-Se092-P12e0-Be261_armhf.deb ... Unpacking linux-u-boot-orangepione-current (2022.07-Se092-P12e0-Be261) over (23.02.0-82) ... Setting up armbian-config (23.05.0-trunk) ... Setting up armbian-firmware (1-SA56ad-Bf566) ... Setting up linux-dtb-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) ... Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'postinst' starting. + cd /boot + ln -sfT dtb-6.1.15-sunxi dtb + set +x Armbian 'linux-dtb-current-sunxi' for '6.1.15-sunxi': 'postinst' finishing. Setting up linux-headers-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) ... Armbian 'linux-headers-current-sunxi' for '6.1.15-sunxi': 'postinst' starting. + cd /usr/src/linux-headers-6.1.15-sunxi ++ grep -c processor /proc/cpuinfo + NCPU=4 + echo 'Compiling kernel-headers tools (6.1.15-sunxi) using 4 CPUs - please wait ...' Compiling kernel-headers tools (6.1.15-sunxi) using 4 CPUs - please wait ... + yes '' + make ARCH=arm oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf # # configuration written to .config # + make ARCH=arm -j4 scripts SYNC include/config/auto.conf.cmd HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/fdtoverlay HOSTLD scripts/dtc/dtc HOSTCC scripts/bin2c HOSTCC scripts/kallsyms HOSTCC scripts/recordmcount HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler HOSTCC scripts/insert-sys-cert + make ARCH=arm -j4 M=scripts/mod/ CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost MODPOST scripts/mod/Module.symvers + make ARCH=arm -j4 tools/objtool DESCEND objtool HOSTCC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/fixdep.o HOSTLD /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/fixdep-in.o LINK /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/fixdep CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/weak.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/check.o MKDIR /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/arch/arm/ LD /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/arch/arm/objtool-in.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/special.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/exec-cmd.o check.c:11:10: fatal error: arch/elf.h: No such file or directory 11 | #include <arch/elf.h> | ^~~~~~~~~~~~ compilation terminated. make[3]: *** [/usr/src/linux-headers-6.1.15-sunxi/tools/build/Makefile.build:97: /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/check.o] Error 1 make[3]: *** Waiting for unfinished jobs.... special.c:14:10: fatal error: arch/special.h: No such file or directory 14 | #include <arch/special.h> | ^~~~~~~~~~~~~~~~ compilation terminated. CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/help.o make[3]: *** [/usr/src/linux-headers-6.1.15-sunxi/tools/build/Makefile.build:97: /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/special.o] Error 1 CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/pager.o make[2]: *** [Makefile:54: /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/objtool-in.o] Error 2 make[2]: *** Waiting for unfinished jobs.... CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/parse-options.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/run-command.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/sigchain.o CC /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/subcmd-config.o LD /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/libsubcmd-in.o AR /usr/src/linux-headers-6.1.15-sunxi/tools/objtool/libsubcmd.a make[1]: *** [Makefile:73: objtool] Error 2 make: *** [Makefile:1437: tools/objtool] Error 2 dpkg: error processing package linux-headers-current-sunxi (--install): installed linux-headers-current-sunxi package post-installation script subprocess returned error exit status 2 Setting up linux-image-current-sunxi (6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8) ... Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'postinst' starting. + export 'DEB_MAINT_PARAMS=configure 23.02.0-82' + DEB_MAINT_PARAMS='configure 23.02.0-82' + export INITRD=Yes + INITRD=Yes + test -d /etc/kernel/postinst.d + run-parts --arg=6.1.15-sunxi --arg=/boot/vmlinuz-6.1.15-sunxi /etc/kernel/postinst.d update-initramfs: Generating /boot/initrd.img-6.1.15-sunxi update-initramfs: Converting to u-boot format + echo 'Armbian: update last-installed kernel symlink to '\''zImage'\''...' Armbian: update last-installed kernel symlink to 'zImage'... + ln -sfv vmlinuz-6.1.15-sunxi /boot/zImage '/boot/zImage' -> 'vmlinuz-6.1.15-sunxi' + touch /boot/.next + set +x Armbian 'linux-image-current-sunxi' for '6.1.15-sunxi': 'postinst' finishing. Setting up linux-u-boot-orangepione-current (2022.07-Se092-P12e0-Be261) ... Errors were encountered while processing: linux-headers-current-sunxi
  8. Thanks. Just writting this because somebody will faced same problem.
  9. Well, some progress made... It is something related to distribution. Same kernel on focal installs without errors, while on bionic errors appeared. ???
  10. Unfortunatelly same story. Built in clean impish install: igor@honeypot:~/trash/kernel$ ls -1 armbian-config_22.05.0-trunk_all.deb armbian-firmware_22.05.0-trunk_all.deb linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb linux-headers-current-sunxi_22.05.0-trunk_armhf.deb linux-image-current-sunxi_22.05.0-trunk_armhf.deb linux-libc-dev_22.05.0-trunk_armhf.deb linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb igor@honeypot:~/trash/kernel$ sudo dpkg -i * [sudo] password for igor: (Reading database ... 77393 files and directories currently installed.) Preparing to unpack armbian-config_22.05.0-trunk_all.deb ... Unpacking armbian-config (22.05.0-trunk) over (22.02.18) ... Preparing to unpack armbian-firmware_22.05.0-trunk_all.deb ... Unpacking armbian-firmware (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb ... Unpacking linux-dtb-current-sunxi (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-headers-current-sunxi_22.05.0-trunk_armhf.deb ... Unpacking linux-headers-current-sunxi (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-image-current-sunxi_22.05.0-trunk_armhf.deb ... update-initramfs: Deleting /boot/initrd.img-5.10.96-sunxi Removing obsolete file uInitrd-5.10.96-sunxi Unpacking linux-image-current-sunxi (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-libc-dev_22.05.0-trunk_armhf.deb ... Unpacking linux-libc-dev:armhf (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb ... Unpacking linux-u-boot-orangepione-current (22.05.0-trunk) over (22.02.18) ... Setting up armbian-config (22.05.0-trunk) ... Setting up armbian-firmware (22.05.0-trunk) ... Setting up linux-dtb-current-sunxi (22.05.0-trunk) ... Setting up linux-headers-current-sunxi (22.05.0-trunk) ... Compiling headers - please wait ... Setting up linux-image-current-sunxi (22.05.0-trunk) ... update-initramfs: Generating /boot/initrd.img-5.15.26-sunxi modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/cdrom/cdrom.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/isofs/isofs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/jfs/jfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/reiserfs/reiserfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/udf/udf.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/xfs/xfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/netfs/netfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/fscache/fscache.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/net/sunrpc/sunrpc.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/grace.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/lockd/lockd.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv2.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/nfs_acl.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv3.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv4.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/input/mouse/psmouse.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nls/nls_iso8859-1.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/extcon/extcon-usb-gpio.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/lib/842/842_decompress.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/md/dm-mod.ko.xz not found. update-initramfs: Converting to u-boot format Setting up linux-libc-dev:armhf (22.05.0-trunk) ... Setting up linux-u-boot-orangepione-current (22.05.0-trunk) ...
  11. Ok. Il try, but I didn't have problems until 5.15 becomes current branch.
  12. I tested today with same result. My machine is virtual machine under proxmox: igor@armbian:~/trash$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal igor@armbian:~/trash$ uname -a Linux armbian 5.4.0-102-generic #115-Ubuntu SMP Wed Feb 23 14:57:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux igor@armbian:~/trash$ free total used free shared buff/cache available Mem: 8149732 282268 1862724 2488 6004740 7553428 Swap: 8388604 3584 8385020 igor@armbian:~/trash$ All OS updates are installed To be sure, I started from the begiining with: rm -rf build git clone --depth 1 https://github.com/armbian/build cd build ./compile.sh I choose: U-boot and kernel packages Do not change the kernel configuration orangepione Allwinner H3 quad core 512MB RAM SoC current Recommended. Come with best support After compilation done, copied packages to my test system and installed them: igor@honeypot:~/trash/kernel$ ls -1 armbian-config_22.05.0-trunk_all.deb armbian-firmware_22.05.0-trunk_all.deb linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb linux-headers-current-sunxi_22.05.0-trunk_armhf.deb linux-image-current-sunxi_22.05.0-trunk_armhf.deb linux-libc-dev_22.05.0-trunk_armhf.deb linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb igor@honeypot:~/trash/kernel$ sudo dpkg -i * [sudo] password for igor:............. (Reading database ... 77393 files and directories currently installed.) Preparing to unpack armbian-config_22.05.0-trunk_all.deb ... Unpacking armbian-config (22.05.0-trunk) over (22.02.18) ... Preparing to unpack armbian-firmware_22.05.0-trunk_all.deb ... Unpacking armbian-firmware (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb ... Unpacking linux-dtb-current-sunxi (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-headers-current-sunxi_22.05.0-trunk_armhf.deb ... Unpacking linux-headers-current-sunxi (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-image-current-sunxi_22.05.0-trunk_armhf.deb ... update-initramfs: Deleting /boot/initrd.img-5.10.96-sunxi Removing obsolete file uInitrd-5.10.96-sunxi Unpacking linux-image-current-sunxi (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-libc-dev_22.05.0-trunk_armhf.deb ... Unpacking linux-libc-dev:armhf (22.05.0-trunk) over (22.02.18) ... Preparing to unpack linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb ... Unpacking linux-u-boot-orangepione-current (22.05.0-trunk) over (22.02.18) ... Setting up armbian-config (22.05.0-trunk) ... Setting up armbian-firmware (22.05.0-trunk) ... Setting up linux-dtb-current-sunxi (22.05.0-trunk) ... Setting up linux-headers-current-sunxi (22.05.0-trunk) ... Compiling headers - please wait ... Setting up linux-image-current-sunxi (22.05.0-trunk) ... update-initramfs: Generating /boot/initrd.img-5.15.26-sunxi modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/cdrom/cdrom.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/isofs/isofs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/jfs/jfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/reiserfs/reiserfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/udf/udf.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/xfs/xfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/netfs/netfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/fscache/fscache.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/net/sunrpc/sunrpc.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/grace.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/lockd/lockd.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv2.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/nfs_acl.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv3.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv4.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/input/mouse/psmouse.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nls/nls_iso8859-1.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/extcon/extcon-usb-gpio.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/lib/842/842_decompress.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/md/dm-mod.ko.xz not found. update-initramfs: Converting to u-boot format Setting up linux-libc-dev:armhf (22.05.0-trunk) ... Setting up linux-u-boot-orangepione-current (22.05.0-trunk) ... igor@honeypot:~/trash/kernel$ My test system is OrangePi One: igor@honeypot:~/trash$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic So, I have no idea whats's wrong. Attached please find compressed build/debug directory if this can help to identify problem. debug.tgz
  13. Hi, Please help. I am building kernel using armbian build system for a long time, but in past two releases of current kernel (5.15.23 and 5.15.53) I am getting errors while installing: modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/cdrom/cdrom.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/isofs/isofs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/jfs/jfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/reiserfs/reiserfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/udf/udf.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/xfs/xfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/netfs/netfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/fscache/fscache.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/net/sunrpc/sunrpc.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs_common/grace.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/lockd/lockd.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfs.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfsv2.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs_common/nfs_acl.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfsv3.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfsv4.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/input/mouse/psmouse.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nls/nls_iso8859-1.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/extcon/extcon-usb-gpio.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/lib/842/842_decompress.ko.xz not found. modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/md/dm-mod.ko.xz not found. but kernel works and all listed modules are in place when I look with ls. Is this kernel corrupt or can I ignore this messages?
  14. Oh, that is good. I have one machine which really need kernel update, because it was offline last six months. Thank you very much.
  15. Ok, than I need just wait. No problem, this is not such a big issue.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines