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
babam
Warlord
Warlord
Posts: 528
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#2011 by babam » 24 Feb 2024, 12:45

porteux wrote:
20 Feb 2024, 21:45
@roadie, yes. Here's a build with PRINTK enabled :)

https://www.mediafire.com/file/ebbxktuy ... vice-2.zip
Can't use powertop

Code: Select all

# uname -r
6.7.4-porteux

# powertop -t1
modprobe cpufreq_stats failedFailed to mount debugfs!
exiting...
Sorry, my English is bad.

porteux
Samurai
Samurai
Posts: 175
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

Porteus Kernel Builder

Post#2012 by porteux » 24 Feb 2024, 15:56

@beny, thanks for the feedback.

Try this one: https://www.mediafire.com/file/1s1wl3p9 ... vice-3.zip

BTW, enabling CONFIG_DEBUG_FS by default is controversial. Take a look:

https://patchwork.kernel.org/project/li ... on.org.uk/

https://my.f5.com/manage/s/article/K68692291

And powertop is even more controversial. I do not recommend using it. If you want to save energy, set the CPU governor to 'powersave', and if you want maximum performance set it to 'performance'.

Powersave:

Code: Select all

echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Performance:

Code: Select all

echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
And to check the current governor:

Code: Select all

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
PorteuX has an application to check/change that. ;)

To check the power consumption I recommend using powerstat: https://github.com/ColinIanKing/powerstat

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Porteus Kernel Builder

Post#2013 by M. Eerie » 25 Feb 2024, 09:42

With this one I get some boot error messages related to systemctl...

Once the desktop shows up, I can't change the screen brightness.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

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

Porteus Kernel Builder

Post#2014 by neko » 26 Feb 2024, 03:12

Kernel Builder was updated to 24.02.26
Please refer to the top article of this thread.

1. Firmware database was updated
(1) Firmware database : kernel-firmware-20240220_97b693d-noarch-1plus.xzm (483 M)]
that was created with slackware package "kernel-firmware-20240220_97b693d-noarch-1.txz (332 M)".

(2) sof-firmware was deleted from Ffrmware database.
"sof-firmware":
Sound Open Firmware is an open source audio DSP firmware and SDK
that provides audio firmware infrastructure and development tools
for developers who are interested in audio or signal processing on modern DSPs.

This firmware isn't linked to any kernel driver.
If you need this, please set it in your ISO by yourself.

2. Hown to set Intel bluetooth firmware to lib/firmware/
kernel source: drivers/bluetooth/btintel.c

Code: Select all

% cat drivers/bluetooth/btintel.c
...
MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>");
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);
MODULE_VERSION(VERSION);
MODULE_LICENSE("GPL");
MODULE_FIRMWARE("intel/ibt-11-5.sfi");
MODULE_FIRMWARE("intel/ibt-11-5.ddc");
MODULE_FIRMWARE("intel/ibt-12-16.sfi");
MODULE_FIRMWARE("intel/ibt-12-16.ddc");
%
driver linked firmware:
====kernel/drivers/bluetooth/btintel.ko
intel/ibt-11-5.ddc
intel/ibt-11-5.sfi
intel/ibt-12-16.ddc
intel/ibt-12-16.sfi

pickuped firmware: lib/firmware/intel/
ibt-11-5.ddc ibt-11-5.sfi ibt-12-16.ddc ibt-12-16.sfi

3. config updated: CONFIG_WIREGUARD=m

Code: Select all

