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...
User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#646 by Blaze » 18 Jul 2019, 17:12

fulalas, no, because user must to apply all need patches manually.
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: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#647 by neko » 21 Jul 2019, 13:48

Most recent versions of build examples were updated.

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#648 by neko » 22 Jul 2019, 22:36

==== The new mainline version 5.3-rc1 is introduced ====

The latest stable version of the Linux kernel is: 5.2.2
The latest mainline version of the Linux kernel is: 5.3-rc1
The latest stable 5.2 version of the Linux kernel is: 5.2.2
The latest stable 5.1 version of the Linux kernel is: 5.1.19
The latest longterm 4.19 version of the Linux kernel is: 4.19.60
The latest longterm 4.14 version of the Linux kernel is: 4.14.134
The latest longterm 4.9 version of the Linux kernel is: 4.9.186
The latest longterm 4.4 version of the Linux kernel is: 4.4.186
The latest longterm 3.16 version of the Linux kernel is: 3.16.70
The latest linux-next version of the Linux kernel is: next-20190722

1. AUFS patch is not yet ready for kernel version 5.3-rc1.
AUFS_VERSION "5.x-rcN-20190715"

2. Kernel version 5.3-rc1 was built without AUFS patch. (Overlay FS version)
Please refer to the top article of this thread.
Porteus Kernel Builder


--------------------------------------------------------------------------------
[AUFS patching error]
patching file mm/Makefile
Hunk #1 FAILED at 39.
1 out of 1 hunk FAILED -- saving rejects to file mm/Makefile.rej

==== ERROR PATCH ====

Code: Select all

diff --git a/mm/Makefile b/mm/Makefile
index ac5e5ba78874..5decb22d13a0 100644
--- a/mm/Makefile
+++ b/mm/Makefile
@@ -39,7 +39,7 @@ obj-y			:= filemap.o mempool.o oom_kill.o fadvise.o \
 			   mm_init.o mmu_context.o percpu.o slab_common.o \
 			   compaction.o vmacache.o \
 			   interval_tree.o list_lru.o workingset.o \
-			   debug.o $(mmu-y)
+			   prfile.o debug.o $(mmu-y)
 
 # Give 'page_alloc' its own module-parameter namespace
 page-alloc-y := page_alloc.o
==== FIXED PATCH ====

Code: Select all

diff --git a/mm/Makefile b/mm/Makefile
index ac5e5ba78874..5decb22d13a0 100644
--- a/mm/Makefile
+++ b/mm/Makefile
@@ -39,7 +39,7 @@ obj-y			:= filemap.o mempool.o oom_kill.o fadvise.o \
 			   mm_init.o mmu_context.o percpu.o slab_common.o \
 			   compaction.o vmacache.o \
 			   interval_tree.o list_lru.o workingset.o \
-			   debug.o gup.o $(mmu-y)
+			   prfile.o debug.o gup.o $(mmu-y)
 
 # Give 'page_alloc' its own module-parameter namespace
 page-alloc-y := page_alloc.o

--------------------------------------------------------------------------------
[AUFS patch compile error]

Code: Select all

  CC      fs/aufs/i_op.o
fs/aufs/i_op.c: In function 'au_pin_hdir_set_owner':
fs/aufs/i_op.c:644:37: error: incompatible types when assigning to type 'atomic_long_t' {aka 'struct <anonymous>'} from type 'struct task_struct *'
  644 |  p->hdir->hi_inode->i_rwsem.owner = task;
      |                                     ^~~~
make[2]: *** [scripts/Makefile.build:274: fs/aufs/i_op.o] Error 1
make[1]: *** [scripts/Makefile.build:490: fs/aufs] Error 2
make: *** [Makefile:1076: fs] Error 2

--------------------------------------------------------------------------------
[update kernel config from ones of 5.2 by "make oldconfig" command with following spec]
==== 64Bit ====

Code: Select all

Compile test headers that should be standalone compilable (HEADER_TEST) [N/y/?] (NEW) N
Preemption Model
> 1. No Forced Preemption (Server) (PREEMPT_NONE)
  2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT_LL) (NEW)
