Page 97 of 135

Porteus Kernel Builder

Posted: 22 Nov 2021, 08:21
by keczko.z
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.

Porteus Kernel Builder

Posted: 22 Nov 2021, 14:29
by Ed_P
keczko.z wrote:
22 Nov 2021, 08:21
Where can I download the latest APorteus release?
Hello keczko.z, welcome to the forum. :)

I believe the current APorteus releases are posted here:
But I could be wrong. :hmmm:

Porteus Kernel Builder

Posted: 22 Nov 2021, 14:56
by beny
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.

Porteus Kernel Builder

Posted: 22 Nov 2021, 19:05
by Blaze
neko wrote:
21 Nov 2021, 13:23
Could you please test it again using new the r8188eu.ko.zst?
you are genius - TP-Link TL-WN722N (chip r8188eu) Wireless adapter is work fine for me
Image

Thanks.

AcnapyxoB, I have this diff kernel config log

Code: Select all

https://pastebin.com/Q0f9DtNw
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?

Porteus Kernel Builder

Posted: 23 Nov 2021, 05:44
by neko
@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
Image
"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

Posted: 23 Nov 2021, 06:01
by AcnapyxoB
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!?

Porteus Kernel Builder

Posted: 24 Nov 2021, 08:15
by keczko.z
Thanks Ed_P!
I found it.

Porteus Kernel Builder

Posted: 24 Nov 2021, 16:18
by Ed_P
keczko.z wrote:
24 Nov 2021, 08:15
I found it.
:good: It's quite a scroll to get to it but it's there. :)

Porteus Kernel Builder

Posted: 27 Nov 2021, 06:40
by Blaze
AcnapyxoB, I checked kernel config on

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)
Image Image
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
3) replace with

Code: Select all

		for x in dm_crypt cryptd cbc sha256_generic aes_generic aes; do modprobe $x 2>/dev/null; done
find

Code: Select all

		/opt/000-kernel/sbin/cryptsetup luksOpen /dev/loop2 crypt
replace with

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
A new :url: 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 :url: https://www.mediafire.com/file/njcoxp7m ... l.xzm/file

Porteus Kernel Builder

Posted: 27 Nov 2021, 08:04
by AcnapyxoB
Blaze, I will try later and report.

Porteus Kernel Builder

Posted: 27 Nov 2021, 14:33
by babam
The problem is simple, modprobe ( busybox ) in initrd is not able to work on compressed modules ( dm-crypt.ko.zst ).

Porteus Kernel Builder

Posted: 28 Nov 2021, 05:12
by ncmprhnsbl
babam wrote:
27 Nov 2021, 14:33
The problem is simple, modprobe ( busybox ) in initrd is not able to work on compressed modules ( dm-crypt.ko.zst ).
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

Porteus Kernel Builder

Posted: 28 Nov 2021, 05:57
by Blaze
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)

Porteus Kernel Builder

Posted: 28 Nov 2021, 06:10
by ncmprhnsbl
Blaze wrote:
28 Nov 2021, 05:57
To summarise from test of the AcnapyxoB
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)

Porteus Kernel Builder

Posted: 04 Dec 2021, 06:14
by Blaze
neko, In APorteus I have these errors:

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 #
[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)
:crazy: :crazy: :crazy: Link removed coz :crazy: :crazy: :crazy:
Image
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
Note 1: Compiler that was used.
for kernel 5.15.6: 11.2.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Thanks to neko for his support.