Created
August 29, 2022 00:05
-
-
Save asimzeeshan/c8a320ac4fbd64d4448eae52b3fe2aa4 to your computer and use it in GitHub Desktop.
Kernel tainted, find modules responsible for it
This file contains 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
# more help? https://docs.kernel.org/admin-guide/tainted-kernels.html | |
#!/bin/bash | |
cat /proc/modules | | |
while read module rest | |
do | |
if [[ $(od -A n /sys/module/$module/taint) != " 000012" ]] ; then | |
echo $module | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment