Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#1651 by neko » 06 Jun 2022, 05:58

"Kernel Builder" was updated to version 22.06.06. (Please refer to the first article of this thread.)

1. Kernel version 5.19(-rc) was introduced.

But AUFS patch is not yet ready for kernel 5.19(-rc).
auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h:
#define AUFS_VERSION "5.x-rcN-20220606"

==== update Kernel 5.19-rc1 64bit config from 5.18 64bit config ====

Code: Select all

Embed bootconfig file in the kernel (BOOT_CONFIG_EMBED) [N/y/?] (NEW) N
Preserve cpio archive mtimes in initramfs (INITRAMFS_PRESERVE_MTIME) [Y/n/?] (NEW) n
AMD Zen3 Branch Sampling support (PERF_EVENTS_AMD_BRS) [N/y/?] (NEW) N
Late microcode loading (DANGEROUS) (MICROCODE_LATE_LOADING) [N/y/?] (NEW) N
Tainted module unload tracking (MODULE_UNLOAD_TAINT_TRACKING) [N/y/?] (NEW) N
Enable users to initiate firmware updates using sysfs (FW_UPLOAD) [N/y/?] (NEW) N
Modem Host Interface (MHI) bus Endpoint implementation (MHI_BUS_EP) [N/m/y/?] (NEW) N

Adjust memory attributes in EFISTUB (EFI_DXE_MEM_ATTRIBUTES) [Y/n/?] (NEW) Y

Disable EFI runtime services support by default (EFI_DISABLE_RUNTIME) [N/y/?] (NEW) N
EFI Confidential Computing Secret Area Support (EFI_COCO_SECRET) [N/y/?] (NEW) N
Intel MEI GSC embedded device (INTEL_MEI_GSC) [N/m/?] (NEW) N
Marvell Octeon PCI Endpoint NIC Driver (OCTEON_EP) [N/m/y/?] (NEW) N
Solarflare SFC9000 support (SFC_SIENA) [N/m/y/?] (NEW) N
Analog Devices Industrial Ethernet T1L PHYs (ADIN1100_PHY) [N/m/?] (NEW) N
Texas Instruments DP83TD510 Ethernet 10Base-T1L PHY (DP83TD510_PHY) [N/m/?] (NEW) N
pureLiFi devices (WLAN_VENDOR_PURELIFI) [Y/n/?] (NEW) N
Silicon Laboratories devices (WLAN_VENDOR_SILABS) [Y/n/?] (NEW) n
Raspberry Pi Sense HAT joystick (JOYSTICK_SENSEHAT) [N/m/y/?] (NEW) N
Azoteq IQS7222A/B/C capacitive touch controller (INPUT_IQS7222) [N/m/y/?] (NEW) N
I2C driver for Nuvoton NCT6775F and compatibles (SENSORS_NCT6775_I2C) [N/m/y/?] (NEW) N
Infineon XDPE152 family (SENSORS_XDPE152) [N/m/?] (NEW) N
Richtek RT5759 Regulator (REGULATOR_RT5759) [N/m/y/?] (NEW) N
Cirrus Logic CS35L45 CODEC (SPI) (SND_SOC_CS35L45_SPI) [N/m/?] (NEW) N
Cirrus Logic CS35L45 CODEC (I2C) (SND_SOC_CS35L45_I2C) [N/m/?] (NEW) N
Analog Devices MAX98396 Speaker Amplifier (SND_SOC_MAX98396) [N/m/?] (NEW) N
Wolfson Microelectronics WM8731 CODEC with I2C (SND_SOC_WM8731_I2C) [N/m/?] (NEW) N
Wolfson Microelectronics WM8731 CODEC with SPI (SND_SOC_WM8731_SPI) [N/m/?] (NEW) N
Wolfson Microelectronics WM8940 codec (SND_SOC_WM8940) [N/m/?] (NEW) N
Mega World based game controller force feedback support (HID_MEGAWORLD_FF) [N/m/y/?] (NEW) N
ON Semi FSA4480 Analog Audio Switch driver (TYPEC_MUX_FSA4480) [N/m/?] (NEW) N
EFI secret area securityfs support (EFI_SECRET) [N/m/y/?] (NEW) N
Intel In Field Scan (INTEL_IFS) [N/m/y/?] (NEW) N
Winmate FM07/FM07P front-panel keys driver (WINMATE_FM07_KEYS) [N/m/y/?] (NEW) N
ChromeOS specific ACPI extensions (CHROMEOS_ACPI) [N/m/y/?] (NEW) N
Hardware Timestamping Engine (HTE) Support (HTE) [N/y/?] (NEW) N
Support for on-demand read (CACHEFILES_ONDEMAND) [N/y/?] (NEW) N
TRUSTED KEYS (TRUSTED_KEYS) [N/m/y/?] (NEW) N
*
* Kernel hardening options
*
Randomize layout of sensitive kernel structures
> 1. Disable structure layout randomization (RANDSTRUCT_NONE) (NEW)
  2. Fully randomize structure layout (RANDSTRUCT_FULL) (NEW)
  3. Limit randomization of structure layout to cache-lines (RANDSTRUCT_PERFORMANCE) (NEW)
