6.6.71 64bit Kernel Non-Usrmerge Aufs/Overlayfs - modified Debian config

Moderator: Forum moderators

Post Reply
ozsouth
Posts: 1651
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 251 times
Been thanked: 744 times

6.6.71 64bit Kernel Non-Usrmerge Aufs/Overlayfs - modified Debian config

Post by ozsouth »

I made a 64bit 6.6.71 2018 KIT Non-Usrmerge Aufs/Overlayfs kernel, using a modified Debian config.
This has the spectre v2 BPF fix.

This is for Fossapup64 or s15pup64 & similar. Is NOT for Jammypup64 & later (USRMERGE Pups) unless you
run ubuntu derivative through a converter like this one: viewtopic.php?p=116744#p116744 , and
use bootloader (grub etc) kernel parameter punionfs=overlay .
'aoed' means aufs/overlayfs; either non-usrmerge, or usrmerge if run through converter. d = Debian config.
To run it with Overlayfs generally, must have special initrd.gz (older pups) or specify punionfs=overlay
in grub.cfg/syslinux.cfg (newer pups).

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

Has no firmware - fdrvs linked at bottom of post have some rtw88, rtw89, b43 & mediatek wifi firmware.
Kernel has some rtw88, rtw89, b43 & mediatek wifi drivers. Has 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), BUT
if this kernel used for Bookwormpup64, use Bookwormpup fdrv at link below & add .no to end of kbuild.sfs.
Briefly tested, OK in s15pup64_22.12+4 (aufs & overlayfs).
For best results when using a savefile/savefolder, it is advisable to have that on an ext3 (or 4) partition.

rtl8821ce & wl wireless drivers are in forum Drivers section. NOTE: many broadcom devices can use
in-kernel b43 drivers, but needs firmware (links below).

Once downloaded, expand in an empty folder with tar -jxvf, & rename kernel-modules.sfs-6.6.71-64oz-nr-aoed to
zdrv ... (same as one to be replaced) & rename vmlinuz-6.6.71-64oz-nr-aoed 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. dpupbw64initmodules.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.

For compiling, a separate install should be used, with no savefile/savefolder & devx in same folder as puppy...sfs.

Notes for Overlayfs: either kernel derivative below works on any system. Devx, if named in same convention as puppy sfs for that pup, will load on boot, if in the same folder as puppy sfs. If devx loaded on the fly, compiling will fail, so best to have a separate install just for compiling, with no savefile/savefolder, naming kernel sources as ydrv & rebooting.
Also, savefolders/files cannot be shared by aufs & overlayfs, due to different structures.

Ubuntu derivative Kernel: https://archive.org/download/Puppy_Linu ... ed.tar.bz2

Slacko derivative Kernel: https://archive.org/download/Puppy_Linu ... ed.tar.bz2

Sources: https://archive.org/download/Puppy_Linu ... r-aoed.sfs

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

A collection of my latest fdrvs is here (must rename fdrvs to suit puppy to be used):
viewtopic.php?p=121635#p121635

Post Reply

Return to “Kernels”