Porteus Kernel Builder
Porteus Kernel Builder
Hello,
Where can I download the latest APorteus release?
I love these distros. Thanks for your jobs!
I cannot wait for slackware based Porteus, but my favourite Linux.
Where can I download the latest APorteus release?
I love these distros. Thanks for your jobs!
I cannot wait for slackware based Porteus, but my favourite Linux.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus Kernel Builder
Hello keczko.z, welcome to the forum.

I believe the current APorteus releases are posted here:
But I could be wrong.neko wrote: ↑22 Nov 2021, 01:53Please refer to ArchLinux packages manager for Porteus (Post by neko #36689)

Porteus Kernel Builder
hi neko, "strange" behavior after you choose the version of kernel and start the build the kernel config do not link to the directory of build, the kernel config start again insted to load the choose one,maybe am i a bit rusty.
- Blaze
- DEV Team
- Posts: 3994
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Porteus Kernel Builder
you are genius - TP-Link TL-WN722N (chip r8188eu) Wireless adapter is work fine for me

Thanks.
AcnapyxoB, I have this diff kernel config log
Code: Select all
https://pastebin.com/Q0f9DtNw
and I don't found in it activated - CONFIG_CRYPTO_AES_X86_64: AES cipher algorithms (x86_64).
In slackware/slackware64-current/source/k/kernel-configs too https://mirrors.slackware.com/slackware ... l-configs/
How about to update cryptsetup-2.4.2-x86_64-1.txz and test it?
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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
@Blaze
Thank you very much for your testing report.
I think that the kernel source "drivers/staging/r8188eu/os_dep/os_intfs.c" will be updated.
@keczko.z
Please refer to @Ed_P's response.
@Ed_P
Thank you for your help.
<"ISO Builder"> and <Examples ISOs built with "ISO Builder"> are updated neary every weekly depending on kernel updating.
These ISOs that have the most recent kernel are uploaded in the 3rd article of "ArchLinux packages manager for Porteus" thread,
whose URL was pointed out by you.
@beny

"Kernel Builder"
"choose the version of kernel and start the build the kernel config"
---->
Did you download kernel source?
Did you expand kernel source?
Would you upload it's error message?
Thanks.
Thank you very much for your testing report.
I think that the kernel source "drivers/staging/r8188eu/os_dep/os_intfs.c" will be updated.
@keczko.z
Please refer to @Ed_P's response.
@Ed_P
Thank you for your help.
<"ISO Builder"> and <Examples ISOs built with "ISO Builder"> are updated neary every weekly depending on kernel updating.
These ISOs that have the most recent kernel are uploaded in the 3rd article of "ArchLinux packages manager for Porteus" thread,
whose URL was pointed out by you.
@beny

"Kernel Builder"
"choose the version of kernel and start the build the kernel config"
---->
Did you download kernel source?
Did you expand kernel source?
Would you upload it's error message?
Thanks.
Porteus Kernel Builder
Blaze what do you mean "to update cryptsetup-2.4.2-x86_64-1.txz and test it?"
May be to "txz2xzm" ryptsetup-2.4.2-x86_64-1.txz and load it like module!?
May be to "txz2xzm" ryptsetup-2.4.2-x86_64-1.txz and load it like module!?
Porteus v5.01 KDE x86_64
Porteus Kernel Builder
Thanks Ed_P!
I found it.
I found it.
- Blaze
- DEV Team
- Posts: 3994
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Porteus Kernel Builder
AcnapyxoB, I checked kernel config on

as you can see we have 'AES cipher algorithms' without (x86_64)
modinfo doesn't know about aes_x86_64 module, but aes module (alias: crypto-aes) he knows (AES cipher algorithms)
I applyed this fix for initrd.xz
1) open /initrd/init > linuxrc
2) find
3) replace with
find
replace with
initrd.xz UPDATED
Another hack try kernel 5.15.3 from this post Porteus Kernel Builder (Пост Blaze #85754)
but use a new 000-kernel.xzm
https://www.mediafire.com/file/njcoxp7m ... l.xzm/file
Code: Select all
Device Drivers --->
[*] Multiple devices driver support (RAID and LVM) --->
<*> Device mapper support
<*> Crypt target support
-*- Cryptographic API --->
<*> AES cipher algorithms (x86_64)


as you can see we have 'AES cipher algorithms' without (x86_64)
modinfo doesn't know about aes_x86_64 module, but aes module (alias: crypto-aes) he knows (AES cipher algorithms)
I applyed this fix for initrd.xz
1) open /initrd/init > linuxrc
2) find
Code: Select all
for x in dm_crypt cryptd cbc sha256_generic aes_generic aes_x86_64; do modprobe $x 2>/dev/null; done
Code: Select all
for x in dm_crypt cryptd cbc sha256_generic aes_generic aes; do modprobe $x 2>/dev/null; done
Code: Select all
/opt/000-kernel/sbin/cryptsetup luksOpen /dev/loop2 crypt
Code: Select all
/sbin/cryptsetup luksOpen /dev/loop2 crypt
- Make a backup of /boot/syslinux/initrd.xz
- Copy the new initrd.xz, reboot and be happy

