This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

AMD64/FAQ

From Gentoo Wiki (test)
< AMD64
Jump to:navigation Jump to:search
This page is a translated version of the page AMD64/FAQ and the translation is 73% complete.
Outdated translations are marked like this.

The Gentoo AMD64 Frequently Asked Questions article.

Article status
This article has some todo items:


Introductie

This document contains the most commonly asked questions about using Gentoo Linux on amd64 systems. Many of these questions come from the forums, IRC, and various mailing lists. The AMD64 Project provides support for Gentoo Linux on this architecture. If you have suggestions or questions about this FAQ, please leave a comment on the associated talk page.

Installatie

Wat is het verschil tussen AMD64 en EM64T

Both refer to 64-bit processors, one from AMD (AMD64) and the other from Intel (EM64T). AMD's 64-bit processors include the Athlon 64, Turion, Neo, Phenom, FX, AX/EX/CX and Opteron families. Intel's 64-bit processors include the Core 2, Core iX, Celeron, Xeon, and Pentium (all based on the Core 2 architecture and later). The last few versions of the old Pentium 4 and Xeon chips also support EM64T.

AMD was aanzienlijk eerder met het uitbrengen van hun 64-bit processors. Derhalve is, om historische redenen, besloten dat het arch keyword voor alle x86-64 compatibele architecturen in Gentoo amd64 is. "AMD64" is als zodanig een algemene verwijzing naar zowel AMD als Intel 64-bit chips.

Welke CFLAGS moet ik gebruiken?

Om problemen te voorkomen kan u het beste eenvoudige CFLAGS gebruiken. Ondersteunde CFLAGS waarden zijn -O2 -march=native -pipe voor zowel AMD als Intel (EM64T) systemen.

Welke kernel kan ik gebruiken?

U kan nagenoeg alle in Portage beschikbare kernelbronnen gebruiken. Wij raden u aan om sys-kernel/gentoo-source te gebruiken aangezien deze kernel speciaal voor Gentoo Linux ontworpen is. Deze bevat veel AMD64-specifieke patches en daardoor officieel ondersteund door Gentoo/AMD64

Vergewis u ervan dat u de IA32_EMULATION kernel-optie heeft geactiveerd.

root #cd /usr/src/linux
root #make menuconfig
KERNEL IA32 emulatie activeren
Executable file formats / Emulations  --->
  [*] IA32 Emulation
Warning
U ervaart mogelijk mislukte builds op multilib-systemen indien u deze kernel-optie heeft gedeactiveerd.

Presteert mijn systeem beter als ik een 64-bit systeem gebruik in plaats van 32-bit?

That is a difficult question to answer. In some cases, you will experience a performance improvement, in other cases you will not. For everyday use, there is almost no difference between 64-bit and 32-bit. 64-bit is generally faster when it comes to floating point computing, which is normally the case in multimedia applications and 3D rendering. Linux.com's articles 64-bit performance in Gentoo Linux and 64-bit Linux and BSD are maturing steadily may interest you. There's also a nice thread, Article: 64-bit performance in Gentoo Linux in our forums.

Wat is multilib en hoe kan ik ervan gebruikmaken?

Elke AMD64 processor is in staat om zowel 32-bit als 64-bit code te gebruiken. De processor kan echter geen 64-bit libraries benutten bij het gebruik van 32-bit applicaties en vice versa. U kan (zonder emulatie) 32-bit applicaties gebruiken mits alle door deze applicatie benodigde dynamisch gekoppelde libraries beschikbaar zijn als 32-bit objecten. U kan kiezen om multilib-ondersteuning uit te zetten door het veranderen van profiel, gebruik van multilib-ondersteuning is standaard geactiveerd.

Warning
Switching from a no-multilib to a multilib-enabled profile is currently not supported, so think over your decision twice before you use the no-multilib profile.

Hoe maak ik een 32-bit chroot aan?

Lees alstublieft de Project:AMD64/32-bit_Chroot_leidraad.

Kan ik mijn x86 systeem opwaarderen tot AMD64 systeem door het uitvoeren van emerge -e @world?

Vanwege verschillen tussen x86 (32-bit) en amd64 (64-bit) setups is het onmogelijk om op deze manier uw systeem aan te passen. Installeer Gentoo Linux alstublieft opnieuw volgens het AMD64 Handboek.

Binaire bestanden gecreëerd op een x86 systeem kunnen hoogstwaarschijnlijk niet worden gelezen door pakketten op een AMD64 systeem. In het bijzonder, databases zoals MySQL, InnoDB, Berkeley DB, SQLite, OpenLDAP etc. kunnen niet simpelweg worden gekopiëerd. U zal de database moeten dumpen in een architectuur-onafhankelijk formaat, zoals een tekstbestand, voor u deze kan herstellen op een AMD64 systeem.

Hardware

Werken mijn propriëtaire NVIDIA/ATI stuurprogramma's?

Yes, NVIDIA and ATI provide drivers that work on AMD64. You can install either x11-drivers/nvidia-drivers or x11-drivers/xf86-video-ati. If you have more questions about these drivers, you should read the nvidia-drivers guide or the ATI FAQ.

Hoe maak ik gebruik van Cool'n'Quiet/PowerNow/SpeedStep attributen?

U zal uw kernel moeten compileren met ondersteuning voor deze attributen. U activeert ze als volgt:

KERNEL Kernel options for Cool'n'Quiet/PowerNow/SpeedStep
Power management and ACPI options --->
  [*] Device power management core functionality
  [*] ACPI (Advanced Configuration and Power Interface) Support --->
    <*>   Processor
    <*>     Thermal Zone
  CPU Frequency scaling --->
  [*] CPU Frequency scaling
         Default CPUFreq governor (ondemand) --->
  -*-   'performance' governor
  <*>   'userspace' governor for userspace frequency scaling
  -*-   'ondemand' cpufreq policy governor
  <*>   ACPI Processor P-States driver
  CPU Idle  --->
    -*- CPU idle PM support

Then install sys-power/cpupower and edit /etc/conf.d/cpupower with a preferred text editor.

FILE /etc/conf.d/cpupowerExample configuration
# Options when starting cpufreq (given to the `cpupower` program)
START_OPTS="--governor ondemand"
  
# Options when stopping cpufreq (given to the `cpupower` program)
STOP_OPTS="--governor performance"

Now you only have to run rc-update add cpupower boot to make sure it is started every time the system boots.

Note
Mogelijk is het wenselijk om de Handleiding Power Management te lezen voor meer tips over processor-energiebeheer.

Applicaties

Kan ik Adobe Flash aan de praat krijgen?

Yes. Install www-plugins/adobe-flash. Be sure to read any messages displayed by the ebuild once it has been emerged.

Ik wil pakket foo installeren maar emerge meldt: (masked by: ~amd64 keyword)

Dit betekent dat het pakket zich in de 'testing' tree bevindt. Lees alstublieft de Portage handleiding (man portage) of het hoofdstuk Mixing Software Branches van het AMD64 Handboek voor verdere informatie.

Ik wil pakket foo installeren maar emerge meldt: (masked by: ~amd64 keyword)

Dit betekent dat het pakket nog niet getest is. Dit betekent "niet persé" dat het pakket niet zal werken. U kan dit pakket unmasken door een andere architectuur (of meerdere architecturen) te accepteren voor dit pakket. Het volgende voorbeeld toont u dat u Portage kan instrueren het gewenste pakket te installeren onder elk keyword.

root #echo "categorie/pakketnaam **" >> /etc/portage/package.accept_keywords
root #emerge pakketnaam

Als dit voor u naar behoren functioneert, laat ons dit alstublieft weten en maak een bug aan op Gentoo's Bugzilla zodat het AMD64 team het keyword aan het pakket kan toevoegen en andere gebruikers baat hebben van uw software-test.

Warning
Voer geen commando's uit zoals ACCEPT_KEYWORDS="~x86" emerge pakketnaam. Dit zal de portage tree beschadigen en uw systeem onbruikbaar maken.

Hoe kan ik bijdragen aan het Gentoo/AMD64 project?

Hoe kan ik bijdragen?

Met de groeiende populariteit van de amd64 architectuur hebben wij in toenemende mate uw bijdrage nodig. Iedereen kan een bijdrage leveren aan het verbeteren van Gentoo/AMD64 door:

  • Filing general bug reports.
  • Testing software that does not yet have the ~amd64 keyword.
  • Help answering questions on the mailing lists, forums and IRC channels.
  • Sending patches.
  • Participating in the AMD64 Arch Testers project.

Andere Hulpbronnen

Waar kan ik meer hulp of informatie over Gentoo/AMD64 verkrijgen?

If any of your questions wasn't answered here, you can try other resources listed on our project homepage. You can also ask us at #gentoo-amd64 on chat.freenode.net, Gentoo/AMD64 Forums, or on the gentoo-amd64@lists.gentoo.org mailing list.


This page is based on a document formerly found on our main website gentoo.org.
The following people contributed to the original document: Simon Stelling, Luis Medinas, Gerald J. Normandin Jr., Xavier Neys, Joshua Saddler (nightmorph)
They are listed here because wiki history does not allow for any external attribution. If you edit the wiki article, please do not add yourself here; your contributions are recorded on each article's associated history page.