Package Details: linux-amd-znver2 6.9.0-1

Git Clone URL: https://aur.archlinux.org/linux-amd-znver2.git (read-only, click to copy)
Package Base: linux-amd-znver2
Description: The Linux kernel and modules - Compile with AMD Family 17h Zen 2 processors support
Upstream URL: https://www.kernel.org/
Licenses: GPL-2.0-only
Provides: KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: None
Maintainer: archdevlab
Last Packager: archdevlab
Votes: 16
Popularity: 0.28
First Submitted: 2020-10-26 18:04 (UTC)
Last Updated: 2024-05-17 01:30 (UTC)

Required by (6)

Sources (7)

Pinned Comments

<deleted-account> commented on 2020-10-26 18:15 (UTC)

Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :

[linuxkernels]
Server = http://nhameh.ovh/$repo/$arch
SigLevel = Optional TrustAll

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 Next › Last »

<deleted-account> commented on 2021-01-25 10:12 (UTC)

Even more triviatime: aur/linux-amd is currently standing by to be optimised for znver3 (RYZEN 5000 Desktop Series). For now, they are "equal". I will try to use linux-amd to always represent the "upstream" tech, so the latest architecture. Linux-amd will most likely continue working fine for ALL ryzen hardware though on the surface.

DanEng1982 commented on 2021-01-25 09:49 (UTC) (edited on 2021-01-25 09:50 (UTC) by DanEng1982)

znver2 is the name of the AMD Ryzen Zen2 microarchitecture meaning this is a highly optimized Kernel that, if you have an AMD Ryzen CPU, can be used for gaming, audio/video and things like that.

Moo-Crumpus commented on 2021-01-25 09:46 (UTC)

Just for the newbies asking stupid questions, like me: what is znver?

Kryesh commented on 2021-01-24 11:12 (UTC)

That was fast! I rebuilt the package it looks like it did the trick, awesome work

Thanks again for making and maintaining this build!

<deleted-account> commented on 2021-01-24 09:49 (UTC)

Kryesh, thanks to your clear indications, I found the problem.

The "order" you are withnessing with linux-zen (and not with my kernel) is because of the "/usr/share/libalpm/hooks/90-mkinitcpio-install.hook" pacman hook.

Apperantly, it expects the vmlinuz to be also (next to /boot obviously) written to /usr/lib/modules/*/vmlinuz. I adapted the packaging to do this, to respect this particular pacman hook.

For me, this extra copy seems to the trick (and the declaration of the "pkgbase" since this particular hook seems to need that).

Let me know the results.

<deleted-account> commented on 2021-01-24 02:03 (UTC)

hey there, thx for letting me know.

there are no real diffrences between my linux.install file and the (hidden, but still on the git of) linux-zen.install file, we both call depmod and then do a mkinicpio in that order.

please note that you are comparing an upgrade to a reinstall, though I do think you are still on to something here.

I'll take a look at this interesting topic when I have the time.

Thanks again.

Kryesh commented on 2021-01-24 01:11 (UTC) (edited on 2021-01-24 01:29 (UTC) by Kryesh)

Hi, Thanks for making this package!

I think I've found a minor ordering issue with the package installation, the initcpio image is generated before dkms modules are built. this means that if there is a dkms package included in the mkinicpio config the image fails to build. rerunning "sudo mkinitcpio -p linux-amd-znver2" after package installation builds the images correctly as the dkms processes have completed. In my case it's necessary as I need to include zfs-dkms.

From yay output:

--snip--
-> Running build hook: [zfs]
==> ERROR: module not found: `zavl'
==> ERROR: module not found: `znvpair'
==> ERROR: module not found: `zunicode'
==> ERROR: module not found: `zcommon'
==> ERROR: module not found: `zfs'
==> ERROR: module not found: `spl'
  -> Running build hook: [mdadm_udev]
Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-amd-znver2-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
(2/2) upgrading linux-amd-znver2-headers                  [###############################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod -m zfs -v 2.0.1 -k 5.10.10-AMD-znver2
==> dkms install --no-depmod -m ddcci -v 0.3.3 -k 5.10.10-AMD-znver2
==> depmod 5.10.10-AMD-znver2
--snip--

Example from the linux-zen package with correct ordering:

--snip--
:: Processing package changes...
(1/2) reinstalling linux-zen                                                                                                           [##################################################################################] 100%
(2/2) reinstalling linux-zen-headers                                                                                                   [##################################################################################] 100%
:: Running post-transaction hooks...
(1/5) Restoring Linux kernel modules...
++ uname -r
+ KVER=5.10.9-AMD-znver2
+ test -e /usr/lib/modules/backup/5.10.9-AMD-znver2
+ rm -rf /usr/lib/modules/backup
(2/5) Arming ConditionNeedsUpdate...
(3/5) Updating module dependencies...
(4/5) Install DKMS modules
==> dkms install --no-depmod -m zfs -v 2.0.1 -k 5.10.9-zen1-1-zen
==> dkms install --no-depmod -m ddcci -v 0.3.3 -k 5.10.9-zen1-1-zen
==> depmod 5.10.9-zen1-1-zen
(5/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
--snip--

I hope that makes sense, thanks!

DanEng1982 commented on 2021-01-01 12:17 (UTC)

Hey, I wish you a happy new year. I love your work and I was just wondering if you would be happy to upstream your updates to the Hefftor Linux Repo? If so, can you please contact me either via the Hefftor Linux Official Telegram group under nickname Able Archer or under daniel.engelthaler@gmail.com ? Thank you very much! Dan

hockeymikey commented on 2020-12-22 07:18 (UTC)

@eggz you're amazing! Working great

<deleted-account> commented on 2020-12-20 11:59 (UTC)

@hockeymikey

Great catch. I made the headerpackage more flexible, normally this shouldn't happen anymore in the future for other modules.

Thanks again. Let me know if the compile works now!