Page 1 of 1

6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Tue Nov 12, 2024 12:14 am
by ozsouth

I made a 64bit 6.10.14 2018 KIT USRMERGE Hi-Freq Overlayfs-Only kernel.
Has many input devices & more drivers set. Runs my new Ideapad Slim 1i well.
I made this as, unlike 6.11, this DOES allow rolling down of firmware versions.
(means you don't have to have the latest, only a recent version, so my fdrvs below ok).
This has the spectre v2 BPF fix.

This is for Jammypup64 & later (USRMERGE Pups) & CANNOT be used for Fossapup64 or S15pup64 & older.
'umovx' means usrmerge, overlayfs. x = extras.

Used gcc 11.2 & glibc 2.33. Has Voluntary Preemption & Frequency 1000Hz. Use at own risk.

Has no firmware - fdrv linked at bottom of post has some rtw88, rtw89, b43 & mediatek wifi firmware.
Kernel has some rtw88, rtw89, b43 & mediatek wifi drivers. Has older ntfs-3g, vmd & Blake2s builtin.

Missing firmware is a big issue these days. That will stop devices running, even if driver is present.
To see if any is missing, in a maximised terminal run: dmesg | grep irmware
A source of extra firmware is here: https://github.com/endlessm/linux-firmware
For usrmerge pups (jammypup64, bookwormpup64, noblepup64 etc), files go in /usr/lib/firmware.
For all other pups, files go in /lib/firmware.

Is mostly Spectre/Meltdown mitigated (needs microcode too - see viewtopic.php?p=9658#p9658).
If this kernel is used for Bookwormpup64, use it's fdrv - has microcode already & add .no to end of kbuild.sfs.
Is TCP_SACK mitigated. Briefly tested, OK in Noblepup64-low.
For best results when using a savefile/savefolder, it is advisable to have that on an ext3 (or 4) partition.

wl wireless driver in forum Drivers section. NOTE: many broadcom devices can use
in-kernel b43 drivers. fdrv below has newer broadcom firmware to work with that.

Once downloaded, expand in an empty folder with tar -jxvf, & rename kernel-modules.sfs-6.10.14-64oz-hf-umovx to
zdrv ... (same as one to be replaced) & rename vmlinuz-6.10.14-64oz-hf-umovx to vmlinuz & then substitute for originals. If kbuild... sfs exists, must be disabled before first bootup (I add .no to end of filename).

Important Note: when switching kernels, if you have an ...initmodules.txt file (i.e. fossapup64initmodules.txt or
similar, in same folder as puppy sfs), must delete it before first boot into new kernel. Otherwise it may try to load modules that don't exist, causing failure.

Kernel: https://archive.org/download/Puppy_Linu ... vx.tar.bz2

Sources: https://archive.org/download/Puppy_Linu ... -umovx.sfs

Headers: https://archive.org/download/Puppy_Linu ... x86_64.sfs

My 28oct24 med USRMERGE fdrv (65mb): https://www.mediafire.com/file/cxdv3gla ... m.sfs/file
My 28oct24 lowmed USRMERGE fdrv (36mb): https://www.mediafire.com/file/kk0m8ztv ... m.sfs/file


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 9:56 am
by mikolaj_q

Thank You for the kernel

I have strange issue and do not know how to fix this. If I change kernel as You described my system starts completely new session (do not use save folder). If I undone changes - replace the kernel with original one everything come back to normal.
How to explain this behavior? Maybe the issue is that I am using f2fs for puppy files and save directory? Also new directory called "upper" appears in my main directory (/upper)
Any help would be appreciated


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 10:19 am
by ozsouth

@mikolaj_q - which puppy are you using? This kernel is only for overlayfs. Upper means when you booted, overlayfs tried to start. An aufs puppy doesn't have this. You cannot have an aufs savefile/folder in the path when booting overlayfs.


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 10:27 am
by mikolaj_q

This happens with BookwormPup and NoblePup. I did not change location of savefolder, it is in default place.


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 10:32 am
by ozsouth

@mikolaj_q Bookworm64 & Noble64 work fine with this. I suggest you move your savefile/folder elsewhere, so the new kernel can't access it. Aufs & Overlay saves can't be shared. Also, references to the old kernel remain in them unless you move them.


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 2:35 pm
by mikolaj_q

Ok, I did a fresh NoblePup installation, didn't run it, replaced kernel with 6.10.14, then boot it and the new kernel works. So the first boot was with new kernel. But during next boot again I see "upper" directory. There are two filesystems instead of one, am I right? Is this normal desired behavior or something is wrong with my set up?


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 3:42 pm
by rockedge

If you are seeing the directories /upper and /work this means the overlayfs system is being used and not AUFS


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 7:56 pm
by bigpup

@ozsouth

I thank you for offering newer kernels to use! :thumbup: :D

However, you need to update firmware provided by your fdrv.sfs that could be used with them.

Most of what a newer kernel is providing is support for newer hardware.

For it to fully support the hardware, it also needs to have the firmware for the newer hardware.

I know it is a balancing act just what firmware to have in the fdrv.
So do understand if you do not have every possible one in it.
WIFI hardware, seems to be the firmware needed the most.

Example:
I used one of your 6 series kernels to get a very new WIFI adapter working.
The kernel had the driver for it already in the kernel.
But your fdrv (65mb) did not have the firmware needed.
I found the needed firmware and added it to the operating file system, which put it into the save.
WIFI adapter is now working.
But I would have liked it better for the firmware to be in the fdrv and not dependent on adding it to the OS by loading the save.


Re: 6.10.14 64bit Kernel USRMERGE Hi-Freq Overlayfs-Only with Spectre v2 fix

Posted: Thu Nov 14, 2024 11:03 pm
by ozsouth

@bigpup - firmware is a huge issue now. A complication with 6.11 kernels is I found rolldown no longer worked - previously, if you had a firmware version (say) 5 below the requirement, it would eventually be found & used. 6.11 demanded exact file only, so every new piece of hardware would need a new firmware file. Makes generic fdrvs virtually redundant.
So many new, big files, it's hard to know what to include, so I'm adding the following to my latest kernel announcements, whilst keeping basic sets which I'll review periodically:
Missing firmware is a big issue these days. That will stop devices running, even if driver is present.
To see if any is missing, in a maximised terminal run: dmesg | grep irmware
A source of extra firmware is here: https://github.com/endlessm/linux-firmware
For usrmerge pups (jammypup64, bookwormpup64, noblepup64 etc), files go in /usr/lib/firmware.
For all other pups, files go in /lib/firmware.