LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   2 errors when starting system LFS (https://www.linuxquestions.org/questions/linux-from-scratch-13/2-errors-when-starting-system-lfs-870106/)

poisoning 03-21-2011 08:11 PM

2 errors when starting system LFS
 
Finish my LFS-6.3 when booting I have 2 errors:

- Setting up linux console.........[FAIL]
- Interface eth0 does not exist.[WARN]

These errors affect something to the construction of BLFS?

druuna 03-22-2011 02:29 AM

Hi,
Quote:

Originally Posted by poisoning (Post 4298619)
Finish my LFS-6.3 when booting I have 2 errors:

- Setting up linux console.........[FAIL]

Maybe a more elaborate error is shown in the log files which might give an indication what is wrong. Also have another look at chapter 7.6 Configuring the Linux Console, it could be as simple as a typo.

If you cannot seem to solve this I would advise removing the /etc/sysconfig/console file and do a reboot, if no error is shown you now know that the content of the console file was the cause. You can always post the content of the console file and let us have a look.

This isn't a show stopper, the console will use its default settings.

Quote:

- Interface eth0 does not exist.[WARN]
I'm assuming that the kernel does not have the appropriate drivers for your specific network card enabled. The message does tell you that the files created in chapter 7.13 Configuring the network Script seems to be working.

Quote:

These errors affect something to the construction of BLFS?
Partially.

- the console: One of my machines runs without the console file and I did not encounter any problems during the build of BLFS and beyond.
- eth0: Having a network would be very nice, although one can do without.

I would try to solve these 2 issues before starting BLFS, they seem minor and solvable.

Hope this helps.

poisoning 03-22-2011 11:38 AM

Quote:

Originally Posted by druuna (Post 4298854)
Hi,
If you cannot seem to solve this I would advise removing the /etc/sysconfig/console file and do a reboot, if no error is shown you now know that the content of the console file was the cause. You can always post the content of the console file and let us have a look.

Thanks druuna, rename the file /etc/sysconfig/console by "console.bak" if I need it and is good everything except the eth0 interface does not exist :(.

One more question as I can create a live cd of my LFS 6.3?

druuna 03-22-2011 11:52 AM

Hi,
Quote:

Originally Posted by poisoning (Post 4299310)
Thanks druuna, rename the file /etc/sysconfig/console by "console.bak" if I need it and is good everything except the eth0 interface does not exist :(.

Glad to see that the console problem is solved for now.

About eth0 (or more precise: your network card): The linux kernel has drivers for just about every network card out there. Revisit chapter 8.3.1 and when you do the make .... menuconfig step, look for the driver that fits your network card (Device Drivers -> Network Device Support -> Ethernet X -> select your network card).

Quote:

One more question as I can create a live cd of my LFS 6.3?
Nope, I don't think that is possible. I've never seen an article that covered this or read about it in any way.

Hope this helps.

poisoning 03-22-2011 05:47 PM

Sorry for the insistence on the Live CD druuna LFS. Is that I saw this video on youtube:

http://www.youtube.com/watch?v=lDusqP3gum4

Because I am newbie in this of LFS and good suspect in the video made ​​an image of the partition where is installed your LFS?

Well I guess I will investigate on QEMU and many thanks for all druuna.

druuna 03-23-2011 03:00 AM

Hi,

I do believe the video talks about a virtual machine image and not about creating a live cd. Big difference :)

Although I have build LFS using a virtual machine for testing, I use LFS as my main OS and thus boot strait from the hard-disk.

poisoning 03-24-2011 10:30 AM

There is a driver D-Link DFE-520TX PCI Fast Ethernet Adapter in kernel 2.6.22.5 ? there are only:
--- Ethernet (1000 Mbit)
< > D-Link DL2000-based Gigabit Ethernet support

druuna 03-24-2011 11:24 AM

Hi,
Quote:

Originally Posted by poisoning (Post 4301773)
There is a driver D-Link DFE-520TX PCI Fast Ethernet Adapter in kernel 2.6.22.5 ?

Nope.

Quote:

there are only:
--- Ethernet (1000 Mbit)
< > D-Link DL2000-based Gigabit Ethernet support
You can try this one, but a search on the net shows that you probably need to download the driver and compile it yourself.


All times are GMT -5. The time now is 11:07 PM.