TIP: Click on subject to list as thread! ANSI
echo: linux
to: Alexey Vissarionov
from: Andrew Alt
date: 2023-02-22 23:33:00
subject: LFS - About initial ramdi

-=> Alexey Vissarionov wrote to Andrew Alt <=-

 AA> Anyone else have a problem with the LFS section on creating an
 AA> initrd?

 AV> Do you still use floppies? If not, you don't need the initrd at all.

Hi Alexey,

No we don't use floppies. We compiled nvme and ext4 support into the kernel and are able to boot. We thought an
initial ramdisk might help with some troubleshooting. After successfully booting, we tried adding in just a few more things to the kernel, such as Bluetooth. After we re-compiled and rebooted, we got a black screen and had no idea
why.


 AV> Keeping the modules for disk controllers that don't need external
 AV> firmware compiled into the kernel is generally a wise idea for several
 AV> good reasons. Support for everything else may be built as modules and
 AV> loaded from the /lib/modules during the userspace initialization.

Ah, I think that explains more why we couldn't boot when compiling amdgpu into the kernel! We saw the solution was to build it as a module, otherwise the firmware wouldn't load, but there wasn't much explanation.

--
-Andy
Website: https://andy5995.github.io


-+- MultiMail/Linux v0.52-c9c24da

--- BBBS/Li6 v4.10 Toy-6
                                                                  
* Origin: Prism bbs (1:261/38)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.