You are not logged in.

#1 2024-04-17 05:52:42

bababoey
Member
Registered: 2024-03-28
Posts: 16

Can't install vendor-reset DKMS module

error message

==> dkms install --no-depmod vendor-reset/r114.4b466e9 -k 6.8.6-zen1-1-zen
Error! Bad return status for module build on kernel: 6.8.6-zen1-1-zen (x86_64)
Consult /var/lib/dkms/vendor-reset/r114.4b466e9/build/make.log for more information.
==> WARNING: `dkms install --no-depmod vendor-reset/r114.4b466e9 -k 6.8.6-zen1-1-zen' exited 10

make.log file

DKMS make.log for vendor-reset-r114.4b466e9 for kernel 6.8.6-zen1-1-zen (x86_64)
Wed Apr 17 13:40:32 PST 2024
make -C /usr/lib/modules/6.8.6-zen1-1-zen/build M=/var/lib/dkms/vendor-reset/r114.4b466e9/build modules
make[1]: Entering directory '/usr/lib/modules/6.8.6-zen1-1-zen/build'
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/module.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/vendor-reset-dev.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/ioctl.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/ftrace.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/hook.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/common.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/compat.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/firmware.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/navi10.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/polaris10.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/vega10.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/vega20.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_device.o
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/ftrace.c:66:5: warning: no previous prototype for ‘fh_install_hook’ [-Wmissing-prototypes]
   66 | int fh_install_hook(struct ftrace_hook *hook)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/ftrace.c:96:6: warning: no previous prototype for ‘fh_remove_hook’ [-Wmissing-prototypes]
   96 | void fh_remove_hook(struct ftrace_hook *hook)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/firmware.c:40:5: warning: no previous prototype for ‘amdgpu_io_rreg’ [-Wmissing-prototypes]
   40 | u32 amdgpu_io_rreg(struct amd_fake_dev *adev, u32 reg)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/firmware.c:60:6: warning: no previous prototype for ‘amdgpu_io_wreg’ [-Wmissing-prototypes]
   60 | void amdgpu_io_wreg(struct amd_fake_dev *adev, u32 reg, u32 v)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/ioctl.c:91:5: warning: no previous prototype for ‘vendor_reset_ioctl_init’ [-Wmissing-prototypes]
   91 | int vendor_reset_ioctl_init(void)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/ioctl.c:96:6: warning: no previous prototype for ‘vendor_reset_ioctl_exit’ [-Wmissing-prototypes]
   96 | void vendor_reset_ioctl_exit(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_discovery.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_bios.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_atomfirmware.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/atom.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/common_baco.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/navi10_reg_init.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/navi12_reg_init.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/navi14_reg_init.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/polaris_baco.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/smu7_baco.o
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/vega10.c:96:5: warning: no previous prototype for ‘vega10_baco_set_state’ [-Wmissing-prototypes]
   96 | int vega10_baco_set_state(struct amd_fake_dev *adev, enum BACO_STATE state)
      |     ^~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/vega10_reg_init.o
  CC [M]  /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/vega20_reg_init.o
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_device.c:47:6: warning: no previous prototype for ‘amdgpu_device_vram_access’ [-Wmissing-prototypes]
   47 | void amdgpu_device_vram_access(struct amd_fake_dev *adev, loff_t pos,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_bios.c:91:6: warning: no previous prototype for ‘amdgpu_read_bios’ [-Wmissing-prototypes]
   91 | bool amdgpu_read_bios(struct amd_fake_dev *adev)
      |      ^~~~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/amdgpu_bios.c:156:6: warning: no previous prototype for ‘amdgpu_get_bios’ [-Wmissing-prototypes]
  156 | bool amdgpu_get_bios(struct amd_fake_dev *adev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/atom.c: In function ‘amdgpu_atom_parse’:
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/atom.c:1427:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
1427 |                 strlcpy(ctx->vbios_version, str, sizeof(ctx->vbios_version));
      |                 ^~~~~~~
      |                 strscpy
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/vega10_reg_init.c:29:5: warning: no previous prototype for ‘vega10_reg_base_init’ [-Wmissing-prototypes]
   29 | int vega10_reg_base_init(struct amd_fake_dev *adev)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/vega20_reg_init.c:29:5: warning: no previous prototype for ‘vega20_reg_base_init’ [-Wmissing-prototypes]
   29 | int vega20_reg_base_init(struct amd_fake_dev *adev)
      |     ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/vendor-reset/r114.4b466e9/build/src/amd/amdgpu/atom.o] Error 1
make[2]: *** [/usr/lib/modules/6.8.6-zen1-1-zen/build/Makefile:1919: /var/lib/dkms/vendor-reset/r114.4b466e9/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.8.6-zen1-1-zen/build'
make: *** [Makefile:8: build] Error 2

Offline

#2 2024-04-17 08:19:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't install vendor-reset DKMS module

Offline

#3 2024-04-18 17:05:24

bababoey
Member
Registered: 2024-03-28
Posts: 16

Re: Can't install vendor-reset DKMS module

thanks for the reply. you're right, both vendor-reset-git and vendor-reset-dkms-git (one i used) are outdated (last update was 2020). i was able to install it manually by cloning the repo and using dkms install. just a followup question tho. on the readme, it has some requirements where i should enable some kernel options. where can i enable these?

CONFIG_FTRACE=y
CONFIG_KPROBES=y
CONFIG_PCI_QUIRKS=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_FUNCTION_TRACER=y

Offline

#4 2024-04-18 17:11:32

loqs
Member
Registered: 2014-03-06
Posts: 18,917

Re: Can't install vendor-reset DKMS module

bababoey wrote:

where can i enable these?

CONFIG_FTRACE=y
CONFIG_KPROBES=y
CONFIG_PCI_QUIRKS=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_FUNCTION_TRACER=y

They are enabled in the linux 6.8.7.arch1-1.

Offline

#5 2024-04-18 17:16:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: Can't install vendor-reset DKMS module

By recompiling the kernel. If you want to know whether your current kernel has these grep through /proc/config.gz

Offline

#6 2024-04-18 17:35:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can't install vendor-reset DKMS module

bababoey wrote:

thanks for the reply. you're right, both vendor-reset-git and vendor-reset-dkms-git (one i used) are outdated (last update was 2020). i was able to install it manually by cloning the repo and using dkms install.

These are -git package, they are updated to the latest version every time you build them. When the PKGBUILD was last updated in the AUR is meaningless.

Offline

Board footer

Powered by FluxBB