LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   booting to a black screen. (https://www.linuxquestions.org/questions/linux-from-scratch-13/booting-to-a-black-screen-4175720943/)

Linux-is-king 01-15-2023 05:15 PM

booting to a black screen.
 
so I have completed the book to the t I believe, but I am still getting a black screen at boot up. I checked the journal and the system appears to be booting but it has these errors:
yellow:
efi: seeding entropy pool
random: crng init done
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.2-lfs-11.2-systemd root=/dev/sdb2 ro
Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-5.19.2-lfs-11.2-systemd", will be passed to user spac>
#7 #8 #9 #10 #11
audit: type=2000 audit(1673822224.141:1): state=initialized audit_enabled=0 res=1
ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
SCSI subsystem initialized
VFS: Disk quotas dquot_6.6.0
Initialise system trusted keyrings
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered

amdgpu 0000:03:00.0: Direct firmware load for amdgpu/dimgrey_cavefish_sos.bin failed with error -2
then I have the following in red :
amdgpu 0000:03:00.0: amdgpu: failed to init sos firmware
[drm:psp_sw_init] *ERROR* Failed to load psp firmware!
[drm:amdgpu_device_init.cold] *ERROR* sw_init of IP block <psp> failed -2
amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_init failed
amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init

then back to yellow:
amdgpu: probe of 0000:03:00.0 failed with error -2
platform eisa.0: EISA: Cannot allocate resource for mainboard
Key type dns_resolver registered
Loading compiled-in X.509 certificates
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

then a few other red lines ..
fail to initialize ptp_kvm
snd_hda_intel 0000:03:00.1: Cannot probe codecs, giving up
snd_hda_intel 0000:09:00.1: Cannot probe codecs, giving up
Failed to connect to system bus: No such file or directory
Failed to fully start up daemon: No such file or directory
Failed to start User Login Management.
snd_hda_intel 0000:09:00.6: Cannot probe codecs, giving up


a few of my system specs:
ryzen 5g (on board graphics disabled in bios.. )
amd rx6600 gpu
32 gb ram
system is on a 50 gb ssd

so far I have tried:
re compiling the kernel
and placing amd gpu drives.
any help would be appreciated !

xlfs-0.2 01-29-2023 07:26 PM

my suspicions ...

1) make sure VGA support is in kernel and your card supports it, to see CONSOLE output

2) looks like your modules aren't loading. trying booting same kernel on a (rescue) disk that works, and copying those modules (from your initrd?) into /lib/modules, run depmod.

do those modules load? if not: you need modules that load to boot normally. perhaps copy modules from (somewhere) that do work.

(note: obviously copy some non-essential modules that won't bork your rescue disk so that it cannot boot. don't copy all modules unless you have multiple /lib/module/kern-foo/ and know how to boot between them)

derguteweka 01-31-2023 07:42 AM

Moin,

Seems to happen on an AMD CPU? if so, do you have avaliable all necessary firmware blobs?
https://www.linuxquestions.org/quest...5/#post6383019

cheers,
WK


All times are GMT -5. The time now is 02:02 AM.