Talk:Kernel/Configuration

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

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 still ongoing.

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 painfull.

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)

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)