Page 75 of 135

Porteus Kernel Builder

Posted: 20 Jan 2021, 07:04
by peebee

Porteus Kernel Builder

Posted: 20 Jan 2021, 08:05
by neko
@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.

Porteus Kernel Builder

Posted: 21 Jan 2021, 14:22
by neko
[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.

Porteus Kernel Builder

Posted: 22 Jan 2021, 12:38
by M.O.
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.

Porteus Kernel Builder

Posted: 22 Jan 2021, 17:28
by Blaze
[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

Porteus Kernel Builder

Posted: 23 Jan 2021, 10:58
by burdi01
Porteus-CINNAMON-v5.0rc3-x86_64-20210103-5.10.9.iso
Where can I download the rc3 ISOs ?
:D

Porteus Kernel Builder

Posted: 23 Jan 2021, 12:19
by M.O.
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?

Porteus Kernel Builder

Posted: 23 Jan 2021, 15:26
by maia
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.

Porteus Kernel Builder

Posted: 23 Jan 2021, 15:32
by maia
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:

Porteus Kernel Builder

Posted: 23 Jan 2021, 17:54
by roadie
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

Porteus Kernel Builder

Posted: 23 Jan 2021, 18:02
by M.O.
Could you please kindly provide the 5.10.10 kernel? Thanks in advance.

Porteus Kernel Builder

Posted: 23 Jan 2021, 18:09
by roadie
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.

Porteus Kernel Builder

Posted: 23 Jan 2021, 18:24
by M.O.
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 :-)

Porteus Kernel Builder

Posted: 23 Jan 2021, 21:03
by maia
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.

Porteus Kernel Builder

Posted: 24 Jan 2021, 03:51
by neko
@Blaze
kernel 5.10.9 might be something wrong.
kernel 5.10.10 with aufs boot well.

Thanks.