/[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.30 - (hide annotations) (download) (as text)
Wed Sep 10 19:46:38 2008 UTC (6 years ago) by nightmorph
Branch: MAIN
Changes since 1.29: +22 -7 lines
File MIME type: application/xml
added information on using nspluginwrapper for Flash, bug 237348

1 neysx 1.1 <?xml version="1.0" encoding="UTF-8"?>
2     <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3 nightmorph 1.30 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml,v 1.29 2008/09/02 07:47:43 nightmorph Exp $ -->
4 neysx 1.1
5     <guide link="/doc/en/gentoo-amd64-faq.xml">
6     <title>Gentoo Linux/AMD64 Frequently Asked Questions</title>
7    
8     <author title="Editor">
9 neysx 1.22 <mail link="blubb@gentoo.org">Simon Stelling</mail>
10     </author>
11     <author title="Editor">
12 fox2mike 1.12 <mail link="metalgod@gentoo.org">Luis Medinas</mail>
13 neysx 1.1 </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 nightmorph 1.30 <author title="Editor">
21     <mail link="nightmorph"/>
22     </author>
23 neysx 1.1
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 nightmorph 1.30 <version>1.21</version>
33     <date>2008-09-10</date>
34 neysx 1.1
35 neysx 1.26 <faqindex>
36 neysx 1.1 <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 neysx 1.22 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 neysx 1.1 </p>
48    
49     </body>
50     </section>
51 neysx 1.26 </faqindex>
52 neysx 1.1
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 neysx 1.22 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 neysx 1.1 </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 smithj 1.2 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 neysx 1.22 officially supported by Gentoo/AMD64.
76 neysx 1.1 </p>
77    
78     <warn>
79 smithj 1.2 You should watch out for some kernel features which are not well tested, such
80 neysx 1.1 as <c>PREEMPT</c>.
81     </warn>
82    
83 neysx 1.22 <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 neysx 1.1 </body>
101     </section>
102     <section id="perfup">
103 neysx 1.23 <title>Will I have a performance upgrade if I use a 64bit system instead of 32bit?</title>
104 neysx 1.1 <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
109 neysx 1.23 is nearly no difference between 64bit and 32bit. 64bit is generally faster
110 neysx 1.1 when it comes to floating point computing which is normally the case in
111     multimedia applications and 3D rendering. This <uri
112     link="http://enterprise.linux.com/enterprise/05/06/09/1413209.shtml?tid=121">article</uri>
113     may interest you. There's also a nice <uri
114     link="http://forums.gentoo.org/viewtopic-t-349691.html">thread</uri> in our
115     <uri link="http://forums.gentoo.org">forums</uri>.
116     </p>
117    
118     </body>
119     </section>
120     <section id="multilib">
121     <title>What is multilib and how can I use it?</title>
122     <body>
123    
124     <p>
125 neysx 1.23 Every AMD64 processor is able to run 32bit code as well as 64bit code.
126     However, when you have a 32bit application, you are unable to mix it with
127     64bit libraries or vice versa. You can, however, natively run 32bit
128     applications if all shared libraries it needs are available as 32bit objects.
129 smithj 1.2 You can choose whether you want multilib support or not by selecting the
130 neysx 1.1 according profile. The default is a multilib-enabled profile.
131     </p>
132    
133 neysx 1.22 <warn>
134     Currently you cannot switch from a no-multilib to a multilib-enabled profile,
135     so think over your decision twice before you use the no-multilib profile.
136     </warn>
137    
138 neysx 1.1 </body>
139     </section>
140     <section id="chroot32">
141 neysx 1.23 <title>How do I create a 32bit chroot?</title>
142 neysx 1.1 <body>
143    
144     <p>
145 neysx 1.23 Please read the <uri link="/proj/en/base/amd64/howtos/chroot.xml">32bit chroot
146 neysx 1.1 guide</uri>.
147     </p>
148    
149     </body>
150     </section>
151     <section id="upgradex86">
152     <title>Can I upgrade from my x86 system to amd64 by doing emerge -e world?</title>
153     <body>
154    
155     <p>
156     Due to several differences between an <c>x86</c> and an <c>amd64</c>
157     installation, it is impossible to upgrade. Please perform a fresh install. The
158 smithj 1.2 installation is slightly different than an x86 one, so please use the
159 neysx 1.1 <uri link="/doc/en/handbook/handbook-amd64.xml">AMD64 Handbook</uri>.
160     </p>
161    
162 nightmorph 1.29 <p>
163     Also, binary files created on an x86 system most likely cannot be read by
164     packages on an amd64 system. In particular, databases such as MySQL, innoDB,
165     Berkeley DB, SQLite, OpenLDAP, etc. cannot simply be copied as-is. You will need
166     to dump the database into an architecture-independent format, such as a text
167     file, before attempting to restore it on an amd64 system.
168     </p>
169    
170 neysx 1.1 </body>
171     </section>
172 jkt 1.14 <section id="reiser4">
173     <title>Can I use Reiser4?</title>
174     <body>
175    
176     <p>
177     Reiser4 is not available from any kernel offered by the Gentoo Kernel project,
178     thus neither AMD64 team supports it. The answer is no.
179     </p>
180 nightmorph 1.17
181 jkt 1.14 </body>
182     </section>
183 neysx 1.1 </chapter>
184    
185     <chapter>
186     <title>Hardware</title>
187     <section id="videobindrivers">
188     <title>Will my binary NVIDIA/ATI drivers work?</title>
189     <body>
190    
191     <p>
192     Yes, NVIDIA and ATI provide drivers that work on AMD64. You can install them by
193 nightmorph 1.25 executing <c>emerge nvidia-drivers</c> or <c>emerge ati-drivers</c>. If you have
194     more questions about these drivers, you should read the <uri
195     link="/doc/en/nvidia-guide.xml">Nvidia guide</uri> or the <uri
196     link="/doc/en/ati-faq.xml">ATI FAQ</uri>.
197 neysx 1.1 </p>
198    
199     </body>
200     </section>
201     <section id="coolnquiet">
202 nightmorph 1.17 <title>How do I use Cool'n'Quiet/PowerNow features?</title>
203 neysx 1.1 <body>
204    
205     <p>
206     You have to compile your kernel with support for these features. You just need
207 smithj 1.2 to enable the features below:
208 neysx 1.1 </p>
209    
210 nightmorph 1.17 <pre caption="Kernel options for Cool'n'Quiet/PowerNow">
211 neysx 1.1 Power management options ---&gt;
212     [*] Power Management support
213     CPU Frequency scaling ---&gt;
214     [*] CPU Frequency scaling
215     [*] CPU frequency table helpers
216     [*] AMD Opteron/Athlon64 PowerNow!
217     </pre>
218    
219     <p>
220     Then <c>emerge cpudyn</c> and edit <path>/etc/conf.d/cpudyn</path> with your
221     favorite editor.
222     </p>
223    
224     <pre caption="Example of /etc/conf.d/cpudyn">
225     INTERVAL=1
226     CPU_UP=0.5
227     CPU_DOWN=0.9
228     THROTTLING_LOW=7
229     CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq"
230     CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling"
231     </pre>
232    
233     <p>
234 smithj 1.2 Now you only have to run <c>rc-update add cpudyn default</c> to make sure it is
235     started every time you boot.
236 neysx 1.1 </p>
237    
238 nightmorph 1.24 <note>
239     You may want to read the <uri
240     link="/doc/en/power-management-guide.xml#doc_chap3">Power Management Guide</uri>
241     for more tips on CPU power management.
242     </note>
243    
244 neysx 1.1 </body>
245     </section>
246     </chapter>
247    
248     <chapter>
249     <title>Applications</title>
250     <section id="flash">
251     <title>Can I get Macromedia Flash working?</title>
252     <body>
253    
254     <p>
255 nightmorph 1.30 Yes. Even though Macromedia doesn't provide a 64-bit version of Flash, there are
256     a couple ways to get Flash working.
257     </p>
258    
259     <p>
260     First, you can use a 32-bit browser like <c>mozilla-firefox-bin</c> or
261     <c>opera</c> with the 32-bit Flash. After emerging the -bin package of your
262     favorite browser, install Flash by doing <c>emerge netscape-flash</c>.
263     </p>
264    
265     <p>
266     Second, you can use a 64-bit browser such as <c>mozilla-firefox</c> with the
267     32-bit Flash plugin by emerging <c>nspluginwrapper</c>, a which lets you load
268     32-bit plugins on 64-bit browsers. Install your browser, <c>netscape-flash</c>,
269     and then <c>nspluginwrapper</c>. The wrapper will automatically detect and setup
270     Flash for your browser.
271 neysx 1.1 </p>
272    
273     </body>
274     </section>
275     <section id="OOo">
276     <title>Can I get OpenOffice.org working?</title>
277     <body>
278    
279     <p>
280 swift 1.27 OpenOffice versions prior to 2.0.4 do not build on 64bit systems, so you have to
281     use the 32bit binary version, available in Portage as
282     <c>app-office/openoffice-bin</c>. If you feel brave you can <c>emerge
283     openoffice</c>, but be aware that the 64bit version is not yet tested out
284     enough to be considered stable.
285 neysx 1.1 </p>
286    
287     </body>
288     </section>
289     <section id="masked">
290     <title>I want to install package foo, but emerge says: (masked by: ~amd64 keyword)</title>
291     <body>
292    
293     <p>
294     This means that the package is still in the 'testing' tree. Please read <c>man
295     portage</c> or the <uri
296     link="/doc/en/handbook/handbook-amd64.xml?part=3&amp;chap=3">Mixing Software
297     Branches</uri> chapter of the <uri
298     link="/doc/en/handbook/handbook-amd64.xml">AMD64 Handbook</uri> for more
299     information.
300     </p>
301    
302     </body>
303     </section>
304     <section id="keyword">
305     <title>I want to install package foo, but emerge says: (masked by: missing keyword)</title>
306     <body>
307    
308     <p>
309     This means that the package has not been tested yet. It does <e>not
310     necessarily</e> mean that the package does not work. You can unmask it by
311 neysx 1.9 accepting another architecture for the package. The following example shows you
312 neysx 1.22 can tell Portage to accept any keyword for a given package.
313 neysx 1.1 </p>
314    
315     <pre caption="Example of adding package keywords">
316 nightmorph 1.28 # <i>echo "category/packagename **" >> /etc/portage/package.keywords</i>
317 nightmorph 1.21 # <i>emerge packagename</i>
318 neysx 1.1 </pre>
319    
320     <p>
321     If it works fine for you, please let us know and file a bug on <uri
322 neysx 1.9 link="http://bugs.gentoo.org/">Gentoo's Bugzilla</uri>, so that the AMD64 team
323     can keyword the package and other users can benefit from your test.
324 neysx 1.1 </p>
325    
326     <warn>
327 neysx 1.22 Do not try commands like <c>ACCEPT_KEYWORDS="~x86" emerge packagename</c>. It
328 nightmorph 1.21 will most certainly break your tree.
329 neysx 1.1 </warn>
330    
331     </body>
332     </section>
333     </chapter>
334    
335     <chapter>
336 fox2mike 1.16 <title>How can I help the Gentoo/AMD64 project?</title>
337 neysx 1.1 <section id="project">
338     <title>How can I help?</title>
339     <body>
340    
341     <p>
342     With a growing popularity of the amd64 architecture, we also increasingly need
343     more help. There's still much work to be done to improve the quality of
344     Gentoo/AMD64. An average user can help us by:
345     </p>
346    
347     <ul>
348     <li>Filing general bug reports</li>
349     <li>Testing software that does not yet have the <c>~amd64</c> keyword</li>
350     <li>
351 neysx 1.22 Participating in the <uri link="/proj/en/base/amd64/at/">Arch Testers
352 neysx 1.1 project</uri>
353     </li>
354     <li>
355     Help answering questions on the mailing lists, forums and IRC channels
356     </li>
357     <li>Sending patches</li>
358     </ul>
359    
360     </body>
361     </section>
362     </chapter>
363    
364     <chapter>
365     <title>Other Resources</title>
366     <section id="other">
367     <title>Where can I get more help or information about Gentoo/AMD64?</title>
368     <body>
369    
370     <p>
371 neysx 1.22 If any of your questions wasn't answered here, you can try other resources
372     listed on <uri link="/proj/en/base/amd64/">our project homepage</uri>. You can
373 neysx 1.1 also ask us at <c>#gentoo-amd64</c> on <c>irc.freenode.net</c>, <uri
374     link="http://forums.gentoo.org/viewforum-f-46.html">Gentoo/AMD64 Forums</uri>,
375     or on the <c>gentoo-amd64@lists.gentoo.org</c> mailing list.
376     </p>
377    
378     </body>
379     </section>
380     </chapter>
381    
382     </guide>

  ViewVC Help
Powered by ViewVC 1.1.20