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

Porteus Kernel Builder

Post#1261 by Blaze » 10 May 2021, 10:29

Anyone can test sound with kernel 5.12.2 from the #1259 post on this bug:
Note 2: Sound mute after boot
By "PulseAudio Volume Control" (from GUI I/F menu), set "mute" and un-"mute" and slide volume.
?

Sound are must to work by default without this manual manipulation as above.

Thanks.
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: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#1262 by neko » 10 May 2021, 10:33

@Blaze
I fixed "no sound" issue by another config than yours.
Please refer following "kernel builder" updating sentenses.

Thanks.
----------------------------------------------------------

@roadie
Is your information same as "MODULE_COMPRESS_ZSTD" of kernel 5.13-rc1 ?
It was set in updated "Kernel Builder".
Please refer following "kernel builder" updating sentenses.

But 5.13-rc1 is under testing. (has another something wrong)

Thanks.
----------------------------------------------------------
"Kernel Builder" was updated to version 21.05.10. (Please refer to the first article.)

1. The new kernel version 5.13(5.13-rc) was added.
Config was updated from one of 5.12.

[v5.13-rc1 64bit]

Code: Select all

Misc resource controller (CGROUP_MISC) [N/y/?] (NEW) n
Randomize kernel stack offset on syscall entry (RANDOMIZE_KSTACK_OFFSET_DEFAULT) [N/y/?] (NEW) n
  Module compression mode
  > 1. None (MODULE_COMPRESS_NONE) (NEW)
    2. GZIP (MODULE_COMPRESS_GZIP) (NEW)
    3. XZ (MODULE_COMPRESS_XZ) (NEW)
    4. ZSTD (MODULE_COMPRESS_ZSTD) (NEW)
  choice[1-4?]: 4
Path to modprobe binary (MODPROBE_PATH) [/sbin/modprobe] (NEW) 
Syslog packet logging (NF_LOG_SYSLOG) [M/y/?] (NEW)
Netfilter Xtables 32bit support (NETFILTER_XTABLES_COMPAT) [Y/n/?] (NEW) n
Use percpu variables to maintain network device refcount (PCPU_DEV_REFCNT) [Y/n/?] (NEW) n
Enable Android Open Source Project extensions (BT_AOSPEXT) [N/y/?] (NEW) n
Virtio Bluetooth driver (BT_VIRTIO) [N/m/?] (NEW) n
Synopsys DesignWare xData PCIe driver (DW_XDATA_PCIE) [N/m/y/?] (NEW) n
pvpanic device support (PVPANIC) [N/y/?] (NEW) n
Microsoft Network Devices (NET_VENDOR_MICROSOFT) [Y/n/?] (NEW) n
Marvell 88X2222 PHY (MARVELL_88X2222_PHY) [N/m/?] (NEW) n
NXP C45 TJA11XX PHYs (NXP_C45_TJA11XX_PHY) [N/m/?] (NEW) n
Wireless WAN (WWAN) [N/y/?] (NEW) n
Hycon hy46xx touchscreen support (TOUCHSCREEN_HYCON_HY46XX) [N/m/y/?] (NEW) n
Ilitek I2C 213X/23XX/25XX/Lego Series Touch ICs (TOUCHSCREEN_ILITEK) [N/m/y/?] (NEW) n
MStar msg2638 touchscreen support (TOUCHSCREEN_MSG2638) [N/m/y/?] (NEW) n
Azoteq IQS626A capacitive touch controller (INPUT_IQS626A) [N/m/y/?] (NEW) n
Silicon Labs CP2615 USB sound card and I2C adapter (I2C_CP2615) [N/m/y/?] (NEW) n
Altera SPI Controller core code (SPI_ALTERA_CORE) [N/m/y/?] (NEW) n
Goldfish battery driver (BATTERY_GOLDFISH) [N/m/y/?] (NEW) n
NZXT Kraken X42/X51/X62/X72 liquid coolers (SENSORS_NZXT_KRAKEN2) [N/m/y/?] (NEW) n
BluTek BPA-RS600 Power Supplies (SENSORS_BPA_RS600) [N/m/?] (NEW) n
FSP/3Y-Power power supplies (SENSORS_FSP_3Y) [N/m/?] (NEW) n
Infineon IR36021 (SENSORS_IR36021) [N/m/?] (NEW) n
Maxim MAX15301 (SENSORS_MAX15301) [N/m/?] (NEW) n
ST STPDDC60 (SENSORS_STPDDC60) [N/m/?] (NEW) n
Intel TCC offset cooling Driver (INTEL_TCC_COOLING) [N/m/y/?] (NEW) n
Actions Semi ATC260x PMICs with I2C (MFD_ATC260X_I2C) [N/m/y/?] (NEW) n
Enable secure display support (DRM_AMD_SECURE_DISPLAY) [N/y/?] (NEW) n
Default timeout for requests (ms) (DRM_I915_REQUEST_TIMEOUT) [20000] (NEW) 
GUD USB Display (DRM_GUD) [N/m/y/?] (NEW) n
Virtio sound driver (SND_VIRTIO) [N/m/?] (NEW) n

