On 3/26/06, Teresa and Dale <[EMAIL PROTECTED]> wrote: > 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 │ │
Yes, that is the same as my config. > > │ │[ ] Sleep States │ │ > > │ │< > AC Adapter │ │ > > │ │<M> Battery │ │ I had this set to be compiled into the kernel. Should that present any problems? > > │ │<*> Button │ │ > > │ │< > Video │ │ > > │ │< > Generic Hotkey (EXPERIMENTAL) │ │ > > │ │< > Fan │ │ > > │ │< > Processor │ │ > > │ │< > ASUS/Medion Laptop Extras │ │ > > │ │< > IBM ThinkPad Laptop Extras │ │ I had this enabled (compiled into kernel) since I do own a IBM X40. > > │ │< > Toshiba Laptop Extras │ │ > > │ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │ What on earth is this? I read the descriptor, but it didn't help me much... > > │ │[ ] 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. I'm just going to try compiling stuff into the kernel first, before I try and tinker. > 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: So, I should rename one of my kernels and try and see which one is which? Or am I still off the mark? It didn't look like it compiled the kernel... I think it should have taken longer, but it didn't. I may be missing a step. : / > > [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. Just a question: if the support is made to be as a module (M, instead of *) does that mean that you have to add something like "doacpi" to the boot parameters? > 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. Ah, you take crazy-pills too. I've already taken mine, so I'm a couple minutes away from sleep. Thanks for your help. By the end of this I'll hopefully be guru enough to help someone else out in turn : ) -- ========== GCv3.12 ========== GCS d-(++) s+: a? C++ UL+>++++ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y ========= END GCv3.12 ======== -- gentoo-user@gentoo.org mailing list