[kernel-bugs] [Bug 1177250] New: kernel: 8812au: disagrees about version of symbol module_layout
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250 Bug ID: 1177250 Summary: kernel: 8812au: disagrees about version of symbol module_layout Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Upgrading from Leap 15.1 to Leap 15.2 the rtl8812au module was upgraded, too. However the module does not load. The kernel says: kernel: 8812au: disagrees about version of symbol module_layout Running kernel is 5.3.18-lp152.44-preempt #1 SMP PREEMPT Wed Sep 30 18:51:43 UTC 2020 (914f31e) x86_64 x86_64 x86_64 GNU/Linux Driver package is rtl8812au-kmp-preempt-5.6.4.2+git20200318.49e98ff_k5.3.18_lp152.36-lp152.2.2.1.x86_64 Driver path is /lib/modules/5.3.18-lp152.36-preempt/updates/8812au.ko Module info: Name : rtl8812au-kmp-preempt Version : 5.6.4.2+git20200318.49e98ff_k5.3.18_lp152.36 Release : lp152.2.2.1 Architecture: x86_64 Install Date: Sa 03 Okt 2020 00:50:10 CEST Group : System/Kernel Size : 3209147 License : GPL-2.0-only Signature : RSA/SHA256, Mi 19 Aug 2020 18:39:51 CEST, Key ID b88b2fd43dbdc284 Source RPM : rtl8812au-5.6.4.2+git20200318.49e98ff-lp152.2.2.1.src.rpm Build Date : Mi 19 Aug 2020 18:39:30 CEST Build Host : lamb62 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : https://github.com/gordboy/rtl8812au-5.6.4.2 Summary : Kernel driver for Realtek 802.11ac rtl8812au wifi cards Description : Kernel driver for Realtek 802.11ac 8812au wifi cards The sources were obtained from https://github.com/gordboy/rtl8812au, which adaptes the official driver released by Realtek to build on recent kernels. The previous sources were obtained from https://github.com/diederikdehaas/rtl8812AU and https://github.com/maurossi/rtl8812au/ . Distribution: openSUSE Leap 15.2 These are the drivers I had so far: # find /lib/modules/ -name '*8812*' /lib/modules/5.3.18-lp152.36-default/updates/8812au.ko /lib/modules/5.3.18-lp152.36-preempt/updates/8812au.ko /lib/modules/4.4.155-68-default/kernel/drivers/net/wireless/8812au.ko /lib/modules/5.3.18-lp152.44-default/weak-updates/updates/8812au.ko /lib/modules/4.4.87-18.29-default/updates/rtl8812au.ko /lib/modules/4.4.143-65-default/kernel/drivers/net/wireless/8812au.ko /lib/modules/4.4.159-73-default/kernel/drivers/net/wireless/8812au.ko This driver also does not work: # insmod /lib/modules/5.3.18-lp152.44-default/weak-updates/updates/8812au.ko insmod: ERROR: could not insert module /lib/modules/5.3.18-lp152.44-default/weak-updates/updates/8812au.ko: Invalid module format -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c1
--- Comment #1 from Ulrich Windl
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c2
Stephan Hemeier
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c3
Takashi Iwai
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c4
--- Comment #4 from Ulrich Windl
rtl8812AU_8821AU-kmp-default-20170613_k4.4.87_18.29-3.3.x86_64
I think, this is a package from my Repo?
How can I find out from which repository the package was installed from?
But for Leap 15.0 or 42.3?
How can I find out for which distribution and version the package was built for?
So delete all packages and install the once from openSUSE new.
The package with shown RPM info had been freshly installed during upgrade. ...
Disable secure boot in Bios/UEFI.
I did not boot via UEFI. (In reply to Takashi Iwai from comment #3)
As Stephan suggested, please try to remove all existing 8812au-kmp packages once, and install the latest one. Otherwise it can be too messy, the symbol version mismatch might come from the attempt with the very old KMP.
Can you confirm that there exists a package matching the current Leap 15.2 preempt kernel? If so what's the URL?
What's new on Leap 15.2 is that you can't load the "unofficial" module in Secure Boot mode. The insmod error may show that, and if that's the case, you can see the relevant error message in kernel log.
That shouldn't apply here. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c5
--- Comment #5 from Takashi Iwai
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c6
--- Comment #6 from Ulrich Windl
And then you can check the package description (rpm -qi rtl8812AU_8821AU-kmp-$FLAVOR-$VERSION-$RELEASE) about which repository it was built, too.
Sorry I don't get it: Which field indicates the repository? Standard fields shown are: Architecture, Build Date, Build Host, Description, Distribution, Group, Install Date, License, Name, Packager, Release, Relocations, Signature, Size, Source RPM, Summary, URL, Vendor, Version -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c7
--- Comment #7 from Takashi Iwai
(In reply to Takashi Iwai from comment #5)
And then you can check the package description (rpm -qi rtl8812AU_8821AU-kmp-$FLAVOR-$VERSION-$RELEASE) about which repository it was built, too.
Sorry I don't get it: Which field indicates the repository? Standard fields shown are: Architecture, Build Date, Build Host, Description, Distribution, Group, Install Date, License, Name, Packager, Release, Relocations, Signature, Size, Source RPM, Summary, URL, Vendor, Version
The package "Description" text contains a line showing "Distribution", and this may point to an OBS project unless it's an official distro package. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c8
--- Comment #8 from Ulrich Windl
The package "Description" text contains a line showing "Distribution", and this may point to an OBS project unless it's an official distro package.
Sorry to correct you: "Distribution" (as listed) is a field of its own, not a part of "Description". And the value of "Distribution" is something like "openSUSE Leap 15.2" (not a repository name in a stricter sense) -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c9
--- Comment #9 from Ulrich Windl
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c10
--- Comment #10 from Ulrich Windl
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c11
--- Comment #11 from Stephan Hemeier
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c12
--- Comment #12 from Stephan Hemeier
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c13
--- Comment #13 from Ulrich Windl
Why do you install the default-kmp besides the preemt-kmp?
Two reasons: 1) Because both kernels are installed on the system. Don't ask me why. I don't know. 2) When starting "yast sw_single" to select the packages to install, I found that those two packages were selected for install automatically, so I installed them. (In reply to Stephan Hemeier from comment #12)
I do not know, why the preempt-kmp is on Release 36 and not on Release 44 as the kernel.
My guess is that the drive module has to be rebuilt for the newer kernel if the API changed. The kernel message seems to indicate that. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250
http://bugzilla.opensuse.org/show_bug.cgi?id=1177250#c14
Takashi Iwai
participants (1)
-
bugzilla_noreply@suse.com