You are not logged in.

#1 2020-04-17 10:29:56

jimmy00784
Member
From: Austin, TX
Registered: 2012-02-10
Posts: 20
Website

[SOLVED] Dual linux kernels dmks issue due to GCC version difference

I have a Huion 1060 Plus tablet that I use on my Arch.
Due to hardware incompatibilities with newer linux kernels, both latest and lts, I need to run an older linux-lts kernel (4.19.101) in order to run the tablet.
The problem is, the latest kernel (5.6.4 at the time of writing this) is compiled with gcc 9.3.0 while linux-lts 4.19.101 was compiled with gcc 9.2.0.
This causes issues when DKMS modules are built when kernel gets installed or upgraded or when the module itself is upgraded.
The only way I can get past this is to downgrade gcc to 9.2.0 and trigger to rebuild dkms modules again for 4.19.101 kernel after the module fails to build first.
The tablet requires digimend-kernel-drivers-dkms-git package from aur.
Is there a better way to approach this?

Issue on Github: Huion 1060P not working since update to Eoan / kernel 5.3 #330

Updated: linux-lts419 resolves the issue for the time being. Hopefully, a newer kernel will fix the underlying issue.

Last edited by jimmy00784 (2020-04-29 14:41:37)


Linux karim-inspiron 4.19.118-1-lts419 #1 SMP Sun, 26 Apr 2020 04:14:24 +0000 x86_64 GNU/Linux

Offline

#2 2020-04-17 10:38:33

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

Re: [SOLVED] Dual linux kernels dmks issue due to GCC version difference

Yes the better way would be to build the kernel with the new GCC and use a generally more up to date version like: https://aur.archlinux.org/packages/linux-lts419

Not sure whether there's a repo with binary packages for that around though.  On a first guess I would've hoped for archlinuxcn, but that only includes 4.14: https://github.com/archlinuxcn/repo/tre … nux-lts414

Offline

#3 2020-04-17 17:28:31

jimmy00784
Member
From: Austin, TX
Registered: 2012-02-10
Posts: 20
Website

Re: [SOLVED] Dual linux kernels dmks issue due to GCC version difference

V1del wrote:

Yes the better way would be to build the kernel with the new GCC and use a generally more up to date version like: https://aur.archlinux.org/packages/linux-lts419

Not sure whether there's a repo with binary packages for that around though.  On a first guess I would've hoped for archlinuxcn, but that only includes 4.14: https://github.com/archlinuxcn/repo/tre … nux-lts414

Thanks. I'll try linux-lts419.


Linux karim-inspiron 4.19.118-1-lts419 #1 SMP Sun, 26 Apr 2020 04:14:24 +0000 x86_64 GNU/Linux

Offline

#4 2020-04-17 18:45:13

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] Dual linux kernels dmks issue due to GCC version difference

V1del wrote:

Not sure whether there's a repo with binary packages for that around though.

There is only the realtime version and a somewhat older one by seblu with a recent build date.

...
dvzrv.db: linux-rt-lts-4.19.115.48-1/ (2020-04-17)
...
markzz.db: linux-vfio-lts-4.19.20-1/ (built: 2019-02-08)
...
me176c.db: linux-me176c-4.19.80-1/ (built: 2019-10-22)
...
seblu.db: linux-4.19.99-seblu-4.19.99-3/ (built: 2020-01-28)
...

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2020-04-29 14:40:25

jimmy00784
Member
From: Austin, TX
Registered: 2012-02-10
Posts: 20
Website

Re: [SOLVED] Dual linux kernels dmks issue due to GCC version difference

V1del wrote:

Yes the better way would be to build the kernel with the new GCC and use a generally more up to date version like: https://aur.archlinux.org/packages/linux-lts419

Not sure whether there's a repo with binary packages for that around though.  On a first guess I would've hoped for archlinuxcn, but that only includes 4.14: https://github.com/archlinuxcn/repo/tre … nux-lts414

linux-lts419 resolves the issue. Thanks for the suggestion.


Linux karim-inspiron 4.19.118-1-lts419 #1 SMP Sun, 26 Apr 2020 04:14:24 +0000 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB