Errors on trying to install linux58

When I try to install the latest kernel, I get two errors:

  1. The DKMS modules fail to build

  2. There is apparent missing firmware on building the initramfs.

Below are the relevant bits of the output:

sudo mhwd-kernel -i linux58
.
.
.
Packages (3) linux58-5.8.1-3  linux58-headers-5.8.1-3  linux58-virtualbox-host-modules-6.1.12-5

Total Installed Size:  197.37 MiB

.
.
.
(3/5) Install DKMS modules
==> dkms install --no-depmod -m vboxhost -v 6.1.12_OSE -k 5.8.1-3-MANJARO
Error! Bad return status for module build on kernel: 5.8.1-3-MANJARO (x86_64)
Consult /var/lib/dkms/vboxhost/6.1.12_OSE/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m vboxhost -v 6.1.12_OSE -k 5.8.1-3-MANJARO' returned 10
==> depmod 5.8.1-3-MANJARO
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'default'
  -> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64.img
==> Starting build: 5.8.1-3-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.8-x86_64.img
==> Image generation successful

The same firmware message occurs for the fallback image as well.

CPU information (6 cores only the first included here)

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 10
model name      : AMD Phenom(tm) II X6 1055T Processor
stepping        : 0
microcode       : 0x10000dc
cpu MHz         : 1185.551
cache size      : 512 KB
physical id     : 0
siblings        : 6
core id         : 0
cpu cores       : 6
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilter
bugs            : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2
bogomips        : 5627.01
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate cpb

Try to install it via pacman:

sudo pacman -Syu linux58 linux58-headers linux58-virtualbox-host-modules

Exactly the same result.

And: un-install virtualbox, install kernel, sudo update-grub, reboot, install virtualbox + modules?

Consult /var/lib/dkms/vboxhost/6.1.12_OSE/build/make.log for more information.

this is not for fun only...

Hello,

Where you using Manjaro settings/ Kernel to install?

No, just the command line mhwd-kernel

Here are the messages:

sudo dkms install --no-depmod -m vboxhost -v 6.1.12_OSE -k 5.8.6-1-MANJARO

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j6 KERNELRELEASE=5.8.6-1-MANJARO -C /usr/lib/modules/5.8.6-1-MANJARO/build M=/var/lib/dkms/vboxhost/6.1.12_OSE/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.6-1-MANJARO (x86_64)
Consult /var/lib/dkms/vboxhost/6.1.12_OSE/build/make.log for more information.

$ cat /var/lib/dkms/vboxhost/6.1.12_OSE/build/make.log
DKMS make.log for vboxhost-6.1.12_OSE for kernel 5.8.6-1-MANJARO (x86_64)
Wed  9 Sep 07:24:49 BST 2020
make: Entering directory '/usr/lib/modules/5.8.6-1-MANJARO/build'
  AR      /var/lib/dkms/vboxhost/6.1.12_OSE/build/built-in.a
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/SUPDrv.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetflt/SUPR0IdcClient.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetflt/VBoxNetFlt.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetflt/SUPR0IdcClientComponent.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetflt/linux/SUPR0IdcClient-linux.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetadp/VBoxNetAdp.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/SUPDrvGip.o
  CC [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/SUPDrvSem.o
In file included from ./include/asm-generic/percpu.h:7,
                 from ./arch/x86/include/asm/percpu.h:556,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/../SUPDrvInternal.h:79,
                 from /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.c:32:
/var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘supdrvOSChangeCR4’:
/var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.c:760:38: error: ‘cpu_tlbstate’ undeclared (first use in this function); did you mean ‘cpuhp_state’?
  760 |     RTCCUINTREG uOld = this_cpu_read(cpu_tlbstate.cr4);
      |                                      ^~~~~~~~~~~~
./include/linux/percpu-defs.h:318:9: note: in definition of macro ‘__pcpu_size_call_return’
  318 |  typeof(variable) pscr_ret__;     \
      |         ^~~~~~~~
/var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.c:760:24: note: in expansion of macro ‘this_cpu_read’
  760 |     RTCCUINTREG uOld = this_cpu_read(cpu_tlbstate.cr4);
      |                        ^~~~~~~~~~~~~
/var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.c:760:38: note: each undeclared identifier is reported only once for each function it appears in
  760 |     RTCCUINTREG uOld = this_cpu_read(cpu_tlbstate.cr4);
      |                                      ^~~~~~~~~~~~
./include/linux/percpu-defs.h:318:9: note: in definition of macro ‘__pcpu_size_call_return’
  318 |  typeof(variable) pscr_ret__;     \
      |         ^~~~~~~~
/var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.c:760:24: note: in expansion of macro ‘this_cpu_read’
  760 |     RTCCUINTREG uOld = this_cpu_read(cpu_tlbstate.cr4);
      |                        ^~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  LD [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetadp/vboxnetadp.o
  LD [M]  /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxnetflt/vboxnetflt.o
make[1]: *** [scripts/Makefile.build:497: /var/lib/dkms/vboxhost/6.1.12_OSE/build/vboxdrv] Error 2
make: *** [Makefile:1756: /var/lib/dkms/vboxhost/6.1.12_OSE/build] Error 2
make: Leaving directory '/usr/lib/modules/5.8.6-1-MANJARO/build'

I’m thinking it’s related to https://www.virtualbox.org/ticket/19644

The problem looks to be fixed with today’s update.

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