LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-22-2004, 04:27 PM   #1
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Rep: Reputation: 15
kernel options


How can I foind out, what kernel options is my kernel compiled with?
 
Old 01-22-2004, 04:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
By looking at the .config file?

It's in the kernel's source directory, if you don't
have that installed, there should be a file
/boot/config<mumble> that maps the config
of the current kernel.


Cheers,
Tink
 
Old 01-22-2004, 04:34 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
If all you have is the compressed image and not the source and .config file that was used to compile it then I am not sure there is any way to tell for sure.

Looking at the dmesg you can tell some things, looking at the modules in the /lib/modules/your-kernel-version/ directory will tell you others. But not everything.
 
Old 01-22-2004, 04:35 PM   #4
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
thanx, i've got installed Linux only in text mode, and want to enable framebuffering. Is it very dificult to recompile kernel then with that option enabled?
 
Old 01-22-2004, 04:38 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Not at all, there is a kernel compile HOW-TO on this site that will probably do a much better explination then I would, read it and give it a shot.
 
Old 01-22-2004, 04:46 PM   #6
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
where's that howto exactly please, thanx
 
Old 01-22-2004, 04:57 PM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Here you go: http://www.linuxquestions.org/questi...threadid=73436

The guy I used the first time I ever compiled a kernel was foudn at www.tldp.org but they have taken it down for "Review" because a lot of it talked about 2.0/2.2 stuff that wasn't important anymore for most peopl needing to read it. Guess they thought it was time to re-write it for 2.4/2.6. In general though, http://www.tldp.org is a good place to start looking when you have a question for anything (tldp = The Linux Documentation Project).
 
Old 01-22-2004, 05:05 PM   #8
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Sorry for my questions but:
1. Could I somehow change kernel options without compiling a new one? 2. Could I recompile my current kernel with the same from my RedHat instalation CD?
 
Old 01-22-2004, 05:12 PM   #9
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
If you have the configuration file and the source code from RedHat then you certainly could do that. I am not sure if RedHat includes the kernel source but I would imagine they would have to somewhere.
 
Old 01-22-2004, 05:15 PM   #10
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Oh, I see you use Slackware. Which didtribution do you prefer. I've just ordered Slackware 9.1 from our local distributors, it's very cheap, about 3$!!!!
 
Old 01-22-2004, 05:20 PM   #11
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I love slackware, and I love gentoo. Gentoo fits better for a desktop system in my opinion, because it is so much easier to upgrade. Of course slackware has a dependancy checking package management system now, but I haven't tried it yet. My slackware box hasn't been touched except for security updates in over a year. It sits in a closet with only a power cord and an eithernet cable attached to it. The uptime of the box was over 400 days until earlier this month when I put the 2.4.24 kernel on it. Hopefully that will be it's 1 reboot of the year 2004.
 
Old 01-22-2004, 05:24 PM   #12
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Here in Slovakia, is Gentoo quite unknown. I checked out it's website, but i didn't have too much time. I work with linux only in text mode and I use it for programming. What's your opinion about Redhat or Suse?
 
Old 01-22-2004, 05:28 PM   #13
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I have never used Suse and I haven't used redhat directly in about 4 years so I don't have much of an opinion on it. Slackware is a great text mode distribution. It doesn't require or have any gui config tools.
 
Old 01-25-2004, 05:37 AM   #14
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Unhappy

I've got my kernel compiled with framebuffering support. But there isnt at /dev any file like fb, fb0 or something like that. So the framebuffering doesn't work. I use now RedHat 9.0 and Mandrake 9.2. Is there any boot parameter to run linux with framebuffering? Help me plaease
 
Old 01-25-2004, 08:36 AM   #15
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Ok, so i figured it out.
here's the answer http://en.tldp.org/HOWTO/Framebuffer-HOWTO-5.html

vesafb>
to 1024x768 the boot parameter is vga=791, but must have CONFIG_FB in config =y.

Oh, by the way, I've got TNT2. I heard something about rivafb, but didn't find anything useful in english at google (only in russian, sh..!). Any idea where to find some kind of how-to or docs?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compiling options slinky2004 Linux - General 6 10-10-2005 07:46 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM
Kernel Options unixvillian Linux - Software 1 07-10-2003 01:13 AM
default kernel options whysyn Slackware 1 06-16-2003 11:27 PM
kernel options thelight1 Linux - Newbie 3 05-09-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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