Page 79 of 79

Porteus Kernel Builder

Posted: 21 Feb 2021, 11:33
by neko
I apologize for the carelessness and inadequacy of the response even if an error was pointed out.

1. Configure update problem
@roadie
Porteus Kernel Builder (Post by roadie #81422)

I did ordinary configs.
But neko-configs were not done.

It will be updated together with the ID change ("-newAUFif" --> "-porteus").
As a result, even neko-config becomes the conventional AUFS interface.
Support for the new AUFS interface is no longer required.


2. *.c32 problem
@martomlub
ArchLinux packages manager for Porteus (Post by martomlub #81449)

I changed it in response to the indication.
OLD

Code: Select all

# file APorteus-v21.02.12-x86_64/boot/syslinux/*.c32
APorteus-v21.02.12-x86_64/boot/syslinux/chain.c32:    COM executable (32-bit COMBOOT, relocatable)
APorteus-v21.02.12-x86_64/boot/syslinux/reboot.c32:   COM executable (32-bit COMBOOT, relocatable)
APorteus-v21.02.12-x86_64/boot/syslinux/vesamenu.c32: COM executable (32-bit COMBOOT, relocatable)
#
# md5sum APorteus-v21.02.12-x86_64/boot/syslinux/*.c32
b18960c5d608f4c6aca16e13c9009c2e  APorteus-v21.02.12-x86_64/boot/syslinux/chain.c32
c250e917d0b7ff29355b50ce3938efe3  APorteus-v21.02.12-x86_64/boot/syslinux/reboot.c32
dd1de2b0eb02d717de8ff2c0b2fb13af  APorteus-v21.02.12-x86_64/boot/syslinux/vesamenu.c32
NEW

Code: Select all

# file APorteus-v21.02.19-x86_64/boot/syslinux/*.c32
APorteus-v21.02.19-x86_64/boot/syslinux/chain.c32:    ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
APorteus-v21.02.19-x86_64/boot/syslinux/ldlinux.c32:  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
APorteus-v21.02.19-x86_64/boot/syslinux/libcom32.c32: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
APorteus-v21.02.19-x86_64/boot/syslinux/libutil.c32:  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
APorteus-v21.02.19-x86_64/boot/syslinux/reboot.c32:   ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
APorteus-v21.02.19-x86_64/boot/syslinux/vesamenu.c32: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
#
# md5sum APorteus-v21.02.19-x86_64/boot/syslinux/*.c32
54714afcd298df93dd4335768d84d1fe  APorteus-v21.02.19-x86_64/boot/syslinux/chain.c32
f9bb3b4cefdd0308f951dbc6d7532f85  APorteus-v21.02.19-x86_64/boot/syslinux/ldlinux.c32
3629d61c32dd49a23a907a8e7956a2c9  APorteus-v21.02.19-x86_64/boot/syslinux/libcom32.c32
3117264d409f2526cdefad7cf47c53a5  APorteus-v21.02.19-x86_64/boot/syslinux/libutil.c32
7cbb406dc353aa555c0f88e220e297fb  APorteus-v21.02.19-x86_64/boot/syslinux/reboot.c32
915521e8588cbc32ca2ef435dbb07e96  APorteus-v21.02.19-x86_64/boot/syslinux/vesamenu.c32
----------------------------
@Blaze
1.
1) If this option is on - compile of kernel is started automaticly and I am not able to hack perform script :unknown:
not bad if you set for the perform script kernel options that fulalas shared by deffault in this post
{Including the "compile item ON" at GUI setting, and get the shell script "perform" file.}
is meening that
{Including the "compile item ON" at GUI setting, and press the "help" button instead of the "OK" button.}

2.
2) Your ISO is have old *.c32 files at the /boot/syslinux and boot up of APorteus is faile.
Replace all *.c32 files from Porteus 5.0 RC2
Please tell me which APorteus ISO is the ISO that caused the problem.


Thanks.

Porteus Kernel Builder

