Package Details: linux-amd-znver3-headers 6.13.v.2-1

Git Clone URL: https://aur.archlinux.org/linux-amd-znver3.git (read-only, click to copy)
Package Base: linux-amd-znver3
Description: Header files and scripts for building modules for the linux-amd-znver3 kernel
Upstream URL: https://www.kernel.org/
Licenses: GPL2
Submitter: None
Maintainer: None
Last Packager: bebna
Votes: 10
Popularity: 0.013067
First Submitted: 2023-05-04 15:47 (UTC)
Last Updated: 2025-02-16 11:21 (UTC)

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 12 Next › Last »

HumphryClinker commented on 2024-08-22 15:53 (UTC) (edited on 2024-08-22 15:54 (UTC) by HumphryClinker)

Quick hack - in PKGBUILD replace

mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install

# remove build link
rm -f "${pkgdir}"/lib/modules/${_kernver}/build
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"

# move module tree /lib -> /usr/lib
mkdir -p "${pkgdir}/usr"
mv "${pkgdir}/lib" "${pkgdir}/usr/"

with

mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot,usr}
ln -s "${pkgdir}"/lib "${pkgdir}"/usr/
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install

# remove build link
rm -f "${pkgdir}"/lib/modules/${_kernver}/build
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"

# move module tree /lib -> /usr/lib
rm -rf "${pkgdir}"/usr/lib
mv "${pkgdir}/lib" "${pkgdir}/usr/"

teJECSke commented on 2024-08-20 14:59 (UTC) (edited on 2024-08-20 14:59 (UTC) by teJECSke)

  DEPMOD  /run/media/welder/MOL/yay/linux-amd-znver3/pkg/linux-amd-znver3/lib/modules/6.10.5-AMD-znver3
depmod: ERROR: could not open directory /run/media/welder/MOL/yay/linux-amd-znver3/pkg/linux-amd-znver3/usr/lib/modules/6.10.5-AMD-znver3: No such file or directory

/lib vs. /usr/lib

xiota commented on 2024-08-16 10:52 (UTC)

Version shouldn't have a v in middle.

bebna commented on 2024-08-15 22:27 (UTC)

@deemon @scruffidog I changed the config, tried to merge as much as possible from the mainline kernel w/o dropping the AMD changes. Probably have overseen some stuff or took to much from the mainline kernel.

I compiled and run the kernel on my system and it didn't show any problems in the first look. Drop me a comment if you find anything. Probably with the stuff I shall change in the config.

deemon commented on 2024-08-07 00:45 (UTC)

Alright. Don't change the LSM, but could you please enable the rest, so I can apply the LSM parameter to boot config?

bebna commented on 2024-08-03 14:12 (UTC)

These settings are from the previous maker creator / maintainer. I prefer to keep it as is, until it breaks.

Adding Apparmor as std in the CONFIG_LSM, would break other peoples setups. Please do it in your own aur package.

deemon commented on 2024-08-03 00:16 (UTC) (edited on 2024-08-03 00:53 (UTC) by deemon)

There is a problem with this kernel - it disables apparmor ... and now on second look, almost all kernel security options. Why? So could you kindly please re-apply apparmor? https://wiki.archlinux.org/title/AppArmor#Custom_kernel

CONFIG_SECURITY_APPARMOR=y
CONFIG_AUDIT=y

and also add apparmor to CONFIG_LSM (in arch wiki CONFIG_LSM="landlock,lockdown,yama,integrity,apparmor,bpf")

and while at it, is there a reason why you have also disabled landlock, lockdown and loadpin?

$ zgrep CONFIG_SECURITY /proc/config.gz
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
# CONFIG_SECURITY_NETWORK is not set
# CONFIG_SECURITY_INFINIBAND is not set
# CONFIG_SECURITY_PATH is not set
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
# CONFIG_SECURITY_SAFESETID is not set
# CONFIG_SECURITY_LOCKDOWN_LSM is not set
# CONFIG_SECURITY_LANDLOCK is not set
$ zgrep CONFIG_LSM /proc/config.gz
CONFIG_LSM="yama,loadpin,safesetid,integrity"
$ cat /sys/kernel/security/lsm
capability,yama%                                                                                                                                                       

please add those also back. In fact can you please copy almost everything back from default arch kernel Security section for less confusion?? maybe skip selinux :-D and add to _LSM also apparmor.

https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/blob/main/config?ref_type=heads

scruffidog commented on 2024-08-02 19:32 (UTC)

I just noticed that NTFSv3 is compiled into the kernel instead of as a module. Out of curiosity, is there a reason for that other than just personal preference ?

deemon commented on 2024-07-24 19:23 (UTC) (edited on 2024-07-24 20:11 (UTC) by deemon)

New weird issue with the 6.10.0-AMD-znver3. Getting this continuous dmesg spam forever after boot:

[K juuli 24 21:33:13 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:14 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:14 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:14 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:14 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:15 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:15 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:15 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:15 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:16 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:16 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:16 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:17 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:17 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:17 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:17 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:18 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:18 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:18 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:18 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:19 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:19 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:19 2024] thermal thermal_zone0: failed to read out thermal zone (-61)
[K juuli 24 21:33:19 2024] thermal thermal_zone0: failed to read out thermal zone (-61)

...until I enable wifi interface, then it stops. Can even disable wifi afterwards and the spam doesn't return luckily.

Apparently it's a blast-from-the-past type of bug already reported and now resurfacing: https://bugzilla.kernel.org/show_bug.cgi?id=201761 check new entries since comment 72+