Another hack try kernel 5.15.3 from this post Porteus Kernel Builder (Пост Blaze #85754)
but use a new 000-kernel.xzm

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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
Porteus Kernel Builder
The problem is simple, modprobe ( busybox ) in initrd is not able to work on compressed modules ( dm-crypt.ko.zst ).
Sorry, my English is bad.
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus Kernel Builder
good point, which also raises the question: why are these kernel modules compressed?
presumably this became a kernel compilation default at some point, which makes sense on a conventionally installed system (to save space?)
but generally with a porteus module (.xzm) the practice is to extract all archives before compressing the squashfs, which achieves a more efficient compression.
(basically because you can't compress an archive any more than it already is..)
so, i suppose.. would be in config :
Code: Select all
CONFIG_MODULE_COMPRESS_NONE=y
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
# CONFIG_MODULE_COMPRESS_ZSTD is not set
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Blaze
- DEV Team
- Posts: 3994
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Porteus Kernel Builder
To summarise from test of the AcnapyxoB
Code: Select all
- kernel 5.15.3, new initrd.xz - no success
- kernel 5.15.3, new updated initrd.xz - no success
- new 000-kernel 5.15.3, new updated initrd.xz - no success
- kernel 5.12.14, new updated initrd.xz - no success
- kernel 5.12.14, old initrd.xz (from rc3) - OK (encrypted .dat save file works)
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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus Kernel Builder
which, if 5.12.14 has uncompressed kernel modules(i think so) , would tend to confirm Porteus Kernel Builder (Post by babam #85941) & Porteus Kernel Builder (Post by ncmprhnsbl #85946)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Blaze
- DEV Team
- Posts: 3994
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Porteus Kernel Builder
neko, In APorteus I have these errors:
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)
[5.15.6] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.15.6.tar (~115 M)
Link removed coz

4559e597ed017d6d0649b030aa549b7d 64bit-ALL-kernel5.15.6.tar
Note 1: Compiler that was used.
for kernel 5.15.6: 11.2.0-x86_64
A new
x86_64 05-devel.xzm (GCC version 11.2.0)
Thanks to neko for his support.
Code: Select all
root /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6 # make
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
<stdin>:1:10: fatal error: libelf.h: No such file or directory
compilation terminated.
CC /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/arch/x86/special.o
In file included from /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/include/objtool/objtool.h:13,
from /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/include/objtool/arch.h:11,
from /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/include/objtool/check.h:11,
from /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
/mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
10 | #include <gelf.h>
| ^~~~~~~~
compilation terminated.
make[4]: *** [/mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/build/Makefile.build:97: /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/arch/x86/special.o] Error 1
make[3]: *** [/mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/build/Makefile.build:139: arch/x86] Error 2
make[2]: *** [Makefile:56: /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6/tools/objtool/objtool-in.o] Error 2
make[1]: *** [Makefile:69: objtool] Error 2
make: *** [Makefile:1371: tools/objtool] Error 2
root /mnt/sdc1/kernelx64/v5.15.6/64/linux-5.15.6 #
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)
[5.15.6] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.15.6.tar (~115 M)







4559e597ed017d6d0649b030aa549b7d 64bit-ALL-kernel5.15.6.tar
Code: Select all
-# CONFIG_MODULE_COMPRESS_NONE is not set
+CONFIG_MODULE_COMPRESS_NONE=y
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
-CONFIG_MODULE_COMPRESS_ZSTD=y
+# CONFIG_MODULE_COMPRESS_ZSTD is not set
for kernel 5.15.6: 11.2.0-x86_64
A new

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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16