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
Blaze
DEV Team
DEV Team
Posts: 3963
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2041 by Blaze » 15 Aug 2024, 13:53

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

6.10.5 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.10.5.tar (~177 M)
https://www.mediafire.com/file/024qabci ... 6.10.5.tar
4756b349efe25057d4db3ba0929e9558 32bit-ALL-kernel6.10.5.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.10.5 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.10.5.tar (~186 M)
https://www.mediafire.com/file/s820qogc ... 6.10.5.tar
82e04a6e908218261f25b0f70927d0d7 64bit-ALL-kernel6.10.5.tar

Note 1: Compiler that was used.
for kernel 6.10.5: 11.2.0-x86_64

Note 2: Compilated under Porteus 5.01 (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Note 3: A new cryptsetup (version 2.6.1)
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
Blaze
DEV Team
DEV Team
Posts: 3963
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2042 by Blaze » 27 Oct 2024, 11:26

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

6.11.5 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.11.5.tar (~172 M)
https://www.mediafire.com/file/b8wkhcl9 ... 6.11.5.tar
5237aed5b69d5ff0ffbbe177794dfb54 32bit-ALL-kernel6.11.5.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.11.5 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.8.4.tar (~192.5 M)
https://www.mediafire.com/file/ujxshh0t ... 6.11.5.tar
393935c26f982d3f39580e5c011c0265 64bit-ALL-kernel6.11.5.tar

Note 1: Compiler that was used.
for kernel 6.11.5: 14.2.0-x86_64
Download a new 05-devel.xzm

Note 2: Compilated under Porteus 5.1 (Slackware-current base)

Note 3: Cryptsetup 2.6.1

Note 4: Added options for Docker support.
More info is here (Thanks for the report to bytie)
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

RookieAdventures
Ronin
Ronin
Posts: 2
Joined: 29 Nov 2024, 08:00
Distribution: Porteus 5.01
Location: India

Porteus Kernel Builder

Post#2043 by RookieAdventures » 29 Nov 2024, 08:10

hi balze,
I've been exploring this system since last couple of months, and i do not have any prior experience with linux or any other distro.

what i've understood is, linux kernel 6.11.5 has the latest drivers for rtw89 nic merged into it, but the kernel that is provided compiled and ready to be used for porteus doesn't contain up to date drivers in it, it is missing 8852b, 8852be, 8852a and 8852ae are not present, which i don't understand.

i tried to compile https://github.com/lwfinger/rtw89 by self and i was able to, but after compiling it, replacing the old drivers with compiled once, and running depmod -a, and creating module created some weird issues, like keyboard & touchpad not working.

could you please guide on how do make this work as the machine that i've uses the chip which requires missing drivers.

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

Porteus Kernel Builder

Post#2044 by Blaze » 30 Nov 2024, 07:28

Hi RookieAdventures and welcome on the board.
I compiled kernel 6.12.1 with these options:

Code: Select all

# cat /usr/src/linux/.config | grep -i rtw89
CONFIG_RTW89=m
CONFIG_RTW89_CORE=m
CONFIG_RTW89_PCI=m
CONFIG_RTW89_8851B=m
CONFIG_RTW89_8852A=m
CONFIG_RTW89_8852B_COMMON=m
CONFIG_RTW89_8852B=m
CONFIG_RTW89_8852BT=m
CONFIG_RTW89_8852C=m
CONFIG_RTW89_8922A=m
CONFIG_RTW89_8851BE=m
CONFIG_RTW89_8852AE=m
CONFIG_RTW89_8852BE=m
CONFIG_RTW89_8852BTE=m
CONFIG_RTW89_8852CE=m
CONFIG_RTW89_8922AE=m
# CONFIG_RTW89_DEBUGMSG is not set
# CONFIG_RTW89_DEBUGFS is not set
Not bad if you update kernel to 6.12.1 version and share log of these commands:

Code: Select all

su
toor
lspci -knn
dmesg | egrep -i 'rtw|rtl|wlan|firmware|b43|phy|bcm|fw|wl|error|faile|warn|issue|resolve|found|bug|loaded|broad|touch|elan|screen|input'
Note. How to update kernel:

Code: Select all

# All operations are must be done as root user!

# !!! replace with a new version of 000-kernel.xzm (remove old kernel version) !!!
# remove crippled_sources.xzm
# optionally add 06-crippled_sources-NNN-XXbit.xzm
/path-to/porteus/base

# !!! replace vmlinuz !!!
/path-to/boot/syslinux

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

6.12.1 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.121.tar (~196 M)
https://www.mediafire.com/file/8ki2jfvq ... 6.12.1.tar
d99d104e10252299754cbd00496d17f5 64bit-ALL-kernel6.12.1.tar

Note 1: Compiler that was used.
for kernel 6.12.1: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 (Slackware-current base)

Note 3: Cryptsetup 2.6.1

Thanks for the report!
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
Blaze
DEV Team
DEV Team
Posts: 3963
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2045 by Blaze » 13 Dec 2024, 21:20

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

6.12.4 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.12.4.tar (~176 M)
https://www.mediafire.com/file/8x317m92 ... 6.12.4.tar
02c9c309409c95376c370c0ced75b4cf 32bit-ALL-kernel6.12.4.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.12.4 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.12.4.tar (~197 M)
https://www.mediafire.com/file/qep5lxud ... 6.12.4.tar
538179a643cdda345396c138c5dd3e75 64bit-ALL-kernel6.12.4.tar

Note 1: Compiler that was used.
for kernel 6.12.4: 14.2.0-x86_64
Download a new 05-devel.xzm

Note 2: Compilated under Porteus 5.1 (Slackware-current base)

Note 3: Cryptsetup 2.6.1
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
Shogun
Shogun
Posts: 220
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#2046 by AcnapyxoB » 14 Dec 2024, 11:11

Is anyone having trouble starting up Porteus with VirtualBox 7.1.4 for Kernel 6.12.4 ?

it stops at:

Code: Select all

INIT: Entering runlevel: 4
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
From what I saw (compared to virtualbox for kernel 6.8.10) is missing folder into VirtualBox module:
lib/modules/6.12.4-porteus/misc/
and the corresponding files in it:
vboxdrv.ko vboxnetadp.ko vboxnetflt.ko

The same with the newer of the test build VirtualBox-7.1.5-165995-Linux_amd64
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#2047 by Blaze » 14 Dec 2024, 11:45

AcnapyxoB, I don't have it

6.12.1
Image

6.12.4
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
AcnapyxoB
Shogun
Shogun
Posts: 220
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#2048 by AcnapyxoB » 14 Dec 2024, 12:04

Blaze wrote:
14 Dec 2024, 11:45
I don't have it
Blaze can You share your virtualbox for kernel 6.12.4 64bit ?
... or give some idea where the problem might be in building :fool:
Porteus v5.01 KDE x86_64

i3slkiller
Contributor
Contributor
Posts: 129
Joined: 03 Feb 2020, 18:51
Distribution: Debian 12, Porteus 5.01
Location: Poland

Porteus Kernel Builder

Post#2049 by i3slkiller » 14 Dec 2024, 12:25

Hi Blaze :hi: Where I can find
Blaze wrote:
13 Dec 2024, 21:20
Porteus 5.1 (Slackware-current base)
iso or at least its sources?

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

Porteus Kernel Builder

Post#2050 by Blaze » 14 Dec 2024, 13:34

AcnapyxoB, sure VirtualBox-7.1.4-porteus-v5.1-x86_64-1prt.xzm

Hi i3slkiller, in this month you will get Porteus 5.1 alpha version :)
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
Shogun
Shogun
Posts: 220
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#2051 by AcnapyxoB » 14 Dec 2024, 13:58

Blaze wrote:
14 Dec 2024, 13:34
AcnapyxoB, sure VirtualBox-7.1.4-porteus-v5.1-x86_64-1prt.xzm
Thanks Blaze, Porteus boots fine, but when try to start VM:

Code: Select all

VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).
Result Code:
NS_ERROR_FAILURE (0x80004005)
I even tried to recompile VBox and add missing vboxdrv.ko vboxnetadp.ko vboxnetflt.ko without success !
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#2052 by Blaze » 14 Dec 2024, 14:04

How about AF mode?
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
Shogun
Shogun
Posts: 220
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#2053 by AcnapyxoB » 14 Dec 2024, 14:13

Blaze wrote:
14 Dec 2024, 14:04
How about AF mode?
Tried - no success, but found:
https://forums.virtualbox.org/viewtopic.php?t=34880

this line did the job:

Code: Select all

sudo modprobe -r kvm_intel
Now I just have to figure out how to make it run on every restart.
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#2054 by Blaze » 14 Dec 2024, 15:31

add modprobe -r kvm_intel to /etc/rc.d/rc.local
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
Shogun
Shogun
Posts: 220
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#2055 by AcnapyxoB » 14 Dec 2024, 15:44

Blaze wrote:
14 Dec 2024, 15:31
add modprobe -r kvm_intel to /etc/rc.d/rc.local
Is it good idea to add it straight into VirtualBox module or is better to use rootcopy folder ?
Porteus v5.01 KDE x86_64

Post Reply