choice[1-3?]: 1
SM3 digest algorithm (CRYPTO_SM3_GENERIC) [N/m/y/?] (NEW) N
SM4 cipher algorithm (CRYPTO_SM4_GENERIC) [N/m/y/?] (NEW) N
Add generic networking debug (DEBUG_NET) [N/y/?] (NEW) N
Expedited RCU CPU stall timeout in milliseconds (RCU_EXP_CPU_STALL_TIMEOUT) [0] (NEW) 

Note: 32bit config was done same as 64bit.


2. Firmware database was updated
[Firmware database : kernel-firmware-20220531_eaee2da-noarch-1plus.xzm (379 M)]
that was created with
slackware package "kernel-firmware-20220531_eaee2da-noarch-1.txz (227 M)" and following pakages.
alsa-firmware-1.2.4-noarch-2
b43-firmware-6.30.163.46-fw-1_SBo
bluetooth
ipw2100-fw-1.3-noarch-10
ipw2200-fw-3.1-noarch-8
zydas



Thanks.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1652 by Ed_P » 07 Jun 2022, 23:39

Blaze is CONFIG_EFI_VARS is enabled in your kernel?
Ed

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1653 by babam » 08 Jun 2022, 04:56

Code: Select all

sudo modprobe configs
zgrep CONFIG_EFI_VARS /proc/config.gz
Sorry, my English is bad.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1654 by Ed_P » 08 Jun 2022, 05:33

Thanks babam. :good:

Code: Select all

guest@porteus:~$ sudo modprobe configs

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
guest@porteus:~$ zgrep CONFIG_EFI_VARS /proc/config.gz
CONFIG_EFI_VARS=y
guest@porteus:~$ 
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1655 by Blaze » 11 Jun 2022, 08:47

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

[5.18.3] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.18.3.tar (~112 M)
https://www.mediafire.com/file/rq40eu4y ... 5.18.3.tar
e2c5d071040262351b0ba74899db9bea 32bit-ALL-kernel5.18.3.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

[5.18.3] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.18.3.tar (~118 M)
https://www.mediafire.com/file/3dcvslxb ... 5.18.3.tar
1af7ad4ed85f5a7077799a434f8aecd5 64bit-ALL-kernel5.18.3.tar

Note 1: Compiler that was used.
for kernel 5.18.3: 12.1.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Thanks to neko for his support.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#1656 by neko » 13 Jun 2022, 10:00

"Kernel Builder" was updated to version 22.06.13. (Please refer to the first article of this thread.)

The config of kernel version 5.19(-rc) was updated.

AUFS patch is ready for kernel 5.19(-rc).
aufs5-standalone.git/include/uapi/linux/aufs_type.h:
#define AUFS_VERSION "5.x-rcN-20220613"


Thanks.

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1657 by babam » 18 Jun 2022, 15:45

Blaze wrote:
11 Jun 2022, 08:47
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)


==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

[5.18.3] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.18.3.tar (~118 M)
Did you build the Kernel using Slackware-Current/APorteus (gcc-12.1.0 and glibc-2.35)?

I can't build the RTL8822CE module (Porteus 5.0rc3 with gcc-11.2.0) https://github.com/juanro49/rtl88x2ce-dkms

Code: Select all

DKMS make.log for rtl88x2ce-35403 for kernel 5.18.3-porteus (x86_64)
Sat Jun 18 21:31:23 WIB 2022
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.3-porteus/build M=/var/lib/dkms/rtl88x2ce/35403/build  modules
make[1]: Entering directory '/usr/src/linux-5.18.3'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 12.1.0
  You are using:           gcc (GCC) 11.2.0
  CC [M]  /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o
