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...
peebee
Black ninja
Black ninja
Posts: 43
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#1111 by peebee » 20 Jan 2021, 07:04


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#1112 by neko » 20 Jan 2021, 08:05

@peebee
Thank you very much for your pointing my mistake.
The script of getting AUFS patch of "Kernel Builder" has a bug.
It causes getting aufs-5.x-rcN everytime.

"Kernel Builder" was updated from 21.01.14 to 21.01.20.
Porteus Kernel Builder (Post by neko #52232)

Code: Select all

$ diff
mkKernel-21.01.20-noarch-1.xzm@/usr/local/share/mkKernel/bin/getAUFS.sh
mkKernel-21.01.14-noarch-1.xzm@/usr/local/share/mkKernel/bin/getAUFS.sh

20c20
< 	if [ ! -f aufs${V4_5}-kbuild.patch ]
---
> 	if [ ! -f aufs${V3_4}-kbuild.patch ]
$

Kernel 5.10.9 has been released.
Patching it with AUFS patch was successful.

AUFS VERSION:
aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.x-rcN-20210111"


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#1113 by neko » 21 Jan 2021, 14:22

[a kernel build/usage issue]

There are two types of CONFIG.
Old version: neko-32/64bit.config
New version: 32/64bit.config

1. ===ISO with kernel built with AUFS patched kernel with old version CONFIG===

1.1. Booting in an AUFS environment fails.
Shell operation/access failure inside initrd.

Code: Select all

-> 000-kernel.xzm
-> 001-core.xzm
Killed
-> 001-z.core.xzm

1.2. Booting successfully in the OVERLAYFS environment.
After rising, the audio output is muted.
When you set/cancel mute with PULSEAUDIO and adjust the volume (slide), sound will come out.

2. ===ISO with kernel built with AUFS patched kernel with new version CONFIG===
Booting successfully in the AUFS environment.
The size of the built kernel is larger than the old version of CONFIG.


---> I will study how to use aufs-util.git in initrd for case 1.1.

"aufs-util.git/README"
These utilities are always necessary for aufs.
If you forget to install them, your aufs may not work correctly.
And these are not for aufs1 essentially, except aubrsync. See below in
detail.

The ISO including the latest kernel builder has been uploaded.
ArchLinux packages manager for Porteus (Post by neko #81146)


Thanks.

M.O.
White ninja
White ninja
Posts: 4
Joined: 22 Jan 2021, 12:33
Distribution: Porteus 3.2.2 "Mate"

Porteus Kernel Builder

Post#1114 by M.O. » 22 Jan 2021, 12:38

Hello guys,
It seems the download link for 5.10.5 example kernel build is no longer available. Could anyone be so kind to provide its 64-bit crippled-sources module?
Or, a newer kernel (5.10.6/7.....)? Thanks a lot.
M.O.

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

Porteus Kernel Builder

Post#1115 by Blaze » 22 Jan 2021, 17:28

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

[5.10.9] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.10.9.tar (~147 M) [/color]
https://www.mediafire.com/file/iy5fwc6u ... 5.10.9.tar
fb4e0da1a05c43dfcc03f59a654ec240 64bit-ALL-kernel5.10.9.tar

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

Thanks to neko for his support.

Code: Select all

 Aufs (Advanced multi layered unification filesystem) support (AUFS_FS) [N/m/y/?] (NEW) y
    Maximum number of branches
    > 1. 127 (AUFS_BRANCH_MAX_127) (NEW)
      2. 511 (AUFS_BRANCH_MAX_511) (NEW)
      3. 1023 (AUFS_BRANCH_MAX_1023) (NEW)
      4. 32767 (AUFS_BRANCH_MAX_32767) (NEW)
    choice[1-4?]: 2
    Detect direct branch access (bypassing aufs) (AUFS_HNOTIFY) [N/y/?] (NEW) y
      method
      > 1. fsnotify (AUFS_HFSNOTIFY) (NEW)
      choice[1]: 1
    NFS-exportable aufs (AUFS_EXPORT) [N/y/?] (NEW) y
    support for XATTR/EA (including Security Labels) (AUFS_XATTR) [N/y/?] (NEW) y
    File-based Hierarchical Storage Management (AUFS_FHSM) [N/y/?] (NEW) y
    Readdir in userspace (AUFS_RDU) [N/y/?] (NEW) y
    Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
    Show whiteouts (AUFS_SHWH) [N/y/?] (NEW) y
    Ramfs (initramfs/rootfs) as an aufs branch (AUFS_BR_RAMFS) [N/y/?] (NEW) y
    Fuse fs as an aufs branch (AUFS_BR_FUSE) [N/y/?] (NEW) y
    Hfsplus as an aufs branch (AUFS_BR_HFSPLUS) [Y/n/?] (NEW) y
    Debug aufs (AUFS_DEBUG) [N/y/?] (NEW) N
Отправлено спустя 13 часов 44 минуты 16 секунд:
Ed_P report:
Kernel 5.10.9

Image

Porteus-CINNAMON-v5.0rc3-x86_64-20210103-5.10.9.iso
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

burdi01
Shogun
Shogun
Posts: 206
Joined: 18 Aug 2013, 12:09
Distribution: Slackware PartedMagic Xubuntu
Location: The Netherlands

Porteus Kernel Builder

Post#1116 by burdi01 » 23 Jan 2021, 10:58

Porteus-CINNAMON-v5.0rc3-x86_64-20210103-5.10.9.iso
Where can I download the rc3 ISOs ?
:D

M.O.
White ninja
White ninja
Posts: 4
Joined: 22 Jan 2021, 12:33
Distribution: Porteus 3.2.2 "Mate"

Porteus Kernel Builder

Post#1117 by M.O. » 23 Jan 2021, 12:19

Thanks, Blaze.
Unfortunately, I have to confirm the error. My laptop stucks booting saying it is impossible to mount aufs on /union.
Anything missing in the 5.10.9 kernel/000-kernel?

User avatar
maia
Samurai
Samurai
Posts: 123
Joined: 08 Aug 2019, 16:56
Distribution: Porteus-5 64b Openbox
Location: Brasil

Porteus Kernel Builder

Post#1118 by maia » 23 Jan 2021, 15:26

M.O. wrote:
23 Jan 2021, 12:19
Thanks, Blaze.
Unfortunately, I have to confirm the error. My laptop stucks booting saying it is impossible to mount aufs on /union.
Anything missing in the 5.10.9 kernel/000-kernel?
The same for me.
Sorry my english is really, g##gle-tr4nsl4t0r

User avatar
maia
Samurai
Samurai
Posts: 123
Joined: 08 Aug 2019, 16:56
Distribution: Porteus-5 64b Openbox
Location: Brasil

Porteus Kernel Builder

Post#1119 by maia » 23 Jan 2021, 15:32

I was able to compile the kernel using the single patch. The system starts, reads all modules but refuses to read the rootcopy directory.

Inform on boot that are reading the rootcopy directory but start as if it were freshmode :oops:
Sorry my english is really, g##gle-tr4nsl4t0r

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1120 by roadie » 23 Jan 2021, 17:54

maia wrote:
23 Jan 2021, 15:32
I was able to compile the kernel using the single patch. The system starts, reads all modules but refuses to read the rootcopy directory.

Inform on boot that are reading the rootcopy directory but start as if it were freshmode :oops:
maia,

That is really strange, as the initrd is responsible for loading rootcopy. I can't see any way that the kernel would affect that.

I compiled 5.10.9 two days ago using the aufs5-standalone-aufs5.10 patches and it works well, rootcopy is loaded. I haven't tried with the single patch which I think you used. I just compiled 5.10.10 using the same patches and it's running well.

Code: Select all

porteus:[guest]:~$ uname -r
5.10.10-porteus

M.O.
White ninja
White ninja
Posts: 4
Joined: 22 Jan 2021, 12:33
Distribution: Porteus 3.2.2 "Mate"

Porteus Kernel Builder

Post#1121 by M.O. » 23 Jan 2021, 18:02

Could you please kindly provide the 5.10.10 kernel? Thanks in advance.

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1122 by roadie » 23 Jan 2021, 18:09

M.O. wrote:
23 Jan 2021, 18:02
Could you please kindly provide the 5.10.10 kernel? Thanks in advance.
M.O.,
My kernel would probably be of little use to you as it's configured for my system and many (most) drivers are left out.

M.O.
White ninja
White ninja
Posts: 4
Joined: 22 Jan 2021, 12:33
Distribution: Porteus 3.2.2 "Mate"

Porteus Kernel Builder

Post#1123 by M.O. » 23 Jan 2021, 18:24

roadie wrote:
23 Jan 2021, 18:09
M.O. wrote:
23 Jan 2021, 18:02
Could you please kindly provide the 5.10.10 kernel? Thanks in advance.
M.O.,
My kernel would probably be of little use to you as it's configured for my system and many (most) drivers are left out.
Oh, sure ... makes sense :-)

User avatar
maia
Samurai
Samurai
Posts: 123
Joined: 08 Aug 2019, 16:56
Distribution: Porteus-5 64b Openbox
Location: Brasil

Porteus Kernel Builder

Post#1124 by maia » 23 Jan 2021, 21:03

maia,
That is really strange, as the initrd is responsible for loading rootcopy. I can't see any way that the kernel would affect that.
During boot the show the information the system is reading the rootcopy folder but in reality does not read it.

I must have done some improper configuration when I optimized .config for my system.
Sorry my english is really, g##gle-tr4nsl4t0r

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#1125 by neko » 24 Jan 2021, 03:51

@Blaze
kernel 5.10.9 might be something wrong.
kernel 5.10.10 with aufs boot well.

Thanks.

Post Reply