Comments (5)
Thanks for chasing this issue down. The difference between your two kernels is that the second turned comporession on. When it did, the Makefile detected this and compressed its modules appropriately.
I also added the zstd compression when the distro has modules with the .zst suffix, which mine actually does. That explains why I was not seeing the problem.
from rtw88.
Obviously, there is a bug in your kernel. I cannot fix that.
The best I can offer is to prevent the rtw88 build from compressing the modules. In Makefile, find the line that says "#Handle the compression option for modules in 3.18+", and delete it and the following 6 lines. The last one will be "#endif".
from rtw88.
hum, it worked but it's odd since all other modules are working fine and compressed with xz too. So i dug up a bit.
I tried to check differences between modules I already have and the one build with this makefile:
Every modules use CRC32 as integrity check but xz utility by default use CRC64 as integrity check and it seems the kernel doesn't support CRC64: https://docs.kernel.org/staging/xz.html?highlight=xz#notes-on-compression-options
I don't know what change between my two kernel, if it's the DECOMPRESS options or they enforce integrity check that was not done before but it's seems to be the problem.
So I change the Makefile to force CRC32 while compressing with xz and it work perfectly.
I change a bit too, the uninstall part (even if i have not change the modprobe -r that seems to don't reflect all the chipsets modules support, as of today)
diff --git a/Makefile b/Makefile
index 852929a..8f07c2e 100644
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,7 @@ ifeq ($(COMPRESS_GZIP), y)
@gzip -f $(MODDESTDIR)/*.ko
endif
ifeq ($(COMPRESS_XZ), y)
- @xz -f $(MODDESTDIR)/*.ko
+ @xz -f -C crc32 $(MODDESTDIR)/*.ko
endif
depmod -a $(KVER)
@@ -174,7 +174,13 @@ uninstall:
@modprobe -r rtw_8723de
@modprobe -r rtw_8723de
@modprobe -r rtw_8723de
+ifeq ($(COMPRESS_GZIP), y)
+ @rm -f $(MODDESTDIR)/rtw_*.ko.gz
+else ifeq ($(COMPRESS_XZ), y)
+ @rm -f $(MODDESTDIR)/rtw_*.ko.xz
+else
@rm -f $(MODDESTDIR)/rtw_*.ko
+endif
@depmod $(DEPMOD_ARGS)
from rtw88.
Hi,
The problem was reintroduced during this merge: 37e4b3c
The merge has override some change from the Makefile. CRC 32 for xz, zstd.
from rtw88.
I think I fixed it.
from rtw88.
Related Issues (20)
- make error HOT 1
- The commits from 37391d0 to 7528d5b improved 8822cu chipset stability a lot, thank you :-) HOT 2
- rtw88_8822bu: Unknown symbol rtw8822b_hw_spec (err -22) HOT 1
- [rtw_8822ce] frequent disconnections HOT 6
- ARM kernel 4.9 make issue
- Rtw_8821cu driver loading exception. HOT 9
- Integrate this backport in kernel sources using patch before building Kernel HOT 1
- rtw88-usb: Note to developers HOT 2
- rtw_8821au: Connection breaks after a while HOT 30
- Missing entries in dkms.conf HOT 2
- Works for me
- new kernel 6.8.11 make success. but load error.
- Difference between rtw8821ce and alt_rtl8821ce HOT 3
- Firmware failed to leave lps state HOT 1
- rtw_8812au: rfe 1 isn't supported HOT 4
- Will this repo support RTL8812AU? HOT 5
- WiFi scanning not working in AP mode HOT 4
- Newb help getting monitor mode going on a RTL8812AU? HOT 1
- Issues with Realtek 8812au NIC and rtw88 Driver on Kali Linux VM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtw88.