choice[1-3?]: 2
Enable utilization clamping for RT/FAIR tasks (UCLAMP_TASK) [N/y/?] (NEW) N
ACRN Guest support (ACRN_GUEST) [N/y/?] (NEW) N
vsyscall table for legacy applications
> 1. Full emulation (LEGACY_VSYSCALL_EMULATE)
  2. Emulate execution only (LEGACY_VSYSCALL_XONLY) (NEW)
  3. None (LEGACY_VSYSCALL_NONE)
choice[1-3?]: 1
HMM mirror CPU page table into a device page table (HMM_MIRROR) [N/y/?] (NEW) N
MediaTek protocol support (BT_HCIBTUSB_MTK) [N/y/?] (NEW) N
Enable compressed firmware support (FW_LOADER_COMPRESS) [N/y/?] (NEW) N
Xilinx SDFEC 16 (XILINX_SDFEC) [N/m/y/?] (NEW) N
Future Domain TMC-3260/AHA-2920A PCI SCSI support (SCSI_FDOMAIN_PCI) [N/m/y/?] (NEW) N
Google Devices (NET_VENDOR_GOOGLE) [Y/n/?] (NEW) n
NXP TJA11xx PHYs support (NXP_TJA11XX_PHY) [N/m/?] (NEW) N
Apple SPI keyboard and trackpad (KEYBOARD_APPLESPI) [N/m/y/?] (NEW) N
Xilinx GPIO support (GPIO_XILINX) [N/m/y/?] (NEW) N
Expose power supply sensors as hwmon device (POWER_SUPPLY_HWMON) [Y/n/?] (NEW) N
Infineon IRPS5401 (SENSORS_IRPS5401) [N/m/?] (NEW) N
Infineon PXE1610 (SENSORS_PXE1610) [N/m/?] (NEW) N
Dialog Semiconductor SLG51000 regulators (REGULATOR_SLG51000) [N/m/y/?] (NEW) N
Analog support for the Conexant USB2.0 hybrid reference design (DVB_USB_CXUSB_ANALOG) [N/y/?] (NEW) N
DCN 2.0 family (DRM_AMD_DC_DCN2_0) [Y/n/?] (NEW) N
Force probe driver for selected new Intel hardware (DRM_I915_FORCE_PROBE) [*] (NEW) 
Always insert extra checks around mmio access by default (DRM_I915_DEBUG_MMIO) [N/y/?] (NEW) N
Runtime autosuspend delay for userspace GGTT mmaps (ms) (DRM_I915_USERFAULT_AUTOSUSPEND) [250] (NEW) 
Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] (NEW) 
Intel I810 (DRM_I810) [N/m/?] (NEW) N
LED driver for TI LMU (LEDS_TI_LMU_COMMON) [N/m/?] (NEW) N
ROHM BD70528 PMIC RTC (RTC_DRV_BD70528) [N/m/y/?] (NEW) N
Synopsys DesignWare eDMA controller driver (DW_EDMA) [N/m/y/?] (NEW) N
Synopsys DesignWare eDMA PCIe driver (DW_EDMA_PCIE) [N/m/y/?] (NEW) N
Support for virtio pmem driver (VIRTIO_PMEM) [N/m/?] (NEW) N
Xiaomi WMI key driver (XIAOMI_WMI) [N/m/?] (NEW) N
CMPC Laptop Extras (ACPI_CMPC) [N/m/?] (NEW) N
Samsung Q10 Extras (SAMSUNG_Q10) [N/m/y/?] (NEW) N
Intel(R) Speed Select Technology interface drivers (INTEL_SPEED_SELECT_INTERFACE) [N/m/y/?] (NEW) N
Clock driver for SiLabs 5341 and 5340 A/B/C/D devices (COMMON_CLK_SI5341) [N/m/y/?] (NEW) N
FSA9480 EXTCON Support (EXTCON_FSA9480) [N/m/y/?] (NEW) N
Enable temporary caching of the last request_key() result (KEYS_REQUEST_CACHE) [N/y/?] (NEW) N
Enable heap memory zeroing on allocation by default (INIT_ON_ALLOC_DEFAULT_ON) [N/y/?] (NEW) N
Enable heap memory zeroing on free by default (INIT_ON_FREE_DEFAULT_ON) [N/y/?] (NEW) N
xxHash hash algorithm (CRYPTO_XXHASH) [N/m/y/?] (NEW) m
Support for Microchip / Atmel ECC hw accelerator (CRYPTO_DEV_ATMEL_ECC) [N/m/y/?] (NEW) N
Support for Microchip / Atmel SHA accelerator and RNG (CRYPTO_DEV_ATMEL_SHA204A) [N/m/y/?] (NEW) N
Install uapi headers to usr/include (HEADERS_INSTALL) [N/y/?] (NEW) N
Reed-Solomon library test (REED_SOLOMON_TEST) [N/m/y/?] (NEW) N
Test blackhole netdev functionality (TEST_BLACKHOLE_DEV) [N/m/?] (NEW) N
Test heap/page initialization (TEST_MEMINIT) [N/m/y/?] (NEW) N
==== 32Bit ====

