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.
|
 |
10-10-2005, 04:00 PM
|
#1
|
Member
Registered: Oct 2004
Posts: 309
Rep:
|
kernel compiling options
i'm recompiling my kernel and trying to refine things a little bit, and there are a few options that i dont understand and the built in help isn't enough.
1.
Quote:
[ ] Machine Check Exception
|
the helps says that a "pentium or higher" processor is required for this, but then it says that it ignores non-mce processors like 386 and 486, so i dunno if my processor would be able to use this or not and i'm lost on how to find out.
2.
Quote:
[ ]Local APIC support on uniprocessors
[ ]IO-APIC support on uniprocessors
|
how do i know if my processor uses APIC, is there any way to check? if i'm not using this, i'd rather not compile it in and increase my kernel size
Quote:
[ ] Machine Check Exception
< > Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4
[ ] check for P4 thermal throttling interrupt.
|
these options are for pentium 4 processors, but i'm not sure if my processor uses them anyway, how can i find out?
it says that if your processor doesnt have a math coprocessor, you need this feature. how do i find out if i've got a math coprocessor?
my processor is a pentium m centrino, btw. doesn't intel bother to post this stuff on their site somewhere? i couldn't find it.
do i need the options under this in order to do any routing at all? the help said to enable this if you're planning on doing mostly routing with your computer, but what if i just want to do a little routing once in a while, do i still need this?
Quote:
< > Bluetooth subsystem support --->
|
do i need this enabled just to use my wireless card at all or is bluetooth something separate from regular wifi?
Quote:
Console display driver support --->
Logo configuration --->
|
i've turned the console display stuff on and set my logo in the logo configuration to the standard 224 bit tux(is it a problem to select all three logos?). will setting up console display driver and framebuffer options allow me to view images from the console, set console background images, etc.?
|
|
|
10-10-2005, 04:17 PM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
Since you have a modern laptop, I would assume it has full APIC support.
BlueTooth is not the same as WiFi, you don't need it.
You should only have a single logo selected, not all 3.
Every CPU (that I know of, anyway) since the 80386 has had a math coprocessor.
The rest, I would say you are being over-critical. You are talking about adding a few hundred bytes to your kernel, at most, to add things like "Machine Check Exception".
|
|
|
10-10-2005, 04:32 PM
|
#3
|
Member
Registered: Oct 2004
Posts: 309
Original Poster
Rep:
|
what about the routing? do i need advanced route stuff or is that just some extra routing stuff that i would need if i was making a dedicated router?
the stuff about "Machine check Exception" and the "P4 thermal throttling", i'd like to find out if my processor(pentium M centrino) uses it just because i'm curious. are the pentium M's based on p4 at all or are they a totally new architecture.
also, for some reason, i've selected the options for console display, and selected one logo(the 224 bit tux logo) and i dont see it at startup.
|
|
|
10-10-2005, 04:46 PM
|
#4
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
The advanced routing won't be needed, as you assumed, unless you are doing advanced routing. Basic jobs like port forwarding and setting up a firewall don't require the Advanced Routing features.
If you aren't seeing Tux on boot-up, it could be a problem with your video driver, or the framebuffer is not enabled.
|
|
|
10-10-2005, 05:34 PM
|
#5
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,311
|
It seemed to me that when I did a make defconfig, a lot of options seemed to have "magically" selected themselves to appropriate default-values for the host-processor. But I haven't actually delved into the Makefile to see if that was actually the case.
Use /proc/cpuinfo to see what kind of processor is installed on the host machine.
What I'd suggest is that you start with the default-configuration and then tweak it as you need to. Then boot it up and try it out. I wouldn't start with "make oldconfig" because distros usually include everything but the kitchen sink.
Personally, I like to put all of the device-drivers I'll need, the IP stuff I'll need and so-on right into the kernel, instead of using modules for anything (and thus without needing an initial-ramdisk for any reason). The greatest amount of time and space is saved by stripping-out all of the device drivers that you know you don't need. The resulting kernel is "lean and mean" and loads quickly, straight from the bootloader without a ramdisk. When, and if, you actually change the hardware layout of the machine, then you simply build a new kernel appropriate to the new equipment.
|
|
|
10-10-2005, 06:49 PM
|
#6
|
Member
Registered: Oct 2004
Posts: 309
Original Poster
Rep:
|
well, the thing about tux is that he shows up fine with the stock kernel from slackware. i have all of my framebuffer options set up with my 2.6 kernel tho, so i dunno what's wrong. looking at the dmesg from both kernels, the stock kernel has these lines in dmesg
Quote:
vesafb: framebuffer at 0xe8000000, mapped to 0xe001d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=9
vesafb: protected mode interface info at a5f3:1f5f
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
|
the 2.6 kernel doesnt have that, what part of the kernel configuration do i go so that i can enable vesafb, etc.?
Last edited by slinky2004; 10-10-2005 at 07:52 PM.
|
|
|
10-10-2005, 07:46 PM
|
#7
|
Member
Registered: Oct 2004
Posts: 309
Original Poster
Rep:
|
my dmesg shows this:
Quote:
Local APIC disabled by BIOS -- you can enable it with "lapic"
|
what does this mean? is my processor not using apic?
|
|
|
All times are GMT -5. The time now is 04:06 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
|
|