[SOLVED] LFS - direct firmware load failed error -2
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Good evening,
When I start the eth0, it works.
However I get Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
I downloaded the firmware and dropped it into /lib/firmware/, still the same.
Also, if you built r8169 into kernel (not as a module) the firmware will not load because at the time kernel loads the root filesystem is not mounted yet.
This is onboard wired NIC Realtek 8168, it works without firmware with kernel r8169 driver, but there is a firmware fix for 8168, kernel driver sees 8168 and tries to load the firmware. Thus, the r8169 kernel driver needs to be built as module, when built into kernel it won't have access to the firmware at the boot time as I explained in post #3 (and what apparently was ignored by OP).
There is no need to download r8169 driver from Realtek, it is already in kernel. You can download r8168 from Realtek, it would be exact match (and it is not in kernel).
yes it's working from the kernel. Thank you.
I just need to have rtl_nic/rtl8168g-2.fw in /lib/firmware/rtl_nic to not have an error message.
Now I will look into the wifi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.