Code: Select all

Compile test headers that should be standalone compilable (HEADER_TEST) [N/y/?] (NEW) N
Preemption Model
> 1. No Forced Preemption (Server) (PREEMPT_NONE)
  2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT_LL) (NEW)
choice[1-3?]: 2
Enable utilization clamping for RT/FAIR tasks (UCLAMP_TASK) [N/y/?] (NEW) N
MediaTek protocol support (BT_HCIBTUSB_MTK) [N/y/?] (NEW) N
Enable compressed firmware support (FW_LOADER_COMPRESS) [N/y/?] (NEW) N
Xilinx SDFEC 16 (XILINX_SDFEC) [N/m/y/?] (NEW) N
Future Domain TMC-3260/AHA-2920A PCI SCSI support (SCSI_FDOMAIN_PCI) [N/m/y/?] (NEW) N
Google Devices (NET_VENDOR_GOOGLE) [Y/n/?] (NEW) N
NXP TJA11xx PHYs support (NXP_TJA11XX_PHY) [N/m/?] (NEW) N
Apple SPI keyboard and trackpad (KEYBOARD_APPLESPI) [N/m/y/?] (NEW) N
IPMB Interface handler (IPMB_DEVICE_INTERFACE) [N/m/y/?] (NEW) N
Xilinx GPIO support (GPIO_XILINX) [N/m/y/?] (NEW) N
Expose power supply sensors as hwmon device (POWER_SUPPLY_HWMON) [Y/n/?] (NEW) N
Infineon IRPS5401 (SENSORS_IRPS5401) [N/m/?] (NEW) N
Infineon PXE1610 (SENSORS_PXE1610) [N/m/?] (NEW) N
Dialog Semiconductor SLG51000 regulators (REGULATOR_SLG51000) [N/m/y/?] (NEW) N
Analog support for the Conexant USB2.0 hybrid reference design (DVB_USB_CXUSB_ANALOG) [N/y/?] (NEW) N
DCN 2.0 family (DRM_AMD_DC_DCN2_0) [Y/n/?] (NEW) N
Force probe driver for selected new Intel hardware (DRM_I915_FORCE_PROBE) [*] (NEW) 
Always insert extra checks around mmio access by default (DRM_I915_DEBUG_MMIO) [N/y/?] (NEW) N
Runtime autosuspend delay for userspace GGTT mmaps (ms) (DRM_I915_USERFAULT_AUTOSUSPEND) [250] (NEW) 
Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] (NEW) 
Intel I810 (DRM_I810) [N/m/?] (NEW) N
LED driver for TI LMU (LEDS_TI_LMU_COMMON) [N/m/?] (NEW) N
ROHM BD70528 PMIC RTC (RTC_DRV_BD70528) [N/m/y/?] (NEW) N
Synopsys DesignWare eDMA controller driver (DW_EDMA) [N/m/y/?] (NEW) N
Synopsys DesignWare eDMA PCIe driver (DW_EDMA_PCIE) [N/m/y/?] (NEW) N
Xiaomi WMI key driver (XIAOMI_WMI) [N/m/?] (NEW) N
CMPC Laptop Extras (ACPI_CMPC) [N/m/?] (NEW) N
Samsung Q10 Extras (SAMSUNG_Q10) [N/m/y/?] (NEW) N
Clock driver for SiLabs 5341 and 5340 A/B/C/D devices (COMMON_CLK_SI5341) [N/m/y/?] (NEW) N
FSA9480 EXTCON Support (EXTCON_FSA9480) [N/m/y/?] (NEW) N
Enable temporary caching of the last request_key() result (KEYS_REQUEST_CACHE) [N/y/?] (NEW) N
Enable heap memory zeroing on allocation by default (INIT_ON_ALLOC_DEFAULT_ON) [N/y/?] (NEW) N
Enable heap memory zeroing on free by default (INIT_ON_FREE_DEFAULT_ON) [N/y/?] (NEW) N
xxHash hash algorithm (CRYPTO_XXHASH) [N/m/y/?] (NEW) m
Support for Microchip / Atmel ECC hw accelerator (CRYPTO_DEV_ATMEL_ECC) [N/m/y/?] (NEW) N
Support for Microchip / Atmel SHA accelerator and RNG (CRYPTO_DEV_ATMEL_SHA204A) [N/m/y/?] (NEW) N
Install uapi headers to usr/include (HEADERS_INSTALL) [N/y/?] (NEW) N
Reed-Solomon library test (REED_SOLOMON_TEST) [N/m/y/?] (NEW) N
Test blackhole netdev functionality (TEST_BLACKHOLE_DEV) [N/m/?] (NEW) N
Test heap/page initialization (TEST_MEMINIT) [N/m/y/?] (NEW) N


