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...
beny
Full of knowledge
Full of knowledge
Posts: 1079
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#1396 by beny » 11 Oct 2021, 18:43

hi neko and blaze the rc5 of 5.15. have a new section seem iommu,maybe is needed in configure?

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

Porteus Kernel Builder

Post#1397 by neko » 12 Oct 2021, 10:17

@beny

You can see "iommu" about 5.15-rc prototype config.
And
You can see it about 5.15-rc neko's PC config too.

Code: Select all

% grep -i iommu /usr/local/share/mkKernel/lib/v5.15/*64bit.config
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IRQ_MSI_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_GART_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_IOVA=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_API=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_SUPPORT=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# Generic IOMMU Pagetable Support
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_IO_PGTABLE=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# end of Generic IOMMU Pagetable Support
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_IOMMU_DEBUGFS is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_DMA=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_AMD_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_AMD_IOMMU_V2=m
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_INTEL_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_INTEL_IOMMU_SVM is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_INTEL_IOMMU_FLOPPY_WA=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_VIRTIO_IOMMU is not set
/usr/local/share/mkKernel/lib/v5.15/64bit.config:CONFIG_IOMMU_HELPER=y
/usr/local/share/mkKernel/lib/v5.15/64bit.config:# CONFIG_IOMMU_DEBUG is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IRQ_MSI_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_GART_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_IOVA=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_API=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_SUPPORT=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# Generic IOMMU Pagetable Support
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_IO_PGTABLE=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# end of Generic IOMMU Pagetable Support
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_IOMMU_DEBUGFS is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_DMA=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_AMD_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_AMD_IOMMU_V2 is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_INTEL_IOMMU=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_INTEL_IOMMU_SVM is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_INTEL_IOMMU_FLOPPY_WA=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:CONFIG_IOMMU_HELPER=y
/usr/local/share/mkKernel/lib/v5.15/myPC-64bit.config:# CONFIG_IOMMU_DEBUG is not set
%
mkKernel-21.10.08-noarch-1.xzm includes myPC-64bit.config.

Please refer to the top article of this thread.


Thanks.

User avatar
babam
Shogun
Shogun
Posts: 252
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 4.0 Xfce K5.11.10
Location: Rainy city

Porteus Kernel Builder

Post#1398 by babam » 12 Oct 2021, 11:23

raja wrote:
26 Aug 2021, 16:20
Post by Blaze » 16 Jun 2021, 01:35
raja, look at this https://pastebin.com/KpTryrBc :book:
# In Kernel 5.4.57 is not have these options:
> CONFIG_HAVE_KERNEL_ZSTD=y
> CONFIG_KERNEL_ZSTD=y
As I said before need to test it on Porteus RC3 or you can try to manual update ZSTD:
These two CONFIG additions are required only if you use zstd compression for initrd , kernel and kernel modules. neko uses that in APorteus.

There is no real benefit it.

Config file already has zstd=y for squashfs compression.

In fact, I use kernel- v-5.4.126 without zstd compression and , zstd compression for for base and modules in 5.0rc3.

Kernel finishes its job in 7 seconds and xorg with "intel" driver does end its work in another 4 or 5 seconds*. seconds.

So in next kernel release say in version 5.14, you may consider to change from "y" to "n" in those two lines.

* new login consumes more time than previous releases.
You mean the compressed kernel modules (*.ko.zst)
Yes I agree, compressed kernel modules are useless and actually make performance decrease.
Last edited by babam on 13 Oct 2021, 18:00, edited 1 time in total.
Sorry, my English is bad.

beny
Full of knowledge
Full of knowledge
Posts: 1079
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#1399 by beny » 12 Oct 2021, 14:40

ho blaze sorry i don't have build the rc5 in porteus only in slackware,well all ok.

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

Porteus Kernel Builder

Post#1400 by Blaze » 17 Oct 2021, 11:30

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

[5.14.13] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.14.13.tar (~123 M)
https://files.sberdisk.ru/s/YbBZkJ859ZoHKzp
d73cbb4f44e1b0e79c00bc872f65e8ce 64bit-ALL-kernel5.14.13.tar

Note 1: Compiler that was used.
for kernel 5.14.13: 11.2.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Thanks to neko for his support.
Linux 5.10.11-porteus #1 SMP Thu Jan 28 11:33:44 UTC 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

AcnapyxoB
Black ninja
Black ninja
Posts: 96
Joined: 24 Dec 2014, 10:15
Distribution: Porteus v5.0rc3
Location: Planet Earth

Porteus Kernel Builder

Post#1401 by AcnapyxoB » 17 Oct 2021, 13:02

Thanks Blaze, but again I can't use encrypted (ext4) dat file with new 5.14.13 kernel (like in previous 5.14.10)

I say it not as a problem a rather as information feedback!
Porteus v5.0rc3 x86_64

User avatar
babam
Shogun
Shogun
Posts: 252
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 4.0 Xfce K5.11.10
Location: Rainy city

Porteus Kernel Builder

Post#1402 by babam » 18 Oct 2021, 10:20

AcnapyxoB wrote:
17 Oct 2021, 13:02
I can't use encrypted (ext4) dat file with new 5.14.13 kernel (like in previous 5.14.10)
Does using Kernel 5.12.14 work.
Sorry, my English is bad.

AcnapyxoB
Black ninja
Black ninja
Posts: 96
Joined: 24 Dec 2014, 10:15
Distribution: Porteus v5.0rc3
Location: Planet Earth

Porteus Kernel Builder

Post#1403 by AcnapyxoB » 18 Oct 2021, 15:52

babam wrote:
18 Oct 2021, 10:20
Does using Kernel 5.12.14 work.
Yes, no problems with 5.12.14 and older kernels
Porteus v5.0rc3 x86_64

Post Reply