LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-06-2014, 03:09 PM   #1
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Blog Entries: 3

Rep: Reputation: Disabled
Updates done to kernel not getting updated.


I am in Xorg-7.7 Testing and Configuration under Chapter 24. X Window System Environment in Beyond Linux® From Scratch - Version 7.4
i was just going through startx command but was not getting the appropriate output as given in the book so checked about it and with help from member of linuxquestions.org found the problem in video driver so, again went to the Xorg drivers and installed the drivers, but i required some additional changes to be done in kernel system. I went to source directory and untar linux-3.10.10 and run the "make LANG=en_IN LC_ALL= menuconfig" and did the changes to it. and completed the rest of the command given in it. But still it din't worked and when i again come to the source directory and again run the command "make LANG=en_IN LC_ALL= menuconfig", found that the changes where not their i again need to do the changes but still it din't worked.
can anybody please help me out
 
Old 03-06-2014, 10:21 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
I don't know what happened here. Anyway, the LFS book says to start out with make defconfig. That copies a default config file to .config in the top level of the linux build directory. So after the first time the kernel is built, never do that again or you'll be starting over with a default config again. After that first kernel is installed, untarring and starting make menuconfig will copy the current working config from /boot to .config in the linux directory. That means your current configuration should be there in the ncurses menuconfig editor. I often manually copy a config file from /boot to .config in the linux build directory to make sure it happens. Anyway, maybe this explains why your changes are disappearing.
 
Old 03-06-2014, 10:31 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
As a general rule of thumb, if you don't know what exact hardware you have or you're uncomfortable setting up a kernel, you can use the kernel configuration used by Slackware as a failsafe configuration.

ftp://ftp.slackware.com/pub/slackwar...-huge-3.12.x64

It's for the 3.12 series, but you can run make oldconfig against it and it'll update all the modules and settings to work with the newer kernel if any are missing.
 
Old 03-07-2014, 11:13 AM   #4
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Thank you stoat & ReaperX7for your replies.

Firstly stoat:- I think you are right about the .config file. But now i don't have the original .config file since i din't backup it. Is their any way of getting the original file.

Secondly ReaperX7:- Thanks for the idea of using slackware .config file, but the .config file which you gave is for 64 bit and mine is 32 bit so by changing the first section about the kernel file with the present .config file ( or changing those lines which are meant for 64 bit) will work .

But last time when i gave the make oldconfig it was bit surprising since it made me enter y or n for the different packages it was bit lengthy and i skipped that part and gave the make defconfig which was like normal procedure. Due you think because of this it the kernel file is playing with me.

Last edited by dragonprasad; 03-07-2014 at 11:16 AM.
 
Old 03-07-2014, 01:35 PM   #5
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
As a general rule of thumb, if you don't know what exact hardware you have or you're uncomfortable setting up a kernel, you can use the kernel configuration used by Slackware as a failsafe configuration.

ftp://ftp.slackware.com/pub/slackwar...-huge-3.12.x64

It's for the 3.12 series, but you can run make oldconfig against it and it'll update all the modules and settings to work with the newer kernel if any are missing.

I tried this stuff of using slackware kermel config file and using it, when i gave make oldconfig it was asking me to enter yes or no questions for the each package present in the .config file.
 
Old 03-07-2014, 10:40 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Usually just enter Y or M as needed as make oldconfig only updates the existing config against the newer kernel if there are new entries or changes. It shouldn't actually redo the entire config. It may take some time but it's worth it.
 
Old 03-07-2014, 11:04 PM   #7
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
ReaperX7 ok I am starting it now and hope it get to the original state.
 
  


Reply

Tags
blfs, kernel, kernel compile, lfs


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
Installed slack 14, updated kernel to 3.2.45, setup lilo.conf, reboot->kernel panics slacker_ Slackware 9 09-22-2013 04:16 PM
[SOLVED] Updated to kernel 3.0.4 but now source package can not find kernel headers. ReaperX7 Slackware 2 10-03-2011 07:48 PM
Updated kernel, but new kernel doesn't start alanhr Red Hat 3 10-29-2008 06:40 AM
LXer: Atticware Updates: More Memory, Updated Instructions LXer Syndicated Linux News 0 01-06-2007 03:21 PM
kernel-update, a success... BUT... couldn't boot from the updated-kernel Pisces107 Red Hat 7 12-17-2003 03:27 PM

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

All times are GMT -5. The time now is 08:54 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