Posted: 21 Feb 2021, 12:23
by babam
Blaze wrote:
21 Feb 2021, 11:16
babam, I don't see any problems, activate/deactivate is work fine.
How about this

Code: Select all

$ grep auf.deact.sh /opt/porteus-scripts/xorg/aufs-remove
$ grep order /opt/porteus-scripts/xorg/auf.deact.sh

Porteus Kernel Builder

Posted: 21 Feb 2021, 13:56
by maia
Blaze wrote:
21 Feb 2021, 08:46
[Updated kernel Examples]
64bit-ALL-kernel5.11.0.tar (~113 M)
:) Thank you Blaze. As far as I could test, apparently everything running smoothly, even the interface with my old Nokia

Porteus Kernel Builder

Posted: 21 Feb 2021, 14:05
by neko
@babam
[Kernel 5.10/5.11 with AUFS patch (normal AUFS Interface) by using neko-config modified with @roadie change]

Code: Select all

# grep auf.deact.sh /opt/porteus-scripts/xorg/aufs-remove
	/opt/porteus-scripts/xorg/auf.deact.sh $targetmod
# grep order /opt/porteus-scripts/xorg/auf.deact.sh
echo "You must deactivate depending on the order \"${ORDER}\"."
#
These modifies are included in "001-patch.xzm".

By using "Kernel Builder",
updateing the kernel of ISO with "keep org" (keep original initrd.xz) flag OFF,
"001-patch.xzm" will be inserted into Porteus v5.0rc2 ISO.

1. normal AUFS Interface doesn't need "001-patch.xzm".
---> "keep org" (keep original initrd.xz) flag ON
Please refer to Porteus Kernel Builder (Post by neko #81409)

or
2. by using neko-config modified with @roadie change
--->
by using neko-config modified with (@roadie change + one)

+one: the ID change ("-newAUFif" --> "-porteus").
CONFIG_LOCALVERSION="-newAUFif" ---> CONFIG_LOCALVERSION="-porteus"


Thanks.

Porteus Kernel Builder

Posted: 21 Feb 2021, 15:56
by Blaze
1. I Will take a look later.

2.
neko wrote:
21 Feb 2021, 11:33
Please tell me which APorteus ISO is the ISO that caused the problem.
APorteus-LXDE_zh-v21.02.19-x86_64.iso ArchLinux packages manager for Porteus (Post by neko #81503)
With *.c32 from Porteus 5.0 RC2 it looks like this:

Code: Select all

md5sum *.c32
4a8e8438b13302253361af3a05c26302  chain.c32
516538143bf6e4b34c02779f8762949c  ldlinux.c32
64aa36599b2a11e8d7d645de07e34171  libcom32.c32
7f10f0a54869fae65a944c0b2ac6969b  libutil.c32
3613bb32ceea183ccfcd07c2592ecfb5  reboot.c32
50370c950dc867a63a9d06b7af76f777  vesamenu.c32
Thanks.

Отправлено спустя 2 минуты 21 секунду:
babam, auf.deact.sh is not used

Code: Select all

root@porteus:~# grep auf.deact.sh /opt/porteus-scripts/xorg/aufs-remove
root@porteus:~# grep order /opt/porteus-scripts/xorg/auf.deact.sh
grep: /opt/porteus-scripts/xorg/auf.deact.sh: Нет такого файла или каталога
root@porteus:~#

Porteus Kernel Builder

Posted: 22 Feb 2021, 05:14
by neko
"Kernel Builder" was updated to version 21.02.22. (Please refer to the first article.)

1. kernel 5.10 & 5.11 configs were updated

There are 2 kinds config in kernel 5.10 & 5.11.

[OLD]
a) XXbit.config: was generated from config that was presented by Blaze (Porteus Kernel Builder (Post by Blaze #80931))
b) neko-XXbit.config: was generated from 5.4, 5.5, 5.6, 5.7, 5.8, 5.9 config.

[NEW]
a) new-XXbit.config: was copied from [OLD] XXbit.config
b) XXbit.config: was copied from [OLD] neko-XXbit.config and modified as followd.

Code: Select all

