Gentoo Archives: gentoo-user

From: Teresa and Dale <teendale@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
Date: Mon, 27 Mar 2006 04:51:31
Message-Id: 44276D66.6060103@vista-express.com
In Reply to: Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel by Gabriel Dain
1 Gabriel Dain wrote:
2
3 >Are you sure you compiled it as embbeded, and not module? (* or M in
4 >menuconfig). If it is M, you'll have to load the module, and add it to
5 >the list of modules that are loaded at startup.
6 >--
7 >Gabriel Dain
8 >
9 >
10 >
11
12 I'll take some time to clarify this more. This is a copy and paste of my
13 kernel config for the ACPI stuff.
14
15 > Linux Kernel v2.6.14-gentoo-r5 Configuration
16 > ────────────────────────────────────────────────────────────────────────────────────
17 > ┌────────── ACPI (Advanced Configuration and Power Interface) Support
18 > ──────────┐
19 > │ Arrow keys navigate the menu. <Enter> selects submenus --->.
20 > Highlighted │
21 > │ letters are hotkeys. Pressing <Y> includes, <N> excludes, <M>
22 > modularizes │
23 > │ features. Press <Esc><Esc> to exit, <?> for Help, </> for Search.
24 > Legend: │
25 > │ [*] built-in [ ] excluded <M> module < > module capable │
26 > │
27 > ┌───────────────────────────────────────────────────────────────────────────┐
28 > │
29 > │ │[*] ACPI Support │ │
30 > │ │[ ] Sleep States │ │
31 > │ │< > AC Adapter │ │
32 > │ │<M> Battery │ │
33 > │ │<*> Button │ │
34 > │ │< > Video │ │
35 > │ │< > Generic Hotkey (EXPERIMENTAL) │ │
36 > │ │< > Fan │ │
37 > │ │< > Processor │ │
38 > │ │< > ASUS/Medion Laptop Extras │ │
39 > │ │< > IBM ThinkPad Laptop Extras │ │
40 > │ │< > Toshiba Laptop Extras │ │
41 > │ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
42 > │ │[ ] Debug Statements (NEW) │ │
43 > │ │[ ] Power Management Timer Support │ │
44 > │
45 > └┴(+)───────────────────────────────────────────────────────────────────────┘
46 > │
47 > ├───────────────────────────────────────────────────────────────────────────────┤
48 > │ <Select> < Exit > < Help > │
49 > └───────────────────────────────────────────────────────────────────────────────┘
50 >
51 >
52
53 It's not the best, but it should help anyway. Do you see the * to the
54 left of ACPI Support? That means that that is compiled into the kernel.
55 The same for Button. See the M to the left of Battery? That means it is
56 compiled as a module and has to be loaded when you boot up or whenever
57 you need to use. The ones that have nothing in there, they are not in
58 the kernel at all. Oh, do you see the little + sign at the bottom right
59 under Power Management Timer Support? That means there is more below.
60 You can use the down arrow to scroll down and it will come up.
61
62 As it says up at the top, you can press "y" to compile it in, press "m"
63 to have it as a module or press "n" to leave it out. You can also swith
64 through them with the space bar. There are a lot of gurus here that may
65 disagree with this, but I have no modules for my kernel unless I have to
66 have it for some reason. I did have modules for my temp sensors but that
67 was so I could reset it without rebooting. I'm sure someone will come in
68 with 100 reasons to have modules and some others will have reasons not
69 too. I say do it like you need to and whatever makes you and the system
70 happy.
71
72 When you make a new kernel, don't remove the old one. Since it does boot
73 up, you can use it to fall back on in case your new one fails for some
74 reason. Just give it a different name from the old one when you copy it
75 over. I do mine names like this:
76
77 > root@smoker / # ls -al /boot/bzI*
78 > -rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
79 > -rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
80 > -rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
81 > root@smoker / #
82
83
84 I currently have three kernels that I can boot if one of them gets
85 corrupted or something. The last digit is like a version number for me.
86 If you can't boot the old one, you can hit "e" twice when grub comes up
87 and then use the arrow keys to edit which kernel you want to boot. It
88 can save you a lot of headaches too. After you edit that, you just hit
89 return and then hit the "b" key to boot it up. If it gives you a grub
90 error, just hit the escape (Esc) key to go back and try again.
91
92 Another thing you may not know, you can hit the tab key to complete a
93 lot of commands too. That includes on the grub screen. If you know it is
94 bzImage something but can't remember the rest, just delete back to the
95 bzImage then hit the tab key, may have to hit it twice though. It will
96 either fill it in or give you a list of the ones that match so far. That
97 works for a lot of things in Linux. Oh, the arrow keys work in there
98 too. You can left arrow over until you get to the kernel name to change
99 that. It will keep you from having to put the root= stuff back in that way.
100
101 Hope this helps. I'm about to take some meds and may not be around for a
102 while. Plenty of others here to help though.
103
104 Dale
105 :-)
106 --
107 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron <lordsauronthegreat@×××××.com>