Zenpower, i87 and vboxhost drivers not running in kernel 5.12 when installing kernel from Manjaro Tool

I tried to install kernel 5.12 in my manjaro KDE testing branch.

The following drivers fail to compile: zenpower, i87, vboxhost

in 5.11 they install without problems

Install DKMS modules
==> dkms install --no-depmod -m zenpower -v 0.1.12 -k 5.11.18-1-MANJARO
==> dkms install --no-depmod -m it87 -v 154.b159857 -k 5.11.18-1-MANJARO
==> dkms install --no-depmod -m vboxhost -v 6.1.22_OSE -k 5.11.18-1-MANJARO

However while trying to install 5.12

(3/6) Install DKMS modules
==> dkms install --no-depmod -m it87 -v 154.b159857 -k 5.12.1-2-MANJARO
Error! Bad return status for module build on kernel: 5.12.1-2-MANJARO (x86_64)
Consult /var/lib/dkms/it87/154.b159857/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m it87 -v 154.b159857 -k 5.12.1-2-MANJARO' returned 10
==> dkms install --no-depmod -m zenpower -v 0.1.12 -k 5.12.1-2-MANJARO
Error! Bad return status for module build on kernel: 5.12.1-2-MANJARO (x86_64)
Consult /var/lib/dkms/zenpower/0.1.12/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m zenpower -v 0.1.12 -k 5.12.1-2-MANJARO' returned 10
==> dkms install --no-depmod -m vboxhost -v 6.1.22_OSE -k 5.12.1-2-MANJARO
Error! Bad return status for module build on kernel: 5.12.1-2-MANJARO (x86_64)
Consult /var/lib/dkms/vboxhost/6.1.22_OSE/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m vboxhost -v 6.1.22_OSE -k 5.12.1-2-MANJARO' returned 10
==> depmod 5.12.1-2-MANJARO

The error log for zenpower is

DKMS make.log for zenpower-0.1.12 for kernel 5.12.1-2-MANJARO (x86_64)
Mon May  3 15:46:44 CEST 2021
make: uname: No such file or directory
make: make: No such file or directory
make: *** [Makefile:27: modules] Error 127

the other logs show the same

CPU: AMD RYZEN 2700X
MOBO: Gigabyte AORUS B450

You have the kernel headers?

Those shall be installed by the kernel installation module itself. I can see they are installed in the process.

If you’re sure of that then, OK.

I know I am in testing and in a rolling release, so it is OK to have issues. I also want to provide my test results, so I try to be as cautious as possible.

So what if you install the kernel headers for all your kernels now? before installing DKMS packages?

I am installing the kernel directly from manjaro tool.

The following packages will be installed:
linux512
linux512-headers
linux512-acpi_call

Starting
resolving dependencies...
looking for conflicting packages...
Packages (3) linux512-5.12.1-2  linux512-acpi_call-1.1.0-4  linux512-headers-5.12.1-2
Total Installed Size:  200.98 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing linux512...
Optional dependencies for linux512
    crda: to set the correct wireless channels of your country [installed]
installing linux512-headers...
installing linux512-acpi_call...
> Updating module dependencies...
:: Running post-transaction hooks...
(1/6) Arming ConditionNeedsUpdate...
(2/6) Updating module dependencies...

OK so now you’re sure you have the kernel headers? Because zenpower builds on my side on 5.12.

I will try with pacman instead to see, one package at a time

You can’t with pacman, these are AUR packages.

But they are already installed and running in 5.11. What is failing is the 5.12 integration

Remove and reinstall, from Pamac.

It works if I install the headers alone first

[alex@alex-b450aoruselite ~]$ pamac install linux512-headers
Preparing...
Sincronización de bases de datos de paquetes...
Actualizando archlinuxcn.db...                                                                                                                                                                                                              
Warning: hunter: local (1.3.5-2) is newer than archlinuxcn (1.3.4-4)                                                                                                                                                                        
Resolving dependencies...
Checking inter-conflicts...

To install (1):
  linux512-headers  5.12.1-2    core  

Total installed size: 50,8 MB

