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...
keczko.z
Ronin
Ronin
Posts: 2
Joined: 24 May 2021, 14:56
Distribution: APorteus_XFCE

Porteus Kernel Builder

Post#1441 by keczko.z » 22 Nov 2021, 08:21

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.

User avatar
Ed_P
Contributor
Contributor
Posts: 6510
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Porteus Kernel Builder

Post#1442 by Ed_P » 22 Nov 2021, 14:29

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:
Ed

beny
Full of knowledge
Full of knowledge
Posts: 1152
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#1443 by beny » 22 Nov 2021, 14:56

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.

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

Porteus Kernel Builder

Post#1444 by Blaze » 22 Nov 2021, 19:05

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?
Linux 5.10.11-porteus #1 SMP Thu Jan 28 11:33:44 UTC 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

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

Porteus Kernel Builder

Post#1445 by neko » 23 Nov 2021, 05:44

@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.

AcnapyxoB
Samurai
Samurai
Posts: 109
Joined: 24 Dec 2014, 10:15
Distribution: Porteus v5.0rc3
Location: Planet Earth

Porteus Kernel Builder

Post#1446 by AcnapyxoB » 23 Nov 2021, 06:01

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 v5.0rc3 x86_64

keczko.z
Ronin
Ronin
Posts: 2
Joined: 24 May 2021, 14:56
Distribution: APorteus_XFCE

Porteus Kernel Builder

Post#1447 by keczko.z » 24 Nov 2021, 08:15

Thanks Ed_P!
I found it.

User avatar
Ed_P
Contributor
Contributor
Posts: 6510
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Porteus Kernel Builder

Post#1448 by Ed_P » 24 Nov 2021, 16:18

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. :)
Ed

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

Porteus Kernel Builder

Post#1449 by Blaze » 27 Nov 2021, 06:40

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
Linux 5.10.11-porteus #1 SMP Thu Jan 28 11:33:44 UTC 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

AcnapyxoB
Samurai
Samurai
Posts: 109
Joined: 24 Dec 2014, 10:15
Distribution: Porteus v5.0rc3
Location: Planet Earth

Porteus Kernel Builder

Post#1450 by AcnapyxoB » 27 Nov 2021, 08:04

Blaze, I will try later and report.
Porteus v5.0rc3 x86_64

User avatar
babam
Shogun
Shogun
Posts: 269
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K5.14.10
Location: Rainy city

Porteus Kernel Builder

Post#1451 by babam » 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 ).
Sorry, my English is bad.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3265
Joined: 20 Mar 2012, 03:42
Distribution: 5.0-current-64bit
Location: australia
Contact:

Porteus Kernel Builder

Post#1452 by ncmprhnsbl » 28 Nov 2021, 05:12

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
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

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

Porteus Kernel Builder

Post#1453 by Blaze » 28 Nov 2021, 05:57

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 5.10.11-porteus #1 SMP Thu Jan 28 11:33:44 UTC 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3265
Joined: 20 Mar 2012, 03:42
Distribution: 5.0-current-64bit
Location: australia
Contact:

Porteus Kernel Builder

Post#1454 by ncmprhnsbl » 28 Nov 2021, 06:10

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)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply