Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to boot kernel 6.x with Threadripper Pro [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Sat May 06, 2023 5:15 pm    Post subject: Unable to boot kernel 6.x with Threadripper Pro [solved] Reply with quote

Hello,

i have been on Gentoo for many years but currently i'm stuck at switching from Kernel 5.x to 6.x.
No matter what i do, it got stuck right after grub with the message "booting kernel 6.1.19-gentoo". Kernel 6 build with make oldconfig or fresh config, i could not get past this boot message. Caps Look still working, no "halt". Tried as well with minimal Grub appends...
Any Kernel < 6.x boots just fine, even 4.x kernels.

Is it just me or got smth major changed with kernel 6.x? How can i trace the problem? I don't want to stay at 5.x forever :(

(gentoo-sources)

Help much appreciated! :)

Thanks


Last edited by MaDDeePee on Sun May 07, 2023 9:25 am; edited 1 time in total
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Sat May 06, 2023 6:02 pm    Post subject: Reply with quote

Same happens with latest "gentoo-kernel-bin:6.x" even when using prebuild initramfs - in that case it got stuck with "loading initramfs".
So i assume its not about my kernel config. What else could it be?

AMD Threadripper Pro 3955wx
Asus Pro-WS-WRX80E-SAGE-SE-WIFI
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sat May 06, 2023 6:26 pm    Post subject: Reply with quote

MaDDeePee wrote:
Same happens with latest "gentoo-kernel-bin:6.x" even when using prebuild initramfs - in that case it got stuck with "loading initramfs".
So i assume its not about my kernel config. What else could it be?

AMD Threadripper Pro 3955wx
Asus Pro-WS-WRX80E-SAGE-SE-WIFI

Maybe
linux-firmware
?
_________________
:)
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2202

PostPosted: Sat May 06, 2023 6:49 pm    Post subject: Reply with quote

MaDDeePe,

Lots of people have had issues with framebuffer settings: see the wiki article.
If that's no help, perhaps put your .config file on pastebin or similar for us to look at.
_________________
Greybeard
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Sat May 06, 2023 6:52 pm    Post subject: Reply with quote

alamahant wrote:
MaDDeePee wrote:
Same happens with latest "gentoo-kernel-bin:6.x" even when using prebuild initramfs - in that case it got stuck with "loading initramfs".
So i assume its not about my kernel config. What else could it be?

AMD Threadripper Pro 3955wx
Asus Pro-WS-WRX80E-SAGE-SE-WIFI

Maybe
linux-firmware
?


Hi, with kernel 6.1.19-gentoo i installed linux-firmware (with correct softlink into kernel sources) and wrote the path for Gen 17h CPU into kernel as well. Doesnt change anything.
But i just got another hint from this link: https://superuser.com/questions/1771347/no-console-output-with-linux-6-x-with-asus-wrx80e-sage-mb
It turns out that my grub appends:
Code:
GRUB_CMDLINE_LINUX="linux amd_iommu=on iommu=pt video=efifb:off vfio-pci.ids=10de:2208,10de:1aef"

*could* have something to do with it. I needed them because i wanted to play games in this machine virtualizing in windows (PCI-Passthrough)
Just now i found out that the precompiled bin-kernel boots without "video=efifb:off". Also, its seems that i don't need "amd_iommu=on iommu=pt" anymore? Maybe the latest 5.x kernel and virt-manager handles all that stuff now, i can boot that machine up without all that parameters!

Nonetheless, "gentoo-sources-6.1.19" is still stuck even with empy CMDLINE_LINUX.
I assume this is Motherboard related with something about UEFI / Secureboot.

Ill post my results if i cant solve it.
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Sat May 06, 2023 6:53 pm    Post subject: Reply with quote

Goverp wrote:
MaDDeePe,

Lots of people have had issues with framebuffer settings: see the wiki article.
If that's no help, perhaps put your .config file on pastebin or similar for us to look at.


Whoop this could it be, bceause =>
Code:
video=efifb:off

ill check it, thanks!
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sat May 06, 2023 7:34 pm    Post subject: Reply with quote

Quote:

It turns out that my grub appends:
Code:
GRUB_CMDLINE_LINUX="linux amd_iommu=on iommu=pt video=efifb:off vfio-pci.ids=10de:2208,10de:1aef"


By itself?
Did you or something else modify
/etc/default/grub
?
Yes
video=efifb:of
seems highly suspect.
Remove it and update grub please.
Also for the time being plz boot with gentoo-kernel-bin and an initramfs.
_________________
:)
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Sun May 07, 2023 9:25 am    Post subject: Reply with quote

Goverp wrote:
MaDDeePe,

Lots of people have had issues with framebuffer settings: see the wiki article.
If that's no help, perhaps put your .config file on pastebin or similar for us to look at.



This helped! No clue why 5.x kernel was booting with this misconfigured, 6.x isn't.
Thanks!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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