Apply transaction ? [y/N] y
Comprobando llavero...                                                                                                                                                                                                                 [1/1]
Comprobando integridad...                                                                                                                                                                                                              [1/1]
Cargando archivos de los paquetes...                                                                                                                                                                                                   [1/1]
Comprobando conflictos entre archivos...                                                                                                                                                                                               [1/1]
Comprobando espacio disponible en disco...                                                                                                                                                                                             [1/1]
Instalando linux512-headers (5.12.1-2)...                                                                                                                                                                                              [1/1]
Ejecutando hooks de post-transacción...
Arming ConditionNeedsUpdate...                                                                                                                                                                                                         [1/3]
Updating module dependencies...                                                                                                                                                                                                        [2/3]
Install DKMS modules                                                                                                                                                                                                                   [3/3]
==> Unable to install module it87/154.b159857 for kernel 5.12.1-2-MANJARO: Missing kernel modules tree.
==> Unable to install module amdgpu-4.0/23 for kernel 5.12.1-2-MANJARO: Missing kernel modules tree.
==> Unable to install module zenpower/0.1.12 for kernel 5.12.1-2-MANJARO: Missing kernel modules tree.
==> Unable to install module vboxhost/6.1.22_OSE for kernel 5.12.1-2-MANJARO: Missing kernel modules tree.
Transaction successfully finished.

And then do the normal process

[alex@alex-b450aoruselite ~]$ pamac install linux512-acpi_call
Preparing...
Sincronización de bases de datos de paquetes...
Actualizando archlinuxcn.db...                                                                                                                                                                                                              
Warning: hunter: local (1.3.5-2) is newer than archlinuxcn (1.3.4-4)                                                                                                                                                                        
Warning: linux512-headers-5.12.1-2 is up to date -- reinstalling
Resolving dependencies...
Checking inter-conflicts...

To reinstall (1):
  linux512-headers    5.12.1-2                                     core   
To install (2):
  linux512            5.12.1-2  (Required By: linux512-acpi_call)  core   
  linux512-acpi_call  1.1.0-4                                      extra  

Total installed size: 159,9 MB

Apply transaction ? [y/N] y
Comprobando llavero...                                                                                                                                                                                                                 [2/2]
Comprobando integridad...                                                                                                                                                                                                              [2/2]
Cargando archivos de los paquetes...                                                                                                                                                                                                   [2/2]
Comprobando conflictos entre archivos...                                                                                                                                                                                               [2/2]
Comprobando espacio disponible en disco...                                                                                                                                                                                             [2/2]
Instalando linux512 (5.12.1-2)...                                                                                                                                                                                                      [1/2]
Instalando linux512-acpi_call (1.1.0-4)...                                                                                                                                                                                             [2/2]
  > Updating module dependencies...
Ejecutando hooks de post-transacción...
Arming ConditionNeedsUpdate...                                                                                                                                                                                                         [1/6]
Updating module dependencies...                                                                                                                                                                                                        [2/6]
Install DKMS modules                                                                                                                                                                                                                   [3/6]
==> dkms install --no-depmod -m it87 -v 154.b159857 -k 5.12.1-2-MANJARO
==> dkms install --no-depmod -m amdgpu-4.0 -v 23 -k 5.12.1-2-MANJARO
Error! Bad return status for module build on kernel: 5.12.1-2-MANJARO (x86_64)
Consult /var/lib/dkms/amdgpu-4.0/23/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m amdgpu-4.0 -v 23 -k 5.12.1-2-MANJARO' returned 10
==> dkms install --no-depmod -m zenpower -v 0.1.12 -k 5.12.1-2-MANJARO
==> dkms install --no-depmod -m vboxhost -v 6.1.22_OSE -k 5.12.1-2-MANJARO
==> depmod 5.12.1-2-MANJARO
Updating linux initcpios...                                                                                                                                                                                                            [4/6]
==> Building image from preset: /etc/mkinitcpio.d/linux512.preset: 'default'
  -> -k /boot/vmlinuz-5.12-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.12-x86_64.img
==> Starting build: 5.12.1-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.12-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux512.preset: 'fallback'
  -> -k /boot/vmlinuz-5.12-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.12-x86_64-fallback.img -S autodetect
