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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-22-2004, 04:27 PM
|
#1
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Rep:
|
kernel options
How can I foind out, what kernel options is my kernel compiled with?
|
|
|
01-22-2004, 04:32 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
01-22-2004, 04:34 PM
|
#3
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
01-22-2004, 04:35 PM
|
#4
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
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?
|
|
|
01-22-2004, 04:38 PM
|
#5
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
01-22-2004, 04:46 PM
|
#6
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
where's that howto exactly please, thanx
|
|
|
01-22-2004, 04:57 PM
|
#7
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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).
|
|
|
01-22-2004, 05:05 PM
|
#8
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
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?
|
|
|
01-22-2004, 05:12 PM
|
#9
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
01-22-2004, 05:15 PM
|
#10
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
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$!!!!
|
|
|
01-22-2004, 05:20 PM
|
#11
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
01-22-2004, 05:24 PM
|
#12
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
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?
|
|
|
01-22-2004, 05:28 PM
|
#13
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
01-25-2004, 05:37 AM
|
#14
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
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
|
|
|
01-25-2004, 08:36 AM
|
#15
|
Member
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 04:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|