View previous topic :: View next topic |
Author |
Message |
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 2:22 pm Post subject: [solved] Gentoo sources 6.7.0 move to 6.8.4 kernel panic |
|
|
Hello all,
I'm getting kernel panics with gentoo sources 6.8.4 after using the config from my running 6.7.0 kernel as the foundation for the new kernels I've tried and fail.
I have gone through the handbook for AMD64 kernel configuration again to verify all those concerns seem to be met (as I would have assumed given I copied my working config).
Anyone aware of any pitfalls or "gotchas" with this move? I've tinkered with it for a few hours here and there over a few days and I have not found anything in searching through menuconfig or Google search results.
I considered pasting my two configs but that seems a bit like spam at this point.
Thanks for your time and thoughts!
Regards,
BonezTheGoon
[Edit] Added the "[solved]" to the title, wasn't room to say "[solved by pietinger]" or I would have said that![/Edit] _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
Last edited by BonezTheGoon on Thu Apr 11, 2024 3:58 am; edited 2 times in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22636
|
Posted: Wed Apr 10, 2024 3:10 pm Post subject: |
|
|
Is this a panic at boot, or a panic after the system is up and in use? Regardless, seeing the panic text might be helpful. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 6:19 pm Post subject: |
|
|
It is a panic during boot, before attempting to mount file systems.
Yes I used both "make oldconfig" and "make olddefconfig" during various attempts to remedy this. _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 6:39 pm Post subject: |
|
|
When I try to post the output of dmesg I get "Error posting" from the forums. I suspect it is over some character count. _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 231 Location: Gentoo forums
|
Posted: Wed Apr 10, 2024 6:53 pm Post subject: |
|
|
BonezTheGoon wrote: | When I try to post the output of dmesg I get "Error posting" from the forums. I suspect it is over some character count. |
You can use app-text/wgetpaste instead. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 6:55 pm Post subject: |
|
|
BonezTheGoon wrote: | It is a panic during boot, before attempting to mount file systems.
Yes I used both "make oldconfig" and "make olddefconfig" during various attempts to remedy this. |
I was wrong, clearly it mentions btrfs on the screen. I will attempt to post a picture of the panic here.
https://photos.app.goo.gl/WPEd1SsV6iE1ouPv5 _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 6:58 pm Post subject: |
|
|
# dmesg | wgetpaste
Your paste can be seen here: https://bpa.st/MASQ _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 7:05 pm Post subject: |
|
|
# wgetpaste /usr/src/linux-6.7.0-gentoo/.config
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly.
# cat /usr/src/linux-6.7.0-gentoo/.config | wgetpaste
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly. _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 7:09 pm Post subject: |
|
|
# cat /usr/src/linux-6.7.0-gentoo/.config | grep -v \# | wgetpaste
Your paste can be seen here: https://bpa.st/7A5Q
# cat /usr/src/linux-6.8.4-gentoo/.config | grep -v \# | wgetpaste
Your paste can be seen here: https://bpa.st/B5WA _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1912
|
Posted: Wed Apr 10, 2024 7:32 pm Post subject: |
|
|
BonezTheGoon wrote: | # cat /usr/src/linux-6.7.0-gentoo/.config | grep -v \# | wgetpaste
Your paste can be seen here: https://bpa.st/7A5Q
# cat /usr/src/linux-6.8.4-gentoo/.config | grep -v \# | wgetpaste
Your paste can be seen here: https://bpa.st/B5WA |
Using the kernel's tool: Code: | $ /usr/src/linux/scripts/diffconfig config.6.7 config.6.8.4
-AS_HAS_NON_CONST_LEB128 y
-FB_SYS_FOPS y
-GCC11_NO_ARRAY_BOUNDS y
-HAVE_KVM_EVENTFD y
-HAVE_KVM_IRQFD y
-MISC_FILESYSTEMS y
+ACPI_THERMAL_LIB y
+ARCH_ENABLE_THP_MIGRATION y
+ARCH_HAS_HW_PTE_YOUNG y
+ARCH_WANT_PMD_MKWRITE y
+AS_HAS_NON_CONST_ULEB128 y
+BLK_DEV_WRITE_MOUNTED y
+BOOT_CONFIG y
+CC_NO_STRINGOP_OVERFLOW y
+EDD y
+FB_SYSMEM_FOPS y
+GCC10_NO_ARRAY_BOUNDS y
+GCC_ASM_GOTO_OUTPUT_WORKAROUND y
+GCC_NO_STRINGOP_OVERFLOW y
+GENERIC_CPU_DEVICES y
+KVM_COMMON y
+KVM_GENERIC_MMU_NOTIFIER y
+MITIGATION_RFDS y
+PER_VMA_LOCK y
+STACKDEPOT_MAX_FRAMES 64
+THP_SWAP y
+TRANSPARENT_HUGEPAGE y
+TRANSPARENT_HUGEPAGE_ALWAYS y
+X86_HAVE_PAE y |
Nothing shouts out to a file system change |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Wed Apr 10, 2024 8:51 pm Post subject: |
|
|
This is the first option I would disable. Help says:
Code: | CONFIG_EDD: │
│ │
│ Say Y or M here if you want to enable BIOS Enhanced Disk Drive │
│ Services real mode BIOS calls to determine which disk │
│ BIOS tries boot from. This information is then exported via sysfs. │
│ │
│ This option is experimental and is known to fail to boot on some │
│ obscure configurations. Most disk controller BIOS vendors do │
│ not yet implement this feature. |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 10, 2024 11:56 pm Post subject: |
|
|
OK, removing the EDD. I am pretty sure I added that during one of my iterations of "random" changes.
I will post results in a bit.
Thanks all for your time and consideration!
Is the picture of the actual panic I posted visible to you folks?
Regards,
BonezTheGoon _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Thu Apr 11, 2024 12:05 am Post subject: |
|
|
No visible change in behavior with removing the EDD.
It does occur to me that my environment has changed a lot since I compiled the 6.7.0 kernel back on January 17th 2024. Maybe what is causing the panic has nothing to do with the kernel config itself.
Well I mostly wanted to see if there were known challenges with this move, and it doesn't seem like anyone is aware of any.
I will continue to tinker with this and if I ever figure anything out I will do my best to share.
Regards,
BonezTheGoon _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Thu Apr 11, 2024 12:42 am Post subject: |
|
|
What happens if you disable CONFIG_BTRFS_FS_RUN_SANITY_TESTS ?
Help says:
Code: | │ This will run some basic sanity tests on the free space cache │
│ code to make sure it is acting as it should. These are mostly │
│ regression tests and are only really interesting to btrfs │
│ developers. │
│ │
│ If unsure, say N. |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Thu Apr 11, 2024 3:56 am Post subject: |
|
|
pietinger wrote: | What happens if you disable CONFIG_BTRFS_FS_RUN_SANITY_TESTS ?
Help says:
Code: | │ This will run some basic sanity tests on the free space cache │
│ code to make sure it is acting as it should. These are mostly │
│ regression tests and are only really interesting to btrfs │
│ developers. │
│ │
│ If unsure, say N. |
|
That did it! I am now booted into "6.8.4-gentoo #10 SMP PREEMPT_DYNAMIC Wed Apr 10 21:53:22 MDT 2024 x86_64 AMD Ryzen 5 2600 Six-Core Processor AuthenticAMD GNU/Linux" writing this now!
Thanks so much!!
Regards,
BonezTheGoon[/code] _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Thu Apr 11, 2024 2:19 pm Post subject: |
|
|
BonezTheGoon wrote: | That did it! I am now booted into "6.8.4-gentoo #10 SMP PREEMPT_DYNAMIC Wed Apr 10 21:53:22 MDT 2024 x86_64 AMD Ryzen 5 2600 Six-Core Processor AuthenticAMD GNU/Linux" writing this now! |
Happy to hear that !
BonezTheGoon wrote: | Thanks so much!! |
You are very Welcome !
Regards,
Peter _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|