Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Okay, what am I doing wrong?!?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dpshak
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 189
Location: Wisconsin

PostPosted: Mon Jan 20, 2025 11:53 pm    Post subject: Okay, what am I doing wrong?!? Reply with quote

After 10 years, I've upgraded my desktop hardware from an Intel I7-4790 to an AMD 7950X. According to the handbook, updating firmware/microcode on the AMD platform requires an initramfs. Okay, this is new to me, but following this article: https://wiki.gentoo.org/wiki/Project:Distribution_Kernel#Modifying_kernel_configuration I have a working system. BUT, every time I walk away, the system goes int hibernate/suspend and won't 'recover' when I return. Even though I've created a kernel config (and saved that config) when I rebuild the kernel, it fails to use the 'saveconfig!'

Code:
main /boot # ls -la
total 262032
drwxr-xr-x  3 root root     4096 Jan 20 17:23 .
drwxr-xr-x 17 root root      224 Jan 13 00:41 ..
-rw-r--r--  1 root root        0 Jan 13 02:15 .keep
-rw-r--r--  1 root root 10876026 Jan 20 17:23 System.map-6.12.10-gentoo-dist
-rw-r--r--  1 root root 10876026 Jan 20 17:02 System.map-6.12.10-gentoo-dist.old
-rw-r--r--  1 root root 10876084 Jan 19 22:10 System.map-6.12.9-gentoo-dist
-rw-r--r--  1 root root 10876084 Jan 16 22:20 System.map-6.12.9-gentoo-dist.old
-rw-r--r--  1 root root   278558 Jan 20 17:23 config-6.12.10-gentoo-dist
-rw-r--r--  1 root root   278558 Jan 20 17:02 config-6.12.10-gentoo-dist.old
-rw-r--r--  1 root root   278557 Jan 19 22:10 config-6.12.9-gentoo-dist
-rw-r--r--  1 root root   214350 Jan 16 22:20 config-6.12.9-gentoo-dist.old
drwxr-xr-x  6 root root      113 Jan 20 17:23 grub
-rw-r--r--  1 root root 35589817 Jan 20 17:23 initramfs-6.12.10-gentoo-dist.img
-rw-r--r--  1 root root 35610843 Jan 20 17:02 initramfs-6.12.10-gentoo-dist.img.old
-rw-r--r--  1 root root 35580188 Jan 19 22:10 initramfs-6.12.9-gentoo-dist.img
-rw-r--r--  1 root root 35583793 Jan 16 22:20 initramfs-6.12.9-gentoo-dist.img.old
-rw-r--r--  1 root root 20337152 Jan 20 17:23 vmlinuz-6.12.10-gentoo-dist
-rw-r--r--  1 root root 20337152 Jan 20 17:02 vmlinuz-6.12.10-gentoo-dist.old
-rw-r--r--  1 root root 20337152 Jan 19 22:10 vmlinuz-6.12.9-gentoo-dist
-rw-r--r--  1 root root 20337152 Jan 16 22:20 vmlinuz-6.12.9-gentoo-dist.old
main /boot # date
Mon Jan 20 17:24:36 CST 2025
main /boot # egrep CONFIG_SUSPEND config-6.12.10-gentoo-dist
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
main /boot # egrep CONFIG_SUSPEND /etc/portage/savedconfig/sys-kernel/gentoo-kernel
# CONFIG_SUSPEND is not set
main /boot # uname -a
Linux main 6.12.10-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sun Jan 19 23:38:06 CST 2025 x86_64 AMD Ryzen 9 7950X 16-Core Processor AuthenticAMD GNU/Linux


As you can see from the code snipped, I've just rebuilt the kernel with the 'savecconfig' flag set, but the resultant kernel still shows CONFIG_SUSPEND set - even though the gentoo-kernal has CONFIG_SUSPEND unset.

What am I doing wrong???
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum