Category: Linux

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.

Gentoo emerging cdrdao errors with bitrate_table error

Gentoo emerging cdrdao errors with bitrate_table error

Happens in stable or testing branch (amd64 or ~amd64)

Here is the error:

1
2
3
toc2mp3-toc2mp3.o: In function `init_encoder(int)':
toc2mp3.cc:(.text+0x2da): undefined reference to `bitrate_table'
toc2mp3.cc:(.text+0x2e7): undefined reference to `bitrate_table'

The fix is to patch cdrdao, here are the steps:

1
2
3
4
mkdir -p /etc/portage/patches/app-cdr/cdrdao-1.2.3-r4/
cd /etc/portage/patches/app-cdr/cdrdao-1.2.3-r4/
wget "http://chrisfaulkner.org/wp-content/uploads/2017/11/cdrdao-1.2.3-dlopen-lame.patch" -O cdrdao-1.2.3-dlopen-lame.patch
emerge -1 cdrdao
ODroid c2 OS Installs

ODroid c2 OS Installs

Armbian
Im working on finding a Gentoo install disc at the moment or some other workaround. I may have to build a install disc from scratch. I was told on Gentoo-embedded that GCC4 will not work but GCC5 and GCC6 shows promise

Lenovo G50-45 Linux Mint 17.1 (Rebecca)

Lenovo G50-45 Linux Mint 17.1 (Rebecca)

Installing this version of Linux was fairly easy. Even booted with UEFI turned on but I had to turn off Secure Boot. After installation, you have to install the fglrx driver through Menu > Administration > Driver Manager.

Also, before you start updating, the WiFi has an issue after a few minutes of being connected, it will disconnect and won’t allow you to reconnect without a reboot. To resolve this issue, you have to create a file in /etc/modprobe.d call it rtl8723be.conf . Inside this file type in this:

options rtl8723be fwlps=N ips=N

Reboot, then update your repos with apt-get update and then apt-get upgrade

This will solidify your installation..