Page 80 of 135

Porteus Kernel Builder

Posted: 05 Mar 2021, 19:38
by AcnapyxoB
Torvalds warns the world: Don’t use the Linux 5.12-rc1 kernel:
https://arstechnica.com/gadgets/2021/03 ... c1-kernel/

Porteus Kernel Builder

Posted: 05 Mar 2021, 19:53
by babam
Blaze wrote:
24 Feb 2021, 16:03
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Can you add this to the next kernel build

Code: Select all

CONFIG_BTRFS_FS=y
CONFIG_DRM_VBOXVIDEO=m
CONFIG_VBOXGUEST=m
I am using Btrfs for the "changes" persistent.

Thanks.

Porteus Kernel Builder

Posted: 06 Mar 2021, 12:17
by neko
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
-------------------------------

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.

Porteus Kernel Builder

Posted: 09 Mar 2021, 16:56
by neko
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.

Porteus Kernel Builder

Posted: 10 Mar 2021, 15:11
by neko
"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.

Porteus Kernel Builder

Posted: 12 Mar 2021, 17:31
by Blaze
babam wrote:
05 Mar 2021, 19:53
Blaze wrote:
24 Feb 2021, 16:03
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Can you add this to the next kernel build

Code: Select all

CONFIG_BTRFS_FS=y
CONFIG_DRM_VBOXVIDEO=m
CONFIG_VBOXGUEST=m
I am using Btrfs for the "changes" persistent.

Thanks.
Done

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
[Updated kernel Examples]
==== 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.

Porteus Kernel Builder

Posted: 12 Mar 2021, 20:15
by babam
Blaze wrote:
12 Mar 2021, 17:31
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====

[5.11.6] <-- NEW : "All patches" patching was done.
Thank you very much.

Porteus Kernel Builder

Posted: 13 Mar 2021, 05:40
by Ed_P
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. :o :unknown:

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.

Porteus Kernel Builder

Posted: 13 Mar 2021, 08:43
by babam
Blaze wrote:
12 Mar 2021, 17:31
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====

[5.11.6] <-- NEW : "All patches" patching was done.
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
Are you using glibc-2.33 to build Kernel 5.11.6?

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.

Porteus Kernel Builder

Posted: 14 Mar 2021, 15:59
by Ed_P
Ed_P wrote:
13 Mar 2021, 05:55
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.
And today it works. :pardon: :unknown:

Porteus Kernel Builder

Posted: 15 Mar 2021, 15:46
by neko
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.

Porteus Kernel Builder

Posted: 16 Mar 2021, 22:36
by fulalas
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

Porteus Kernel Builder

Posted: 16 Mar 2021, 23:33
by ncmprhnsbl
fulalas wrote:
16 Mar 2021, 22:36
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:
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..

Porteus Kernel Builder

Posted: 17 Mar 2021, 01:05
by fulalas
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 :P So... Can we edit porteus.cfg and include 'mitigations=off' in one of the APPEND menu entries?

Porteus Kernel Builder

Posted: 17 Mar 2021, 01:25
by ncmprhnsbl
fulalas wrote:
17 Mar 2021, 01:05
So basically
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