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

Porteus Kernel Builder

Post#1831 by Blaze » 22 Jul 2023, 08:23

We still have issue - Can't unmount union since 6.3.x
Any suggestions are welcome https://github.com/sfjro/aufs-standalone/issues/29

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

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

Porteus Kernel Builder

Post#1832 by beny » 22 Jul 2023, 13:02

hi blaze but fulalas issue seem only for the kernel with nvidia driver, you have ati or amd, so i have done the last kernel but for porteux current and the shutdown is ok if you want to try it let me know i can upload to media fire i have also the 6.1. 39
and once again reiserfs is deprecated so why is built in,we have a lot of loop error,i have removed from my config.

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

Porteus Kernel Builder

Post#1833 by Blaze » 22 Jul 2023, 18:11

beny wrote:
22 Jul 2023, 13:02
issue seem only for the kernel with nvidia driver
yes, but this bug is still present.
beny wrote:
22 Jul 2023, 13:02
once again reiserfs is deprecated so why is built in,we have a lot of loop error,i have removed from my config
done.

neko, seems is time to deprecated REISERFS

Code: Select all

# CONFIG_REISERFS_FS is not set
Thanks to beny

====================

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

6.4.4 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.4.4.tar (~127 M)
https://www.mediafire.com/file/rew0fgbl ... l6.4.4.tar
50a522248be598a1a09dce64ebe3d96a 32bit-ALL-kernel6.4.4.tar

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

6.4.4 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.4.4.tar (~142 M)
https://www.mediafire.com/file/2xxha3og ... l6.4.4.tar
b0eb6e47071e9790491993e8731f42a5 64bit-ALL-kernel6.4.4.tar

Note 1: Compiler that was used.
for kernel 6.4.4: 11.2.0-x86_64

Note 2: Compilated under Porteus 5.0 (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Note 3: A new cryptsetup (version 2.3.5: presented by @ncmprhnsbl)

Thanks to neko and beny for 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

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

Porteus Kernel Builder

Post#1834 by beny » 22 Jul 2023, 18:26

hi blaze when the system shutdown the lines are umount local filesystem umount union and umount everything else so i don't know if it is correct the log.

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

Porteus Kernel Builder

Post#1835 by neko » 23 Jul 2023, 08:49

"Kernel Builder" was updated to version 23.07.23. (Please refer to the first article of this thread.)

Prototype configs of kernel version 5.4, 5.10, 5.15, 6.1, 6.3, 6.4 and 6.5 are updated
by delete "CONFIG_REISERFS_FS".

Code: Select all

diff -r /usr/local/share/mkKernel/lib/v5.4/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v5.4/32bit.config
3c3
< # Linux/x86 5.4.241 Kernel Configuration
---
> # Linux/x86 5.4.249 Kernel Configuration
7c7
< # Compiler: gcc (GCC) 12.2.1 20230201
---
> # Compiler: gcc (GCC) 13.1.1 20230714
10c10
< CONFIG_GCC_VERSION=120201
---
> CONFIG_GCC_VERSION=130101
1220d1219
< # CONFIG_DECNET is not set
5993,5998c5992
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
diff -r /usr/local/share/mkKernel/lib/v5.4/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v5.4/64bit.config
3c3
< # Linux/x86 5.4.241 Kernel Configuration
---
> # Linux/x86 5.4.249 Kernel Configuration
7c7
< # Compiler: gcc (GCC) 12.2.1 20230201
---
> # Compiler: gcc (GCC) 13.1.1 20230714
10c10
< CONFIG_GCC_VERSION=120201
---
> CONFIG_GCC_VERSION=130101
1233d1232
< # CONFIG_DECNET is not set
6013,6018c6012
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set


diff -r /usr/local/share/mkKernel/lib/v5.10/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v5.10/32bit.config
3c3
< # Linux/x86 5.10.178 Kernel Configuration
---
> # Linux/x86 5.10.186 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.1 20230201"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
7c7
< CONFIG_GCC_VERSION=120201
---
> CONFIG_GCC_VERSION=130101
1257d1256
< # CONFIG_DECNET is not set
1608d1606
< # CONFIG_BLK_DEV_SX8 is not set
6187,6192c6185
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
diff -r /usr/local/share/mkKernel/lib/v5.10/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v5.10/64bit.config
3c3
< # Linux/x86 5.10.178 Kernel Configuration
---
> # Linux/x86 5.10.186 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.1 20230201"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
7c7
< CONFIG_GCC_VERSION=120201
---
> CONFIG_GCC_VERSION=130101
1278d1277
< # CONFIG_DECNET is not set
1629d1627
< # CONFIG_BLK_DEV_SX8 is not set
6214,6219c6212
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set

diff -r /usr/local/share/mkKernel/lib/v5.15/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v5.15/32bit.config
3c3
< # Linux/x86 5.15.117 Kernel Configuration
---
> # Linux/x86 5.15.120 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
1254d1253
< # CONFIG_DECNET is not set
6573,6578c6572
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
diff -r /usr/local/share/mkKernel/lib/v5.15/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v5.15/64bit.config
3c3
< # Linux/x86 5.15.117 Kernel Configuration
---
> # Linux/x86 5.15.120 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
1282d1281
< # CONFIG_DECNET is not set
6624,6629c6623
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set

diff -r /usr/local/share/mkKernel/lib/v6.1/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.1/32bit.config
3c3
< # Linux/x86 6.1.34 Kernel Configuration
---
> # Linux/x86 6.1.39 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
960a961
> CONFIG_LOCK_MM_AND_FIND_VMA=y
7009,7014c7010
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
7253c7249
< CONFIG_SMBFS_COMMON=m
---
> CONFIG_SMBFS=m
diff -r /usr/local/share/mkKernel/lib/v6.1/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.1/64bit.config
3c3
< # Linux/x86 6.1.34 Kernel Configuration
---
> # Linux/x86 6.1.39 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
996a997
> CONFIG_LOCK_MM_AND_FIND_VMA=y
7076,7081c7077
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
7326c7322
< CONFIG_SMBFS_COMMON=m
---
> CONFIG_SMBFS=m

diff -r /usr/local/share/mkKernel/lib/v6.3/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.3/32bit.config
3c3
< # Linux/x86 6.3.3 Kernel Configuration
---
> # Linux/x86 6.3.13 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
975a976
> CONFIG_LOCK_MM_AND_FIND_VMA=y
7189,7194c7190
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
diff -r /usr/local/share/mkKernel/lib/v6.3/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.3/64bit.config
3c3
< # Linux/x86 6.3.3 Kernel Configuration
---
> # Linux/x86 6.3.13 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
1018a1019
> CONFIG_LOCK_MM_AND_FIND_VMA=y
7267,7272c7268
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
8129d8124
< # CONFIG_PAGE_TABLE_CHECK is not set

diff -r /usr/local/share/mkKernel/lib/v6.4/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.4/32bit.config
3c3
< # Linux/x86 6.4.0-rc2 Kernel Configuration
---
> # Linux/x86 6.4.4 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
976a977
> CONFIG_LOCK_MM_AND_FIND_VMA=y
7195,7200c7196
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
7447c7443
< CONFIG_SMBFS_COMMON=m
---
> CONFIG_SMBFS=m
diff -r /usr/local/share/mkKernel/lib/v6.4/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.4/64bit.config
3c3
< # Linux/x86 6.4.0-rc2 Kernel Configuration
---
> # Linux/x86 6.4.4 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
1023a1024
> CONFIG_LOCK_MM_AND_FIND_VMA=y
7278,7283c7279
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
7535c7531
< CONFIG_SMBFS_COMMON=m
---
> CONFIG_SMBFS=m
8141d8136
< # CONFIG_PAGE_TABLE_CHECK is not set

diff -r /usr/local/share/mkKernel/lib/v6.5/32bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.5/32bit.config
3c3
< # Linux/x86 6.5.0-rc1 Kernel Configuration
---
> # Linux/x86 6.5.0-rc2 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
7235,7240c7235
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
diff -r /usr/local/share/mkKernel/lib/v6.5/64bit.config mkKernel-23.07.22-noarch-1/usr/local/share/mkKernel/lib/v6.5/64bit.config
3c3
< # Linux/x86 6.5.0-rc1 Kernel Configuration
---
> # Linux/x86 6.5.0-rc2 Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230429"
---
> CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
7320,7325c7320
< CONFIG_REISERFS_FS=y
< # CONFIG_REISERFS_CHECK is not set
< CONFIG_REISERFS_PROC_INFO=y
< CONFIG_REISERFS_FS_XATTR=y
< CONFIG_REISERFS_FS_POSIX_ACL=y
< CONFIG_REISERFS_FS_SECURITY=y
---
> # CONFIG_REISERFS_FS is not set
Thanks to beny & Blaze.

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

Porteus Kernel Builder

Post#1836 by neko » 24 Jul 2023, 05:52

Kernel 6.5-rc3 has been released.
AUFS patch is not yet ready for kernel 6.5-rc3 (version: 6.x-rcN-20230724).


Kernel version 6.5-rc3 without AUFS patch
can be tested with APorteus ISO.

APorteus-v23.07.23-i486.iso
APorteus-v23.07.23-x86_64.iso
or
APorteus-XFCE_ja-v23.07.23-i486.iso
APorteus-XFCE_ja-v23.07.23-x86_64.iso

Please refer to ArchLinux packages manager for Porteus (Post by neko #36689)


Thanks.

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

Porteus Kernel Builder

Post#1837 by Blaze » 24 Jul 2023, 06:09

Hi beny.
Do you mean these lines:

Code: Select all

# Deactivate all porteus modules activated from /union:
deactivate `grep ^devpts -A500 /proc/mounts | grep '.xzm ' | cut -d" " -f2` >/dev/null 2>&1

# Detach loop devices used in /union:
losetup -a | grep /loop3 -A500 | grep -v '.xzm)' | cut -d: -f1 | xargs -n1 losetup -d 2>/dev/null
sync; echo
?

Отправлено спустя 1 день 2 часа 39 минут 35 секунд:
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

6.4.6 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.4.6.tar (~127 M)
https://www.mediafire.com/file/0y921qn0 ... l6.4.6.tar
b61f0cb088353545f675adf79d91897b 32bit-ALL-kernel6.4.6.tar

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

6.4.6 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.4.6.tar (~138 M)
https://www.mediafire.com/file/jkg5fdat ... l6.4.6.tar
2958ad472db6b24f272173f93c203ee3 64bit-ALL-kernel6.4.6.tar

Note 1: Compiler that was used.
for kernel 6.4.6: 11.2.0-x86_64

Note 2: Compilated under Porteus 5.0 (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Note 3: A new cryptsetup (version 2.3.5: presented by @ncmprhnsbl)

Thanks to neko for support.

Отправлено спустя 28 минут 5 секунд:
neko, not bad to update kernel-firmware-20230724_59fbffa-noarch-1.txz

Code: Select all

Mon Jul 24 22:07:56 UTC 2023
a/kernel-firmware-20230724_59fbffa-noarch-1.txz:  Upgraded.
  AMD microcode updated to fix a use-after-free in AMD Zen2 processors.
  From Tavis Ormandy's annoucement of the issue:
    "The practical result here is that you can spy on the registers of other
    processes. No system calls or privileges are required.
    It works across virtual machines and affects all operating systems.
    I have written a poc for this issue that's fast enough to reconstruct
    keys and passwords as users log in."
  For more information, see:
    https://seclists.org/oss-sec/2023/q3/59
    https://www.cve.org/CVERecord?id=CVE-2023-20593
  (* Security fix *)
Отправлено спустя 6 часов 51 минуту 41 секунду:
neko, can we try to apply this aufs fix patch https://github.com/sfjro/aufs-standalon ... 1649925841
And the line number in the patch may be different from your source.

Code: Select all

diff --git a/mm/mmap.c b/mm/mmap.c
index 61a4bede666e..8ff923ccfe2b 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2863,21 +2865,21 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
 	if (vma->vm_flags & VM_LOCKED)
 		flags |= MAP_LOCKED;

 #if IS_ENABLED(CONFIG_AUFS_FS)
 	vma_get_file(vma);
 	file = vma->vm_file;
 	prfile = vma->vm_prfile;
 	ret = do_mmap(vma->vm_file, start, size,
 			prot, flags, pgoff, &populate, NULL);
-	if (!IS_ERR_VALUE(ret) && file && prfile) {
+	if (!IS_ERR_VALUE(ret) /*&& file */&& prfile) {
 		struct vm_area_struct *new_vma;

 		new_vma = find_vma(mm, ret);
 		if (!new_vma->vm_prfile)
 			new_vma->vm_prfile = prfile;
-		if (new_vma != vma)
+		if (prfile)
 			get_file(prfile);
 	}
 	/*
 	 * two fput()s instead of vma_fput(vma),
 	 * coz vma may not be available anymore.
?

Отправлено спустя 1 день 14 часов 51 минуту :
neko, no rush. We can wait this fix for aufs, when he is come to official aufs.

Отправлено спустя 5 часов 20 секунд:
Patch will be release at next Monday.
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
Ed_P
Contributor
Contributor
Posts: 8908
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1838 by Ed_P » 28 Jul 2023, 04:26

Unable to connect to my local network connections with 6.4.6. No problem with 6.3.7.

Code: Select all

~#  uname -a
Linux porteus.example.net 6.4.6-porteus #1 SMP PREEMPT_DYNAMIC Tue Jul 25 08:51:27 MSK 2023 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20230617
002-xorg.xzm:20230617
002-xtra.xzm:20221211
003-cinnamon.xzm:20220925
initrd.xz:20220928

~#  ls -l /mnt/live/memory/images
000-kernel.xzm : Jul 25 05:59
001-core.xzm : Jun 14 04:42
002-xorg.xzm : Jun 17 05:18
002-xtra.xzm : Dec 11 2022
003-cinnamon.xzm : Sep 25 2022

~#  cat /proc/cmdline
quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/Porteus-CINNAMON-v5.0-x86_64-230616-6.4.6.iso volume=33 reboot=cold noload=mychanges;menu5

ISO: /ISOs/Porteus-CINNAMON-v5.0-x86_64-230616-6.4.6.iso

Grub2 Menu:  Porteus5.0 menu5

peebee
Black ninja
Black ninja
Posts: 45
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#1839 by peebee » 28 Jul 2023, 15:07

Kernel 6.4.7 was released yesterday (27 July 2023) and I built it for Puppy Linux as per the normal method I've used for many previous kernels. There were no build errors.

I then installed the new 6.4.7 into a system image that was running just fine with 6.4.6

Rebooted - and the boot hangs at the "Installing kernel modules" phase of Puppy boot

Have tried it with overlayfs instead of AUFS with the same result so I don't think it is AUFS related....

Have tried it with loglevel=7 and loglevel=6 and although diagnostics are produced an immediate cause is not apparent.

Will be interested to know if the Porteus build of 6.4.7 is successful.

I've looked at the kernel bug reports and cannot see any similar problem reports.....

Thanks
peebee

roadie
Full of knowledge
Full of knowledge
Posts: 428
Joined: 02 Jan 2011, 18:41
Distribution: Porteus v5.01.....PorteuX v1.4
Location: In the bush now

Porteus Kernel Builder

Post#1840 by roadie » 28 Jul 2023, 17:41

Kernel 6.4.7 is building and booting fine here with the sfjro aufs patch as well as the lucjan patch. The sfjro loopback patch did not apply properly on the first attempt, and the build threw an error, but did on a second attempt and seems to be working properly. I think any problems users are having must be in the kernel configuration.

Code: Select all

guest@porteux:~$ uname -a
Linux porteux.example.net 6.4.7-porteus #1 SMP Fri Jul 28 10:18:26 PDT 2023 x86_64 AMD A10-9620P RADEON R5, 10 COMPUTE CORES 4C+6G AuthenticAMD GNU/Linux

peebee
Black ninja
Black ninja
Posts: 45
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#1841 by peebee » 28 Jul 2023, 22:25

Blaze wrote:
27 Jul 2023, 12:00
diff --git a/mm/mmap.c b/mm/mmap.c
Is the "lucjan patch" shown above?

roadie
Full of knowledge
Full of knowledge
Posts: 428
Joined: 02 Jan 2011, 18:41
Distribution: Porteus v5.01.....PorteuX v1.4
Location: In the bush now

Porteus Kernel Builder

Post#1842 by roadie » 29 Jul 2023, 04:22

peebee wrote:
28 Jul 2023, 22:25
Blaze wrote:
27 Jul 2023, 12:00
diff --git a/mm/mmap.c b/mm/mmap.c
Is the "lucjan patch" shown above?
Yes, it shows that in the patch from here:

https://github.com/sirlucjan/kernel-pat ... fs-patches

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

Porteus Kernel Builder

Post#1843 by neko » 29 Jul 2023, 05:27

"Kernel Builder" was updated to version 23.07.29. (Please refer to the first article of this thread.)

1. Firmware database was updated.

[Firmware database : kernel-firmware-20230725_b6ea35f-noarch-1plus.xzm (387 M)]
that was created with
slackware package "kernel-firmware-20230725_b6ea35f-noarch-1.txz (256 M)" and following pakages.
alsa-firmware-1.2.4-noarch-2
sof-firmware-2.2.6-noarch-1
b43-firmware-6.30.163.46-fw-1_SBo
bfubase
bluetooth
bluez-firmware-1.2-noarch-9
ipw2100-fw-1.3-noarch-10
ipw2200-fw-3.1-noarch-8
zydas


2. AUFS patch
No care.
Next Monday the updated version might be released.


Thank to Blaze.

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

Porteus Kernel Builder

Post#1844 by neko » 31 Jul 2023, 05:36

Kernel 6.5-rc4 has been released.
AUFS patch is not yet ready for kernel 6.5-rc4 (version: 6.x-rcN-20230724).


Kernel version 6.5-rc4 without AUFS patch
can be tested with APorteus ISO.

APorteus-v23.07.30-i486.iso
APorteus-v23.07.30-x86_64.iso
or
APorteus-XFCE_ja-v23.07.30-i486.iso
APorteus-XFCE_ja-v23.07.30-x86_64.iso

Please refer to ArchLinux packages manager for Porteus (Post by neko #36689)


Thanks.

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

Porteus Kernel Builder

Post#1845 by Blaze » 31 Jul 2023, 08:41

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

6.4.7 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.4.7.tar (~128 M)
https://www.mediafire.com/file/tzivp23m ... l6.4.7.tar
1eac3690b9b68fdd55753a7a3c7a8de2 32bit-ALL-kernel6.4.7.tar

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

6.4.7 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.4.7.tar (~138 M)
https://www.mediafire.com/file/q1o51wnf ... l6.4.7.tar
086033a35a1b0c956d9c0d99b5cc45d1 64bit-ALL-kernel6.4.7.tar

Note 1: Compiler that was used.
for kernel 6.4.7: 11.2.0-x86_64

Note 2: Compilated under Porteus 5.0 (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Note 3: A new cryptsetup (version 2.3.5: presented by @ncmprhnsbl)

Note 4: PATCH with fix https://github.com/sfjro/aufs-standalon ... 1649925841 by sfjro is not ready yet.

Thanks to neko for 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

Post Reply