You are not logged in.
Hey, I want to compile AMDs branch of Linux 4.3 with AMDGPU Powerplay support for Radeon 'Tonga'+ reclocking support. I followed the wiki.
My steps were:
git clone git://people.freedesktop.org/~agd5f/linux/ -b amdgpu-powerplay
cd linux/
make mrproper
make nconfig [enabled Powerplay, gave the kernel the name AMDGPUPOWERPLAY]
sudo make modules_install
...
sudo cp -v bzImage /boot/vmlinuz-AMDGPUPOWERPLAY
mkinitcpio -k 4.3.0-AMDGPUPOWERPLAY+ -c /etc/mkinitcpio.conf -g /boot/initramfs-AMDGPUPOWERPLAY.img
First, make modules_install was successful but gave this errors at the end of the long output:
...
INSTALL /lib/firmware/yam/9600.bin
DEPMOD 4.3.0-AMDGPUPOWERPLAY+
depmod: ERROR: Found 2 modules in dependency cycles!
depmod: ERROR: Cycle detected: lnet -> libcfs -> lnet
Makefile:1136: die Regel für Ziel „_modinst_post“ scheiterte
make: *** [_modinst_post] Fehler 1
But I got a folder /usr/lib/modules/4.3.0-AMDGPUPOWERPLAY+/ (why the heck with the plus?) with a size of 49 MiB.
Next, mkinitcpio gave this output:
…
==> ERROR: module not found: `crc32c'
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating xz-compressed initcpio image: /boot/initramfs-AMDGPUPOWERPLAY+.img
==> WARNING: errors were encountered during the build. The image may not be complete.
So there is no btrfs etc. Here a "tree" of the files in /usr/lib/modules/4.3.0-AMDGPUPOWERPLAY+/kernel/
The modules are installed, why doesn't mkinitcpio recognize them?
Last edited by frumble (2015-11-16 23:24:22)
Offline
Recommend you repeat this using the linux PKGBUILD from ABS.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I think it's caused by the problems after modules_install. Seems to be a dependency issue: https://lkml.org/lkml/2015/11/7/229
Actually, I don't understand how I could use the PKGBUILD from ABS to compile this kernel from the git branch on freedesktop.org.
Offline
Maybe not ABS, but you can use a PKGBUILD. See: https://aur.archlinux.org/packages/linux-git/
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Tried a bit harder: Disabling lNet in kconfig did the trick. No errors with modules_install, kernel boots fine and AMDGPU PowerPlay works. But thanks for your help!
Offline
Hey any chance anyone would be willing to make this an Aur package
Offline
Hey any chance anyone would be willing to make this an Aur package
Wait till the release of Linux 4.4 and Linux 4.5 RC 1 in the very next weeks, then you will get AMDGPU + POWERPLAY support in the "Linux Mainline" AUR script.
Offline