Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8157 - running additions for PPC FAQ
Summary: running additions for PPC FAQ
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux PPC Installation Guide (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Rajiv Aaron Manglani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-20 13:41 UTC by Mark Guertin
Modified: 2002-10-15 01:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Guertin 2002-09-20 13:41:11 UTC
Starting this so we can add things to it for the upcoming PPC FAQ.. here's the
first thing I came across:

Q: My /etc/fstab file has /dev/BOOT in it, do I need to setup this line for my
bootstrap partition?

A: No.  If you are not running a seperate boot partition (/boot) then you do not
need this line and can safely just delete it.  The bootstrap partition is _not_
/boot and is not related in any way, and in my experience I don't use a seperate
/boot partition in PPC.
Comment 1 Mark Guertin 2002-09-20 23:08:22 UTC
Q: I can't seem to get my sound to work.    
    
A: two things are needed here, firstly you have to make sure that you have the    
correct kernel options selected.  In make menuconfig you need:    
    
<*> Sound card support   
<*>   PowerMac DMA sound support  
and   
<*>   OSS sound modules 
 
(or selected as modules and loaded). 
 
Secondly you need to make sure your user in question is part of the audio 
group.  chmod -g audio <username> 
 
Comment 2 Mark Guertin 2002-09-30 22:28:42 UTC
Q: What packages give me all the laptop like functionality?

A: I reccomend the following:

pmud:  emerge pmud ; rc-update add pmud default .  This is the Power Management
daemon for your hardware (similar to apmd on x86)
notes: this may also require working sound (/dev/mixer) to work properly

pbbuttonsd: emerge pbbuttonsd; rc-update add pbbuttons default
notes: this util gives you the use of all the laptop buttons for volume,
brightness, etc.

gtkpbbuttons: this gives you a gtk front end for pbbuttonsd (visual feedback on
button presses in X).  This requires gtk.  Shoul dbe added to your X session for
best results (always running in X)

powerprefs: this ties together with pbbuttonsd, and gives you the ability to
edit things like trackpad options and various other preferences.
Comment 3 Mark Guertin 2002-09-30 22:34:49 UTC
Q: After I rebooted my install my keyboard is not printing the proper keys I press.

A: If this is an english keymap then you likely have a kernel config issue.

When you rebuild your kernel (and you probably want to, really), set 
things up like this: 

 in "Input core support":  (these are the defaults, but check them)
   <*> Input core support
   <*>   Keyboard support 
   <*>   Mouse support
   (1024)    Horizontal screen resolution           
   (768)    Vertical screen resolution                                       
   < >   Joystick support                                                
   <*>   Event interface support

 in "Macintosh Device Drivers":
   [*] Apple Desktop Bus (ADB) support                     
   [ ]    Include MacIO (CHRP) ADB driver       <- doesn't matter
   [*]    Use input layer for ADB devices                    
   [ ]      Support for ADB raw keycodes        <- turn this OFF    
   [*]      Support for mouse button 2+3 emulation      

This way, you'll still be able to you /proc/sys/dev/mac_hid to emulate
buttons 2 and 3. (see other question) 
keyboard_sends_linux_keycodes=1 at boot appended to your kernel arguments in
yaboot will also correct this problem if you don't wan't to recompile your kernel.

*Thanks Joe McMahon*
Comment 4 Jonathan Nall 2002-10-01 23:48:37 UTC
If you have an airport card, you're going to want to emerge wireless-tools to
configure it.
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2002-10-07 08:28:52 UTC
Where is the PPC FAQ?

//ZhEN
Comment 6 Mark Guertin 2002-10-07 09:31:24 UTC
hey Zhen.. the PPC FAQ doesn't exist (yet).. this is just a place we've been
dumping in things for it.  You should hook up with rajiv to get thigns going
(rajiv is our ppc docs guy if you don't know him already)
Comment 7 Mark Guertin 2002-10-07 09:32:33 UTC
Q:  I've got a powerbook and my hard drive doesn't show up at boot when I'm
trying to install, what should I do?

A: Pass hda=1,1,1 to the kernel at boot time. That should solve your problems. 
You can do this at yaboot prompt: boot hda=1,1,1.
Comment 8 Mark Guertin 2002-10-09 10:41:16 UTC
Q: My installation went great, but now I'm booted into my Gentoo system and
getting ebuild errors, saying it cannot 'stat' a file, what's wrong?

A: Check to see that your time is set correctly.  Also make sure that you have
_not_ enabled the Enhanced RTC option in the kernel (as stated in install
guide).  Setting your time and/or linking to your proper timezone
(/etc/localtime) will solve your problems.
Comment 9 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2002-10-14 02:39:06 UTC
added to gentoo ppc faq. the faq is in cvs as
gentoo-src/gentoo-web/xml/doc/en/gentoo-ppc-faq.xml,v but is not yet on the website.
Comment 10 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2002-10-15 01:28:48 UTC
http://www.gentoo.org/doc/gentoo-ppc-faq.html