./tools/objtool/objtool: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./tools/objtool/objtool)
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o] Error 1
make[2]: *** Deleting file '/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o'
make[2]: *** Waiting for unfinished jobs....
./tools/objtool/objtool: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./tools/objtool/objtool)
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o] Error 1
make[2]: *** Deleting file '/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o'
./tools/objtool/objtool: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./tools/objtool/objtool)
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o] Error 1
make[2]: *** Deleting file '/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o'
./tools/objtool/objtool: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./tools/objtool/objtool)
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o] Error 1
make[2]: *** Deleting file '/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o'
make[1]: *** [Makefile:1834: /var/lib/dkms/rtl88x2ce/35403/build] Error 2
make[1]: Leaving directory '/usr/src/linux-5.18.3'
make: *** [Makefile:2296: modules] Error 2
Thanks.
Sorry, my English is bad.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1658 by Blaze » 18 Jun 2022, 18:14

Sorry it's my mistake with copy paste. This is APorteus build with 12.1.0 GCC version. Tomorrow I will build a new kernel in Porteus (Slackware 15.0 and glibc-2.35) with 11.2.0 GCC.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1659 by babam » 18 Jun 2022, 19:10

Blaze wrote:
18 Jun 2022, 18:14
Tomorrow I will build a new kernel in Porteus (Slackware 15.0 and glibc-2.35) with 11.2.0 GCC.
glibc-2.33
Sorry, my English is bad.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1660 by Blaze » 19 Jun 2022, 07:02

babam wrote:
18 Jun 2022, 19:10
glibc-2.33
Sorry, but Porteus-current base on glibc-2.35

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

[5.18.5] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.18.5.tar (~112 M)
https://www.mediafire.com/file/30jmcet5 ... 5.18.5.tar
de88c02b50c89903c8398aea2c8d3019 32bit-ALL-kernel5.18.5.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

[5.18.5] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.18.5.tar (~118 M)
https://www.mediafire.com/file/wefmipw2 ... 5.18.5.tar
5158c0e6970efd642d67f5699a041ff7 64bit-ALL-kernel5.18.5.tar

Note 1: Compiler that was used.
for kernel 5.18.5: 11.2.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Note 2: Compilated under Porteus 5.0-current (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Thanks to neko for his support.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1661 by Ed_P » 19 Jun 2022, 19:39

Touchpad and right touch button not working.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1662 by Ed_P » 21 Jun 2022, 21:57

The problems are Cinnamon related. 5.18.5 works fine with Cinnamon 20220511.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1663 by Blaze » 26 Jun 2022, 06:40

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

[5.18.7] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.18.7.tar (~112 M)
https://www.mediafire.com/file/m7ksree7 ... 5.18.7.tar
f0c5a632bcc1b992d57bc59cb26b15e9 32bit-ALL-kernel5.18.7.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

[5.18.7] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.18.7.tar (~118 M)
https://www.mediafire.com/file/iprxv0o3 ... 5.18.7.tar
c901dfc3b44153dbe4e6a7b4399370a9 64bit-ALL-kernel5.18.7.tar

Note 1: Compiler that was used.
for kernel 5.18.7: 11.2.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Note 2: Compilated under Porteus 5.0-current (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Thanks to neko for his support.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#1664 by neko » 29 Jun 2022, 11:08

"Kernel Builder" was updated to version 22.06.29. (Please refer to the first article of this thread.)

Firmware database was updated
[Firmware database : kernel-firmware-20220622_9ed4d42-noarch-1plus.xzm (385 M)]
that was created with
slackware package "kernel-firmware-20220622_9ed4d42-noarch-1.txz (228 M)" and following pakages.
alsa-firmware-1.2.4-noarch-2
b43-firmware-6.30.163.46-fw-1_SBo
bluetooth
ipw2100-fw-1.3-noarch-10
ipw2200-fw-3.1-noarch-8
zydas


Thanks.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1665 by Blaze » 02 Jul 2022, 08:25

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

[5.18.8] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.18.8.tar (~112 M)
https://www.mediafire.com/file/ix4dax48 ... 5.18.8.tar
2e3322391097ae954a269882d84b93b8 32bit-ALL-kernel5.18.8.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

[5.18.8] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.18.8.tar (~118 M)
https://www.mediafire.com/file/o93mc6u3 ... 5.18.8.tar
cb242fad5ef8487e5e45e9057b9f8ec6 64bit-ALL-kernel5.18.8.tar.tar

Note 1: Compiler that was used.
for kernel 5.18.8: 11.2.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Note 2: Compilated under Porteus 5.0-current (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Thanks to neko for his support.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply