
Porteus Kernel Builder
Porteus Kernel Builder
@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 

Porteus Kernel Builder
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,
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,
Porteus Kernel Builder
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
Porteus Kernel Builder
@AcnapyxoB, thanks for confirming.
It seems it's not just us or anything related to AUFS:
https://bbs.archlinux.org/viewtopic.php?id=292086
It seems it's not just us or anything related to AUFS:
https://bbs.archlinux.org/viewtopic.php?id=292086
- 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
I use expand & AUFS patch and options with aufs in config are missing.
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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
@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.
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.
- 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
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
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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
-
- DEV Team
- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Porteus Kernel Builder
@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.
"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.
-
- Shogun
- Posts: 217
- Joined: 18 Aug 2013, 12:09
- Distribution: Slackware PartedMagic Xubuntu
- Location: The Netherlands
Porteus Kernel Builder
In that case I treat them as some kind of tar/zip:If the overlapping space created by mounting XZM modules is your own OS driving space
XZM modules cannot be added or deleted later.
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

Porteus Kernel Builder
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
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=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741
Porteus Kernel Builder
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.
Porteus Kernel Builder
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.
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.

> Does not compute_ 
https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741
-
- Warlord
- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Porteus Kernel Builder
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?
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus Kernel Builder
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