FTDI FT260 USB HID to I2C host support (HID_FT260) [N/m/y/?] (NEW) m

Goldfish Real Time Clock (RTC_DRV_GOLDFISH) [N/m/y/?] (NEW) n
Gigabyte WMI temperature driver (GIGABYTE_WMI) [N/m/?] (NEW) n
Advantech ACPI Software Button Driver (ADV_SWBUTTON) [N/m/y/?] (NEW) n

Support for network filesystem high-level I/O (NETFS_SUPPORT) [M/y/?] (NEW) y
Gather statistical information on local caching (NETFS_STATS) [N/y/?] (NEW) y

Landlock support (SECURITY_LANDLOCK) [N/y/?] (NEW) n
ECDSA (NIST P192, P256 etc.) algorithm (CRYPTO_ECDSA) [N/m/y/?] (NEW) n
Generate vmlinux.map file when linking (VMLINUX_MAP) [N/y/?] (NEW) n
64bit/32bit division and modulo test (TEST_DIV64) [N/m/y/?] (NEW) n

2. Updated for "no sound" issue.

Code: Select all

% diff old/64bit.config new/64bit.config 
5013c5013
< CONFIG_SND_HDA_POWER_SAVE_DEFAULT=300
---
> CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0


Note:
APorteus-XFCE_ja-v21.05.08-x86_64.iso can be used as updated "Kernel Builder" ISO.
ArchLinux packages manager for Porteus (Post by neko #82319)


Thanks.

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

Porteus Kernel Builder

Post#1263 by Blaze » 10 May 2021, 12:35

neko wrote:
10 May 2021, 10:33
I fixed "no sound" issue by another config than yours.
Yep, sound is work.

[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) !!! ZSTD verson !!!

[5.13-rc1] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.13-rc1.tar (~127 M)
https://files.sberdisk.ru/s/xHa3aFeXCsWeqZc
b42cae75dfee92b5e449d45c754feb32 64bit-ALL-kernel5.13-rc1.tar

Note 1: Compiler that was used.
for kernel 5.13-rc1: 10.2.0-x86_64

Thanks to neko for his support.

@neko 07-kernel-header-NNN.xzm he does need for building something from open sources or not?
Or just a narrow specialization for the compile Aufs-utils?
07-kernel-header-NNN.xzm is not required by either the user or the developer?
Probably we don't need it at all.

Thanks.
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

roadie
Full of knowledge
Full of knowledge
Posts: 399
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1264 by roadie » 10 May 2021, 15:18

@neko

Yes, the patches are for Zstd compression of the modules and allow compression to 19. I am more interested in the patch allowing compression of the kernel itself to 22 rather than 19.

Please note though, if the kernel modules are compressed with Zstd, kmod-28 is needed for uncompression on boot......kmod-27 does not work with Zstd compression.


EDIT: I just looked at the 5.13-rc1 source and yes, Zstd compression is now in the source so most patches there are not needed. I would think the compression ratio is set to 19.

The "0002-allow-setting-zstd-compression-level-for-kernel.patch" might be useful for the kernel though.

roadie
Full of knowledge
Full of knowledge
Posts: 399
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1265 by roadie » 10 May 2021, 19:08

neko wrote:
10 May 2021, 10:33

But 5.13-rc1 is under testing. (has another something wrong)

Thanks.
----------------------------------------------------------
For me, 5.13-rc1 is unusable. It boots well with no error messages in logs or dmesg, but when the machine is brought back from suspend, there is a black screen with a vertical white line through it. I can't access another tty or view logs and the only fix is a hard shutdown

It may be caused by updates to amdgpu header files. Also the fan is coming on too much, this was fixed in 5.12.2 but now is back in 5.13-rc1.

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

Porteus Kernel Builder

Post#1266 by Blaze » 16 May 2021, 07:19

neko wrote:
10 May 2021, 10:33
2. Updated for "no sound" issue.
At my home PC all perfect - no issue with sound (with Tor Browser no issue too).

Code: Select all

Card: HDA Intel PCH
Chip: Realtek ALC1150
Thank you so much!

*****

At my job I have very old PC with AMD A4-3300 APU
Image
The sound on him is work in all browsers except Tor Browser 10.0.16 and this is very strange because your previous sound fixes should work well.

Code: Select all

Card: HD-Audio Generic
Chip: VIA VT1708BCE
and only this step is help me:
Note 2: Sound mute after boot
By "PulseAudio Volume Control" (from GUI I/F menu), set "mute" and un-"mute" and slide volume.
Probably need to tweak kernel .config to

Code: Select all

< CONFIG_SND_AC97_POWER_SAVE_DEFAULT=300
---
> CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0

Code: Select all

CONFIG_SND_AC97_POWER_SAVE_DEFAULT
Linux Kernel Configuration
└─> Device Drivers
└─> Sound card support
└─> Advanced Linux Sound Architecture
└─> Generic sound devices
└─> Default time-out for AC97 power-save mode

The default time-out value in seconds for AC97 automatic
power-save mode. 0 means to disable the power-save mode.

Code: Select all

[*] AC97 Power-Saving Mode
(0)   Default time-out for AC97 power-save mode
too.

Thanks.

Отправлено спустя 1 день 22 часа 31 минуту 32 секунды:
neko, I am sorry. I updated to a new Slackware-current base on my job PC and now I don't have issue with sound. Thanks again ;-)
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: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#1267 by neko » 19 May 2021, 04:50

@Blaze
The value of CONFIG_SND_AC97_POWER_SAVE_DEFAULT was changed and 07-kernel-header was deleted.
Please refer following "kernel builder" updating sentenses.

Thanks.
----------------------------------------------------------

@roadie
I waited for updating v5.13-rc.
But I couldn't use kernel 5.13-rc2 correctly.
My config might be something wrong.
Executing "mpv" makes the window become unresponsive.
Now I am in trouble of various mazes caused from my poor skill.

Please refer https://bugs.launchpad.net/ubuntu/+sour ... ug/1861395

Thanks.

----------------------------------------------------------
"Kernel Builder" was updated to version 21.05.19. (Please refer to the first article.)

1. The Firmware database that is used by "Kernel Builder"
was updated
with the slackware package "kernel-firmware-20210512_55d9649-noarch-1.txz".

2. Updated for "no sound" issue.

Code: Select all

% diff old/64bit.config new/64bit.config 
4936c4936
< CONFIG_SND_AC97_POWER_SAVE_DEFAULT=300
---
> CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
Thanks to Blaze for his support.

3.deleted the function that is creating 07-kernel-header-XXXX.xzm.

Thanks to Blaze for his pointing out.


Note 1:
APorteus-XFCE_ja-v21.05.19-x86_64.iso can be used as updated "Kernel Builder" ISO.
(gcc 11.1.0-1)
ArchLinux packages manager for Porteus (Post by neko #82319)

Note 2: 64 Bit Kernel 5.12.5, 5.11.22, 5.10.38
New config item "KCSAN" value will be requested.
Input 'N'

Code: Select all

*
* Restart config...
*
*
* KCSAN: dynamic data race detector
*
KCSAN: dynamic data race detector (KCSAN) [N/y/?] (NEW) N
Next version "Kernel builder" will include this value.


Thanks.

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

Porteus Kernel Builder

Post#1268 by Blaze » 22 May 2021, 17:44

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

[5.12.6] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.12.6.tar (~114 M)
https://files.sberdisk.ru/s/RGdR6nJ4mac39qg
4d05e45d4942506e9e52a61effd61103 64bit-ALL-kernel5.12.6.tar

Note 1: Compiler that was used.
for kernel 5.12.6: 11.1.0-x86_64

Note. KCSAN: dynamic data race detector is not activated.

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

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#1269 by AcnapyxoB » 22 May 2021, 18:58

Blaze any chance for working VirtualBox with latest kernels!
I did unsuccessful attempt to build one (also with 5.12.6):
Porteus Kernel Builder (Post by AcnapyxoB #81819)
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#1270 by Blaze » 23 May 2021, 05:54

Hi AcnapyxoB.
At this time - no, because Slackware is use GCC 10.3.0, but kernel 5.12.6 above compiled via GCC 11.1.0 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
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus Kernel Builder

Post#1271 by AcnapyxoB » 23 May 2021, 18:21

Thanks Blaze, I will use old one.
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#1272 by neko » 25 May 2021, 03:44

"Kernel Builder" was updated to version 21.05.24. (Please refer to the first article.)

1. Configs 5.12.5, 5.11.22, 5.10.38 were updated.
"KCSAN is not set"

2. Config 5.13-rc

Code: Select all

 Enable Intel GVT-g graphics virtualization host support (DRM_I915_GVT) [N/y/?] (NEW) N
*
* KCSAN: dynamic data race detector
*
KCSAN: dynamic data race detector (KCSAN) [N/y/?] (NEW) N
Note:
APorteus-XFCE_fr-v21.05.25-x86_64.iso can be used as updated "Kernel Builder" ISO.
(gcc 11.1.0)
ArchLinux packages manager for Porteus (Post by neko #82433)


Thanks.
----------------

@roadie
Kernel 5.13-rc1, 5.13-rc2 are are available for Porteus.
But these version is not available for APorteus. (result in hang-up.)

Now kernel 5.13-rc3 is available for APorteus.
Kernel version of APorteus-XFCE_fr-v21.05.25-x86_64.iso is 5.13-rc3.

I guess as follows.
what is updated kernel 5.13-rc3 from 5.13-rc2?:
https://www.phoronix.com/scan.php?page= ... 3-Released
"in Linux 5.13-rc3 the questionable commits have been reverted"
<----
the questionable commits:
https://www.phoronix.com/scan.php?page= ... -UMN-Fixes
"The reverts span from ALSA to the media subsystem, networking, and other areas."
<----
ALSA: Advanced Linux Sound Architecture (ALSA)
<----
The trigger of hang-up is execute mpv.


Thanks.

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

Porteus Kernel Builder

Post#1273 by Blaze » 25 May 2021, 12:46

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

[5.4.121] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.4.121.tar (~94 M)
https://files.sberdisk.ru/s/yi8eAwqZMGsnrYy
dd335e2859b083d2b988d8ba6ffb7a63 32bit-ALL-kernel5.4.121.tar

Note 1: Compiler that was used.
for kernel 5.4.121: 10.2.0-i686

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

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus Kernel Builder

Post#1274 by fulalas » 29 May 2021, 20:51

Has anyone managed to build a recent kernel version (5.1x) in 32bit? I need one build for testing our upcoming Porteus RC3 x86 :)

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

Porteus Kernel Builder

Post#1275 by Blaze » 30 May 2021, 11:22

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

[5.12.8] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.12.8.tar (~109 M)
https://files.sberdisk.ru/s/DPPmdHGksmBMzBC
113dd53e1a5d54d621f0443f13068a93 32bit-ALL-kernel5.12.8.tar

Note 1: Compiler that was used.
for kernel 5.12.8: 10.3.0-i686

*****

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

[5.12.8] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.12.8.tar (~114 M)
https://files.sberdisk.ru/s/nyZcyrjWzPwtT78
ada093bee7c9dc151c73549d88b28d70 64bit-ALL-kernel5.12.8.tar

Note 1: Compiler that was used.
for kernel 5.12.8: 10.3.0-x86_64

Image

Thanks to neko for his support.

Post Reply