Gabriel Dain wrote:

>Are you sure you compiled it as embbeded, and not module? (* or M in
>menuconfig). If it is M, you'll have to load the module, and add it to
>the list of modules that are loaded at startup.
>--
>Gabriel Dain
>
>  
>

I'll take some time to clarify this more. This is a copy and paste of my
kernel config for the ACPI stuff.

> Linux Kernel v2.6.14-gentoo-r5 Configuration
> ────────────────────────────────────────────────────────────────────────────────────
> ┌────────── ACPI (Advanced Configuration and Power Interface) Support
> ──────────┐
> │ Arrow keys navigate the menu. <Enter> selects submenus --->.
> Highlighted │
> │ letters are hotkeys. Pressing <Y> includes, <N> excludes, <M>
> modularizes │
> │ features. Press <Esc><Esc> to exit, <?> for Help, </> for Search.
> Legend: │
> │ [*] built-in [ ] excluded <M> module < > module capable │
> │
> ┌───────────────────────────────────────────────────────────────────────────┐
> │
> │ │[*] ACPI Support │ │
> │ │[ ] Sleep States │ │
> │ │< > AC Adapter │ │
> │ │<M> Battery │ │
> │ │<*> Button │ │
> │ │< > Video │ │
> │ │< > Generic Hotkey (EXPERIMENTAL) │ │
> │ │< > Fan │ │
> │ │< > Processor │ │
> │ │< > ASUS/Medion Laptop Extras │ │
> │ │< > IBM ThinkPad Laptop Extras │ │
> │ │< > Toshiba Laptop Extras │ │
> │ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
> │ │[ ] Debug Statements (NEW) │ │
> │ │[ ] Power Management Timer Support │ │
> │
> └┴(+)───────────────────────────────────────────────────────────────────────┘
> │
> ├───────────────────────────────────────────────────────────────────────────────┤
> │ <Select> < Exit > < Help > │
> └───────────────────────────────────────────────────────────────────────────────┘
>
>

It's not the best, but it should help anyway. Do you see the * to the
left of ACPI Support? That means that that is compiled into the kernel.
The same for Button. See the M to the left of Battery? That means it is
compiled as a module and has to be loaded when you boot up or whenever
you need to use. The ones that have nothing in there, they are not in
the kernel at all. Oh, do you see the little + sign at the bottom right
under Power Management Timer Support? That means there is more below.
You can use the down arrow to scroll down and it will come up.

As it says up at the top, you can press "y" to compile it in, press "m"
to have it as a module or press "n" to leave it out. You can also swith
through them with the space bar. There are a lot of gurus here that may
disagree with this, but I have no modules for my kernel unless I have to
have it for some reason. I did have modules for my temp sensors but that
was so I could reset it without rebooting. I'm sure someone will come in
with 100 reasons to have modules and some others will have reasons not
too. I say do it like you need to and whatever makes you and the system
happy.

When you make a new kernel, don't remove the old one. Since it does boot
up, you can use it to fall back on in case your new one fails for some
reason. Just give it a different name from the old one when you copy it
over. I do mine names like this:

> [EMAIL PROTECTED] / # ls -al /boot/bzI*
> -rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
> -rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
> -rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
> [EMAIL PROTECTED] / #


I currently have three kernels that I can boot if one of them gets
corrupted or something. The last digit is like a version number for me.
If you can't boot the old one, you can hit "e" twice when grub comes up
and then use the arrow keys to edit which kernel you want to boot. It
can save you a lot of headaches too. After you edit that, you just hit
return and then hit the "b" key to boot it up. If it gives you a grub
error, just hit the escape (Esc) key to go back and try again.

Another thing you may not know, you can hit the tab key to complete a
lot of commands too. That includes on the grub screen. If you know it is
bzImage something but can't remember the rest, just delete back to the
bzImage then hit the tab key, may have to hit it twice though. It will
either fill it in or give you a list of the ones that match so far. That
works for a lot of things in Linux. Oh, the arrow keys work in there
too. You can left arrow over until you get to the kernel name to change
that. It will keep you from having to put the root= stuff back in that way.

Hope this helps. I'm about to take some meds and may not be around for a
while. Plenty of others here to help though.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list

Reply via email to