Thanks.

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

Porteus Kernel Builder

Post#649 by neko » 23 Jul 2019, 08:11

1. "Porteus Kernel Builder" was updated.
(1) The new mainline version 5.3-rc1 is introduced

(2) AUFS patch process was updated.
ALL: First All AUFS patches are applied.
BASEPLUS: If it is fail, "basic patches and optional patch" are applied.
Restricted: If it is fail, only "basic patches" are applied.
Overlay FS: If it is fail, AUFS patch is not applied.

(3)Firmware database was updated with following packages.
alsa-firmware-1.0.29-noarch-2
ipw2100-fw-1.3-noarch-9
ipw2200-fw-3.1-noarch-7
linux-atm-2.5.2-x86_64-6
linux-firmware-20190717.bf13a71-noarch-1
wireless-regdb-2019.03.01-noarch-1

2. The example of replacement the kernel of another distri which uses OverlayFS/AUFS was updated.
You can check kernel 5.3-rc1 with this ISO.



Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Porteus Kernel Builder

Post#650 by raja » 23 Jul 2019, 10:48

neko,

Long back I was trying your Overlay version "OV.Porteus-CINNAMON-v4.0-x86_64-19.03.18.iso".

When you find time, please make - OV.Porteus v5.0 with kernel support for ZSTD compression and with ZSTD compressed modules. Thanks in advance.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

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

Porteus Kernel Builder

Post#651 by neko » 23 Jul 2019, 12:15

@raja

OV.Porteus-OPENBOX-v5.0rc1-zstd-x86_64.iso (361 M)
http://www.mediafire.com/file/3w1a32b2b ... x86_64.iso
md5sum: 4f7f6c10aaadbaff9c13539e03154d3e OV.Porteus-OPENBOX-v5.0rc1-zstd-x86_64.iso

Kernel: 5.3-rc1 without AUFS patch
XZM modules (000-kernel.xzm, 001-core.xzm, 002-xorg.xzm, 003-openbox.xzm):
were compressed by mksquashfs command with option "-comp zstd -b 256K -Xcompression-level 22"


Note:
Booting was very quick.


Thanks.

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

Porteus Kernel Builder

Post#652 by neko » 26 Jul 2019, 13:30

Most recent versions of build examples were updated.

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#653 by neko » 28 Jul 2019, 16:00

Most recent versions of build examples were updated.

Please refer to the top article of this thread.
Porteus Kernel Builder

Note 1:
The span of updates from 5.2.3/5.1.20/4.19.61 to 5.2.4/5.1.21/4.19.62 is very short (2 days).

Note 2: AUFS patch is not yet ready for kernel version 5.3-rc2.
There are a patching error and compile errors in AUFS_VERSION "5.x-rcN-20190715".

