LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-20-2010, 07:36 PM   #16
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141

Quote:
Originally Posted by brownwrap View Post
Then use the menu to load the config fcp -v .config /boot/config-2.6.32.8ile I want. Save it to .config
Just to make sure, what is the result of running the command "uname -r"? I just want to be very sure that 2.6.32.8ile is actually your kernel and thus config-2.6.32.8ile is a valid config. It's not that I mistrust you, I just can't see over your shoulder.

Added:

And, can you explain what this "config fcp -v .config" thing is when you say "Then use the menu to load the config fcp -v .config". I don't know what "fcp -v" means.

Last edited by Quakeboy02; 03-20-2010 at 07:40 PM.
 
Old 03-20-2010, 07:48 PM   #17
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
Just to make sure, what is the result of running the command "uname -r"? I just want to be very sure that 2.6.32.8ile is actually your kernel and thus config-2.6.32.8ile is a valid config. It's not that I mistrust you, I just can't see over your shoulder.

Added:

And, can you explain what this "config fcp -v .config" thing is when you say "Then use the menu to load the config fcp -v .config". I don't know what "fcp -v" means.
The line :

Then use the menu to load the config fcp -v .config /boot/config-2.6.32.8ile I want. Save it to .config


Should read:
Then use the menu to load the config file I want.

cp -v .config /boot/config-2.6.32.7


root [ /home/final-sources-lfs-6.6/lfs-6.6/linux-2.6.32.7 ]# uname -r
2.6.32.7
root [ /home/final-sources-lfs-6.6/lfs-6.6/linux-2.6.32.7 ]#
 
Old 03-20-2010, 08:01 PM   #18
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by brownwrap View Post
cp -v .config /boot/config-2.6.32.7
I'm sorry if this is being obtuse, but I don't get why you would do this. That simply replaces the copy in /boot with the .config file from your current directory. Didn't you would want to run this, instead?
Code:
cp -v /boot/config-2.6.32.7  .config
 
Old 03-20-2010, 08:07 PM   #19
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
I'm sorry if this is being obtuse, but I don't get why you would do this. That simply replaces the copy in /boot with the .config file from your current directory. Didn't you would want to run this, instead?
Code:
cp -v /boot/config-2.6.32.7  .config
That copy is one of the last steps. these are the last three steps prior to a reboot:


cp -v arch/x86/boot/bzImage /boot/vmlinux-2.6.32.7-lfs-6.6-rc1
cp -v System.map /boot/System.map-2.6.32.7
cp -v .config /boot/config-2.6.32.7
 
Old 03-20-2010, 08:14 PM   #20
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
I'm sorry if this is being obtuse, but I don't get why you would do this. That simply replaces the copy in /boot with the .config file from your current directory. Didn't you would want to run this, instead?
Code:
cp -v /boot/config-2.6.32.7  .config
Actually not only do I not have USB input, I can use an old keyboard and mouse. Xt is enabled in the kernel, but my XT keyboad doesn't work either. So I have not input.
 
Old 03-20-2010, 08:14 PM   #21
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
What I am trying to verify is that you originally got the config from /boot/config-`uname -r` (theconfig file for the running kernel). I'd also like to verify that you ran "make oldconfig".
 
Old 03-20-2010, 08:16 PM   #22
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by brownwrap View Post
Actually not only do I not have USB input, I can use an old keyboard and mouse. Xt is enabled in the kernel, but my XT keyboad doesn't work either. So I have not input.
I'm sorry, I don't understand your point, here. Either there is a kernel that runs, or there isn't. The kernel that runs, by definition, has a config file that will result in a running kernel for that kernel version.
 
Old 03-20-2010, 08:19 PM   #23
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
I'm sorry, I don't understand your point, here. Either there is a kernel that runs, or there isn't. The kernel that runs, by definition, has a config file that will result in a running kernel for that kernel version.
I have a working kernel. I just have no means of direct input via keyboard or mouse. That's what this thread has been aal about.
 
Old 03-20-2010, 08:26 PM   #24
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
What I am trying to verify is that you originally got the config from /boot/config-`uname -r` (theconfig file for the running kernel). I'd also like to verify that you ran "make oldconfig".
No, I'm not getting the configuration file from /boot.config. I have several configuration files I have tried including the one I received from Drakeo. I execute the make menuconfig and load the file I want to try, like the one Drakeo posted.

After I exit 'make menuconfig", it is written to the same name I loaded. At that point I just rename it to .config and type 'make'.
 
Old 03-20-2010, 08:30 PM   #25
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
OK, then one final question: why haven't you started with the config file that you know works on your machine?
 
Old 03-20-2010, 08:38 PM   #26
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
OK, then one final question: why haven't you started with the config file that you know works on your machine?
I tried that early on, that Centos configuration uses initrd. When I tried that one, it didn't even boot up. I guess I could try removing the two entries that refer to initrd. That's one thing I haven't tried. As far as I know, there are only two entries:


CONFIG_BLK_DEV_RAM and CONFIG_BLK_DEV_INTRO

The CentOS that works uses the old Grub, I am now trying to use Grub2.
 
Old 03-20-2010, 08:45 PM   #27
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Since you are using Centos, have you tried this howto? http://www.howtoforge.com/kernel_compilation_centos

Note that it has instrunctions and comments about initrd.
 
Old 03-20-2010, 08:49 PM   #28
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
Since you are using Centos, have you tried this howto? http://www.howtoforge.com/kernel_compilation_centos

Note that it has instrunctions and comments about initrd.
No, the only reason I brought up CentOS is that I know the inputs, but USB and otherwise work on this machine. I am work on another OS now, on the same machine that had CentOS on it.

So all I am saying is, I know there is a configurtion that works, I just haven't found it.
 
Old 03-20-2010, 08:58 PM   #29
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by brownwrap View Post
No, the only reason I brought up CentOS is that I know the inputs, but USB and otherwise work on this machine. I am work on another OS now, on the same machine that had CentOS on it.
Can you tell us which distro?

Quote:
So all I am saying is, I know there is a configurtion that works, I just haven't found it.
As I have already stated, it's at /boot/config-`uname -r`, by definition.
 
Old 03-20-2010, 09:05 PM   #30
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
Can you tell us which distro?



As I have already stated, it's at /boot/config-`uname -r`, by definition.
I am using linuxfromsratch. I already posted the output of 'uname -r'

root [ /home/final-sources-lfs-6.6/lfs-6.6/linux-2.6.32.7 ]# uname -r
2.6.32.7
root [ /home/final-sources-lfs-6.6/lfs-6.6/linux-2.6.32.7 ]#
 
  


Reply



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
Fedora on Acer Aspire M5641 citibk Linux - Laptop and Netbook 1 02-12-2009 07:57 PM
.config on an Acer TM8202 Aldebaran Linux - Laptop and Netbook 0 10-08-2006 02:08 PM
config xorg for Acer c100 tablet device bb002 Linux - Software 1 10-03-2005 01:50 AM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:21 PM.

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