public inbox for gentoo-ppc-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-ppc-user] Building new kernel - a few questions
@ 2008-04-18 16:42 Mark Knecht
  2008-04-18 17:04 ` [gentoo-ppc-user] " Mark Knecht
  2008-04-18 18:43 ` [gentoo-ppc-user] " matt hull
  0 siblings, 2 replies; 13+ messages in thread
From: Mark Knecht @ 2008-04-18 16:42 UTC (permalink / raw
  To: gentoo-ppc-user

Hi all,
   Thanks in advance to Mat and others who responded to my questions
over the last couple of days. The Mac Mini now boots Gentoo, starts up
MythTV automatically and runs very nicely as far as I can tell so far.
I still have some issues I need to solve and am hoping for some more
guidance. Thanks.

1) Sound. What's the proper Alsa driver for this machine? lspci shows
the following:

MacMini ~ # lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV280
[Radeon 9200] (rev 01)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4318
[AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2
FireWire (rev 81)
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC
(Sun GEM) (rev 80)
MacMini ~ #

I'm used to seeing a sound chip listed on X86 machines but none here
so I assume it's buried in the chip set. What do I choose during
kernel config.

By the way - if it matters when I boot from the Gentoo install disk I
see this info on the screen:

Apple|DMASOUND
driver = dmasound_pmac

I searched for dmasound in make menuconfig but it only finds Atari stuff.

rc-update show does not show Alsa running from the CD boot so I'm
unclear what sound driver this might be.


2) yaboot and the new kernel. Double checking the right steps

From the PPC install docs after I build the kernel I need to copy it to /boot

# cd /usr/src/linux
# cp vmlinux /boot/kernel-2.6.24-gentoo-r3_A

(Just appending _A so as to not overwrite the kernel I'm currently running.)

I would then modify my yaboot file like this:

boot=/dev/hda2

device=/pci@f4000000/ata-6@d/disk@0:2

partition=4

delay=10

timeout=40
default=2.6.24-gentoo-r3
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.24-gentoo-r3
        label=2.6.24-gentoo-r3
        root=/dev/hda4
        partition=4
        append="video=radeonfb:1024x768-8@60"
        read-only

image=/boot/kernel-2.6.24-gentoo-r3_A
        label=2.6.24-gentoo-r3_A
        root=/dev/hda4
        partition=4
        append="video=radeonfb:1024x768-8@60"
        read-only

and once everything is in place run ybin -v.

Does that sound correct?

I'm fine with cleaning things up later as this is a learning
experience for me. I don't mind doing things a few times to learn the
process. I just don't want to hose up the machine as it's currently
working and I'd prefer not to start over.

Thanks,
-- 
gentoo-ppc-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-04-22  1:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-18 16:42 [gentoo-ppc-user] Building new kernel - a few questions Mark Knecht
2008-04-18 17:04 ` [gentoo-ppc-user] " Mark Knecht
2008-04-18 18:43 ` [gentoo-ppc-user] " matt hull
2008-04-18 18:55   ` Mark Knecht
2008-04-21 20:06     ` matt hull
2008-04-21 20:14       ` Mark Knecht
2008-04-21 20:18         ` matt hull
2008-04-21 20:28           ` Mark Knecht
2008-04-21 21:21             ` Mark Knecht
2008-04-21 22:03             ` kahl
2008-04-21 22:10               ` Mark Knecht
2008-04-22  1:12                 ` kahl
2008-04-22  1:20                   ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox