Tag: gentoo

Gentoo Linux ~amd64 kernel config for Asus Rog Strix B450-F Gaming motherboard and AMD Ryzen 5 2600x

Gentoo Linux ~amd64 kernel config for Asus Rog Strix B450-F Gaming motherboard and AMD Ryzen 5 2600x

I’m going to start with a kernel configuration for this Mobo/CPU combo. This will not be for other devices, just for this motherboard and CPU combo. You can add modules as you see fit to add them, but this should be the baseline for your kernel. I’ll be updating this as I go along but for now, i’m running the testing branch on Gentoo (~amd64) and the current kernel i’m using is 5.7.12 so far. I will edit this as I go along and modify the kernel version as well so this will be an ongoing post but with the same hardware. I hope this helps someone out as it will help me keep track of my changes.

Here is my setup:
Asus Rog-Strix B450-F Gaming Motherboard
AMD Ryzen 5 2600X
MSI GTX970 4GB Gaming video card

.config
make.conf

Editor’s Note: If anyone sees anything out of place with my config and make.conf files, please feel free to comment below on things I could change to make better. I always enjoy constructive criticism.

I hope by posting this I can help someone out with this configuration and get started on their Gentoo build pretty quick. In the kernel, i’ve tried to keep modules down to a minimum. There are a few WiFi drivers I left in there because i’d like to be able to just plug it in if I need to and i’ve omitted all the others I don’t have. I’ve also omitted a lot of the low level SCSI drivers and other things as well. I’m still working on trimming this down even more. Right now, my kernel is sitting at around 10MB and I have it tuned for ‘performance’ instead of ‘ondemand’. There may be some things you can tweak with this and if you’d like to share, please comment below.