==> Starting build: 5.12.1-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.12-x86_64-fallback.img
==> Image generation successful
Updating Kernel initcpios for Nvidia-DRM...                                                                                                                                                                                            [5/6]
Updating Grub-Bootmenu                                                                                                                                                                                                                 [6/6]
Generando un fichero de configuración de grub...
Encontrado tema: /usr/share/grub/themes/manjaro/theme.txt
Encontrada imagen de linux: /boot/vmlinuz-5.12-x86_64
Encontrada imagen de memoria inicial: /boot/amd-ucode.img /boot/initramfs-5.12-x86_64.img
Found initrd fallback image: /boot/initramfs-5.12-x86_64-fallback.img
Encontrada imagen de linux: /boot/vmlinuz-5.11-x86_64
Encontrada imagen de memoria inicial: /boot/amd-ucode.img /boot/initramfs-5.11-x86_64.img
Found initrd fallback image: /boot/initramfs-5.11-x86_64-fallback.img
Aviso: os-prober will be executed to detect other bootable partitions.
It's output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: aviso: tipo de dispositivo nvme0n1 desconocido.
hecho
Transaction successfully finished.

So there is something wrong with the manjaro kernel tool.

OK, up and running, thanks @omano for the guidance

[alex@alex-b450aoruselite ~]$ uname -a
Linux alex-b450aoruselite 5.12.1-2-MANJARO #1 SMP PREEMPT Sun May 2 13:56:40 UTC 2021 x86_64 GNU/Linux
[alex@alex-b450aoruselite ~]$ sensors
it8792-isa-0a60
Adapter: ISA adapter
in0:           1.78 V  (min =  +0.00 V, max =  +2.78 V)
in1:           1.35 V  (min =  +0.00 V, max =  +2.78 V)
in2:           1.24 V  (min =  +0.00 V, max =  +2.78 V)
+3.3V:         3.36 V  (min =  +0.00 V, max =  +5.56 V)
in4:           1.33 V  (min =  +0.00 V, max =  +2.78 V)
in5:           1.21 V  (min =  +0.00 V, max =  +2.78 V)
in6:           2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:          3.36 V  (min =  +0.00 V, max =  +5.56 V)
Vbat:          3.36 V  
fan1:           0 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
temp1:        +28.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +32.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

amdgpu-pci-0700
Adapter: PCI adapter
vddgfx:      950.00 mV 
fan1:        1016 RPM  (min =    0 RPM, max = 3800 RPM)
edge:         +32.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:       28.04 W  (cap = 125.00 W)

nvme-pci-0100
Adapter: PCI adapter
Composite:    +30.9°C  (low  = -273.1°C, high = +84.8°C)
                       (crit = +84.8°C)
Sensor 1:     +30.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +32.9°C  (low  = -273.1°C, high = +65261.8°C)

it8686-isa-0a40
Adapter: ISA adapter
in0:         756.00 mV (min =  +0.00 V, max =  +3.06 V)
in1:           2.03 V  (min =  +0.00 V, max =  +3.06 V)
in2:           2.04 V  (min =  +0.00 V, max =  +3.06 V)
in3:           1.99 V  (min =  +0.00 V, max =  +3.06 V)
in4:         816.00 mV (min =  +0.00 V, max =  +3.06 V)
in5:         900.00 mV (min =  +0.00 V, max =  +3.06 V)
in6:           1.22 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:          3.26 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:          3.26 V  
fan1:        1080 RPM  (min =   10 RPM)
fan2:        1083 RPM  (min =    0 RPM)
fan3:        1081 RPM  (min =    0 RPM)
fan4:        1173 RPM  (min =    0 RPM)
temp1:        +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +35.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +24.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = AMD AMDSI
temp4:        +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp5:        +32.0°C  (low  =  +0.0°C, high = -114.0°C)  sensor = thermistor
temp6:        +35.0°C  (low  =  +0.0°C, high = -114.0°C)  sensor = thermistor
intrusion0:  ALARM

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   994.00 mV 
SVI2_SoC:    838.00 mV 
Tdie:         +29.2°C  (high = +95.0°C)
Tctl:         +39.2°C  
SVI2_P_Core:  23.19 W  
SVI2_P_SoC:    9.37 W  
SVI2_C_Core:  15.59 A  
SVI2_C_SoC:   11.18 A  

OK we’re on the same page now.

one for you :beer: and two for me :beers:

3 Likes

Just wanted to chime in that I have almost the exact same set up as @Lycan with needing those specific modules. I had to manually install linux512-headers first for the modules to properly build. Doing this through mhwd-kernel resulted in the same error as mentioned above.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.