LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 11-23-2018, 10:32 AM   #1
zetow0147
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Rep: Reputation: Disabled
my LFS is boot failed in enp3s0 interface


this is the IMG error :

https://drive.google.com/file/d/14og...ew?usp=sharing

i not sure the problem
 
Old 11-23-2018, 11:02 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
You have an ethernet card that requires firmware to work. That's unusual; mostly it is wireless cards that create that sort of problem. The kernel is trying to load the firmware onto the card and failing.

So:
1) do you have that named file available in /lib/firmware? If not, you must copy it over from your host system.
2) Have you built your ethernet driver as a module or directly into the kernel? For cards that need to use firmware, the kernel's card driver should always be built as a module. That ensures that firmware files on the hard drive will be available when the network card is configured.
 
Old 11-23-2018, 11:39 AM   #3
zetow0147
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
thank for answer in 1) but in 2) i don't know how to .

Quote:
Originally Posted by hazel View Post
You have an ethernet card that requires firmware to work. That's unusual; mostly it is wireless cards that create that sort of problem. The kernel is trying to load the firmware onto the card and failing.

So:
1) do you have that named file available in /lib/firmware? If not, you must copy it over from your host system.
2) Have you built your ethernet driver as a module or directly into the kernel? For cards that need to use firmware, the kernel's card driver should always be built as a module. That ensures that firmware files on the hard drive will be available when the network card is configured.
******
thank for answer in 1) but in 2) i don't know how to built ethernet driver as a module.
 
Old 11-23-2018, 11:57 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Go back into your kernel source tree and make sure you have a safety copy of your .config file somewhere else (most people keep theirs in /boot as config-4.18.3). Make mrproper, then copy the configuration file back as .config.

Make menuconfig. Go to Device drivers-->Network device support and find the driver for your card. If it is built in, it will have an asterisk * beside it. Change this to M for module. You can either type M or use the space bar to cycle through the possibilities. Then build and reinstall the kernel and its modules as in the book. You did it successfully once so you can do it again.

Note: when you do "make modules_install", you will be creating a new /lib/modules/4.18.3 directory, so you must first rename the existing one to something else, for example 4.18.3.old.
 
Old 11-23-2018, 01:07 PM   #5
zetow0147
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
last error for me in SudoLFS login line

Quote:
Originally Posted by hazel View Post
Go back into your kernel source tree and make sure you have a safety copy of your .config file somewhere else (most people keep theirs in /boot as config-4.18.3). Make mrproper, then copy the configuration file back as .config.

Make menuconfig. Go to Device drivers-->Network device support and find the driver for your card. If it is built in, it will have an asterisk * beside it. Change this to M for module. You can either type M or use the space bar to cycle through the possibilities. Then build and reinstall the kernel and its modules as in the book. You did it successfully once so you can do it again.

Note: when you do "make modules_install", you will be creating a new /lib/modules/4.18.3 directory, so you must first rename the existing one to something else, for example 4.18.3.old.
ok thank my friend and help me again last error please
IMG of last error :
https://drive.google.com/file/d/1WFr...ew?usp=sharing
 
Old 11-24-2018, 04:50 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
That doesn't look like an error to me. That looks like a successful launch.
 
Old 11-24-2018, 06:19 AM   #7
zetow0147
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
That doesn't look like an error to me. That looks like a successful launch.
Ok my friend but i can't not enter anything in my prompt please help me

video of my LFS :
https://drive.google.com/file/d/1JEL...TSDaPADJy/view
 
Old 11-24-2018, 08:29 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
What do you mean, you can't enter anything in your prompt? What prompt? And why are you suddenly showing me your grub menu? You didn't have a grub problem up until now. Do try to think logically and don't expect me to do everything for you.

Press return, let grub boot the kernel, and in due course you will get a login prompt. Enter "root" and the root password you created in chapter 6. Then, once you are logged in, you can check your ethernet connection by pinging a suitable ip address. I suggest you try your router address first. If that works, try the Google dns server at 8.8.8.8.
 
Old 11-26-2018, 07:22 PM   #9
derguteweka
Member
 
Registered: Sep 2018
Distribution: BLFS
Posts: 74

Rep: Reputation: 21
Moin,

First of all, the missing firmware for the rtl8168 should be no problem. Having the same here, without any trouble with the card.
iirc, there are firmware packages available somewhere in the www, maybe at the debian site. But i did not yet recognize any difference in the networkdevice, regardless if the firmware is there or not.

Then i suspect, that something with your starting scripts is going wrong;
is it possible, that you mixed up instructions from the "normal" LFS and LFS-systemd during your build?

Gruss
WK
 
Old 12-23-2018, 05:21 AM   #10
Nobutarou
Member
 
Registered: May 2017
Posts: 43

Rep: Reputation: Disabled
Hello,

Is it solved. I once meet an issue with rtl wifi driver. The version was Linux-4.16.18. Once the issue happened, my system never responded. I couldn't type anything. I think I read similar error report on Redhat community and it has already been fixed in later kernels.

Now I am using Linux-4.18.20 and it works fine.
 
  


Reply

Tags
linux, linux from scratch



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] i cant boot into new LFS installation (lfs 7.5) sholizar Linux From Scratch 33 12-20-2021 06:55 AM
LFS error: boot lfs, Kernel panic -not syncing:VFS unable to mount root fs on unknown-block(0,0) XinyuLi Linux From Scratch 4 05-16-2017 01:17 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
Can't boot LFS ( kernel panic - not syncing ) LFS 6.6 Lyle Linux From Scratch 14 05-15-2010 03:22 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration