You are not logged in.

#1 2020-08-15 11:08:39

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Update to Kernel 5.8.1 and I don't have internet anymore

I use a wireless connection using a USB dongle. it worked fine until the update to kernel 5.8.1

To get it working I had installed 8192eu-dkms, and during the kernel update there was some error:

[2020-08-15T10:58:58+0100] [ALPM] running '70-dkms-install.hook'...
[2020-08-15T10:58:58+0100] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m 8192eu -v 86.83b5aff -k 5.8.1-arch1-1
[2020-08-15T10:59:00+0100] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.8.1-arch1-1 (x86_64)
[2020-08-15T10:59:00+0100] [ALPM-SCRIPTLET] Consult /var/lib/dkms/8192eu/86.83b5aff/build/make.log for more information.
[2020-08-15T10:59:00+0100] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m 8192eu -v 86.83b5aff -k 5.8.1-arch1-1' returned 10
[2020-08-15T10:59:00+0100] [ALPM-SCRIPTLET] ==> depmod 5.8.1-arch1-1
[2020-08-15T10:59:06+0100] [ALPM] running '90-mkinitcpio-install.hook'...

I tried to uninstall 8192eu-dkms and re-install kernel. This way there were no errors but no internet on reboot.

If I downgrade to 5.7.9 I have internet, but then my Xs are not working and the system doesnt boot into gnome.

Checking the make.log file in dkms, it says something about redefinition of struct sha256_state... but no idea:

cat make.log 
DKMS make.log for 8192eu-86.83b5aff for kernel 5.8.1-arch1-1 (x86_64)
Sat 15 Aug 10:58:58 BST 2020
/bin/sh: bc: command not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.1-arch1-1/build M=/var/lib/dkms/8192eu/86.83b5aff/build  modules
make[1]: Entering directory '/usr/lib/modules/5.8.1-arch1-1/build'
/bin/sh: bc: command not found
  CC [M]  /var/lib/dkms/8192eu/86.83b5aff/build/core/rtw_cmd.o
In file included from /var/lib/dkms/8192eu/86.83b5aff/build/include/drv_types.h:79,
                 from /var/lib/dkms/8192eu/86.83b5aff/build/core/rtw_cmd.c:17:
/var/lib/dkms/8192eu/86.83b5aff/build/include/rtw_security.h:255:8: error: redefinition of ‘struct sha256_state’
  255 | struct sha256_state {
      |        ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:23,
                 from ./include/net/sock.h:59,
                 from ./include/linux/tcp.h:19,
                 from ./include/linux/ipv6.h:88,
                 from ./include/net/addrconf.h:50,
                 from /var/lib/dkms/8192eu/86.83b5aff/build/include/osdep_service_linux.h:48,
                 from /var/lib/dkms/8192eu/86.83b5aff/build/include/osdep_service.h:50,
                 from /var/lib/dkms/8192eu/86.83b5aff/build/include/drv_types.h:27,
                 from /var/lib/dkms/8192eu/86.83b5aff/build/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
   84 | struct sha256_state {
      |        ^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/8192eu/86.83b5aff/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1756: /var/lib/dkms/8192eu/86.83b5aff/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.8.1-arch1-1/build'
make: *** [Makefile:2298: modules] Error 2

Last edited by joanmanel (2020-08-15 11:14:40)

Offline

#2 2020-08-15 11:13:49

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: Update to Kernel 5.8.1 and I don't have internet anymore

joanmanel wrote:

Checking the make.log file in dkms, it says something about redefinition of struct sha256_state... but no idea

https://bbs.archlinux.org/viewtopic.php?id=57855
Please post the contents of make.log

Offline

#3 2020-08-15 11:15:03

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Re: Update to Kernel 5.8.1 and I don't have internet anymore

loqs wrote:
joanmanel wrote:

Checking the make.log file in dkms, it says something about redefinition of struct sha256_state... but no idea

https://bbs.archlinux.org/viewtopic.php?id=57855
Please post the contents of make.log


done in the original post

Offline

#4 2020-08-15 11:19:09

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: Update to Kernel 5.8.1 and I don't have internet anymore

Rebuild 8192eu-dkms so it updates from the upstream git to 925ac2b.

Last edited by loqs (2020-08-15 11:19:41)

Offline

Board footer

Powered by FluxBB