Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck on loading uefi screen {RESOLVED}
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
iNeedIT
n00b
n00b


Joined: 10 Aug 2024
Posts: 21

PostPosted: Tue Mar 04, 2025 8:31 pm    Post subject: Stuck on loading uefi screen {RESOLVED} Reply with quote

Hello folks!

About my kernel:
Created to handle virtualization
Firmware (AMD Polaris, microcode) is compiled into the kernel
.config is not a copy of /proc/config. It is a stack, a clean .config

In a nutshell: I can boot the kernel image from EFI STUB: https://pastebin.com/JfhDaZvM <--- dmesg
The problem is that the console doesn't show after boot. I can only see my UEFI MSI logo and the RGB on my devices. Nothing more.
Here is my .config: https://pastebin.com/ik7aCYxj

I don't know what I am doing wrong. Everything should work fine...


Last edited by iNeedIT on Wed Mar 05, 2025 6:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54967
Location: 56N 3W

PostPosted: Tue Mar 04, 2025 9:19 pm    Post subject: Reply with quote

iNeedIT,

I don't see anything obvious with your console setup.

Please post
Code:
lspci -nnk
so we can see your hardware.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5473
Location: Bavaria

PostPosted: Tue Mar 04, 2025 10:51 pm    Post subject: Reply with quote

iNeedIT,

what happens if you DISABLE these (especially UVESA):
Code:
CONFIG_FB_VGA16=y
CONFIG_FB_UVESA=y

Dont change these:
Code:
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y

Maybe enable (to be on a safe side):
Code:
# CONFIG_FB_SIMPLE is not set

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
iNeedIT
n00b
n00b


Joined: 10 Aug 2024
Posts: 21

PostPosted: Wed Mar 05, 2025 6:21 am    Post subject: Reply with quote

NeddySeagoon wrote:
iNeedIT,

I don't see anything obvious with your console setup.

Please post
Code:
lspci -nnk
so we can see your hardware.


Thanks for the reply!

Here we go:
Code:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: pcieport
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
        Subsystem: Device [7c56:1462]
        Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
        Subsystem: Device [7c56:1462]
        Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0 [1022:1440]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1 [1022:1441]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2 [1022:1442]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3 [1022:1443]
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4 [1022:1444]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5 [1022:1445]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6 [1022:1446]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7 [1022:1447]
01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller 980 (DRAM-less) [144d:a809]
        Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
        Kernel driver in use: nvme
        Kernel modules: nvme
02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller [1022:43ee]
        Subsystem: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
        Kernel driver in use: xhci_hcd
02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller [1022:43eb]
        Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:1062]
        Kernel driver in use: ahci
02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port [1022:43e9]
        Subsystem: ASMedia Technology Inc. Device [1b21:0201]
        Kernel driver in use: pcieport
03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Subsystem: ASMedia Technology Inc. Device [1b21:3308]
        Kernel driver in use: pcieport
03:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Subsystem: ASMedia Technology Inc. Device [1b21:3308]
        Kernel driver in use: pcieport
03:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Subsystem: ASMedia Technology Inc. Device [1b21:3308]
        Kernel driver in use: pcieport
03:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Subsystem: ASMedia Technology Inc. Device [1b21:3308]
        Kernel driver in use: pcieport
04:00.0 Non-Volatile memory controller [0108]: Silicon Motion, Inc. SM2263EN/SM2263XT (DRAM-less) NVMe SSD Controllers [126f:2263] (rev 03)
        Subsystem: Silicon Motion, Inc. SM2263EN/SM2263XT (DRAM-less) NVMe SSD Controllers [126f:2263]
        Kernel driver in use: nvme
        Kernel modules: nvme
05:00.0 Network controller [0280]: Intel Corporation Wi-Fi 5(802.11ac) Wireless-AC 9x6x [Thunder Peak] [8086:2526] (rev 29)
        Subsystem: Intel Corporation Dual Band Wi-Fi 5 Wireless-AC 9260 160MHz 2x2 [8086:0014]
        Kernel modules: iwlwifi, wl
29:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5751 Gigabit Ethernet PCI Express [14e4:1677] (rev 11)
        DeviceName: RTL8111E Giga LAN
        Subsystem: Broadcom Inc. and subsidiaries NetXtreme BCM5751 Gigabit Ethernet PCI Express [14e4:1677]
        Kernel driver in use: tg3
        Kernel modules: tg3
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: r8169
        Kernel modules: r8169
2b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:c411]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
2b:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1002:aaf0]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:aaf0]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
2c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
2d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
2d:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: ccp
        Kernel modules: ccp
2d:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: xhci_hcd
2d:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
        DeviceName: Realtek ALC1220
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:ec56]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

livecd /home/gentoo #

Code tags added by NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54967
Location: 56N 3W

PostPosted: Wed Mar 05, 2025 10:39 am    Post subject: Reply with quote

iNeedIT,

Code:
# CONFIG_I2C_PIIX4 is not set
is the driver for
Code:
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c56]
        Kernel driver in use: piix4_smbus


Code:
# CONFIG_TIGON3 is not set
is required for
Code:
29:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5751 Gigabit Ethernet PCI Express [14e4:1677] (rev 11)
        DeviceName: RTL8111E Giga LAN
        Subsystem: Broadcom Inc. and subsidiaries NetXtreme BCM5751 Gigabit Ethernet PCI Express [14e4:1677]
        Kernel driver in use: tg3


The I2C bus controls all sorts of odds and ends, so that may be a problem.
tg3 is only required if you want to use that Ethernet port.

AMD like Realtek sound codecs too so
Code:
# CONFIG_SND_HDA_CODEC_REALTEK is not set
could be a problem later.

As you have EFI frambuffer enabled, it may be worth turning off AMDGPU for diagnostics. You have the right number of included polaris10* files but i did not check for typos, One typo will get you a blank console.

It's not an error to boot with a blank console. Can you use the live media to set up ssh and see if you can get in that way?
If so, put dmesg onto a pastebin.

You have some baggage in your kernel but the only maybe showstopper is your i2C bus driver missing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5473
Location: Bavaria

PostPosted: Wed Mar 05, 2025 2:05 pm    Post subject: Reply with quote

I have forgotten one thing: Remove this kernel command line parameter: nomodeset

Internal note:
Code:
[    0.009140] Kernel command line: root=PARTUUID=370eb1fa-da1c-4a6c-bc45-08cc964526ca ro nomodeset

[    0.557797] smpboot: CPU0: AMD Ryzen 7 5700X 8-Core Processor (family: 0x19, model: 0x21, stepping: 0x2)

[    3.538913] uvesafb: failed to execute /sbin/v86d
[    3.538916] uvesafb: make sure that the v86d helper is installed and executable
[    3.538920] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
[    3.538924] uvesafb: vbe_init() failed with -22
[    3.538927] uvesafb uvesafb.0: probe with driver uvesafb failed with error -22

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
iNeedIT
n00b
n00b


Joined: 10 Aug 2024
Posts: 21

PostPosted: Wed Mar 05, 2025 6:34 pm    Post subject: Reply with quote

pietinger and NeddySeagoon,
Many thanks for helping me!

I turned off:
Code:
 
CONFIG_FB_VGA16=y
CONFIG_FB_UVESA=y



And it is working now :D!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5473
Location: Bavaria

PostPosted: Wed Mar 05, 2025 9:28 pm    Post subject: Reply with quote

iNeedIT wrote:
And it is working now :D!

Happy to hear that. :D

iNeedIT wrote:
pietinger and NeddySeagoon,
Many thanks for helping me!

You are very Welcome! :D
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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