Manjaro 20.08 latest update breaks wifi in Pinebook OG

It seems latest stable update breaks wifi… The wifi module cannot be loaded (Exec format error) and it seems the kernel was compiled with gcc 9 (cat /proc/version) and the update included gcc 10… which means the kernel module is compiled with it (as it is a dkms module) and it is incompatible.

There is a post in this same ARM category (Unable to find any wifi connections) that was closed because of hardware issue but it seems there is an issue with the compiler instead (I cannot include links since I’ve just created my account in the new forum)

Can you try to recompile the kernel with the same gcc version provided by the repos?


Yes you can:


P.S. Most of the ARM team is :zzz: by now. Please allow for a few hours for them to wake up.
P.P.S. :bed: :zzz: :wave:

Temporarily see if the older dkms package exists in /var/cache/pacman/pkg/ and reinstall it.

What kernel would that be.
Pretty sure our linux kernel in stable is built using gcc 10.

The link issue with the forum seems to be a spam protection for users with little number of posts, no worries.

The issue is not related with the dkms package, at the end of the day it only includes the source code AFAIK, the issue is the mismatch between gcc versions (kernel vs module):

$ ls -l /var/cache/pacman/pkg/* | grep gcc
.rw-r--r--   31M root 24 Aug 15:57  /var/cache/pacman/pkg/gcc-10.2.0-1-aarch64.pkg.tar.xz
.rw-r--r--   29M root 24 Aug 15:58  /var/cache/pacman/pkg/gcc-libs-10.2.0-1-aarch64.pkg.tar.xz

$ pamac info linux
Name                 : linux
Version              : 5.8.3-2
Description          : The Linux Kernel and modules - AArch64 multi-platform
URL                  :
Licenses             : GPL2
Repository           : core
Installed Size       : 138.5 MB
Depends On           : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Dependencies: crda: to set the correct wireless channels of your country
Required By          : dkms-rtl8723cs
Optional For         : base
Provides             : kernel26 linux=5.8.3
Replaces             : linux-armv8 linux-aarch64
Packager             : Dan Johansen <>
Build Date           : 08/22/2020
Install Date         : 08/31/2020
Install Reason       : Installed as a dependency for another package
Backup files         : /etc/mkinitcpio.d/linux.preset

$ pamac info dkms-rtl8723cs
Name                 : dkms-rtl8723cs
Version              : 2020.06.16-1
Description          : Linux driver for Realtek RTL8723CS chip
URL                  :
Licenses             : GPL
Repository           : community
Installed Size       : 10.8 MB
Depends On           : linux>4.14 dkms linux-headers>4.14
Packager             : Dan Johansen <>
Build Date           : 06/15/2020
Install Date         : 07/16/2020
Install Reason       : Explicitly installed
$ cat /proc/version 
Linux version 5.8.3-2-MANJARO-ARM (gitlab-runner@on2-runner) (gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34) #1 SMP Sat Aug 22 21:00:07 CEST 2020

$ gcc -v
Using built-in specs.
Target: aarch64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --enable-languages=c,c++,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-multilib --disable-werror --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --with-arch=armv8-a --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC)

You haven’t updated the kernel. Stable branch is on 5.8.6.

Please update the kernel and try again.

1 Like

You are right, updated and now it works… but it seems around 31 August, the gcc version and kernel version where those that I had:

grep -E 'upgraded gcc|upgraded linux' /var/log/pacman.log 
[2020-08-14T09:43:06+0200] [ALPM] upgraded linux-firmware (20200519.8ba6fa6-1 -> 20200721.2b823fc-1)
[2020-08-31T10:44:12+0200] [ALPM] upgraded linux-api-headers (5.6.11-1 -> 5.7-1)
[2020-08-31T10:45:00+0200] [ALPM] upgraded gcc-libs (9.3.0-1 -> 10.2.0-1)
[2020-08-31T10:45:57+0200] [ALPM] upgraded gcc (9.3.0-1 -> 10.2.0-1)
[2020-08-31T10:47:26+0200] [ALPM] upgraded linux-firmware (20200721.2b823fc-1 -> 20200817.7a30af1-1)
[2020-08-31T10:47:48+0200] [ALPM] upgraded linux (5.8.1-1 -> 5.8.3-2)
[2020-08-31T10:48:11+0200] [ALPM] upgraded linux-headers (5.8.1-1 -> 5.8.3-2)
[2020-09-13T19:11:36+0200] [ALPM] upgraded linux-api-headers (5.7-1 -> 5.8-1)
[2020-09-13T19:13:50+0200] [ALPM] upgraded linux (5.8.3-2 -> 5.8.6-1)
[2020-09-13T19:14:16+0200] [ALPM] upgraded linux-headers (5.8.3-2 -> 5.8.6-1)

Yeah, there might have been a small overlap there.

(I was told that kernel rebuilds would not be needed), but guess I was told wrong)

1 Like

In any case, it is fixed. Thanks!

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