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
Rava
Contributor
Contributor
Posts: 2024
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 4.0 x86-64 XFCe
Location: Forests of Germany

Re: Porteus Kernel Builder

Post#436 by Rava » 14 Jan 2019, 12:54

Thanks for the info, neko!
Cheers!
Yours Rava

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

Re: Porteus Kernel Builder

Post#437 by neko » 14 Jan 2019, 16:35

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc2 <---NEW
The latest stable 4.20 version of the Linux kernel is: 4.20.2
The latest longterm 4.19 version of the Linux kernel is: 4.19.15
The latest longterm 4.14 version of the Linux kernel is: 4.14.93
The latest longterm 4.9 version of the Linux kernel is: 4.9.150
The latest longterm 4.4 version of the Linux kernel is: 4.4.170
The latest longterm 3.18 version of the Linux kernel is: 3.18.132 (EOL)
The latest linux-next version of the Linux kernel is: next-20190114


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".

ov.v5.0-rc2.tar.xz (95 M)
http://www.mediafire.com/file/ny86a6wq6 ... rc2.tar.xz
md5sum: ee11dd72d0c335bf8c376f146abb2582 ov.v5.0-rc2.tar.xz


crippled_sources-5.0-rc2-32bit.xzm (22 M)
http://www.mediafire.com/file/7zi4nc0c7 ... -32bit.xzm
md5sum: 4d3fb216851bc2a38feda66a8d1e41bd crippled_sources-5.0-rc2-32bit.xzm

crippled_sources-5.0-rc2-64bit.xzm (22 M)
http://www.mediafire.com/file/2z2oetcya ... -64bit.xzm
md5sum: 92c7424b477c1d1ef863eac3b42df592 crippled_sources-5.0-rc2-64bit.xzm



Note 1: AUFS patch is not yet ready for kernel 5.0.
Therefore the kernel 5.0-rc2 was built without AUFS patch.

Note 2 :
5.0-rc2 config prototype is updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N


3. Porteus 4.0 Overlay FS trial version

OV.Porteus-CINNAMON-v4.0-x86_64-19.01.14.iso (360 M: Kernel 5.0-rc2)
http://www.mediafire.com/file/z61quzcb3 ... .01.14.iso
md5sum: 2b80a97df1e184ee2f190374a3c3c405 OV.Porteus-CINNAMON-v4.0-x86_64-19.01.14.iso


Note 1 :
06-crippled_sources-5.0-rc2-64bit.xzm is included in ISO@/porteus/optional.