$ grep CONFIG_WIREGUARD=m /usr/local/share/mkKernel/lib/v*/*.config
/usr/local/share/mkKernel/lib/v5.10-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.10-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.10/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.10/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.15-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.15-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.15/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.1-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.1-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.1/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.1/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.3-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.3-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.3/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.3/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.4-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.4-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.4/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.4/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5-rc/AUF32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5-rc/AUF64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5-rc/OV32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5-rc/OV64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5/AUF32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5/AUF64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5/OV32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.5/OV64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.6-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.6-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.6/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.6/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.7-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.7-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.7/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.7/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.8-rc/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.8-rc/64bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.8/32bit.config:CONFIG_WIREGUARD=m
/usr/local/share/mkKernel/lib/v6.8/64bit.config:CONFIG_WIREGUARD=m
$
Thanks.

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

Porteus Kernel Builder

Post#2015 by Blaze » 17 Mar 2024, 12:41

[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.7.10 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.7.10.tar (~176 M)
https://www.mediafire.com/file/9thyopqm ... 6.7.10.tar
bef30563b0bb5e28b5caadec8d3004ab 32bit-ALL-kernel6.7.10.tar

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

6.7.10 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.7.10.tar (~196 M)
https://www.mediafire.com/file/hhr9s5r8 ... 6.7.10.tar
acaf34759927341c87b8d9939774a9bb 64bit-ALL-kernel6.7.10.tar

Note 1: Compiler that was used.
for kernel 6.7.10: 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)

Note 5:

Code: Select all

CONFIG_MITIGATION_RFDS=y
Note 6: These kernels builded with my configs via PorteuX script with my tweaks. (Thanks to fulalas and PorteuX team)
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

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

Porteus Kernel Builder

Post#2016 by neko » 23 Mar 2024, 01:36

Kernel Builder was updated to 24.03.23

1. The 6.1, 6.7 & 6.8 line configs were updated
from Blaze' 6.7.10 config (Porteus Kernel Builder (Post by Blaze #98956)).

Thank Blaze very much.


3. Firmware database was updated
Firmware database : kernel-firmware-20240312_3b128b6-noarch-1plus.xzm (485 M)
that was created with slackware package "kernel-firmware-20240312_3b128b6-noarch-1.txz (334 M)".


Please refer to the top article of this thread.

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

Porteus Kernel Builder

Post#2017 by neko » 25 Mar 2024, 05:39

Add kernel new line 6.9-rc, 6.9.

Please refer to the top article of this thread.

Note: AUFS patch to 6.9 will be syntax error.

Code: Select all

次のファイルから読み込み:  fs/aufs/aufs.h:52,
         次から読み込み:  fs/aufs/module.c:25:
fs/aufs/module.c: 関数 ‘au_cache_init’ 内:
fs/aufs/module.h:132:57: エラー: ‘SLAB_MEM_SPREAD’ が宣言されていません (この関数内での最初の使用)
  132 | #define AuCacheFlags            (SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD)
      |                                                         ^~~~~~~~~~~~~~~
fs/aufs/module.h:136:53: 備考: in expansion of macro ‘AuCacheFlags’
  136 |                           __alignof__(struct type), AuCacheFlags, ctor)
      |                                                     ^~~~~~~~~~~~
fs/aufs/module.c:108:35: 備考: in expansion of macro ‘AuCacheCtor’
  108 |         au_cache[AuCache_DINFO] = AuCacheCtor(au_dinfo, au_di_init_once);
      |                                   ^~~~~~~~~~~
fs/aufs/module.h:132:57: 備考: 未宣言の識別子は出現した各関数内で一回のみ報告されます
  132 | #define AuCacheFlags            (SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD)
      |                                                         ^~~~~~~~~~~~~~~
fs/aufs/module.h:136:53: 備考: in expansion of macro ‘AuCacheFlags’
  136 |                           __alignof__(struct type), AuCacheFlags, ctor)
      |                                                     ^~~~~~~~~~~~
fs/aufs/module.c:108:35: 備考: in expansion of macro ‘AuCacheCtor’
  108 |         au_cache[AuCache_DINFO] = AuCacheCtor(au_dinfo, au_di_init_once);
      |                                   ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:244: fs/aufs/module.o] エラー 1
make[3]: *** [scripts/Makefile.build:485: fs/aufs] エラー 2
make[2]: *** [scripts/Makefile.build:485: fs] エラー 2
make[1]: *** [/mnt/sdb2/kernel/v6.9-rc1/64/linux-6.9-rc1/Makefile:1919: .] エラー 2
make: *** [Makefile:240: __sub-make] エラー 2

Thanks.

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

Porteus Kernel Builder

Post#2018 by Blaze » 31 Mar 2024, 15:40

[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.8.2 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.8.2.tar (~176 M)
https://www.mediafire.com/file/l9id44oq ... l6.8.2.tar
5a674b30971f1bfd6b8432f3af015d43 32bit-ALL-kernel6.8.2.tar

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

6.8.2 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.8.2.tar (~184 M)
https://www.mediafire.com/file/tzaoqnhy ... l6.8.2.tar
f20fcecad77c2f7da6daba7bf1c00c10 64bit-ALL-kernel6.8.2.tar

Note 1: Compiler that was used.
for kernel 6.8.2: 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)

Note 6: These kernels builded with my configs via PorteuX script with my tweaks. (Thanks to fulalas and PorteuX team)
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: 3882
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2019 by Blaze » 05 Apr 2024, 14:28

[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.8.4 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.8.4.tar (~176 M)
https://www.mediafire.com/file/n4zjo5s2 ... l6.8.4.tar
9a11dcf8b86f342689f7fe2c9dbd6fec 32bit-ALL-kernel6.8.4.tar

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

6.8.4 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.8.4.tar (~184 M)
https://www.mediafire.com/file/sl4mslzq ... l6.8.4.tar
4a70ad4ba6718d9fc86851bf712273ec 64bit-ALL-kernel6.8.4.tar

Note 1: Compiler that was used.
for kernel 6.8.4: 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)

Note 6: These kernels builded with my configs via PorteuX script with my tweaks. (Thanks to fulalas and PorteuX team)
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

Post Reply