# diff neko-32bit.config 32/32bit.config
3c3
< # Linux/x86 5.10.15 Kernel Configuration
---
> # Linux/x86 5.10.17 Kernel Configuration
8c8
< CONFIG_LD_VERSION=235010000
---
> CONFIG_LD_VERSION=236010000
22c22
< CONFIG_LOCALVERSION="-newAUFif"
---
> CONFIG_LOCALVERSION="-porteus"
6883c6883
< # CONFIG_DEBUG_FS_ALLOW_ALL is not set
---
> CONFIG_DEBUG_FS_ALLOW_ALL=y
6885c6885
< CONFIG_DEBUG_FS_ALLOW_NONE=y
---
> # CONFIG_DEBUG_FS_ALLOW_NONE is not set
#
#
#
# diff neko-64bit.config 64/64bit.config
3c3
< # Linux/x86 5.10.15 Kernel Configuration
---
> # Linux/x86 5.10.17 Kernel Configuration
8c8
< CONFIG_LD_VERSION=235010000
---
> CONFIG_LD_VERSION=236010000
24c24
< CONFIG_LOCALVERSION="-newAUFif"
---
> CONFIG_LOCALVERSION="-porteus"
6958c6958
< # CONFIG_DEBUG_FS_ALLOW_ALL is not set
---
> CONFIG_DEBUG_FS_ALLOW_ALL=y
6960c6960
< CONFIG_DEBUG_FS_ALLOW_NONE=y
---
> # CONFIG_DEBUG_FS_ALLOW_NONE is not set
#
#
#
# diff neko-32bit.config 32/32bit.config
3c3
< # Linux/x86 5.11.0-rc7 Kernel Configuration
---
> # Linux/x86 5.11.0 Kernel Configuration
8c8
< CONFIG_LD_VERSION=235010000
---
> CONFIG_LD_VERSION=236010000
22c22
< CONFIG_LOCALVERSION="-newAUFif"
---
> CONFIG_LOCALVERSION="-porteus"
6928c6928
< # CONFIG_DEBUG_FS_ALLOW_ALL is not set
---
> CONFIG_DEBUG_FS_ALLOW_ALL=y
6930c6930
< CONFIG_DEBUG_FS_ALLOW_NONE=y
---
> # CONFIG_DEBUG_FS_ALLOW_NONE is not set
#
#
#
# diff neko-64bit.config 64/64bit.config
3c3
< # Linux/x86 5.11.0-rc7 Kernel Configuration
---
> # Linux/x86 5.11.0 Kernel Configuration
8c8
< CONFIG_LD_VERSION=235010000
---
> CONFIG_LD_VERSION=236010000
24c24
< CONFIG_LOCALVERSION="-newAUFif"
---
> CONFIG_LOCALVERSION="-porteus"
7008c7008
< # CONFIG_DEBUG_FS_ALLOW_ALL is not set
---
> CONFIG_DEBUG_FS_ALLOW_ALL=y
7010c7010
< CONFIG_DEBUG_FS_ALLOW_NONE=y
---
> # CONFIG_DEBUG_FS_ALLOW_NONE is not set
#
Both configs will build the normal AUFS interface for Porteus.

a)new-XXbit.config: With this, the size of vmlinuz & 000-kernel is bigger than ones with XXbit.config.
vmlinuz: 7610528 - 5071392
000-kernel.xzm: 106782720 - 83963904
about 25 M bigger

b)XXbit.config (usually used): A sound will be mute at boot.
"Sound mute after boot" issue.
By "PulseAudio Volume Control" (from GUI I/F menu), set "mute" and un-"mute" and slide volume.


2. Delete the aufs-utils that is not used in Porteus

If you want to study more it,
you can get it by modify getAUFS.sh as followed.

/usr/local/share/mkKernel/bin/getAUFS.sh
line 39-43

##--- SKIP aufs-util ---##
rm -fr aufs-util.git
cd ../
exit 0
##--- if need aufs-util, delete above 3 lines ---##

--->

