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 18:25:47
Message-Id: 44282B49.50709@vista-express.com
In Reply to: Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel by Lord Sauron
1 Lord Sauron wrote:
2
3 >On 3/26/06, Teresa and Dale <teendale@×××××××××××××.com> wrote:
4 >
5 >
6 >
7 >
8 >I had this set to be compiled into the kernel. Should that present
9 >any problems?
10 >
11 >
12
13 Most things do not matter. You can do either way. There are some
14 things that I have seen that must be modules and some things, like file
15 systems, that must be compiled in. Example on the last one, I use
16 reiserfs for my files system including root. If I have reiserfs as a
17 module, the kernel will not be able to read my root partition to boot
18 up. For that reason, I have to compile it in so it can read the root
19 partition. IF I had say a data partition that used XFS, I could make
20 that a module if I wanted to. The system will boot up and then load all
21 the modules so it can read the other file systems.
22
23 One reason some use modules is that you can update them or do bug fixes
24 without rebooting. You just unload the module, update it, then reload
25 it again. This is usually something that folks like me and you do not
26 have to worry about though.
27
28 >
29 >
30 >>> <*> Button  
31 >>> < > Video  
32 >>> < > Generic Hotkey (EXPERIMENTAL)  
33 >>> < > Fan  
34 >>> < > Processor  
35 >>> < > ASUS/Medion Laptop Extras  
36 >>> < > IBM ThinkPad Laptop Extras  
37 >>>
38 >>>
39 >
40 >I had this enabled (compiled into kernel) since I do own a IBM X40.
41 >
42 >
43 >
44 >>> < > Toshiba Laptop Extras  
45 >>> (0) Disable ACPI for systems before Jan 1st this year (NEW)  
46 >>>
47 >>>
48 >
49 >What on earth is this? I read the descriptor, but it didn't help me much...
50 >
51 >
52
53 >From what I have read, some systems do not support ACPI at all. They
54 will not work, or maybe they blow up or something. I assume that there
55 is some way for it to know when it was made and it will disable it if it
56 is before that date. I'm not really sure either.
57
58 >>As it says up at the top, you can press "y" to compile it in, press "m"
59 >>to have it as a module or press "n" to leave it out. You can also swith
60 >>through them with the space bar. There are a lot of gurus here that may
61 >>disagree with this, but I have no modules for my kernel unless I have to
62 >>have it for some reason. I did have modules for my temp sensors but that
63 >>was so I could reset it without rebooting. I'm sure someone will come in
64 >>with 100 reasons to have modules and some others will have reasons not
65 >>too. I say do it like you need to and whatever makes you and the system
66 >>happy.
67 >>
68 >>
69 >
70 >I'm just going to try compiling stuff into the kernel first, before I
71 >try and tinker.
72 >
73 >
74
75 Save that info, you may need it. The first kernel I made would boot up
76 but some things, USB and a couple other things didn't work, so I made a
77 new one. The new one wouldn't work at all. Something I changed didn't
78 work right at all. Since I saved the old one, I just rebooted and used
79 it. Otherwise, I would have had to boot the CD and chrooted in to fix
80 it. That's a good tip to keep in mind.
81
82 >
83 >
84 >>When you make a new kernel, don't remove the old one. Since it does boot
85 >>up, you can use it to fall back on in case your new one fails for some
86 >>reason. Just give it a different name from the old one when you copy it
87 >>over. I do mine names like this:
88 >>
89 >>
90 >
91 >So, I should rename one of my kernels and try and see which one is
92 >which? Or am I still off the mark? It didn't look like it compiled
93 >the kernel... I think it should have taken longer, but it didn't. I
94 >may be missing a step. : /
95 >
96 >
97
98 Most likely the first one is named bzImage and that is fine. Just name
99 you new one something different. You can name it bzImage-1 if you
100 want. I put the kernel version on the end so I know what version it is.
101
102 >
103 >
104 >>>root@smoker / # ls -al /boot/bzI*
105 >>>-rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
106 >>>-rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
107 >>>-rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
108 >>>root@smoker / #
109 >>>
110 >>>
111 >>I currently have three kernels that I can boot if one of them gets
112 >>corrupted or something. The last digit is like a version number for me.
113 >>If you can't boot the old one, you can hit "e" twice when grub comes up
114 >>and then use the arrow keys to edit which kernel you want to boot. It
115 >>can save you a lot of headaches too. After you edit that, you just hit
116 >>return and then hit the "b" key to boot it up. If it gives you a grub
117 >>error, just hit the escape (Esc) key to go back and try again.
118 >>
119 >>
120 >
121 >Just a question: if the support is made to be as a module (M, instead
122 >of *) does that mean that you have to add something like "doacpi" to
123 >the boot parameters?
124 >
125 >
126
127 That means you have to add it to the /etc/modules.autoload.d/kernel-2.6
128 file for it to load the module when it boots. This is what my file
129 looks like:
130
131 > nvidia
132 > hwmon_vid
133 > i2c_isa
134 > w83627hf
135
136
137 I guess I do still have my sensors as modules. Anyway, nvidia has to be
138 a module. You will see them when they load up.
139
140 >
141 >>
142 >>Hope this helps. I'm about to take some meds and may not be around for a
143 >>while. Plenty of others here to help though.
144 >>
145 >>
146 >
147 >Ah, you take crazy-pills too. I've already taken mine, so I'm a
148 >couple minutes away from sleep. Thanks for your help. By the end of
149 >this I'll hopefully be guru enough to help someone else out in turn :
150 >)
151 >
152 >
153
154 Not crazy pills. I'm disabled from a skin disorder and when it starts
155 to itch like crazy I can take meds for it. It's just that the meds make
156 me sleepy. When I get up, I have a really dry mouth and I want to eat
157 everything in the house, even some foods I don't like. I took my meds,
158 just one pill though, so parden me while I go eat. O_O
159
160 Dale
161 :-)
162
163 --
164 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>