Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 95800 | Differences between
and this patch

Collapse All | Expand All

(-)gentoo-ppc-faq.xml.bak (-59 / +100 lines)
Lines 26-34 Link Here
26
26
27
<license/>
27
<license/>
28
28
29
<version>1.17</version>
29
<version>1.18</version>
30
<date>2005-04-11</date>
30
<date>2005-05-11</date>
31
32
31
33
<chapter>
32
<chapter>
34
<title>Installation</title>
33
<title>Installation</title>
Lines 40-49 Link Here
40
<body>
39
<body>
41
40
42
<p>
41
<p>
43
First be sure you did not mount the ftp server with 
42
First be sure you did not mount the ftp server with <e>Finder</e> and then copy
44
<e>Finder</e> and then copy the file with drag'n'drop.  This will corrupt
43
the file with drag'n'drop.  This will corrupt the ISO.  Instead, use <c>curl</c>
45
the ISO.  Instead, use <c>curl</c> (with <c>curl -O
44
(with <c>curl -O http://path/to/iso</c>).
46
http://path/to/iso</c>).
47
</p>
45
</p>
48
46
49
<p>
47
<p>
Lines 142-149 Link Here
142
<body>
140
<body>
143
141
144
<p>
142
<p>
145
You will need a new version of <e>StuffIt Expander</e> to open the archive. You can <uri link="http://www.stuffit.com/expander/download.html">download it</uri>
143
  You will need a new version of <e>StuffIt Expander</e> to open the archive. 
146
for free.
144
  You can 
145
  <uri link="http://www.stuffit.com/expander/download.html">download it</uri>
146
  for free.
147
</p>
147
</p>
148
148
149
</body>
149
</body>
Lines 156-182 Link Here
156
<body>
156
<body>
157
157
158
<p>
158
<p>
159
If you have a lot of time to experiment, you could try <uri
159
If you have a lot of time to experiment, you could try 
160
link="http://penguinppc.org/projects/quik/">Quik</uri>. <e>Quik</e> is a
160
<uri link="http://penguinppc.org/projects/quik/">Quik</uri>. <e>Quik</e> is a
161
bootloader for OldWorld PPC machines. If your machine uses <e>BootX</e>,
161
bootloader for OldWorld PPC machines. If your machine uses <e>BootX</e>, you can
162
you can use <e>Quik</e>; if it uses <e>yaboot</e>, you can't.
162
use <e>Quik</e>; if it uses <e>yaboot</e>, you can't.  <e>Quik</e> can be
163
<e>Quik</e> can be incredibly difficult to install, and is currently
163
incredibly difficult to install, but the end result is somewhere between "neato"
164
<e>not</e> working with gcc 3.x (read: Gentoo 1.4 or later), but the
164
and "breathtaking" because Mac OS does not have to load. Think yaboot on speed.
165
end result is somewhere between "neato" and "breathtaking" because Mac OS
166
does not have to load. Think yaboot on speed.
167
</p>
165
</p>
168
166
169
<p>
167
<p>
170
Be sure to read the <uri
168
Be sure to read the <uri
171
link="http://penguinppc.org/projects/quik/quirks.shtml">Quik quirks
169
link="http://penguinppc.org/projects/quik/quirks.shtml">Quik quirks
172
page</uri>. Also see "<uri
170
page</uri> for help getting your Old World PPC booting with Quik. The
173
link="http://lppcfom.sourceforge.net/fom-serve/cache/574.html">Is Quik
171
"<uri link="http://www.netbsd.org/Ports/macppc/models.html">NetBSD/MacPPC Model
174
Bootloader for Mac OS Dead?</uri>" and "<uri
172
Support</uri>" documents various OpenFirmware versions for various Apple and 
175
link="http://www.imaclinux.net/php/imaclinux_g_h.php3?single=17+index=0">Guide:
173
clone PowerPC machines and is also a helpful reference.
176
Quik - Direct Booting for Older PowerMacs</uri>". "<uri
177
link="http://www.netbsd.org/Ports/macppc/models.html">NetBSD/macppc
178
Model Support</uri>" documents OpenFirmware versions for various Apple
179
and clone PowerPC machines.
180
</p>
174
</p>
181
175
182
<p>
176
<p>
Lines 238-243 Link Here
238
232
239
</body>
233
</body>
240
</section>
234
</section>
235
236
<section>
237
<title>
238
  When I rebooted, yaboot didn't work! Now, I'm stuck. How can I fix this?
239
</title>
240
<body>
241
242
  <p>
243
    It's probably just a misconfigured yaboot.conf.  The easiest way to fix 
244
    this is to boot the LiveCD again, mount your gentoo partition and check 
245
    yaboot.conf for errors.  You'll also need to run 
246
    <c>ybin -v -C /mnt/gentoo/etc/yaboot.conf</c> to update the boot loader once
247
    you have finished.  This can all be done without chrooting back into your
248
    install.
249
  </p>
250
  
251
  <note>
252
    If you <e>really</e> just need to get back to OSX, try holding down the
253
    Option key on startup.  This should give you a graphical selection of
254
    bootable disks.  Chose OSX and remember to fix your boot problems later.
255
  </note>
256
257
</body>
258
</section>
259
241
<section>
260
<section>
242
<title>
261
<title>
243
  Installation is now complete. However after rebooting, I am getting
262
  Installation is now complete. However after rebooting, I am getting
Lines 294-309 Link Here
294
<body>
313
<body>
295
314
296
<p>
315
<p>
297
There is no way to get ctrl-button, like on Mac OS X, working.  But
316
There is no way to use ctrl-button like on Mac OS X, but you can map just about
298
you can map quite any key or combination of keys to emulate the second
317
any key or combination of keys to emulate the second and third mouse-button.  
299
and third mouse-button.  The values can be obtained with the command
318
The values can be obtained with the command line utility <c>showkey</c> from the
300
line utility <c>showkey</c>.  The mouse button emulation is switched on
319
console.  Note that this program does not work as expected from X and should 
301
using the proc-device.  First run <c>echo "1" >
320
only be run from the console.  In addition to having the kernel configuration 
302
/proc/sys/dev/mac_hid/mouse_button_emulation</c>.  Then copy the right
321
settings from the previous section, you will also need to set the mouse button
303
keycodes to <path>mouse_button2_keycode</path> and
322
values in <path>/etc/sysctl.conf</path>.  Here is an example using F11 and F12:
304
<path>mouse_button3_keycode</path>.  To keep the settings after reboot,
305
write them to <path>/etc/sysctl.conf</path>.  Here is an example using
306
F11 and F12:
307
</p>
323
</p>
308
324
309
<pre caption="Mouse button emulation with F11 and F12">
325
<pre caption="Mouse button emulation with F11 and F12">
Lines 316-324 Link Here
316
</pre>
332
</pre>
317
333
318
<p>
334
<p>
319
Other keys are 100 and 126 for the combinations fn+alt and fn+apple.
335
Other commonly used keycodes are 125 (The Apple key) and 96 (The Keypad Enter).
320
</p>
336
</p>
321
337
338
<note>
339
  The easiest way to activate these settings it to reboot after changing them.
340
</note>
341
322
</body>
342
</body>
323
</section>
343
</section>
324
<section>
344
<section>
Lines 407-413 Link Here
407
<body>
427
<body>
408
428
409
<p>
429
<p>
410
There are three main packages you will need to install.
430
There are four main packages you will need to install.
411
</p>
431
</p>
412
432
413
<ul>
433
<ul>
Lines 429-435 Link Here
429
    and various other preferences.
449
    and various other preferences.
430
  </li>
450
  </li>
431
  <li>
451
  <li>
432
    <e>cpudyn</e> allows cpu speed scaling for longer battery life.
452
    <e>cpudyn</e> allows cpu speed scaling for longer battery life. Other
453
    packages also provide the same functionality, such as <e>powernowd</e>,
454
    <e>cpufreqd</e> and <e>speedfreq</e>.
433
  </li>
455
  </li>
434
</ul>
456
</ul>
435
457
Lines 446-455 Link Here
446
</pre>
468
</pre>
447
469
448
<note>
470
<note>
449
You should edit your <path>/etc/pbbuttonsd.conf</path> to your
471
You should edit <path>/etc/pbbuttonsd.conf</path> to better suit your needs.
450
preference.  Especially the behaviour of the Fx-keys, as pbbuttonsd
472
The behaviour of the Fx-keys can be controlled here as well as many sleep
451
gives you the availabilty, to use the Fx-keys in the first mode, and the
473
options.  To switch the Fx-keys to the OSX behaviour, set KBDMode to fkeyslast.
452
brightness- and sound-keys with the help of Fn.
474
You can turn off touchpad tapping by setting TPMode to notap.  Many other 
475
options are available, see man pbbuttonsd.conf for details.
453
</note>
476
</note>
454
477
455
<p>
478
<p>
Lines 571-580 Link Here
571
<title>Does Gentoo/PPC have support for Flash?</title>
594
<title>Does Gentoo/PPC have support for Flash?</title>
572
<body>
595
<body>
573
<p>
596
<p>
574
No, Macromedia has not supplied a linux/ppc binary and until Macromedia opens
597
Well, not really. Macromedia has not supplied a linux/ppc binary and open source
575
the flash format or provides a binary flash will not work on ppc.  A possible 
598
implementations are incomplete and buggy at this time.  Two projects working on
576
work around is to use qemu (an x86 emulator) to run the Macromedia Flash Player
599
this problem are <uri link="http://gplflash.sf.net">gplflash2</uri> and 
577
6 stand alone player.  This is described here: 
600
<uri link="http://swfdec.sf.net">swfdec</uri>, so check there for more 
601
information. A possible workaround for now is to use qemu (an x86 emulator)
602
to run the Macromedia Flash Player 6 stand alone player.  This process was
603
described on the forums: 
578
<uri>http://forums.gentoo.org/viewtopic.php?t=117774</uri>
604
<uri>http://forums.gentoo.org/viewtopic.php?t=117774</uri>
579
</p>
605
</p>
580
</body>
606
</body>
Lines 584-590 Link Here
584
<body>
610
<body>
585
<p>
611
<p>
586
No, not at this time.  The older java plugin is no longer compatible with the
612
No, not at this time.  The older java plugin is no longer compatible with the
587
new Mozilla plugin system and a new plugin has not been written.
613
new Mozilla plugin system and a new plugin has not yet been written.
588
</p>
614
</p>
589
</body>
615
</body>
590
</section>
616
</section>
Lines 681-686 Link Here
681
extensions included with the newer X.org releases.  Please disable
707
extensions included with the newer X.org releases.  Please disable
682
these extensions if you're having problems. 
708
these extensions if you're having problems. 
683
</p>
709
</p>
710
684
</body>
711
</body>
685
</section>
712
</section>
686
<section>
713
<section>
Lines 733-739 Link Here
733
Device Drivers - Sound ---&gt;
760
Device Drivers - Sound ---&gt;
734
&lt;*&gt; Sound card support
761
&lt;*&gt; Sound card support
735
    Advanced Linux Sound Architecture ---&gt;
762
    Advanced Linux Sound Architecture ---&gt;
736
    &lt;*&gt;   PowerMac DMA sound support
763
    &lt;&nbsp;&gt;   PowerMac DMA sound support
737
      &lt;*&gt; Advanced Linux Sound Architecture
764
      &lt;*&gt; Advanced Linux Sound Architecture
738
      &lt;*&gt; Sequencer support
765
      &lt;*&gt; Sequencer support
739
      &lt;*&gt; Sequencer dummy client
766
      &lt;*&gt; Sequencer dummy client
Lines 759-764 Link Here
759
<section>
786
<section>
760
<title>Sound setup with OSS</title>
787
<title>Sound setup with OSS</title>
761
<body>
788
<body>
789
790
<note>Again, only use this if you're not using ALSA.</note>
791
762
<p>
792
<p>
763
In <c>make menuconfig</c> you'll need to select:
793
In <c>make menuconfig</c> you'll need to select:
764
</p>
794
</p>
Lines 848-855 Link Here
848
Yes, as long as your are running Gentoo Linux/PPC on Apple hardware
878
Yes, as long as your are running Gentoo Linux/PPC on Apple hardware
849
(or a Mac-clone). You will need to run <uri
879
(or a Mac-clone). You will need to run <uri
850
link="http://www.maconlinux.org/">Mac-on-Linux</uri>. Just <c>emerge
880
link="http://www.maconlinux.org/">Mac-on-Linux</uri>. Just <c>emerge
851
mol</c>. MOL support Mac OS 7.5.2 to 9.2.2, as well as any version of OS X.
881
mol</c>. MOL supports Mac OS 7.5.2 to 9.2.2, as well as any version of OS X.
852
It can take over your full screen, or run in a window.
882
It can be run from a console framebuffer or run in a window on X.
853
</p>
883
</p>
854
884
855
<note>
885
<note>
Lines 858-864 Link Here
858
</note>
888
</note>
859
889
860
<p>
890
<p>
861
For networking and sound you might install the drivers in the folder
891
For networking and sound you should install the drivers in the folder
862
<path>MOL-Install</path> on your Mac OS X-Desktop.  If errors with
892
<path>MOL-Install</path> on your Mac OS X-Desktop.  If errors with
863
networking occur, make sure you have the following kernel options
893
networking occur, make sure you have the following kernel options
864
enabled:
894
enabled:
Lines 891-933 Link Here
891
<section>
921
<section>
892
<title>Can I access my ext2/ext3 partitions from OSX?</title>
922
<title>Can I access my ext2/ext3 partitions from OSX?</title>
893
<body>
923
<body>
924
894
<p>
925
<p>
895
OSX can support the reading and writing of ext2/ext3 partitions by using the 
926
OSX can support the reading and writing of ext2/ext3 partitions by using the 
896
kernel extension provided by the <uri link="http://sourceforge.net/projects/ext2fsx">ext2fsx project.</uri>
927
kernel extension provided by the <uri link="http://sourceforge.net/projects/ext2fsx">ext2fsx project.</uri>
897
</p>
928
</p>
929
898
<note>
930
<note>
899
When using MOL, you cannot access a partition that is currently being used by
931
When using MOL, you cannot access a partition that is currently being used by
900
Linux.
932
Linux.
901
</note>
933
</note>
934
902
</body>
935
</body>
903
</section>
936
</section>
904
<section>
937
<section>
905
<title>Which Portage USE flags do not work on PowerPC machines?</title>
938
<title>Which Portage USE flags do not work on PowerPC machines?</title>
906
<body>
939
<body>
940
907
<p>
941
<p>
908
If you're using an old flat profile, (pre 2005.0) look at <path>/etc/make.profile/use.mask</path> for a list.
942
  If you're using an old flat profile, (pre 2005.0) look at <path>/etc/make.profile/use.mask</path> for a list.
909
</p>
943
</p>
944
910
<p>
945
<p>
911
If you're using a cascaded profile, (2005.0 and onwards) look at <path>/usr/portage/profiles/default-linux/ppc/use.mask</path> for a list.
946
  If you're using a cascaded profile, (2005.0 and onwards) look at 
947
  <path>/usr/portage/profiles/default-linux/ppc/use.mask</path> for a list.
912
</p>
948
</p>
949
913
</body>
950
</body>
914
</section>
951
</section>
915
<section>
952
<section>
916
<title>How can I set up distcc with my x86 box?</title>
953
<title>How can I set up distcc with my x86 box?</title>
917
<body>
954
<body>
955
918
<p>
956
<p>
919
If you've got another faster computer, you can set up distcc to compile binaries
957
  If you've got another faster computer, you can set up distcc to compile binaries
920
for your slower ppc processor.  It's better to do as much building as possible
958
  for your slower ppc processor.  It's better to do as much building as possible
921
on the faster machine, if possible, don't even build on the slower computer. 
959
  on the faster machine, if possible, don't even build on the slower computer. 
922
With that said, here are a few links to get you started:
960
  With that said, here are a few links to get you started:
923
<uri>http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO</uri>
961
  <uri>http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO</uri>
924
<uri>http://www.sable.mcgill.ca/~dbelan2/crossdev/crossdev-powerpc-i686.html</uri>
962
  <uri>http://www.sable.mcgill.ca/~dbelan2/crossdev/crossdev-powerpc-i686.html</uri>
925
</p>
963
</p>
926
</body>
964
</body>
927
</section>
965
</section>
928
<section>
966
<section>
929
<title>Why does gcc keep segfaulting during ebuilds?</title>
967
<title>Why does gcc keep segfaulting during ebuilds?</title>
930
<body>
968
<body>
969
931
<p>
970
<p>
932
If gcc segfaults during ebuilds, this probably isn't a bug with gcc and isn't
971
If gcc segfaults during ebuilds, this probably isn't a bug with gcc and isn't
933
even a problem with your hardware.  Most of the time this problem is due to
972
even a problem with your hardware.  Most of the time this problem is due to
Lines 940-949 Link Here
940
<pre caption="Check if preempt is enabled">
979
<pre caption="Check if preempt is enabled">
941
$ <i>grep PREEMPT /usr/src/linux/.config</i>
980
$ <i>grep PREEMPT /usr/src/linux/.config</i>
942
</pre>
981
</pre>
982
943
<p>
983
<p>
944
If returns: "# CONFIG_PREEMPT is not set", then you should report the 
984
If returns: "# CONFIG_PREEMPT is not set", then you should report the 
945
segfault as a bug.
985
segfault as a bug.
946
</p>
986
</p>
987
947
<p>
988
<p>
948
If it returns: "CONFIG_PREEMPT=y", then you'll need to disable it and rebuild
989
If it returns: "CONFIG_PREEMPT=y", then you'll need to disable it and rebuild
949
your kernel.
990
your kernel.

Return to bug 95800