6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Moderator: Forum moderators

Post Reply
ozsouth
Posts: 1663
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 252 times
Been thanked: 749 times

6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Post by ozsouth »

I made a 64bit 6.12.7 2018 KIT USRMERGE Overlayfs-Only kernel, using a modified Debian config.
Like all 6.11 & 6.12 so far, this does NOT allow fallback for newer iwlwifi firmware versions.
(means you have to have the latest, so my fdrvs below ok for now).
This has the spectre v2 BPF fix.

This is for Jammypup64 & later (USRMERGE Pups) & CANNOT be used for Fossapup64 or S15pup64 & older.
'umovd' means usrmerge, overlayfs. d = Debian config.

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 BookwormPup64_10.0.9_nkb.
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, but needs firmware (links below).

Once downloaded, expand in an empty folder with tar -jxvf, & rename kernel-modules.sfs-6.12.7-64oz-umovd to
zdrv ... (same as one to be replaced) & rename vmlinuz-6.12.7-64oz-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. 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 & Kernel Sources (or Headers) should be named as ydrv, so both will load on boot.

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

Sources: https://archive.org/download/Puppy_Linu ... -umovd.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

Last edited by ozsouth on Mon Jan 13, 2025 1:13 am, edited 4 times in total.
JusGellin
Posts: 753
Joined: Fri Jan 19, 2024 11:12 pm
Has thanked: 90 times
Been thanked: 92 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only

Post by JusGellin »

@ozsouth
Thanks for the work you are doing for the Kernels.

I have a question concerning firmware needed for them particularly wifi firmware.
New computers seem to require new firmware continuously as processors change.
Does firmware that is developed pretty much remain the same unless problems occur?

Then can a piece of firmware be used for different kernel revisions?
I would think once the firmware is developed for a particular new kernel, that from that point on,
it could be used for newer revised kernels after that.

I also would think that once firmware is made, it doesn't change much from then on.

Thanks again for the hard work you are doing for all of us.

ozsouth
Posts: 1663
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 252 times
Been thanked: 749 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only

Post by ozsouth »

@JusGellin - computer hardware manufacturers release firmware when new hardware is released. It is generally hardware specific. Firmware versions change as time goes on, often for the requirements of newer kernels, or minor hardware improvements, but even that is not a given - fairly often the same firmware can be used for later kernels. Unfortunately, we only find out by trial. Fallback was great in that you didn't necessarily need the latest firmware, but kernel 6.11+ seems to have stopped that (for iwlwifi at least).

User avatar
bigpup
Moderator
Posts: 7298
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 951 times
Been thanked: 1613 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Post by bigpup »

Thanks for this kernel build.

I have a very, very, new laptop computer with Realtek rtw89-8851be WIFI hardware.

It was not detected and could not be used.

Changing to using this kernel and your latest fdrv.sfs firmware in BookwormPup64 10.0.8.

All needed to run this WIFI hardware is now provided.

Able to get a WIFI connection and working great.

Thank you for all you do to support kernels for Puppy Linux.

Note:
Used change_kernels program to do the change.
Was very easy to use and make needed changes.
.
.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

ozsouth
Posts: 1663
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 252 times
Been thanked: 749 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Post by ozsouth »

@bigpup - glad that worked. Did you disable or delete kbuild sfs? Kbuild sfs is inappropriate with a new kernel, as you now need devx & sources for driver compiling.

User avatar
bigpup
Moderator
Posts: 7298
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 951 times
Been thanked: 1613 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Post by bigpup »

I only deleted this:

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.

I guess I also need to go see if there is a kbuild sfs.

Note:
I had updated to a earlier kernel and firmware (not the same firmware sfs)
The WIFI hardware was detected and worked up to a point.
Never could get it to finish getting a DHCP connection setup.

I am wondering now, if I just needed a newer firmware SFS, that maybe had updated firmware, for the WIFI hardware.

Thanks for providing and keeping up with making updated firmware SFS's.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

ozsouth
Posts: 1663
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 252 times
Been thanked: 749 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Post by ozsouth »

@bigpup - check your pm's. You are probably missing /usr/lib/firmware/rtw89/rtw8851b_fw.bin.
I've added a medium sized BookwormPup64 fdrv with that file (72mb). See forum Kernels section, firmware subsection.

TerryH
Posts: 679
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 172 times
Been thanked: 171 times

Re: 6.12.7 64bit Kernel USRMERGE Overlayfs-Only - modified Debian config

Post by TerryH »

Just upgraded my Asus laptop to use this kernel. All seems well. Thank you once again.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

Post Reply

Return to “Kernels”