Note 3: update kernel config by "make oldconfig" command with following spec
==== 64Bit 5.3-rc1 ---> rc2 ====

Code: Select all

Preemption Model
  1. No Forced Preemption (Server) (PREEMPT_NONE)
> 2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT) (NEW)
choice[1-3?]: 2
iSCSI Boot Firmware Table Attributes module (ISCSI_IBFT) [N/m/y/?] (NEW) n
IPv4/IPV6 bridge connection tracking support (NF_CONNTRACK_BRIDGE) [N/m/?] (NEW) N
==== 32Bit 5.3-rc1 ---> rc2 ====

Code: Select all

Preemption Model
  1. No Forced Preemption (Server) (PREEMPT_NONE)
> 2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT) (NEW)
choice[1-3?]: 2
iSCSI Boot Firmware Table Attributes module (ISCSI_IBFT) [N/m/y/?] (NEW) N
IPv4/IPV6 bridge connection tracking support (NF_CONNTRACK_BRIDGE) [N/m/?] (NEW) N

Thanks.

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

Porteus Kernel Builder

Post#654 by neko » 31 Jul 2019, 14:23

Most recent versions of build examples were updated.

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#655 by neko » 04 Aug 2019, 15:13

Most recent versions of build examples were updated.

Please refer to the top article of this thread.
Porteus Kernel Builder

Note: AUFS patch (AUFS_VERSION "5.x-rcN-20190805") has been ready for kernel version 5.3-rc3.


Thanks.

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

Porteus Kernel Builder

Post#656 by neko » 07 Aug 2019, 06:49

Most recent versions of build examples were updated.
5.2.7, 4.19.65

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

User avatar
ralcocer
Samurai
Samurai
Posts: 187
Joined: 02 Jan 2011, 12:53
Distribution: 3.2rc5 Xfce
Location: Puerto Rico
Contact:

Porteus Kernel Builder

Post#657 by ralcocer » 09 Aug 2019, 12:18

Does the kernei 5.1 comes with pae?

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

Porteus Kernel Builder

Post#658 by neko » 09 Aug 2019, 13:51

@ralcocer
"Does the kernei 5.1 comes with pae?"
---->
Would you tell me what means 'pae' .

Contents of 32bit-ALL-kernel5.1.21.tar/64bit-ALL-kernel5.1.21.tar

Code: Select all

% tar -tf 32bit-ALL-kernel5.1.21.tar
000-kernel.xzm
06-crippled_sources-5.1.21-32bit.xzm
vmlinuz
%
% tar -tf 64bit-ALL-kernel5.1.21.tar
000-kernel.xzm
06-crippled_sources-5.1.21-64bit.xzm
vmlinuz
Thanks.

donald
Full of knowledge
Full of knowledge
Posts: 2063
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus Kernel Builder

Post#659 by donald » 09 Aug 2019, 14:39

@ neko
Would you tell me what means 'pae'
Physical Address Extension (PAE) is a memory management feature for the x86 architecture
allowing these CPUs to directly access a physical address space larger than 4 gigabytes.

The Linux kernel includes full PAE-mode support starting with version 2.3.23 in 1999 enabling
access of up to 64 GB of memory on 32-bit machines.

A PAE-enabled Linux kernel requires that the CPU also support PAE.

Code: Select all

grep flags /proc/cpuinfo
( look for the pae flag )

The Linux kernel supports PAE as a build option and major distributions provide a PAE kernel
either as the default or as an option.

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

Porteus Kernel Builder

Post#660 by neko » 09 Aug 2019, 15:20

@donald
Thank you for your explain.
I understand it.

@ralcocer's question
"Does the kernei 5.1 comes with pae?"
is the question what the PAE spec value about the configuration of 32bit kernel 5.1 is.
---->
You can get the value from "Kernel builder" tool.
activate the current "Kernel builder" tool mkKernel-xx.xx.xx-noarch-x.xzm.
get the value by grep commnand.

Code: Select all

$ grep PAE /usr/local/share/mkKernel/lib/v5.1/32bit.config
CONFIG_X86_PAE=y
Thanks.

Post Reply