This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
управление_ядром_и_модулями_в_linux [2018/02/08 13:01] val [Сборка ядра в Gentoo] |
управление_ядром_и_модулями_в_linux [2022/12/13 14:38] val [Модули ядра] |
||
---|---|---|---|
Line 13: | Line 13: | ||
$ lsmod | $ lsmod | ||
+ | |||
+ | # modinfo e1000 | ||
# modprobe ip_gre | # modprobe ip_gre | ||
Line 25: | Line 27: | ||
</code> | </code> | ||
+ | ===== Сообщения ядра ===== | ||
+ | <code> | ||
+ | $ dmesg -T | ||
+ | </code> | ||
===== Переменные ядра ===== | ===== Переменные ядра ===== | ||
+ | |||
+ | * [[https://coderoad.ru/8290046/ICMP-%D1%81%D0%BE%D0%BA%D0%B5%D1%82%D1%8B-linux|ICMP-сокеты (linux)]] | ||
+ | |||
<code> | <code> | ||
# sysctl -a | # sysctl -a | ||
Line 51: | Line 60: | ||
* [[https://wiki.gentoo.org/wiki/Kernel/Configuration/ru|Ядро/Конфигурация]] | * [[https://wiki.gentoo.org/wiki/Kernel/Configuration/ru|Ядро/Конфигурация]] | ||
+ | * [[https://www.gentoo.org/news/2017/08/19/hardened-sources-removal.html|Hardened Linux kernel sources removal]] | ||
<code> | <code> | ||
# emerge --ask hardened-sources | # emerge --ask hardened-sources | ||
# echo "=sys-kernel/hardened-sources-4.8.17-r2" >> /etc/portage/package.unmask | # echo "=sys-kernel/hardened-sources-4.8.17-r2" >> /etc/portage/package.unmask | ||
# emerge --ask hardened-sources | # emerge --ask hardened-sources | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | # time emerge -av sys-kernel/gentoo-sources | ||
+ | |||
+ | real 8m44.821s | ||
+ | user 5m37.132s | ||
+ | sys 1m56.026s | ||
/usr/src/linux # make defconfig | /usr/src/linux # make defconfig |