Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo stuck on the start after thr fb0: switching to rad...
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
Jonnyscavonni
n00b
n00b


Joined: 09 Feb 2021
Posts: 5

PostPosted: Tue Feb 09, 2021 3:22 am    Post subject: Gentoo stuck on the start after thr fb0: switching to rad... Reply with quote

I'm a newbie so I don't understand fairly well whats going on. After succesfuly installed linux, got stuck on the start
fb0: switching to radeonrmbf from EFI VGA
someone has some idea on how to solve it?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 09, 2021 10:31 am    Post subject: Reply with quote

Jonnyscavonni,

Welcome to Gentoo.

I expect it did the switch but radeondrmfb is not configured properly, so you can't see the console.
Everything else may be there correctly, you just can't see it.

Please post your
Code:
lspci -nnk
and use wgetpaste to put your kernel .config file onto a pastbin site as its too big for a post.
_________________
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
Jonnyscavonni
n00b
n00b


Joined: 09 Feb 2021
Posts: 5

PostPosted: Tue Feb 09, 2021 1:19 pm    Post subject: Reply with quote

I did it and says this
Code:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex [1022:1410]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex [1022:1410]
lspci: Unable to load libkmod resources: error -2
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660G] [1002:9900]
   DeviceName: 16
   Subsystem: Hewlett-Packard Company Trinity [Radeon HD 7660G] [103c:1992]
   Kernel driver in use: radeon
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller [1002:9902]
   Subsystem: Hewlett-Packard Company Trinity HDMI Audio Controller [103c:1992]
   Kernel driver in use: snd_hda_intel
00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port [1022:1414]
   Kernel driver in use: pcieport
00:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port [1022:1415]
   Kernel driver in use: pcieport
00:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port [1022:1417]
   Kernel driver in use: pcieport
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814] (rev 09)
   Subsystem: Hewlett-Packard Company FCH USB XHCI Controller [103c:1992]
   Kernel driver in use: xhci_hcd
00:10.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814] (rev 09)
   Subsystem: Hewlett-Packard Company FCH USB XHCI Controller [103c:1992]
   Kernel driver in use: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7801] (rev 40)
   Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode] [103c:1992]
   Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11)
   Subsystem: Hewlett-Packard Company FCH USB OHCI Controller [103c:1992]
   Kernel driver in use: ohci-pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11)
   Subsystem: Hewlett-Packard Company FCH USB EHCI Controller [103c:1992]
   Kernel driver in use: ehci-pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11)
   Subsystem: Hewlett-Packard Company FCH USB OHCI Controller [103c:1992]
   Kernel driver in use: ohci-pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11)
   Subsystem: Hewlett-Packard Company FCH USB EHCI Controller [103c:1992]
   Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b] (rev 16)
   Subsystem: Hewlett-Packard Company FCH SMBus Controller [103c:1992]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 01)
   Subsystem: Hewlett-Packard Company FCH Azalia Controller [103c:1992]
   Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e] (rev 11)
   Subsystem: Hewlett-Packard Company FCH LPC Bridge [103c:1992]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge [1022:780f] (rev 40)
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7809] (rev 11)
   Subsystem: Hewlett-Packard Company FCH USB OHCI Controller [103c:1992]
   Kernel driver in use: ohci-pci
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0 [1022:1400]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1 [1022:1401]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2 [1022:1402]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3 [1022:1403]
   Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4 [1022:1404]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5 [1022:1405]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
   Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:1992]
   Kernel driver in use: r8169
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
   Subsystem: Hewlett-Packard Company RTS5227 PCI Express Card Reader [103c:1992]
   Kernel driver in use: rtsx_pci
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:4359]
   DeviceName: WLAN
   Subsystem: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:05e2]
   Kernel driver in use: bcma-pci-bridge
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 09, 2021 1:49 pm    Post subject: Reply with quote

Jonnyscavonni,

Good. Now we know your hardware,
Code:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660G] [1002:9900]

we need your kernel .config file to check your kernel settings.

It appears that the Radeon HD 7000 series is a Southern Island chipset, so yoi have a choice of two kernel drivers.
_________________
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
Jonnyscavonni
n00b
n00b


Joined: 09 Feb 2021
Posts: 5

PostPosted: Tue Feb 09, 2021 1:56 pm    Post subject: Reply with quote

Code:
 GNU nano 5.5                 /usr/src/linux/.config                           
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.10.14-gentoo Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 9.3.0-r2 p4) 9.3.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
CONFIG_LD_VERSION=235010000
CONFIG_CLANG_VERSION=0
CONFIG_LLD_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
CONFIG_CC_HAS_ASM_GOTO=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
                 
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 09, 2021 1:59 pm    Post subject: Reply with quote

Jonnyscavonni,

Code:
wgetpaste /usr/src/linux/.config
and post the link.
The file is several 1000's of lines.

You may need to install wgetpaste.
_________________
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
Jonnyscavonni
n00b
n00b


Joined: 09 Feb 2021
Posts: 5

PostPosted: Tue Feb 09, 2021 2:07 pm    Post subject: Reply with quote

Here :D :
https://dpaste.com/633GNXJ5S
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 09, 2021 2:30 pm    Post subject: Reply with quote

Jonnyscavonni,

Your kernel has
Code:
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_USERPTR=y
CONFIG_DRM_AMDGPU=m
# CONFIG_DRM_AMDGPU_SI is not set
so the Radeon driver will work but not the AMDGPU driver.

As you have a Southern Islands chipset, you need the CONFIG_DRM_AMDGPU_SI option too.

When the kernel has to choose, I don't know which one it chooses.

Neither driver works without firmare. The firmware is provided in linux-firmware, so install that, if you don't already have it.
Fix your kernel .config, Not with a text editor, you must use one of the config tools or horrible things happen.
Then rebuild and reinstall your kernel. Reboot to test.
_________________
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
Jonnyscavonni
n00b
n00b


Joined: 09 Feb 2021
Posts: 5

PostPosted: Tue Feb 09, 2021 6:08 pm    Post subject: Reply with quote

I did it and still not work :( :(
https://dpaste.com/3C9LXXM7A
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 09, 2021 7:14 pm    Post subject: Reply with quote

Jonnyscavonni,

Quote:
still not work
is not a useful error report. Did it do anything differently at all?

Code:
CONFIG_DRM_RADEON=y
CONFIG_DRM_AMD_DC=y
were both =m before, you didn't tell that :)

To use =y there you need to add the required firmware to
Code:
CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam15h.bin"

The kernel loads firmware when the firmware user is initialised. That's before root is mounted, so /lib/firmware cannot be read.

Both Radeon and AMDGPU fail to start due to missing firmware.

You can flip both
Code:
CONFIG_DRM_RADEON=y
CONFIG_DRM_AMD_DC=y
to =m, or add the two sets of firmware to the kernel.

You need all the /lib/firmware/radeon/verde* files and /lib/firmware/amdgpu/verde* files if you want both drivers.
_________________
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
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