/[gentoo]/xml/htdocs/doc/en/gentoo-amd64-faq.xml
Gentoo

Contents of /xml/htdocs/doc/en/gentoo-amd64-faq.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.33 - (show annotations) (download) (as text)
Fri Apr 24 17:13:41 2009 UTC (5 years, 2 months ago) by nightmorph
Branch: MAIN
Changes since 1.32: +7 -5 lines
File MIME type: application/xml
the flash plugin got a new name, and updated some of the install instructions

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml,v 1.32 2009/04/15 06:33:59 nightmorph Exp $ -->
4
5 <guide link="/doc/en/gentoo-amd64-faq.xml">
6 <title>Gentoo Linux/AMD64 Frequently Asked Questions</title>
7
8 <author title="Editor">
9 <mail link="blubb@gentoo.org">Simon Stelling</mail>
10 </author>
11 <author title="Editor">
12 <mail link="metalgod@gentoo.org">Luis Medinas</mail>
13 </author>
14 <author title="Editor">
15 <mail link="gerrynjr@gentoo.org">Gerald J. Normandin Jr.</mail>
16 </author>
17 <author title="Editor">
18 <mail link="neysx@gentoo.org">Xavier Neys</mail>
19 </author>
20 <author title="Editor">
21 <mail link="nightmorph"/>
22 </author>
23
24 <abstract>
25 This is the Gentoo Linux/AMD64 Frequently Asked Questions
26 </abstract>
27
28 <!-- The content of this document is licensed under the CC-BY-SA license -->
29 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
30 <license/>
31
32 <version>1.24</version>
33 <date>2009-04-24</date>
34
35 <faqindex>
36 <title>Questions</title>
37 <section>
38 <title>Introduction to Gentoo/AMD64 FAQ</title>
39 <body>
40
41 <p>
42 This document contains the most commonly asked questions about Gentoo/AMD64. We
43 intend to help and provide useful information about Gentoo/AMD64. Some of these
44 questions can be found in forums, IRC, or mailing lists. If you have
45 suggestions or questions about this FAQ, you are welcome to send an e-mail to
46 <mail>amd64@gentoo.org</mail>.
47 </p>
48
49 </body>
50 </section>
51 </faqindex>
52
53 <chapter>
54 <title>Installation</title>
55 <section id="cflags">
56 <title>What CFLAGS should I use for AMD64/EM64T?</title>
57 <body>
58
59 <p>
60 You should use simple <c>CFLAGS</c> to avoid future problems with your system.
61 Supported <c>CFLAGS</c> are <c>-O2 -march=k8 -pipe</c> for non-EM64T systems and
62 <c>-O2 -march=nocona -pipe</c> for EM64T systems.
63 </p>
64
65 </body>
66 </section>
67 <section id="kernel">
68 <title>What kernel should I use for AMD64?</title>
69 <body>
70
71 <p>
72 You can use almost all kernel sources available in Portage. We recommend using
73 <c>gentoo-sources</c> because it is a special kernel designed for Gentoo Linux.
74 It contains lots of AMD64-specific patches and therefore is the only kernel
75 officially supported by Gentoo/AMD64.
76 </p>
77
78 <warn>
79 You should watch out for some kernel features which are not well tested, such
80 as <c>PREEMPT</c>.
81 </warn>
82
83 <p>
84 Make sure you have the <c>IA32_EMULATION</c> option activated in the kernel.
85 </p>
86
87 <pre caption="Activating IA32 Emulation in Kernel source">
88 # <i>cd /usr/src/linux</i>
89 # <i>make menuconfig</i>
90
91 Executable file formats / Emulations ---&gt;
92 [*] IA32 Emulation
93 </pre>
94
95 <warn>
96 You may experience build failures on multilib-systems if you deactivate this
97 option.
98 </warn>
99
100 </body>
101 </section>
102 <section id="perfup">
103 <title>Will I have a performance upgrade if I use a 64bit system instead of 32bit?</title>
104 <body>
105
106 <p>
107 That is a difficult question to answer. In some cases, you will experience a
108 performance improvement, in other cases you will not. For everyday use, there is
109 nearly no difference between 64bit and 32bit. 64bit is generally faster when it
110 comes to floating point computing which is normally the case in multimedia
111 applications and 3D rendering. This <uri
112 link="http://www.linux.com/articles/114024?tid=121">article</uri> (and a <uri
113 link="http://www.linux.com/feature/43873">related</uri> article) may interest
114 you. There's also a nice <uri
115 link="http://forums.gentoo.org/viewtopic-t-349691.html">thread</uri> in our <uri
116 link="http://forums.gentoo.org">forums</uri>.
117 </p>
118
119 </body>
120 </section>
121 <section id="multilib">
122 <title>What is multilib and how can I use it?</title>
123 <body>
124
125 <p>
126 Every AMD64 processor is able to run 32bit code as well as 64bit code.
127 However, when you have a 32bit application, you are unable to mix it with
128 64bit libraries or vice versa. You can, however, natively run 32bit
129 applications if all shared libraries it needs are available as 32bit objects.
130 You can choose whether you want multilib support or not by selecting the
131 according profile. The default is a multilib-enabled profile.
132 </p>
133
134 <warn>
135 Currently you cannot switch from a no-multilib to a multilib-enabled profile,
136 so think over your decision twice before you use the no-multilib profile.
137 </warn>
138
139 </body>
140 </section>
141 <section id="chroot32">
142 <title>How do I create a 32bit chroot?</title>
143 <body>
144
145 <p>
146 Please read the <uri link="/proj/en/base/amd64/howtos/chroot.xml">32bit chroot
147 guide</uri>.
148 </p>
149
150 </body>
151 </section>
152 <section id="upgradex86">
153 <title>Can I upgrade from my x86 system to amd64 by doing emerge -e world?</title>
154 <body>
155
156 <p>
157 Due to several differences between an <c>x86</c> and an <c>amd64</c>
158 installation, it is impossible to upgrade. Please perform a fresh install. The
159 installation is slightly different than an x86 one, so please use the
160 <uri link="/doc/en/handbook/handbook-amd64.xml">AMD64 Handbook</uri>.
161 </p>
162
163 <p>
164 Also, binary files created on an x86 system most likely cannot be read by
165 packages on an amd64 system. In particular, databases such as MySQL, innoDB,
166 Berkeley DB, SQLite, OpenLDAP, etc. cannot simply be copied as-is. You will need
167 to dump the database into an architecture-independent format, such as a text
168 file, before attempting to restore it on an amd64 system.
169 </p>
170
171 </body>
172 </section>
173 <section id="reiser4">
174 <title>Can I use Reiser4?</title>
175 <body>
176
177 <p>
178 Reiser4 is not available from any kernel offered by the Gentoo Kernel project,
179 thus neither AMD64 team supports it. The answer is no.
180 </p>
181
182 </body>
183 </section>
184 </chapter>
185
186 <chapter>
187 <title>Hardware</title>
188 <section id="videobindrivers">
189 <title>Will my binary NVIDIA/ATI drivers work?</title>
190 <body>
191
192 <p>
193 Yes, NVIDIA and ATI provide drivers that work on AMD64. You can install them by
194 executing <c>emerge nvidia-drivers</c> or <c>emerge ati-drivers</c>. If you have
195 more questions about these drivers, you should read the <uri
196 link="/doc/en/nvidia-guide.xml">Nvidia guide</uri> or the <uri
197 link="/doc/en/ati-faq.xml">ATI FAQ</uri>.
198 </p>
199
200 </body>
201 </section>
202 <section id="coolnquiet">
203 <title>How do I use Cool'n'Quiet/PowerNow features?</title>
204 <body>
205
206 <p>
207 You have to compile your kernel with support for these features. You just need
208 to enable the features below:
209 </p>
210
211 <pre caption="Kernel options for Cool'n'Quiet/PowerNow">
212 Power management options ---&gt;
213 [*] Power Management support
214 CPU Frequency scaling ---&gt;
215 [*] CPU Frequency scaling
216 [*] CPU frequency table helpers
217 [*] AMD Opteron/Athlon64 PowerNow!
218 </pre>
219
220 <p>
221 Then <c>emerge cpudyn</c> and edit <path>/etc/conf.d/cpudyn</path> with your
222 favorite editor.
223 </p>
224
225 <pre caption="Example of /etc/conf.d/cpudyn">
226 INTERVAL=1
227 CPU_UP=0.5
228 CPU_DOWN=0.9
229 THROTTLING_LOW=7
230 CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq"
231 CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling"
232 </pre>
233
234 <p>
235 Now you only have to run <c>rc-update add cpudyn default</c> to make sure it is
236 started every time you boot.
237 </p>
238
239 <note>
240 You may want to read the <uri
241 link="/doc/en/power-management-guide.xml#doc_chap3">Power Management Guide</uri>
242 for more tips on CPU power management.
243 </note>
244
245 </body>
246 </section>
247 </chapter>
248
249 <chapter>
250 <title>Applications</title>
251 <section id="flash">
252 <title>Can I get Adobe Flash working?</title>
253 <body>
254
255 <p>
256 Yes. Just <c>emerge adobe-flash</c>. Adobe has provided a 64-bit Flash plugin
257 starting with version 10.0.22.87. If you don't need the 32-bit plugin, then run
258 <c>echo "www-plugins/adobe-flash -32bit" >> /etc/portage/package.use</c>. This
259 will install only the 64-bit Flash plugin.
260 </p>
261
262 </body>
263 </section>
264 <section id="OOo">
265 <title>Can I get OpenOffice.org working?</title>
266 <body>
267
268 <p>
269 Yes. Run <c>emerge openoffice</c>. It may take several hours and use most of
270 your system resources. If you don't think your machine is up to it, you can try
271 installing the precompiled binary, <c>openoffice-bin</c>.
272 </p>
273
274 </body>
275 </section>
276 <section id="masked">
277 <title>I want to install package foo, but emerge says: (masked by: ~amd64 keyword)</title>
278 <body>
279
280 <p>
281 This means that the package is still in the 'testing' tree. Please read <c>man
282 portage</c> or the <uri
283 link="/doc/en/handbook/handbook-amd64.xml?part=3&amp;chap=3">Mixing Software
284 Branches</uri> chapter of the <uri
285 link="/doc/en/handbook/handbook-amd64.xml">AMD64 Handbook</uri> for more
286 information.
287 </p>
288
289 </body>
290 </section>
291 <section id="keyword">
292 <title>I want to install package foo, but emerge says: (masked by: missing keyword)</title>
293 <body>
294
295 <p>
296 This means that the package has not been tested yet. It does <e>not
297 necessarily</e> mean that the package does not work. You can unmask it by
298 accepting another architecture for the package. The following example shows you
299 can tell Portage to accept any keyword for a given package.
300 </p>
301
302 <pre caption="Example of adding package keywords">
303 # <i>echo "category/packagename **" >> /etc/portage/package.keywords</i>
304 # <i>emerge packagename</i>
305 </pre>
306
307 <p>
308 If it works fine for you, please let us know and file a bug on <uri
309 link="http://bugs.gentoo.org/">Gentoo's Bugzilla</uri>, so that the AMD64 team
310 can keyword the package and other users can benefit from your test.
311 </p>
312
313 <warn>
314 Do not try commands like <c>ACCEPT_KEYWORDS="~x86" emerge packagename</c>. It
315 will most certainly break your tree.
316 </warn>
317
318 </body>
319 </section>
320 </chapter>
321
322 <chapter>
323 <title>How can I help the Gentoo/AMD64 project?</title>
324 <section id="project">
325 <title>How can I help?</title>
326 <body>
327
328 <p>
329 With a growing popularity of the amd64 architecture, we also increasingly need
330 more help. There's still much work to be done to improve the quality of
331 Gentoo/AMD64. An average user can help us by:
332 </p>
333
334 <ul>
335 <li>Filing general bug reports</li>
336 <li>Testing software that does not yet have the <c>~amd64</c> keyword</li>
337 <li>
338 Participating in the <uri link="/proj/en/base/amd64/at/">Arch Testers
339 project</uri>
340 </li>
341 <li>
342 Help answering questions on the mailing lists, forums and IRC channels
343 </li>
344 <li>Sending patches</li>
345 </ul>
346
347 </body>
348 </section>
349 </chapter>
350
351 <chapter>
352 <title>Other Resources</title>
353 <section id="other">
354 <title>Where can I get more help or information about Gentoo/AMD64?</title>
355 <body>
356
357 <p>
358 If any of your questions wasn't answered here, you can try other resources
359 listed on <uri link="/proj/en/base/amd64/">our project homepage</uri>. You can
360 also ask us at <c>#gentoo-amd64</c> on <c>irc.freenode.net</c>, <uri
361 link="http://forums.gentoo.org/viewforum-f-46.html">Gentoo/AMD64 Forums</uri>,
362 or on the <c>gentoo-amd64@lists.gentoo.org</c> mailing list.
363 </p>
364
365 </body>
366 </section>
367 </chapter>
368
369 </guide>

  ViewVC Help
Powered by ViewVC 1.1.20