Here's a workaround that I found for the non-generic CPU build issue that @jaro3 (and I) had: In the PKGBUILD file, comment out the lines between cp -v .config ${startdir}/config.local
and cp -f .config ${startdir}/config.$CPU-$CARCH
in the build()
function, and in its place, set the value of the CPU
variable to be the string for the CPU you want to target.
Search Criteria
Package Details: linux-pf 6.3.1.pf2-1
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flagged out-of-date (2023-06-12)
- 2 pending requests
- Submit Request
Git Clone URL: | https://aur.archlinux.org/linux-pf.git (read-only, click to copy) |
---|---|
Package Base: | linux-pf |
Description: | The Linux with the pf-kernel patch (uksm, ZSTD, FSGSBASE and more) kernel and modules |
Upstream URL: | https://codeberg.org/pf-kernel/linux/wiki/README |
Licenses: | GPL2 |
Conflicts: | linux-pf-preset |
Provides: | KSMBD-MODULE, linux-tomoyo, NTFS3-MODULE, UKSMD-BUILTIN, V4L2LOOPBACK-MODULE, VHBA-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Replaces: | |
Submitter: | nous |
Maintainer: | Thaodan |
Last Packager: | Thaodan |
Votes: | 208 |
Popularity: | 0.40 |
First Submitted: | 2011-07-24 12:01 (UTC) |
Last Updated: | 2023-06-12 07:37 (UTC) |
Dependencies (18)
- coreutils (coreutils-hybrid-git, coreutils-git, coreutils-selinux, busybox-coreutils, coreutils-hybrid)
- kmod (kmod-git, busybox-coreutils)
- mkinitcpio (mkinitcpio-git)
- bc (bc-gh) (make)
- cpio (cpio-git) (make)
- docbook-xsl (make)
- elfutils (elfutils-git) (make)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (make)
- inetutils (gettext-hostname, inetutils-git, busybox-coreutils) (make)
- kmod (kmod-git, busybox-coreutils) (make)
- pahole (pahole-git) (make)
- xmlto (xmlto-git) (make)
- xz (xz-git) (make)
- linux-firmware (linux-firmware-iwlwifi-git, linux-libre-firmware, armbian-firmware-git, linux-firmware-orangepi, linux-firmware-amlogic-ophub, linux-firmware-git, linux-firmware-xz, linux-firmware-uncompressed) (optional) – firmware images needed for some devices
- modprobed-db (modprobed-db-git) (optional) – Keeps track of EVERY kernel module that has ever been probed. Useful for make localmodconfig.
- nvidia-pf (optional) – NVIDIA drivers for linux-pf
- uksmd (uksmd-cachyos-nosystemd-git, uksmd-nosystemd-git, uksmd-git) (optional) – Userspace KSM helper daemon
- wireless-regdb (wireless-regdb-git, wireless-regdb-pentest) (optional) – to set the correct wireless channels of your country
Required by (13)
- humble-lumpia-git (optional)
- ksmbd-tools (requires KSMBD-MODULE)
- nvidia-pf
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- simple-droidcam-client (requires V4L2LOOPBACK-MODULE)
- uksmd (requires UKSMD-BUILTIN)
- uksmd-cachyos-nosystemd-git (requires UKSMD-BUILTIN) (optional)
- uksmd-git (requires UKSMD-BUILTIN)
- uksmd-nosystemd-git (requires UKSMD-BUILTIN) (optional)
- uksmdstats-git (requires UKSMD-BUILTIN) (optional)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (7)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 103 Next › Last »
eaglgenes101 commented on 2022-10-05 16:16 (UTC)
Thaodan commented on 2022-09-02 17:49 (UTC)
@cioby23: Please report issues on Gitlab and don't dump log output into then AUR.
cioby23 commented on 2022-09-02 15:43 (UTC) (edited on 2022-09-02 15:45 (UTC) by cioby23)
I'm trying to install linux-pf generic and all DKMS builds fail on linux-pf 5.19. Output make log file are missing
$ sudo pacman -S linux-pf linux-pf-headers :: There are 13 providers available for linux-pf: :: Repository home-thaodan 1) linux-pf-alderlake 2) linux-pf-broadwell 3) linux-pf-generic 4) linux-pf-generic-v2 5) linux-pf-generic-v3 6) linux-pf-generic-v4 7) linux-pf-ivybridge 8) linux-pf-rocketlake 9) linux-pf-sandybridge 10) linux-pf-silvermont 11) linux-pf-skylake 12) linux-pf-zen2 13) linux-pf-zen3
Enter a number (default=1): 3 resolving dependencies... :: There are 10 providers available for linux-pf-headers-variant: :: Repository home-thaodan 1) linux-pf-headers-variant-alderlake 2) linux-pf-headers-variant-broadwell 3) linux-pf-headers-variant-generic 4) linux-pf-headers-variant-generic-v2 5) linux-pf-headers-variant-generic-v3 6) linux-pf-headers-variant-generic-v4 7) linux-pf-headers-variant-rocketlake 8) linux-pf-headers-variant-skylake 9) linux-pf-headers-variant-zen2 10) linux-pf-headers-variant-zen3
Enter a number (default=1): 3 looking for conflicting packages...
Packages (3) linux-pf-headers-variant-generic-5.19.1.pf2-1 linux-pf-generic-5.19.1.pf2-1 linux-pf-headers-5.19.1.pf2-1
Total Download Size: 207,67 MiB Total Installed Size: 332,63 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
linux-pf-headers-variant-generic-5.19.1.pf2-1-x86_64 21,3 MiB 10,6 MiB/s 00:02 [############################################################] 100%
linux-pf-generic-5.19.1.pf2-1-x86_64 186,4 MiB 39,2 MiB/s 00:05 [############################################################] 100%
Total (2/2) 207,7 MiB 43,3 MiB/s 00:05 [############################################################] 100%
(3/3) checking keys in keyring
[############################################################] 100%
(3/3) checking package integrity [############################################################] 100%
(3/3) loading package files [############################################################] 100%
(3/3) checking for file conflicts [############################################################] 100%
:: Processing package changes...
(1/3) installing linux-pf-generic [############################################################] 100%
Optional dependencies for linux-pf-generic
wireless-regdb: to set the correct wireless channels of your country
nvidia-pf: NVIDIA drivers for linux-pf
uksmd: Userspace KSM helper daemon
linux-firmware: firmware images needed for some devices [installed]
modprobed-db: Keeps track of EVERY kernel module that has ever been probed. Useful for make localmodconfig.
(2/3) installing linux-pf-headers-variant-generic [############################################################] 100%
(3/3) installing linux-pf-headers [############################################################] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Install DKMS modules
==> dkms install --no-depmod vmware-workstation/16.2.4_20089737 -k 5.19.1-pf2-1+
Error! Bad return status for module build on kernel: 5.19.1-pf2-1+ (x86_64)
Consult /var/lib/dkms/vmware-workstation/16.2.4_20089737/build/make.log for more information.
==> WARNING: dkms install --no-depmod vmware-workstation/16.2.4_20089737 -k 5.19.1-pf2-1+' exited 10
==> dkms install --no-depmod nvidia/515.65.01 -k 5.19.1-pf2-1+
Error! Bad return status for module build on kernel: 5.19.1-pf2-1+ (x86_64)
Consult /var/lib/dkms/nvidia/515.65.01/build/make.log for more information.
==> WARNING:
dkms install --no-depmod nvidia/515.65.01 -k 5.19.1-pf2-1+' exited 10
==> dkms install --no-depmod vboxhost/6.1.38_OSE -k 5.19.1-pf2-1+
Error! Bad return status for module build on kernel: 5.19.1-pf2-1+ (x86_64)
Consult /var/lib/dkms/vboxhost/6.1.38_OSE/build/make.log for more information.
==> WARNING: `dkms install --no-depmod vboxhost/6.1.38_OSE -k 5.19.1-pf2-1+' exited 10
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-pf.preset: 'default'
-> -k /boot/vmlinuz-linux-pf -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-pf.img
==> Starting build: 5.19.1-pf2-1+
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-pf.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-pf.preset: 'fallback'
-> -k /boot/vmlinuz-linux-pf -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-pf-fallback.img -S autodetect
==> Starting build: 5.19.1-pf2-1+
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-pf-fallback.img
==> Image generation successful
(5/5) Refreshing PackageKit...
Thaodan commented on 2022-08-17 11:39 (UTC)
@jaro3: Please create a bug!
@cioby23 @Dolphin2Point0 @akurei: linux-pf-preset was provided by linux-pf-preset-default. I removed the linux-pf-preset package now completely. Before the idea was that you can create your own linux-pf-preset package and thous override the default prefix but that is now obsolete as the presets are now generated via the pacman hook provided by mkinitcpio.
jaro3 commented on 2022-08-17 11:10 (UTC)
all dkms builds fail with 5.19.1.pf2-1 with message:
/bin/sh: line 1: ./tools/objtool/objtool: No such file or directory
jaro3 commented on 2022-08-17 11:10 (UTC)
all dkms builds fail with 5.19.1.pf2-1 with message:
/bin/sh: line 1: ./tools/objtool/objtool: No such file or directory
akurei commented on 2022-08-16 16:35 (UTC)
I also have the same issue as cioby23 and Dolphin2Point0... @Thaodan can you please give us a hint?
Dolphin2Point0 commented on 2022-08-12 02:43 (UTC)
I am experiencing the same issue as cioby23.
cioby23 commented on 2022-08-05 22:36 (UTC) (edited on 2022-08-05 22:39 (UTC) by cioby23)
I cannot install linux-pf package from the binary repo or AUR. It has a dependency conflict which I cannot solve. It keeps asking for linux-pf=5.18.9.pf3 and I cannot see any reference to it in the PKGBUILD.
$ sudo pacman -S linux-pf :: There are 13 providers available for linux-pf: :: Repository home-thaodan 1) linux-pf-alderlake 2) linux-pf-broadwell 3) linux-pf-generic 4) linux-pf-generic-v2 5) linux-pf-generic-v3 6) linux-pf-generic-v4 7) linux-pf-ivybridge 8) linux-pf-rocketlake 9) linux-pf-sandybridge 10) linux-pf-silvermont 11) linux-pf-skylake 12) linux-pf-zen2 13) linux-pf-zen3
Enter a number (default=1): 3 resolving dependencies... warning: cannot resolve "linux-pf=5.18.9.pf3", a dependency of "linux-pf-preset-default" warning: cannot resolve "linux-pf-preset", a dependency of "linux-pf-generic" :: The following package cannot be upgraded due to unresolvable dependencies: linux-pf-generic
:: Do you want to skip the above package for this upgrade? [y/N]
post-factum commented on 2022-07-11 07:43 (UTC)
PKGBUILD
supports building from git
repo, there's no need to use patches.
Pinned Comments
Thaodan commented on 2022-06-12 05:09 (UTC) (edited on 2022-07-09 14:40 (UTC) by Thaodan)
Intro
Hey, I added more prebuilds and extended the optimized builds for the remaining new mcpu mtunes.
Removed Silvermont and Ivybridge from optimzed builds from build_pkgs, add:
generic (renamed from linux-pf)
generic-v2
generic-v3
generiv-v4
rocketlake
alderlake
zen2
zen3
External Modules
External modules have been fixed for optimized builds. This have been done by moving variant specific headers and scripts to the -headers-variant package.
When you update you have to choose the headers-variant package belonging to the variant of your kernel build variant you have chosen.
External modules have to build now for each variant so I prefer to refer to DKMS instead, regular packages can still be used however I won't provide them prebuild.
Please read #5 if you want to know more.
OLD OUT DATE
I'm currently looking how to fix loading of external packaged modules. The reason is that System.map is different per optimized build because bpf support, either I avoid bpf, remove that limitation or outphase the packaged modules and prefer dkms instead.
^ @lbatalha
Thaodan commented on 2018-08-05 16:08 (UTC) (edited on 2022-09-06 21:38 (UTC) by Thaodan)
upstream git repo:* (https://gitlab.com/Thaodan/linux-pf)
repo in /etc/pacman.conf:
import the key
fingerprint: