woof-CE kernel packages

Moderator: Forum moderators

Post Reply
dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

woof-CE kernel packages

Post by dimkr »

kernel-kit, the woof-CE component responsible for building and packaging Puppy kernels, is capable of building the latest version of a kernel "longterm" version (say, 5.4.x) and packaging it in a way that makes it possible to build third-party drivers against it (say, nvidia drivers) and update the kernel (say, from 5.4.100 to 5.4.101) without breaking them.

kernel-kit runs every once in a while on GitHub and updated kernel packages for multiple "longterm" versions are available at https://github.com/puppylinux-woof-CE/w ... el-kit.yml.

To get a fresh kernel, choose the latest kernel-kit run, then scroll down to the list of build artifacts and click the kernel that suits you, by architecture and version. Then, extract the .zip file and you'll have a "huge" style kernel package that can be used for swapping the kernel, a firmware SFS, a kernel sources SFS, etc'.

Screenshot 2021-04-30 08.39.54.png
Screenshot 2021-04-30 08.39.54.png (11.5 KiB) Viewed 1819 times
Screenshot 2021-04-30 08.40.37.png
Screenshot 2021-04-30 08.40.37.png (70.67 KiB) Viewed 1819 times
User avatar
peebee
Posts: 1636
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 157 times
Been thanked: 714 times
Contact:

Re: woof-CE kernel packages

Post by peebee »

Why is vmlinuz handled differently? Only provided once within huge.... whereas fdrv & zdrv (kernel_modules) are included twice - both individually and within huge .tar.bz2.

Are kernel_headers in kernel_sources?

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: woof-CE kernel packages

Post by dimkr »

Every .zip file is the kernel-kit output directory zipped. The structure of this directory, its contents, etc' are determined by kernel-kit's build.sh.

User avatar
peebee
Posts: 1636
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 157 times
Been thanked: 714 times
Contact:

Re: woof-CE kernel packages

Post by peebee »

vmlinuz is in output but is not in the zip - as are other things so the zip is not the full output directory:

# pwd
/mnt/sdc1/kernels/5.12.1/kernel-kit/output
# ls
aufs-util-5.12.1-x86_64
build.log.bz2
DOTconfig-5.12.1-x86_64-030521
huge-5.12.1-lxpup64.tar.bz2
huge-5.12.1-lxpup64.tar.bz2.md5.txt
huge-5.12.1-lxpup64.tar.bz2.sha256.txt
kernel_headers-5.12.1-lxpup64-x86_64
kernel-modules-5.12.1-lxpup64.sfs
kernel_sources-5.12.1-lxpup64.sfs
kernel_sources-5.12.1-lxpup64.sfs.md5.txt
kernel_sources-5.12.1-lxpup64.sfs.sha256.txt
linux_kernel-5.12.1-lxpup64
patches-5.12.1-x86_64
vmlinuz-5.12.1-lxpup64
#

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: woof-CE kernel packages

Post by dimkr »

vmlinuz must be there somewhere, otherwise the ISOs produced by woof-CE's CI wouldn't boot, because there's no kernel.

vmlinuz is inside huge-*.tar.*.

TerryH
Posts: 638
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 158 times
Been thanked: 161 times

Re: woof-CE kernel packages

Post by TerryH »

What are the broken links to /home/runner/work/Woof-CE/.... in current kernel kit produced kernels?

I downloaded the latest 5.10 kernel-kit version from github as mentioned above. I swapped out the kernel in slacko8.0pre, which is an update from 5.10.25 to 5.10.34. I noticed that there are 2 broken links in the kernel-modules.sfs (zdrv*.sfs). I checked back to the original slacko8.1pre.iso, which also contains similar broken links.

While I'm asking, why the change in the naming convention to drop the actual version numbering, now only using the 5.10.0 naming convention?

Attachments
kernel-modules.png
kernel-modules.png (23.56 KiB) Viewed 1717 times

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

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: woof-CE kernel packages

Post by ozsouth »

.

Last edited by ozsouth on Sat May 08, 2021 6:58 am, edited 2 times in total.
dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: woof-CE kernel packages

Post by dimkr »

TerryH wrote: Sat May 08, 2021 1:21 am

What are the broken links to /home/runner/work/Woof-CE/.... in current kernel kit produced kernels?

You'll need to replace /lib/modules/`uname -r`/{build,source} with symlinks to /usr/src/linux.

I don't know why the links are broken, but it's been this way for a very long time and I have no explanation for this, because somehow, people are able to build third-party modules despite of this :roll:

