tech:notes_module_kernel_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_module_kernel_linux [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:notes_module_kernel_linux [2026/01/20 16:43] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| {{tag> | {{tag> | ||
| - | = Notes module kernel Linux | + | # Notes module kernel Linux |
| - | == How do I list loaded Linux module parameter values? | + | ## How do I list loaded Linux module parameter values? |
| Source : http:// | Source : http:// | ||
| - | < | + | ~~~bash |
| cat / | cat / | ||
| echo " | echo " | ||
| Ligne 18: | Ligne 19: | ||
| echo; \ | echo; \ | ||
| done | done | ||
| - | </ | + | ~~~ |
| - | == Systemd | ||
| - | < | + | ## Systemd |
| + | |||
| + | ~~~bash | ||
| systemctl status systemd-modules-load.service | systemctl status systemd-modules-load.service | ||
| - | </ | + | ~~~ |
| - | == Module Linux bootparam | + | ## Module Linux bootparam |
| Passer un argument à un module depuis le boot | Passer un argument à un module depuis le boot | ||
| - | < | + | ~~~bash |
| nouveau.disable=yes | nouveau.disable=yes | ||
| - | </ | + | ~~~ |
| - | == insmod - compatibility with the current running kernel - ignored " | ||
| - | < | + | |
| + | ## insmod - compatibility with the current running kernel - ignored " | ||
| + | |||
| + | ~~~bash | ||
| modprobe --force-vermagic | modprobe --force-vermagic | ||
| - | </ | + | ~~~ |
| - | == Blacklister un module | + | ## Blacklister un module |
| - | < | + | ~~~bash |
| module_blacklist=modname1, | module_blacklist=modname1, | ||
| - | </ | + | ~~~ |
| - | < | + | ~~~bash |
| # | # | ||
| modprobe.blacklist=ahci | modprobe.blacklist=ahci | ||
| - | </ | + | ~~~ |
| - | < | + | ~~~bash |
| modprobe -r module_name | modprobe -r module_name | ||
| cat >/ | cat >/ | ||
| Ligne 57: | Ligne 63: | ||
| install module_name /bin/false | install module_name /bin/false | ||
| EOF | EOF | ||
| - | </ | + | ~~~ |
| - | == hwdetect - Unused modules | + | ## hwdetect - Unused modules |
| Source : https:// | Source : https:// | ||
| - | < | + | ~~~bash |
| #!/bin/bash | #!/bin/bash | ||
| modules=($(awk ' | modules=($(awk ' | ||
| Ligne 73: | Ligne 79: | ||
| fi | fi | ||
| done | done | ||
| - | </ | + | ~~~ |
| - | === Pb | + | |
| + | ## Pb | ||
| fsck erreur end_request: | fsck erreur end_request: | ||
| - | <code -> | + | ~~~ |
| end_request: | end_request: | ||
| - | </ | + | ~~~ |
| source : https:// | source : https:// | ||
| - | < | + | ~~~bash |
| sudo rmmod floppy | sudo rmmod floppy | ||
| echo " | echo " | ||
| sudo dpkg-reconfigure initramfs-tools | sudo dpkg-reconfigure initramfs-tools | ||
| - | </ | + | ~~~ |
| - | Autres | + | |
| - | < | + | ## Autres |
| + | |||
| + | ~~~bash | ||
| depmod -n | grep nouveau | egrep -v ' | depmod -n | grep nouveau | egrep -v ' | ||
| - | </code> | + | ~~~ |
| + | |||
| + | In distributions where systemd is available, systemd-modules-load.service loads kernel modules from static lists in these files: | ||
| + | |||
| + | * /etc/ | ||
| + | * / | ||
| + | * / | ||
| + | |||
| + | |||
| + | |||
| + | Iptables | ||
| + | |||
| + | ~~~bash | ||
| + | sudo tee / | ||
| + | ip6_tables | ||
| + | ip6table_nat | ||
| + | ip_tables | ||
| + | iptable_nat | ||
| + | EOF | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | sudo systemctl restart systemd-modules-load.service | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | lsmod | grep " | ||
| + | ~~~ | ||
tech/notes_module_kernel_linux.1742825205.txt.gz · Dernière modification : de 127.0.0.1
