Talk:Kernel/Configuration

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 10:52, 5 November 2024 (UTC)
:: Your reply ~~~~

Bug in Setup Section

Talk status
This discussion is done.

/sbin/installkernel doesn't create the symlinks, it only updates them if they already exist.

The new kernel is installed into {directory}/vmlinuz-{version}. If a
symbolic link {directory}/vmlinuz already exists, it is refreshed by
making a link from {directory}/vmlinuz to the new kernel, and the prev
iously installed kernel is available as {directory}/vmlinuz.old.

Maybe we should just quote the manpage? --Poncho (talk) 18:18, 27 January 2013 (UTC)

Done. Astaecker (talk) 09:04, 28 January 2013 (UTC)
According to the source code and tested by myself, even if the symlinks exist, they will only be updated if they are not broken. If that line becomes if test -f "$dir/$1" || test -h "$dir/$1"; then then what the manual says is true, otherwise, broken symlinks are ignored and left as they are for they fail the test -f condition. I sent an email to the maintainer of debianutils(Clint Adams) with the diff patch, but I haven't followed whatever the proper procedure is for reporting bugs there, so he might disregard it. --EmanueLczirai (talk) 10:39, 12 January 2015 (UTC)

driver selection

Talk status
This discussion is done as of July 26, 2021.

no lspci -k | grep mod commands to tell users which drivers they need in their kernel. redirected for such a critical stage of building gentoo is painful.

root #lspci -k | grep mod

666threesixes666 (talk) 04:48, 18 March 2014 (UTC)

lshw && hdparm emerges should be noted to dig out kernel options also. 666threesixes666 (talk) 03:15, 26 March 2014 (UTC)
This article is written to detail manual kernel configuration - not as a guide to help users determine the appropriate kernel symbols for individual (unique) hardware setups - but to give the reader the tools to navigate configuring the kernel in general. Readers can find information for specific hardware in other places around the wiki. --Maffblaster (talk) 22:31, 26 July 2021 (UTC)

compression speed note

Talk status
This discussion is still ongoing.

lz4 should be noted to be emerged and selected for compression type to speed up handing over to init. systemd is quick but its only as fast as kernel decompression. kernel compression is not appropriate on the systemd page so much as it is here. 666threesixes666 (talk) 03:15, 26 March 2014 (UTC)

make with correct core's value + 1

Talk status
This discussion is still ongoing.

make -j$(($(grep -c processor /proc/cpuinfo) + 1)) — The preceding unsigned comment was added by Bw (talkcontribs)

make -j$(echo $(nproc)+1 | bc) something like --Cronolio (talk) 15:14, 14 October 2018 (UTC)