Note 2 :
The intrd of this ISO is integrated initrd.
Please refer to Re: Porteus Kernel Builder (Post by neko #68746)


4. Replace the kernel of another distri which uses OverlayFS/AUFS
kernel: 5.0-rc2 (ov.v5.0-rc2.tar.xz)
austrumi 3.9.0: austrumi64-3.9.0.iso (ftp://austrumi.ru.lv/austrumi64-3.9.0.iso)

austrumi64-3.9.0-01.14.iso (435 M)
http://www.mediafire.com/file/w2wunkxej ... -01.14.iso
md5sum: 63c6639eabc1f213dcbaf4db008b1c9a austrumi64-3.9.0-01.14.iso

=======
rm -fr Austrumi-ISO@austrumi/austrumi.fs@lib/modules
cp -a ov.v5.0-rc2.tar.xz@v5.0-rc2/64/lib/modules Austrumi-ISO@austrumi/austrumi.fs@lib/
cp -a ov.v5.0-rc2.tar.xz@v5.0-rc2/64/lib/firmware/* Austrumi-ISO@austrumi/austrumi.fs@lib/firmware/
cp ov.v5.0-rc2.tar.xz@v5.0-rc2/64/vmlinuz Austrumi-ISO@austrumi/bzImage
=======

Note :
ISO includes Japanese local patch.


Thanks.

burdi01
Black ninja
Black ninja
Posts: 84
Joined: 18 Aug 2013, 12:09
Distribution: Slackware, Xubuntu
Location: The Netherlands

Re: Porteus Kernel Builder

Post#438 by burdi01 » 16 Jan 2019, 12:59

For fun I applied your 5.0-rc2 kernel to my Current64-based fork (work in progress) of PartedMagic: works like a charm. I only had to add a "max_loop=256" kernel boot parameter.
Regards, Dick :D

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

Re: Porteus Kernel Builder

Post#439 by neko » 17 Jan 2019, 11:39

@burdi01
Thank you for your report.

I did not know "max_loop=256".
I studied about "max_loop=256".

[Boot kernel parameter: "max_loop=256"]
The number of loop block devices that get (loop.max_loop) unconditionally pre-created at init time.

[Used config prototype for 5.0-rc2 32Bit/64Bit]
.config:CONFIG_BLK_DEV_LOOP=y
.config:CONFIG_BLK_DEV_LOOP_MIN_COUNT=8

If max_loop is specified, create that many devices upfront.
This also becomes a hard limit. If max_loop is not specified,
create CONFIG_BLK_DEV_LOOP_MIN_COUNT loop devices at module
init time. Loop devices can be requested on-demand with the
/dev/loop-control interface, or be instantiated by accessing
a 'dead' device node.


Thanks.
------------------------------------------------------------


1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc2
The latest stable 4.20 version of the Linux kernel is: 4.20.3 <---NEW
The latest longterm 4.19 version of the Linux kernel is: 4.19.16 <---NEW
The latest longterm 4.14 version of the Linux kernel is: 4.14.94 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.151 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.171 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.132 (EOL)
The latest linux-next version of the Linux kernel is: next-20190117


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[4.20.3]
32bit-kernel4.20.3.tar (86 M)
http://www.mediafire.com/file/q4kdeeof7 ... 4.20.3.tar
md5sum: 253a70dddf6d7a8be8468ffcf078af33 32bit-kernel4.20.3.tar

64bit-kernel4.20.3.tar (91 M)
http://www.mediafire.com/file/t8eil7yj3 ... 4.20.3.tar
md5sum: d945b762edd976c1cc0faec134eead48 64bit-kernel4.20.3.tar

[4.19.16]
32bit-kernel4.19.16.tar (85 M)
http://www.mediafire.com/file/kalxi4f7j ... .19.16.tar
md5sum: 264a121d521ed9b178f9f3b52199919b 32bit-kernel4.19.16.tar

64bit-kernel4.19.16.tar (91 M)
http://www.mediafire.com/file/f5f5x39t8 ... .19.16.tar
md5sum: 874124a67225c3eef8ae334a388afc6f 64bit-kernel4.19.16.tar


[Config]
4.19.16 config prototype was updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N



Thanks.

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

Re: Porteus Kernel Builder

Post#440 by neko » 21 Jan 2019, 09:08

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc3 <---NEW
The latest stable 4.20 version of the Linux kernel is: 4.20.3
The latest longterm 4.19 version of the Linux kernel is: 4.19.16
The latest longterm 4.14 version of the Linux kernel is: 4.14.94
The latest longterm 4.9 version of the Linux kernel is: 4.9.151
The latest longterm 4.4 version of the Linux kernel is: 4.4.171
The latest longterm 3.18 version of the Linux kernel is: 3.18.132 (EOL)
The latest linux-next version of the Linux kernel is: next-20190118


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".

v5.0-rc3.tar.xz (95 M)
http://www.mediafire.com/file/65bw5upxx ... rc3.tar.xz
md5sum: 53c9b11776cd09a46091e4a833c5561b v5.0-rc3.tar.xz


crippled_sources-5.0-rc3-32bit.xzm (22 M)
http://www.mediafire.com/file/sfc6ij3qj ... -32bit.xzm
md5sum: 75156016386b7e00aa72da0ceb8a1d81 crippled_sources-5.0-rc3-32bit.xzm

crippled_sources-5.0-rc3-64bit.xzm (22 M)
http://www.mediafire.com/file/4dclln8j8 ... -64bit.xzm
md5sum: 3aab193c0cea3668451d915fb6c75bf7 crippled_sources-5.0-rc3-64bit.xzm



Note 1: AUFS patch is not yet ready for kernel 5.0.
Therefore the kernel 5.0-rc3 was built without AUFS patch.

Note 2:
5.0-rc3 config prototype is updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N


3. Porteus 4.0 Overlay FS trial version

OV.Porteus-CINNAMON-v4.0-x86_64-19.01.21.iso (360 M: Kernel 5.0-rc3)
http://www.mediafire.com/file/zp2aj65h2 ... .01.21.iso
md5sum: ad3a8ac6e3b85b8821b4f27504074833 OV.Porteus-CINNAMON-v4.0-x86_64-19.01.21.iso


Note 1:
06-crippled_sources-5.0-rc3-64bit.xzm is included in ISO@/porteus/optional.

Note 2:
The intrd of this ISO is integrated initrd.
Please refer to Re: Porteus Kernel Builder (Post by neko #68746)


4. Replace the kernel of another distri which uses OverlayFS/AUFS
kernel: 5.0-rc3 (v5.0-rc3.tar.xz)
austrumi 3.9.2: austrumi64-3.9.2.iso (ftp://austrumi.ru.lv/austrumi64-3.9.2.iso)
austrumi 3.9.2 includes libreoffice 6.1.4.2, firefox 64.0.2 etc,.

austrumi64-3.9.2-01.22.iso (436 M: Kernel 5.0-rc3)
http://www.mediafire.com/file/7rpcv8qrq ... -01.22.iso
md5sum: eb791825ed49aea47e382de39c0a6934 austrumi64-3.9.2-01.22.iso

=======
rm -fr Austrumi-ISO@austrumi/austrumi.fs@lib/modules
cp -a v5.0-rc3.tar.xz@v5.0-rc3/64/lib/modules Austrumi-ISO@austrumi/austrumi.fs@lib/
cp -a v5.0-rc3.tar.xz@v5.0-rc3/64/lib/firmware/* Austrumi-ISO@austrumi/austrumi.fs@lib/firmware/
cp v5.0-rc3.tar.xz@v5.0-rc3/64/vmlinuz Austrumi-ISO@austrumi/bzImage
=======

Note :
ISO includes Japanese local patch.


Thanks.

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

Re: Porteus Kernel Builder

Post#441 by neko » 23 Jan 2019, 09:15

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc3
The latest stable 4.20 version of the Linux kernel is: 4.20.4 <---NEW
The latest longterm 4.19 version of the Linux kernel is: 4.19.17 <---NEW
The latest longterm 4.14 version of the Linux kernel is: 4.14.95 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.152 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.171
The latest longterm 3.18 version of the Linux kernel is: 3.18.132 (EOL)
The latest linux-next version of the Linux kernel is: next-20190123


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[4.20.4]
32bit-kernel4.20.4.tar (86 M)
http://www.mediafire.com/file/u68kty9ya ... 4.20.4.tar
md5sum: 2d4fbc3e71577c55fb88307c41a71280 32bit-kernel4.20.4.tar

64bit-kernel4.20.4.tar (91 M)
http://www.mediafire.com/file/qdojryyb6 ... 4.20.4.tar
md5sum: 2db8fb8ad1c9e2602be0f4ef0ccd1fb7 64bit-kernel4.20.4.tar

[4.19.17]
32bit-kernel4.19.17.tar (85 M)
http://www.mediafire.com/file/gjyucx341 ... .19.17.tar
md5sum: 5c712b8bc2416abae4895e61675addb3 32bit-kernel4.19.17.tar

64bit-kernel4.19.17.tar (91 M)
http://www.mediafire.com/file/uak8p91ds ... .19.17.tar
md5sum: d20ed161b11742f7d81abc83de1b4ff0 64bit-kernel4.19.17.tar



[AUFS patch error]
Kernel 4.19.17 was patched with AUFS_VERSION "4.19-20181217".
Kernel 4.20.4 was patched with AUFS_VERSION "4.x-rcN-20181217".
These version AUFS patches are not yet adapted correctly
to patch to drivers/block/loop.c of kernel 4.19.17/4.20.4.
Own patch sources (own.loop.c) of drivers/block/loop.c are included in aufsERROR.repo.tar.xz.
(These Own patches are not assured.)

aufsERROR.repo.tar.xz (194 K)
http://www.mediafire.com/file/tt1j531c9 ... epo.tar.xz
md5sum: b7ccf399415a3b0750b4956732d493c7 aufsERROR.repo.tar.xz



[Config]
4.19.17 config prototype was updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N



Thanks.

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

Re: Porteus Kernel Builder

Post#442 by neko » 26 Jan 2019, 13:55

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc3
The latest stable 4.20 version of the Linux kernel is: 4.20.5 <---NEW
The latest longterm 4.19 version of the Linux kernel is: 4.19.18 <---NEW
The latest longterm 4.14 version of the Linux kernel is: 4.14.96 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.153 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.172 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.133 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20190125


2. NEW Examples of updated kernel that was built by "Porteus Kernel builder" were updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[4.20.5]
32bit-kernel4.20.5.tar (86 M)
http://www.mediafire.com/file/ha0kz2isr ... 4.20.5.tar
md5sum: 4a388c282610f7e23e05a2dd1e5eab75 32bit-kernel4.20.5.tar

64bit-kernel4.20.5.tar (91 M)
http://www.mediafire.com/file/sggypbmx2 ... 4.20.5.tar
md5sum: f6615ffe4d6b020485779fe4cd344e65 64bit-kernel4.20.5.tar

[4.19.18]
32bit-kernel4.19.18.tar (85 M)
http://www.mediafire.com/file/1px0h3bq3 ... .19.18.tar
md5sum: 84f31df8e37f7987843c07e97170fd8c 32bit-kernel4.19.18.tar

64bit-kernel4.19.18.tar (91 M)
http://www.mediafire.com/file/3ds5be3wb ... .19.18.tar
md5sum: 89906763e0ad5911cac45f1dbaa11f5f 64bit-kernel4.19.18.tar


[AUFS patch error as same as 4.19.17/4.20.4]
Kernel 4.19.18 was patched with AUFS_VERSION "4.19-20181217".
Kernel 4.20.5 was patched with AUFS_VERSION "4.x-rcN-20181217".
These version AUFS patches are not yet adapted correctly
to patch to drivers/block/loop.c of kernel 4.19.18/4.20.5.
Own patch sources (own.loop.c) of drivers/block/loop.c are included in aufsERROR.repo.tar.xz.
(These Own patches are not assured.)
Refer to Re: Porteus Kernel Builder (Post by neko #68998)


[Config]
4.19.18 config prototype was updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N



Thanks.

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

Re: Porteus Kernel Builder

Post#443 by neko » 28 Jan 2019, 09:56

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc4 <---NEW
The latest stable 4.20 version of the Linux kernel is: 4.20.5
The latest longterm 4.19 version of the Linux kernel is: 4.19.18
The latest longterm 4.14 version of the Linux kernel is: 4.14.96
The latest longterm 4.9 version of the Linux kernel is: 4.9.153
The latest longterm 4.4 version of the Linux kernel is: 4.4.172
The latest longterm 3.18 version of the Linux kernel is: 3.18.133 (EOL)
The latest linux-next version of the Linux kernel is: next-20190125


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".

ov.v5.0-rc4.tar.xz (96 M)
http://www.mediafire.com/file/aj221v3ga ... rc4.tar.xz
md5sum: 0d8a6a0150259ceb12611fdfa1bf2dd8 ov.v5.0-rc4.tar.xz


crippled_sources-5.0-rc4-32bit.xzm (22 M)
http://www.mediafire.com/file/cr2non19a ... -32bit.xzm
md5sum: b9ef0bafab977f386ec41c8786552d5b crippled_sources-5.0-rc4-32bit.xzm

crippled_sources-5.0-rc4-64bit.xzm (22 M)
http://www.mediafire.com/file/0aynukc49 ... -64bit.xzm
md5sum: 34ca0fedd791b949057080ef6f023fc5 crippled_sources-5.0-rc4-64bit.xzm



Note 1: AUFS patch is not yet ready for kernel 5.0.
Therefore the kernel 5.0-rc4 was built without AUFS patch.

Note 2:
5.0-rc4 config prototype is updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N


3. Porteus 4.0 Overlay FS trial version

OV.Porteus-CINNAMON-v4.0-x86_64-19.01.28.iso (360 M: Kernel 5.0-rc4)
http://www.mediafire.com/file/7bmm40w7l ... .01.28.iso
md5sum: a98737dc8dab0104ba4ddadc327bffea OV.Porteus-CINNAMON-v4.0-x86_64-19.01.28.iso


Note 1:
06-crippled_sources-5.0-rc4-64bit.xzm is included in ISO@/porteus/optional.

Note 2:
The intrd of this ISO is integrated initrd.
Please refer to Re: Porteus Kernel Builder (Post by neko #68746)



4. Replace the kernel of another distri which uses OverlayFS/AUFS
kernel: 5.0-rc4 (ov.v5.0-rc4.tar.xz)
austrumi 3.9.2: austrumi64-3.9.2.iso (ftp://austrumi.ru.lv/austrumi64-3.9.2.iso)
austrumi 3.9.2 includes libreoffice 6.1.4.2, firefox 64.0.2 etc,.

austrumi64-3.9.2-01.28.iso (436 M: Kernel 5.0-rc4)
http://www.mediafire.com/file/zvha4pjgl ... -01.28.iso
md5sum: e99bcf5fe71edf32e95d06ab8071176e austrumi64-3.9.2-01.28.iso

=======
rm -fr Austrumi-ISO@austrumi/austrumi.fs@lib/modules
cp -a ov.v5.0-rc4.tar.xz@v5.0-rc4/64/lib/modules Austrumi-ISO@austrumi/austrumi.fs@lib/
cp -a ov.v5.0-rc4.tar.xz@v5.0-rc4/64/lib/firmware/* Austrumi-ISO@austrumi/austrumi.fs@lib/firmware/
cp ov.v5.0-rc4.tar.xz@v5.0-rc4/64/vmlinuz Austrumi-ISO@austrumi/bzImage
=======

Note :
ISO includes Japanese local patch.



Thanks.

raja
Samurai
Samurai
Posts: 157
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

Re: Porteus Kernel Builder

Post#444 by raja » 29 Jan 2019, 09:08

Tested, Porteus 4.0 Overlay FS trial version , by booting ISO. Flat 10 seconds to desktop.

Code: Select all

[    10.171] Build Operating System: Slackware 15.0 Slackware Linux Project
[    10.171] Current Operating System: Linux porteus 5.0.0-rc4-porteus #1 SMP PREEMPT Mon Jan 28 08:39:08 UTC 2019 x86_64
[    10.171] Kernel command line: quiet BOOT_IMAGE=/boot/syslinux/vmlinuz-5.0-rc4 initrd=/boot/syslinux/intel-ucode.img,/boot/syslinux/initrd-5.0-rc4.xz from=/mnt/sda4/OV.Porteus-CINNAMON-v4.0-x86_64-19.01.28.iso
I shall add browser and few other essentials for me to the ISO and run it again tomorrow.

All seems to be working in order, except browser update tool which is not getting terminated.

Doubt - What are the advantages of AUFS over OverlayFS, if there is no difference in booting time, for a regular user?
Linux Kernel-4.4.120-32 bit; Linux kernel-4.19.7-64 bit.

User avatar
Rava
Contributor
Contributor
Posts: 2024
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 4.0 x86-64 XFCe
Location: Forests of Germany

Re: Porteus Kernel Builder

Post#445 by Rava » 29 Jan 2019, 11:56

raja wrote:
29 Jan 2019, 09:08
Doubt - What are the advantages of AUFS over OverlayFS, if there is no difference in booting time, for a regular user?
Good question, who really knows the internal pros and cons.
wikipedia - aufs
aufs was rejected for merging into mainline Linux. Its code was criticized for being "dense, unreadable, [and] uncommented". Instead, OverlayFS was merged in the Linux kernel. After several attempts to merge aufs into mainline kernel, the author has given up.
[…]
Several Linux distributions have chosen aufs as a replacement for UnionFS
wikipedia - OverlayFS
While most Live CD linux distributions used Aufs as of November 2016, Slackware used overlayfs for its live CD.
(All highlighting by me)
Cheers!
Yours Rava

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

Re: Porteus Kernel Builder

Post#446 by neko » 29 Jan 2019, 12:06

@raja
Thank you for your report.

"What are the advantages of AUFS over OverlayFS ?"

---->

I think that
activating/deactivating XZM module easily during Porteus running
is the most advantage functions against OverlayFS.


P.S.
Someone who knows how to mount/unmount XZM module one by one in OverlayFS,
please tell me the how-to.

At booting by initrd, how to include XZM;
[AUFS] mount aufs one by one

Code: Select all

#======================================
# 10) Include modules into LIVE space
#--------------------------------------
for x in `cat /tmp/modules`;
do
	NAME=`basename $x`;
	mkdir /memory/images/$NAME;
	mount -o loop $x /memory/images/$NAME 2>/dev/null
	if [ $? -eq 0 ];
	then
		echo "  $m  $NAME";
		mount -no remount,add:1:/memory/images/$NAME=rr aufs /union
	else
		echo $i"[1;36m""Cannot read $NAME - corrupted module?""[0m";
		rmdir /memory/images/$NAME
	fi
done
[OverFS] mount overlay 1 time

Code: Select all

#======================================
# IncludeModules
#--------------------------------------
IncludeModules()
{
LOWLIST=""
for x in `cat /tmp/modules`;
do
	NAME=`basename $x`;
	mkdir /memory/images/$NAME;
	mount -o loop $x /memory/images/$NAME 2>/dev/null
	if [ $? -eq 0 ];
	then
		echo "  $m  $NAME";
		LOWLIST=/memory/images/${NAME}:${LOWLIST}
	else
		echo $i"[1;36m""Cannot read $NAME - corrupted module?""[0m";
		rmdir /memory/images/$NAME
	fi
done
LOWLIST=`echo $LOWLIST | sed 's/:$//'`

mount -t overlay -o upperdir=$UPPERDIR,lowerdir=$LOWLIST,workdir=$WORKDIR overlay /union
if [ $? -ne 0 ]
then
	sh
fi
}

------------------------------------------
@Rava
Thank you for your comment.

"After several attempts to merge aufs into mainline kernel, the author has given up."
---->
I do wish that he doesn't give up.



Thanks.

User avatar
Rava
Contributor
Contributor
Posts: 2024
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 4.0 x86-64 XFCe
Location: Forests of Germany

Re: Porteus Kernel Builder

Post#447 by Rava » 29 Jan 2019, 12:14

neko wrote:
29 Jan 2019, 12:06
"After several attempts to merge aufs into mainline kernel, the author has given up."
---->
I do wish that he doesn't give up.
I wonder about some parts of the arguments against aufs. Like the Its code was criticized for being "dense" part. What kind of critique is a dense code? I presume they not meant it in a psychological but purely physical way, and in a physical way, a dense code is a good code. Image I really don't get it.

Also, in the aufs article, run fully in RAM is mentioned more than once in the listing of the Linux Live distros that use aufs, while it is not mentioned even once in the OverlayFS article! :hmmm:
____________________________________________________

Researching the matters above, I also found this interesting thingy:
https://en.wikipedia.org/wiki/Live_USB#Limitations
None of the major live operating systems provide a kernel update feature: the kernel and the initrd are the only components that a live operating system cannot update, because they lay outside of the data persistence partition, if any. This will soon lead to an outdated operating system, particularly unsafe if used as a desktop-replacement or for security-critical activities. The liveng project[10] demonstrates how to turn a common (Debian) Linux live operating system into a system capable of kernel update (moreover on a live ISO 9660 filesystem).
_______________
[10] LumIT Labs. "liveng". Read The Docs. Retrieved October 20, 2018.
Now, that would be a competition killer ability to have, but I wonder if it is even possible for porteus to include liveng. :D
Cheers!
Yours Rava

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

Re: Porteus Kernel Builder

Post#448 by neko » 31 Jan 2019, 15:34

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc4
The latest stable 4.20 version of the Linux kernel is: 4.20.6 <---NEW
The latest longterm 4.19 version of the Linux kernel is: 4.19.19 <---NEW
The latest longterm 4.14 version of the Linux kernel is: 4.14.97 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.154 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.172
The latest longterm 3.18 version of the Linux kernel is: 3.18.133 (EOL)
The latest linux-next version of the Linux kernel is: next-20190131


2. NEW Examples of updated kernel that was built by "Porteus Kernel builder" were updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[4.20.6]
32bit-kernel4.20.6.tar (86 M)
http://www.mediafire.com/file/azacxoj3b ... 4.20.6.tar
md5sum: f8e4c3ddc1d2b78e593235be7e2358f6 32bit-kernel4.20.6.tar

64bit-kernel4.20.6.tar (91 M)
http://www.mediafire.com/file/ke8nt33bs ... 4.20.6.tar
md5sum: 3e8ed8d0f0289ce7497b55bec3f29ebe 64bit-kernel4.20.6.tar

[4.19.19]
32bit-kernel4.19.19.tar (86 M)
http://www.mediafire.com/file/4l0wwrtac ... .19.19.tar
md5sum: 5d4f01c967a45528539d4ba526b08938 32bit-kernel4.19.19.tar

64bit-kernel4.19.19.tar (91 M)
http://www.mediafire.com/file/zopsj3br0 ... .19.19.tar
md5sum: 128f51f98a72e06ded6dd5f9ad4468e2 64bit-kernel4.19.19.tar


[AUFS patch error as same as 4.19.17/4.20.4]
Kernel 4.19.19 was patched with AUFS_VERSION "4.19-20181217".
Kernel 4.20.6 was patched with AUFS_VERSION "4.x-rcN-20181217".

These version AUFS patches are not yet adapted correctly
to patch to drivers/block/loop.c of kernel 4.19.19/4.20.6.

Own patch sources (own.loop.c) of drivers/block/loop.c are included in aufsERROR.repo.tar.xz.
(These Own patches are not assured.)
Refer to Re: Porteus Kernel Builder (Post by neko #68998)


[Config]
4.19.19 config prototype was updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
Shamelessly allow leaking of fbdev physical address (DANGEROUS) (DRM_FBDEV_LEAK_PHYS_SMEM) [N/y/?] (NEW) N



Thanks.

raja
Samurai
Samurai
Posts: 157
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

Re: Porteus Kernel Builder

Post#449 by raja » 02 Feb 2019, 18:06

I dumped the ISO to HDD and added 5 modules. Boots fine. HDD boot clipped 1 second down. Desktop in 9.6 seconds. Fastest till now. As you said, live activation is not possible. OK for me.

I will add Simple screen recorder and a Video editor modules to see, they work fine.

Pulse audio is showing some error messages.. not able to write in /home/...

cheers!
Linux Kernel-4.4.120-32 bit; Linux kernel-4.19.7-64 bit.

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

Re: Porteus Kernel Builder

Post#450 by neko » 04 Feb 2019, 06:09

@raja
Thank you for your report.

By the way,
about AUFS I'm worried of keeping its maintenance slow down.


Thanks.

----------------------------------------------------------------------------------------------
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 5.0-rc5 <---NEW
The latest stable 4.20 version of the Linux kernel is: 4.20.6
The latest longterm 4.19 version of the Linux kernel is: 4.19.19
The latest longterm 4.14 version of the Linux kernel is: 4.14.97
The latest longterm 4.9 version of the Linux kernel is: 4.9.154
The latest longterm 4.4 version of the Linux kernel is: 4.4.172
The latest longterm 3.18 version of the Linux kernel is: 3.18.133 (EOL)
The latest linux-next version of the Linux kernel is: next-20190201


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".

ov.v5.0-rc5.tar.xz (95 M)
http://www.mediafire.com/file/rba1ddwts ... rc5.tar.xz
md5sum: 8f0ef759709ff1e56968b36d9f41be94 ov.v5.0-rc5.tar.xz


crippled_sources-5.0-rc5-32bit.xzm (22 M)
http://www.mediafire.com/file/537a8kl3i ... -32bit.xzm
md5sum: 21d799e7abaf0a48ea532633d809a1f1 crippled_sources-5.0-rc5-32bit.xzm

crippled_sources-5.0-rc5-64bit.xzm (22 M)
http://www.mediafire.com/file/1ztt5bizu ... -64bit.xzm
md5sum: f05c5fbac257bee5b12971db8e9446e7 crippled_sources-5.0-rc5-64bit.xzm



Note 1: AUFS patch is not yet ready for kernel 5.0.
Therefore the kernel 5.0-rc5 was built without AUFS patch.

Note 2:
5.0-rc5 config prototype is updated by "make oldconfig" command with the following spec.
----------------------
64BIT
----------------------
x86 CPU resource control support (X86_CPU_RESCTRL) [N/y/?] (NEW) N
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N
----------------------
32BIT
----------------------
x86 CPU resource control support (X86_CPU_RESCTRL) [N/y/?] (NEW) N
Resource Control support (X86_RESCTRL) [N/y/?] (NEW) N


3. Porteus 4.0 Overlay FS trial version

OV.Porteus-CINNAMON-v4.0-x86_64-19.02.04.iso (360 M: Kernel 5.0-rc5)
http://www.mediafire.com/file/9pb2cicfd ... .02.04.iso
md5sum: c5bcf72cdf2c3ba69803e80566cfac92 OV.Porteus-CINNAMON-v4.0-x86_64-19.02.04.iso


Note 1:
06-crippled_sources-5.0-rc5-64bit.xzm is included in ISO@/porteus/optional.

Note 2:
The intrd of this ISO is integrated initrd.
Please refer to Re: Porteus Kernel Builder (Post by neko #68746)



4. Replace the kernel of another distri which uses OverlayFS/AUFS
kernel: 5.0-rc5 (ov.v5.0-rc5.tar.xz)
austrumi 3.9.2: austrumi64-3.9.2.iso (ftp://austrumi.ru.lv/austrumi64-3.9.2.iso)
austrumi 3.9.2 includes libreoffice 6.1.4.2, firefox 64.0.2 etc,.

austrumi64-3.9.2-02.04.iso (436 M: Kernel 5.0-rc5)
http://www.mediafire.com/file/wsl486696 ... -02.04.iso
md5sum: e5cdc2eb85e715f18dd3a1de12551d8f austrumi64-3.9.2-02.04.iso

=======
rm -fr Austrumi-ISO@austrumi/austrumi.fs@lib/modules
cp -a ov.v5.0-rc5.tar.xz@v5.0-rc5/64/lib/modules Austrumi-ISO@austrumi/austrumi.fs@lib/
cp -a ov.v5.0-rc5.tar.xz@v5.0-rc5/64/lib/firmware/* Austrumi-ISO@austrumi/austrumi.fs@lib/firmware/
cp ov.v5.0-rc5.tar.xz@v5.0-rc5/64/vmlinuz Austrumi-ISO@austrumi/bzImage
=======

Note :
ISO includes Japanese local patch.


Thanks.

Post Reply