TerryH wrote: Sat May 08, 2021 1:21 am

While I'm asking, why the change in the naming convention to drop the actual version numbering, now only using the 5.10.0 naming convention?

If modules built for kernel 5.10.25 look for kernel 5.10, you'll be able to use them without recompilation when you update to 5.10.34. That's why kernel-kit resets the bugfix version.

In the future, I hope we'll have automated (but opt-in) kernel updates.

You can see the full kernel version in /proc/version.

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2754 times
Been thanked: 2627 times
Contact:

Re: woof-CE kernel packages

Post by rockedge »

I've always fixed the symlinks since I ran into these broken links compiling VirtualBox disk drivers manually. Was a real mystery in the beginning.

dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: woof-CE kernel packages

Post by dimkr »

Testing the fix, will open a woof-CE pull request soon.

https://github.com/puppylinux-woof-CE/w ... s?expand=1

dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: woof-CE kernel packages

Post by dimkr »

The latest kernel-kit run (#14) has the fix. The symlinks are gone from zdrv, but present in the kernel sources SFS and they're relative now.

bigpuppyfan
Posts: 81
Joined: Fri Feb 12, 2021 1:20 pm
Has thanked: 14 times
Been thanked: 17 times

Re: woof-CE kernel packages

Post by bigpuppyfan »

I wonder if it would be possible to include in the next schedule, a 5.4 kernel? I used to occasionally download them, but noticed there haven't been artifacts of this LTS branch for a few months. Unfortunately I accidentally erased the USB drive which had puppy (fossapup64 9.5). No big deal, as I had backups - except for the kernel (stupidly, I only had backups of the sources). I tried to use the available 5.10 kernel, which initially seemed OK, but actually doesn't work very well in my old machine (crashes, and I can't compile the nvidia driver for it). If there is a chance to get an up to date kernel, I'd greatly appreciate it (or is it something anyone could do on github, similar to building with woof-ce? There doesn't seem to be a config_x86_64 for it though)

Also, just taking the chance to bring this up:

dimkr wrote: Sat May 08, 2021 6:31 am
TerryH wrote: Sat May 08, 2021 1:21 am

While I'm asking, why the change in the naming convention to drop the actual version numbering, now only using the 5.10.0 naming convention?

If modules built for kernel 5.10.25 look for kernel 5.10, you'll be able to use them without recompilation when you update to 5.10.34. That's why kernel-kit resets the bugfix version.

It's nothing new, it hasn't been .0 for more than a year, but I never asked about it. Wasn't sure if it had been intentional or not. Was useful as per dimkr's comments. Just posting in case it wasn't intentional

dimkr
Posts: 2424
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: woof-CE kernel packages

Post by dimkr »

bigpuppyfan wrote: Mon May 27, 2024 12:48 am

I wonder if it would be possible to include in the next schedule, a 5.4 kernel?

https://github.com/puppylinux-woof-CE/w ... 1791996239

It is possible, but somebody needs to be committed to maintaining the kernel configuration file and fixing build failures. aufs for 5.4.x is dead and AFAIK broken for a very long time.

User avatar
peebee
Posts: 1636
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 157 times
Been thanked: 714 times
Contact:

Re: woof-CE kernel packages

Post by peebee »

https://github.com/puppylinux-woof-CE/w ... 6ab2984568

https://archive.org/download/Puppy_Linux_Huge-Kernels

kernel-kit-output-aufs-5.4.212-x86.zip (View Contents) 11-Feb-2023 17:15 234.4M
kernel-kit-output-aufs-5.4.212-x86_64.zip (View Contents) 11-Feb-2023 17:17 240.3M

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

bigpuppyfan
Posts: 81
Joined: Fri Feb 12, 2021 1:20 pm
Has thanked: 14 times
Been thanked: 17 times

Re: woof-CE kernel packages

Post by bigpuppyfan »

Thank you peebee and dimkr. Had come to say that I remembered I had the last updated 5.4 kernel from the kit elsewhere, while doing some experiments with vanilla dpup, but you beat me to it.

dimkr wrote: Mon May 27, 2024 5:53 am

https://github.com/puppylinux-woof-CE/w ... 1791996239

It is possible, but somebody needs to be committed to maintaining the kernel configuration file and fixing build failures. aufs for 5.4.x is dead and AFAIK broken for a very long time.

Oh yes, that's right, forgot about that part. Unfortunately that's outside of my league :| But 5.4 is reaching EOL anyway

Post Reply

Return to “Kernels”