LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2011, 03:43 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,667
Blog Entries: 1

Rep: Reputation: 243Reputation: 243Reputation: 243
Linux config file Questions


I have a Question I have an old lfs 6.7 installed I,m having problems with network eth0 failed. OK I rebuilt the kernel a couple of times to no avail, I have lfs7 installed on the same laptop eth0 works. Now Q1 where is the config file kept I know /boot/config, but on 6.7 I have /usr/src/linux/.config but not in lfs7 there is no /usr/src/linux dir???
Q2 could I copy the lfs7 /boot/config to lfs6.7/boot/config.
Is the usr/src/linux/.config a backup???
 
Old 11-19-2011, 03:48 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,
Quote:
Originally Posted by spiky0011 View Post
I have a Question I have an old lfs 6.7 installed I,m having problems with network eth0 failed. OK I rebuilt the kernel a couple of times to no avail, I have lfs7 installed on the same laptop eth0 works. Now Q1 where is the config file kept I know /boot/config, but on 6.7 I have /usr/src/linux/.config but not in lfs7 there is no /usr/src/linux dir???
Q2 could I copy the lfs7 /boot/config to lfs6.7/boot/config.
Is the usr/src/linux/.config a backup???
Q1 - You must have build it somewhere, did you build the LFS 7.0 kernel in $LFS/sources?
But there is no problem here: Just unpack the kernel in /usr/src and you're good to go.

Q2 - I'm not entirely sure what will happen if you use the .config file that belongs to a newer kernel version and use it as input for an older kernel. Especially in this case: LFS 6.7 -> kernel 2.6.35 and LFS 7.0 -> kernel 3.1. Newer kernels have new/changed options, which is taken care of by the make oldmenuconfig command if you go from older to newer kernel.

I would advise against using a .config that belongs to a new kernel as input for an older kernel, but you can always give it a try

BTW: Did you check the network card options to see if changed have been made? I had a similar problem with my network card a while back: The kernel driver was completely rebuild and had a different name in the newer kernel. Once I activated that one, things worked again.

Hope this helps.
 
  


Reply

Tags
eth, kernel, lfs, network


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux .config file what is what?? sudhirkumar Linux - Newbie 3 09-07-2007 01:49 PM
Kernel Config File Questions Eklipz Linux - Newbie 2 12-12-2004 02:10 PM
Eterm Questions and Config??? post your .cfg file??? boutrosboutros Linux - Software 0 01-19-2004 04:14 PM
Config file distribution & NFS (2 questions) ghight Linux - Networking 1 12-22-2003 01:31 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM


All times are GMT -5. The time now is 12:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration