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...
User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#916 by AcnapyxoB » 25 Jul 2020, 17:42

Blaze I have problems with the new v5 kernels (5.4.52, 5.7.9).
I'm using encrypted porteussave.dat file from long time with Porteus 4.0 x86_64 mostly with XFCE.
Save file is ReiserFS, tried also wih ext4 !

Error during boot:
^ found encrypted .dat container
Enter passphrase for /dev/loop2:
device-mapper reload ioctl on failed: No such file or directory
Failed to setup dm-crypt key mapping for device /dev/loop2.
Check that kernel supports aes-cbcessiv:sha256 cipher (check syslog)
Failed to read from key storage.
^ checking /dev/mapper/crypt for errors
sh: xfs: unknown operand
sh: ext: unknown operand
sh: rei: unknown operand
^ detected unsupported fs - skipping fsck
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#917 by Blaze » 26 Jul 2020, 15:15

Привет AcnapyxoB,
I took a clean .config from the kernel 5.4.53
Image
no ESSIV and no SHA256

Ok, let's check at my config
Image

Seems it's issue on your side :whistling:

Please check it:

Code: Select all

cat /usr/src/linux/.config | egrep -i 'cbc|essiv|sha256|aes'
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

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#918 by AcnapyxoB » 26 Jul 2020, 17:44

Привет Blaze

kernel 5.7.9 and 5.4.52 with Porteus 5.0rc and 4.0 XFCE x86_64:
CONFIG_AS_SHA256_NI=y
# CONFIG_MODULE_SIG_SHA256 is not set
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3_INPUT=y
# CONFIG_CRYPTO_AEGIS128_AESNI_SSE2 is not set
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=m
CONFIG_CRYPTO_ESSIV=m
CONFIG_CRYPTO_XCBC=m
CONFIG_CRYPTO_SHA256_SSSE3=m
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not set
CONFIG_CRYPTO_AES_NI_INTEL=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=m
CONFIG_CRYPTO_LIB_AES=y
CONFIG_CRYPTO_LIB_SHA256=y
CONFIG_CRYPTO_DEV_PADLOCK_AES=m

kernel 4.19.130 Porteus 4.0 XFCE x86_64:
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3_INPUT=y
# CONFIG_CRYPTO_AEGIS128_AESNI_SSE2 is not set
# CONFIG_CRYPTO_AEGIS128L_AESNI_SSE2 is not set
# CONFIG_CRYPTO_AEGIS256_AESNI_SSE2 is not set
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=m
CONFIG_CRYPTO_XCBC=m
CONFIG_CRYPTO_SHA256_SSSE3=m
# CONFIG_CRYPTO_SHA256_MB is not set
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not set
CONFIG_CRYPTO_AES_X86_64=m
CONFIG_CRYPTO_AES_NI_INTEL=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=m
CONFIG_CRYPTO_DEV_PADLOCK_AES=m

I have no problem with last one (4.19.130)
Last edited by AcnapyxoB on 27 Jul 2020, 04:52, edited 1 time in total.
Porteus v5.01 KDE x86_64

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#919 by babam » 26 Jul 2020, 19:11

CONFIG_CRYPTO_ESSIV=m ---> CONFIG_CRYPTO_ESSIV=y
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#920 by Blaze » 27 Jul 2020, 06:19

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

[5.4.53] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.4.53.tar (92 M)
http://www.mediafire.com/file/ngwwxilis ... 5.4.53.tar
a6e670df08cf9aa9dd76147ca91c0ad9 64bit-ALL-kernel5.4.53.tar

Note : Compiler that was used.
for kernel 5.4.53: gcc-10.1.0-x86_64
The change log:

Code: Select all

# As test option for AcnapyxoB
CONFIG_CRYPTO_ESSIV=m ---> CONFIG_CRYPTO_ESSIV=y

Code: Select all

# As result:
# cat /usr/src/linux/.config | egrep -i 'aes|cbc|essiv|sha256'
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3_INPUT=y
# CONFIG_CRYPTO_AEGIS128_AESNI_SSE2 is not set
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=m
CONFIG_CRYPTO_ESSIV=y
CONFIG_CRYPTO_XCBC=m
CONFIG_CRYPTO_SHA256_SSSE3=m
CONFIG_CRYPTO_LIB_SHA256=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_LIB_AES=y
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not set
CONFIG_CRYPTO_AES_NI_INTEL=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=m
CONFIG_CRYPTO_DEV_PADLOCK_AES=m
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

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#921 by AcnapyxoB » 27 Jul 2020, 11:14

Blaze,babam thanks! I will test and report.

update:
With kernel 5.4.53 and Porteus 4.0 XFCE save.dat file is workig fine. :good:

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#922 by babam » 29 Jul 2020, 04:49

Hi Blaze,

I suspect something is wrong with crippled_sources created by mkKernel.
I have never had success compiling Paragon Ntfs with the Kernel made by mkKernel, but compiling with the default Kernel is always successful.

Porteus 3.2.2 (kernel 4.9.0) ---> Success
Porteus 4.0 (kernel 4.16.3) ---> Success
Porteus 5.0rc1 (kernel 5.1.5) ---> Success

Porteus 3.2.2 (kernel 4.19.xx and kernel 5.4.xx) ---> Can't prepare driver configuration
Porteus 5.0rc1 (kernel 5.4.xx) ---> Can't prepare driver configuration
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#923 by Blaze » 29 Jul 2020, 05:18

babam, do you use the latest 05-devel.xzm module thos this?
You can download it from here https://dropmefiles.com/2YEVU
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

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#924 by babam » 29 Jul 2020, 06:05

Blaze, thanks.
For Porteus 5.0rc1 I use 05-devel from here

Have you tried it and it worked?
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#925 by Blaze » 29 Jul 2020, 06:10

babam, please use my version with gcc-10.1.0-x86_64
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

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#926 by babam » 29 Jul 2020, 21:15

Blaze wrote:
29 Jul 2020, 06:10
babam, please use my version with gcc-10.1.0-x86_64
Still failed, can't prepare driver configuration.
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#927 by Blaze » 30 Jul 2020, 05:12

babam wrote:
29 Jul 2020, 04:49
never had success compiling Paragon Ntfs with the Kernel made by mkKernel
any log or screenshots?
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

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#928 by babam » 30 Jul 2020, 06:18

Blaze, if you wish you can try it download here
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#929 by Blaze » 30 Jul 2020, 07:05

babam,
Image
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

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#930 by babam » 30 Jul 2020, 07:26

Blaze wrote:
30 Jul 2020, 07:05
babam,
Image
OMG, I will try it on kernel 5.4.53

Update:
Error: Can't prepare driver configuration
Image
Sorry, my English is bad.

Post Reply