Added the entry of debian for unloading compressed kernel modules - #85
Merged
Shashank Arora (shasaror) merged 5 commits intoAug 7, 2026
Conversation
Signed-off-by: Tejas Sharma <tejashar@qti.qualcomm.com>
…ed by depmod Signed-off-by: Tejas Sharma <tejashar@qti.qualcomm.com>
Tejas Sharma (tejas-sharma27)
requested review from
hangzqcom and
Shashank Arora (shasaror)
and removed request for
Shashank Arora (shasaror)
July 24, 2026 10:19
hangzqcom
reviewed
Jul 25, 2026
…ation Signed-off-by: Tejas Sharma <tejashar@qti.qualcomm.com>
Signed-off-by: Tejas Sharma <tejashar@qti.qualcomm.com>
…mpressed file as well Signed-off-by: Tejas Sharma <tejashar@qti.qualcomm.com>
Tejas Sharma (tejas-sharma27)
requested review from
hangzqcom and
Shashank Arora (shasaror)
July 30, 2026 04:56
Shashank Arora (shasaror)
approved these changes
Aug 3, 2026
Shashank Arora (shasaror)
approved these changes
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Debian 13 ARM64 – Dependency Module Loading Failures During QUD Driver Installation
Problem
On Debian 13 ARM64,
qcom_drivers.sh installfailed to loadqcom_usb.koandqcom_usbnet.kodue to two root causes:Compressed kernel modules not handled — Debian 13 ships kernel modules compressed
as
.ko.xzor.ko.zst. Theusbserial,mii, andusbnetloading blocks onlyperformed decompression for RHEL/Fedora (and
mii/usbnetpartially for Ubuntu 24.04).Debian fell into the bare
insmodelsebranch, which silently failed on compressedfiles, leaving the dependencies unloaded before the QUD modules were inserted.
No boot persistence for dependency modules — The script registered only the QUD
modules (
qtiDevInf,qcom_usb,qcom_usbnet) in/etc/modulesfor autoload, butnot their dependencies. After a reboot,
usbserial,mii, andusbnetwere absent,causing the QUD modules to fail to load automatically.
After fix
qcom_drivers.sh installcompletes without errorsqtiDevInf,qcom_usb,qcom_usbnet) are loaded and confirmed vialsmod/etc/modules-load.d/qcom-qud.confis written correctly, dependencies persist across reboots without manual intervention