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...
fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus Kernel Builder

Post#1966 by fulalas » 29 Jan 2024, 13:14

@Blaze, this kernel 6.7.2 module you built increased memory consumption in a VM from 720 MB to 945 MB. I'm intrigued to know what's wrong. I hope it's not a new trend in the kernel :(

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

Porteus Kernel Builder

Post#1967 by beny » 29 Jan 2024, 14:29

hi fulalas, porteux 0.9 with firefox on now it have 8.75giga of memory out,but i have also 700 modules activated,ok the kernel is:
Linux porteux 6.6.14-porteux #1 SMP PREEMPT_DYNAMIC Sat Jan 27 00:48:07 CET 2024 x86_64 AMD Ryzen 5 3500X 6-Core Processor AuthenticAMD GNU/Linux,

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

Porteus Kernel Builder

Post#1968 by AcnapyxoB » 29 Jan 2024, 14:31

fulalas wrote:
29 Jan 2024, 13:14
@Blaze, this kernel 6.7.2 module you built increased memory consumption
I can confirm:
452 MiB (kernel 6.5.5)
614 MiB (kernel 6.7.2)
RAM - used, VirtualBox, KDE x64, Always Fresh, without browser
Porteus v5.01 KDE x86_64

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

Porteus Kernel Builder

Post#1969 by fulalas » 29 Jan 2024, 15:12

@AcnapyxoB, thanks for confirming.

It seems it's not just us or anything related to AUFS:

https://bbs.archlinux.org/viewtopic.php?id=292086

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

Porteus Kernel Builder

Post#1970 by Blaze » 30 Jan 2024, 04:15

neko wrote:
29 Jan 2024, 05:11
expand & AUFS patch
I use expand & AUFS patch and options with aufs in config are missing.
beny wrote:
29 Jan 2024, 13:05
which version have you used for the 6.7 kernel branch
stable branch.

Code: Select all

# Porteus 5.01 x86_64 + Firefox and one open tab
# free -h
               total        used        free      shared  buff/cache   available
Mem:            15Gi       1.9Gi        12Gi        29Mi       1.4Gi        13Gi
Swap:             0B          0B          0B
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#1971 by neko » 30 Jan 2024, 06:33

@Blaze

Any of basic patches (kbuild.patch, base.patch, mmap.patch) of AUFS does not patch succesful,
No AUFS patch are applied (OverlayFS).

For 6.7.2 AUFS patch version "6.x-rcN-20231106" has patching mmap.patch error (FAILED).
(cat aufs6-mmap.patch | patch -p1)


Please refer to /usr/local/share/mkKernel/bin/aufsBase.sh

Thanks.

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

Porteus Kernel Builder

Post#1972 by Blaze » 31 Jan 2024, 13:06

neko, now is clear.
I have one question. If I want to build OverlayFS do I mast to choose "expand only" option right?
And I wanted to hear your opinion about OverlayFS (pluses and minuses)

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

Porteus Kernel Builder

Post#1973 by neko » 01 Feb 2024, 01:21

@Blaze
"If I want to build OverlayFS do I mast to choose "expand only" option right?"
--->
Yes, you do right.


"I wanted to hear your opinion about OverlayFS (pluses and minuses)"
--->
[OverlayFS]
Good point(pluses)
This is a standard kernel feature.
Released with kernel updates.

Bad points(minuses)
If the overlapping space created by mounting XZM modules is your own OS driving space
XZM modules cannot be added or deleted later.


Thanks.

burdi01
Shogun
Shogun
Posts: 206
Joined: 18 Aug 2013, 12:09
Distribution: Slackware PartedMagic Xubuntu
Location: The Netherlands

Porteus Kernel Builder

Post#1974 by burdi01 » 02 Feb 2024, 10:50

If the overlapping space created by mounting XZM modules is your own OS driving space
XZM modules cannot be added or deleted later.
In that case I treat them as some kind of tar/zip:

Code: Select all

# Show progress
dots () {
   TRACING="$(echo $- | grep x)" ; set +x

   while [ -d /proc/$1 ]; do
      echo -n '.' ; usleep 300000
   done

   [ -n "$TRACING" ] && set -x
}

.....

# The files
while [ -n "$1" ]; do
   FB="$(basename "$1")"

   echo -n ">>> $1"
   [ ! -r "$1" ] && { echo " does not exist" ; shift ; continue ;}

   F="$1"

   FF="$(mktemp -d "/run/sqfm.$FB.XXXXXXXXXX")"
   echo "$F" > "$FF/_TAG_"
   mount -t squashfs -nro loop "$F" "$FF"

   echo -n " ."
   rsync -aS "$FF/" / &     # did not find a faster method
   dots $!
   echo

   umount "$FF"   

   shift
done
B)

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

Porteus Kernel Builder

Post#1975 by M. Eerie » 02 Feb 2024, 13:28

From kernel version 6.6.12 onwards I'm not able to boot in my AMD Ryzen 7 machine.
Everything seems to indicate that it's related to the graphics card:
AMD Renoir Radeon RX Vega 6 (amdgpu driver)

However, same kernels are working fine if using Intel or Nvidia graphics cards.
Wich config should I change? It is posible to try that config at boot in the append line?

@neko
I hope you are well.

Thanks so much
> 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

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

Porteus Kernel Builder

Post#1976 by beny » 02 Feb 2024, 14:20

hi M.Eerie have you seen this:Hm, it seems that `pci=noats` kernel parameter fixed the problem, i have a AMD Ryzen 5 3500X but with no graphic on board.

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

Porteus Kernel Builder

Post#1977 by M. Eerie » 02 Feb 2024, 17:46

Thanks, beny.
I've tried pci=noats but no luck.

I remembered that I had recently disabled iommu from the BIOS so that I wouldn't have to continually do it with amd_iommu=force_enable iommu=pt etc., but having reverted to the previous situation, it hasn't worked either. The screen freezes when I press "Enter" and the system won't boot.

I thnk switching to AMD Radeon has been a bad decision on my part. It is a rather problematic system that often freezes and I end up powering-off quite often losing all the work. :wall:
> 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

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Porteus Kernel Builder

Post#1978 by rych » 03 Feb 2024, 07:19

M. Eerie wrote:
02 Feb 2024, 17:46
I thnk switching to AMD Radeon has been a bad decision
That's disturbing. Does anyone have a better experience? I was about to buy a mini PC, and the best candidate seemed to be Beelink's Ser5 AMD Ryzen 5 5560U with Radeon Graphics built-in. Should I avoid that and buy a (more expensive) Intel equivalent, in order to enjoy a better Linux kernel compatibility?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus Kernel Builder

Post#1979 by ncmprhnsbl » 03 Feb 2024, 09:35

rych wrote:
03 Feb 2024, 07:19
Does anyone have a better experience?
i haven't had any problems with the AMD Ryzen 5 7535U with it's builtin radeon 680M in my lenovo yoga 7.. which is newer than these others that seem to be having some trouble..
i was under the impression that the AMD drivers have had pretty good support.. but maybe not so much right across the board, lately..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

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

Porteus Kernel Builder

Post#1980 by fulalas » 03 Feb 2024, 22:32

M. Eerie wrote:
02 Feb 2024, 13:28
From kernel version 6.6.12 onwards I'm not able to boot in my AMD Ryzen 7 machine.
I have the same issue here. Ryzen 7840HS + AMD 780M integrated GPU.

On PorteuX it works though :unknown:

Post Reply