Porteus Kernel Builder
Porteus Kernel Builder
Torvalds warns the world: Don’t use the Linux 5.12-rc1 kernel:
https://arstechnica.com/gadgets/2021/03 ... c1-kernel/
https://arstechnica.com/gadgets/2021/03 ... c1-kernel/
Porteus v5.01 KDE x86_64
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
Porteus Kernel Builder
Can you add this to the next kernel build
Code: Select all
CONFIG_BTRFS_FS=y
CONFIG_DRM_VBOXVIDEO=m
CONFIG_VBOXGUEST=m
Thanks.
Sorry, my English is bad.
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
1. AUFS patch for kernel 5.12-rc2 is not yet ready.
aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.x-rcN-20210222"
(1)tmpfs-idr.patch patching is error.
(2)fs/aufs/vfsub.h is syntax errors at compile.
Note
You can build kernel 5.12-rc2 without AUFS patch and then get OVERLAYFS kernel.
2. The config was updated.
-------------------------------
Support for Xen hypercall interface (KVM_XEN) [N/y/?] (NEW) n
-------------------------------
Thanks.
aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.x-rcN-20210222"
(1)tmpfs-idr.patch patching is error.
(2)fs/aufs/vfsub.h is syntax errors at compile.
Note
You can build kernel 5.12-rc2 without AUFS patch and then get OVERLAYFS kernel.
2. The config was updated.
-------------------------------
Support for Xen hypercall interface (KVM_XEN) [N/y/?] (NEW) n
-------------------------------
Code: Select all
# diff ../32bit.config .
3c3
< # Linux/x86 5.12.0-rc1 Kernel Configuration
---
> # Linux/x86 5.12.0-rc2 Kernel Configuration
657a658
> # CONFIG_KVM_XEN is not set
5011a5013
> CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m
#
# diff ../64bit.config .
3c3
< # Linux/x86 5.12.0-rc1 Kernel Configuration
---
> # Linux/x86 5.12.0-rc2 Kernel Configuration
650a651
> # CONFIG_KVM_XEN is not set
5022a5024
> CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m
#
Thanks.
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
Now AUFS patch full set is ready for kernel 5.11.5.
v5.11.5/auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.11-20210308"
Thanks.
v5.11.5/auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.11-20210308"
Thanks.
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
"Kernel Builder" was updated to version 21.03.06. (Please refer to the first article.)
Note:
APorteus-XFCE_de-v21.03.10-x86_64.iso & APorteus-XFCE_fr-v21.03.10-x86_64.iso
can be used as updated "Kernel Builder" ISO.
ArchLinux packages manager for Porteus (Post by neko #81688)
Thanks.
Note:
APorteus-XFCE_de-v21.03.10-x86_64.iso & APorteus-XFCE_fr-v21.03.10-x86_64.iso
can be used as updated "Kernel Builder" ISO.
ArchLinux packages manager for Porteus (Post by neko #81688)
Thanks.
- Blaze
- DEV Team
- Posts: 3994
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Porteus Kernel Builder
Donebabam wrote: ↑05 Mar 2021, 19:53Can you add this to the next kernel build
I am using Btrfs for the "changes" persistent.Code: Select all
CONFIG_BTRFS_FS=y CONFIG_DRM_VBOXVIDEO=m CONFIG_VBOXGUEST=m
Thanks.
Code: Select all
# diff ./neko-64bit.config ./babam-64bit.config
3c3
< # Linux/x86 5.11.0 Kernel Configuration
---
> # Linux/x86 5.11.6 Kernel Configuration
227a228
> CONFIG_KCMP=y
4739c4740
< # CONFIG_DRM_VBOXVIDEO is not set
---
> CONFIG_DRM_VBOXVIDEO=m
5840c5841,5843
< # CONFIG_VIRT_DRIVERS is not set
---
> CONFIG_VIRT_DRIVERS=y
> CONFIG_VBOXGUEST=m
> # CONFIG_NITRO_ENCLAVES is not set
5997,5999d5999
< # CONFIG_INTEL_PMT_CLASS is not set
< # CONFIG_INTEL_PMT_TELEMETRY is not set
< # CONFIG_INTEL_PMT_CRASHLOG is not set
6264c6264
< CONFIG_BTRFS_FS=m
---
> CONFIG_BTRFS_FS=y
---
> # CONFIG_VBOXSF_FS is not set
6604c6584
< CONFIG_XOR_BLOCKS=m
---
> CONFIG_XOR_BLOCKS=y
6702,6703c6682,6683
< CONFIG_CRYPTO_XXHASH=m
< CONFIG_CRYPTO_BLAKE2B=m
---
> CONFIG_CRYPTO_XXHASH=y
> CONFIG_CRYPTO_BLAKE2B=y
6861c6841
< CONFIG_RAID6_PQ=m
---
> CONFIG_RAID6_PQ=y
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 07-kernel-header-NNN.xzm, 64bit.config)
[5.11.6] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.11.6.tar (~114 M)
https://files.sberdisk.ru/s/5kRdD8negJWCkEq
5b0983b39243bfc2675f592972d45f8b 64bit-ALL-kernel5.11.6.tar
Note : Compiler that was used.
for kernel 5.11.6: 10.2.0-x86_64
Thanks to neko for his support.
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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus Kernel Builder
Kernel 5.11.6
A 5.0 desktop file invoking firefox 86.0.1 with a url results in firefox opening with no open tab.

Added in 15 minutes 12 seconds:
The 5.0 desktop file invoking firefox 86.0.1 with a url works with kernel 5.11.0.
A 5.0 desktop file invoking firefox 86.0.1 with a url results in firefox opening with no open tab.


Added in 15 minutes 12 seconds:
The 5.0 desktop file invoking firefox 86.0.1 with a url works with kernel 5.11.0.
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
Porteus Kernel Builder
Porteus 5.0 rc2 Xfce
Using kernel 5.11.6 I am unable to compile the ntfs3 driver (requires glibc 2.33) and after upgrading to glibc 2.33 the compilation is successful but 'ntfs3.ko'module cannot be loaded.
Code: Select all
# insmod ntfs3.ko
insmod: ERROR: could not insert module ntfs3.ko: Operation not permitted
Using kernel 5.10.5 everything works fine Porteus Kernel Builder (Post by Blaze #80931)
You can try it https://drive.google.com/uc?export=down ... oKDAb2Roo8
Thanks.
Last edited by babam on 16 Mar 2021, 12:04, edited 1 time in total.
Sorry, my English is bad.
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
1. Now AUFS patch full set is ready for kernel 5.12-rc3.
v5.12-rc3/auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.x-rcN-20210308"
2. APorteus XFCE 64bit Kernel 5.12-rc3: Boot time by command "systemd-analyze"
Startup finished in 9.785s (kernel) + 3.255s (userspace) = 13.041s
graphical.target reached after 3.117s in userspace
3. APorteus XFCE 64bit Kernel 5.12-rc3: Benchmark by /usr/bin/hardinfo (System Profiler and Benchmark)
-GPU Drawing-
* Intel(R) Pentium(R) CPU N4200 @ 1.10GHz 4x 2500.00 MHz 6160.69
Thanks.
v5.12-rc3/auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.x-rcN-20210308"
2. APorteus XFCE 64bit Kernel 5.12-rc3: Boot time by command "systemd-analyze"
Startup finished in 9.785s (kernel) + 3.255s (userspace) = 13.041s
graphical.target reached after 3.117s in userspace
3. APorteus XFCE 64bit Kernel 5.12-rc3: Benchmark by /usr/bin/hardinfo (System Profiler and Benchmark)
-GPU Drawing-
* Intel(R) Pentium(R) CPU N4200 @ 1.10GHz 4x 2500.00 MHz 6160.69
Thanks.
Porteus Kernel Builder
Hey, guys, have you tried to build the kernel without the CPU mitigations just to see how much we can improve performance? Here's how: https://linuxreviews.org/HOWTO_make_Lin ... Intel_CPUs
And here are some benchmarks: https://www.phoronix.com/scan.php?page= ... wn-2&num=2
And here are some benchmarks: https://www.phoronix.com/scan.php?page= ... wn-2&num=2
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus Kernel Builder
my reading of that link is that it's not about building the kernel without mitigations, but simply turning them off using kernel parameters (ie. what we call around here: "cheatcodes") on the boot line..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Porteus Kernel Builder
You're right! So basically (I'm not on Porteus at the moment):
1- sudo echo 'mitigations=off' >> /etc/sysconfig/grub
2- sudo grub2-mkconfig -o grub.cfg
3- copy this new file to [bootDevice]/boot/grub/grub.cfg (or [bootDevice]/boot/grub2/grub.cfg)
4- reboot
EDIT: nevermind, I'm too busy to pay attention
So... Can we edit porteus.cfg and include 'mitigations=off' in one of the APPEND menu entries?
1- sudo echo 'mitigations=off' >> /etc/sysconfig/grub
2- sudo grub2-mkconfig -o grub.cfg
3- copy this new file to [bootDevice]/boot/grub/grub.cfg (or [bootDevice]/boot/grub2/grub.cfg)
4- reboot
EDIT: nevermind, I'm too busy to pay attention

- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus Kernel Builder
quite possibly ..(i havn't messed with grub for many years)
or this: https://www.howtoforge.com/tutorial/ker ... eter-edit/ to simply edit the boot line at bootup (e for edit> add parameter to 'linux' line > ctl+x to boot) if that tutorial is still valid :p
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44