##--- SKIP aufs-util ---##
#rm -fr aufs-util.git
#cd ../
#exit 0
##--- if need aufs-util, delete above 3 lines ---##


Thanks.

Porteus Kernel Builder

Posted: 23 Feb 2021, 11:43
by Blaze
neko wrote:
22 Feb 2021, 05:14
b)XXbit.config (usually used): A sound will be mute at boot.
"Sound mute after boot" issue.
By "PulseAudio Volume Control" (from GUI I/F menu), set "mute" and un-"mute" and slide volume.
The same for me. How it can be fixed?

Porteus Kernel Builder

Posted: 24 Feb 2021, 01:08
by neko
1. AUFS patch for kernel 5.11.1
(Version: aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.11-20210222")

mm/shmem.c syntax error
--->
aufs5-standalone.git/tmpfs-idr.patch:diff --git a/mm/shmem.c b/mm/shmem.c
--->
/usr/local/share/mkKernel/bin/aufsOption2.sh: ERROR=`cat "$PATCHDIR"/tmpfs-idr.patch | patch -p1 | grep FAILED`
--->
skip aufsOption2.sh as patching error by modifying.

[/usr/local/share/mkKernel/bin/aufsOption2.sh]
1 #!/bin/sh
2 # arg1: "Kernel Builder" work directory
3 # arg2: kernel version: exp. 3.18.140, 4.19.57, 5.1.16, 5.2-rc7
4 # arg3: 32/64
5 KDIR=$1
6 KVER=$2
7 COMPARCH=$3
[ $KVER = 5.11.1 ] && exit 1; # patching error
8
9 V3_4=${KVER%%.*}
...

--->
"BASEPLUS" patching


2. sound mute issue
under studying.


Thanks.

Porteus Kernel Builder

Posted: 24 Feb 2021, 16:03
by Blaze
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 07-kernel-header-NNN.xzm, 64bit.config (aka neko-64bit.config)

[5.10.18] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.10.18.tar (~113 M)
https://files.sberdisk.ru/s/96sata95BxXrbox
85ffe2a677571614d4fd7ef932eb8595 64bit-ALL-kernel5.10.18.tar

Note : Compiler that was used.
for kernel 5.10.18: 10.2.0-x86_64

Thanks to neko for his support :hi:

Porteus Kernel Builder

Posted: 24 Feb 2021, 18:43
by AcnapyxoB
Will anyone tell me where to put 64bit.config and 07-kernel-header!
Are they necessary?

Porteus Kernel Builder

Posted: 25 Feb 2021, 02:52
by neko
@AcnapyxoB
The current "Kernel Builder" (Version 21.02.22) has XXbit.config & new-XXbit.config.
Porteus Kernel Builder (Post by neko #81534)

1. where to put 64bit.config?
If this 64bit.config is old one, it was renamed as new-64bit.config.

2. where to put 07-kernel-header?
It will not be created. Because aufs-utils is not used.

3.Are they necessary?
(1) old 64bit.config
If you need it, you can use new-64bit.config.

(2) 07-kernel-header
If you need it, you need get aufs-utils by modifying /usr/local/share/mkKernel/bin/getAUFS.sh.
Please refer to "2. Delete the aufs-utils that is not used in Porteus" of Porteus Kernel Builder (Post by neko #81534)


Thanks.

Porteus Kernel Builder

Posted: 25 Feb 2021, 06:01
by AcnapyxoB
@neko
Thanks for explanation.

Porteus Kernel Builder

Posted: 26 Feb 2021, 18:25
by neko
1. AUFS patch ("5.11-20210222") is not yet updated for kernel 5.11.

mm/shmem.c syntax error

skip tmpfs-idr.patch by modifying /usr/local/share/mkKernel/bin/aufsOption2.sh.

Code: Select all

$ diff /OLD/aufsOption2.sh /usr/local/share/mkKernel/bin/
8a9,11
> [ $KVER = 5.11.1 ] && exit 1; # patching error
> [ $KVER = 5.11.2 ] && exit 1; # patching error
> 
$

2. "Kernel Builder" was updated to version 21.02.26. (Please refer to the first article.)

kernel 5.10 & 5.11 configs were updated (delete neko config)

Note:
APorteus-LXDE_ru-v21.02.26-x86_64.iso can be used as updated "Kernel Builder" ISO.
ArchLinux packages manager for Porteus (Post by neko #81581)



Thanks.

Porteus Kernel Builder

Posted: 01 Mar 2021, 12:23
by neko
1. AUFS patch for kernel 5.12-rc1 is not yet ready.
aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.x-rcN-20210222"

(1)tmpfs-idr.patch patching is error.
(2)fs/aufs/vfsub.h is syntax errors at compile.

Note
You can build kernel 5.12-rc1 without AUFS patch and then get OVERLAYFS kernel.


2 Introduce kernel 5.12 into "Kernel Builder"
"Kernel Builder" was updated to version 21.03.01.
Please refer to the top article of this thread.

The config was modifyed from one of kernel 5.11.

Code: Select all

ACPI Firmware Performance Data Table (FPDT) support (ACPI_FPDT) [N/y/?] (NEW) N
CXL (Compute Express Link) Devices Support (CXL_BUS) [N/m/y/?] (NEW) N
Support for Broadcom VK Accelerators (BCM_VK) [N/m/y/?] (NEW) N
PTP support for Marvell 88E6xxx (NET_DSA_MV88E6XXX_PTP) [N/y/?] (NEW) N
    MediaTek MT7921E (PCIe) support (MT7921E) [N/m/?] (NEW) N
  LTC4162-L charger (CHARGER_LTC4162L) [N/m/y/?] (NEW) N
  TI BQ256XX battery charger driver (CHARGER_BQ256XX) [N/m/y/?] (NEW) N
 Aosong AHT10 (SENSORS_AHT10) [N/m/y/?] (NEW) N
 Texas Instruments TPS23861 PoE PSE (SENSORS_TPS23861) [N/m/y/?] (NEW) N
OmniVision OV5648 sensor support (VIDEO_OV5648) [N/m/y/?] (NEW) N
OmniVision OV8865 sensor support (VIDEO_OV8865) [N/m/y/?] (NEW) N
IMI RDACM21 camera support (VIDEO_RDACM21) [N/m/y/?] (NEW) N
MaxLinear MXL692 based (DVB_MXL692) [M/n/y/?] (NEW) N
PlayStation HID Driver (HID_PLAYSTATION) [N/m/y/?] (NEW) N
HID over I2C transport layer ACPI driver (I2C_HID_ACPI) [N/m/y/?] (NEW) N
Cadence USB Support (USB_CDNS_SUPPORT) [N/m/y/?] (NEW) N
    USB MaxLinear/Exar USB to Serial driver (USB_SERIAL_XR) [N/m/?] (NEW) N
 LED Trigger for TTY devices (LEDS_TRIGGER_TTY) [N/m/y/?] (NEW) N
LED Blink support (LEDS_BLINK) [N/y/?] (NEW) N
 Lightning Mountain centralized DMA controllers (INTEL_LDMA) [N/y/?] (NEW) N
DMA-BUF debug checks (DMABUF_DEBUG) [N/y/?] (NEW) N
Dell X86 Platform Specific Device Drivers (X86_PLATFORM_DRIVERS_DELL) [N/y/?] (NEW) N
  Surface Hot-Plug Driver (SURFACE_HOTPLUG) [N/m/y/?] (NEW) N
  Power capping for Dynamic Thermal Power Management (DTPM) [N/y/?] (NEW) N
  Reserved Memory Based Driver Support (NVMEM_RMEM) [N/m/y/?] (NEW) N

     LZ4HC compression support (F2FS_FS_LZ4HC) [Y/n/?] (NEW) Y

KFENCE: low-overhead sampling-based memory safety error detector (KFENCE) [N/y/?] (NEW) N
Debug IRQ flag manipulation (DEBUG_IRQFLAGS) [N/y/?] (NEW) N

Thanks.