Gentoo Archives: gentoo-ppc-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] Building new kernel - a few questions
Date: Fri, 18 Apr 2008 16:42:18
Message-Id: 5bdc1c8b0804180942q2fb7670dr7b1a644e97f9ce64@mail.gmail.com
1 Hi all,
2 Thanks in advance to Mat and others who responded to my questions
3 over the last couple of days. The Mac Mini now boots Gentoo, starts up
4 MythTV automatically and runs very nicely as far as I can tell so far.
5 I still have some issues I need to solve and am hoping for some more
6 guidance. Thanks.
7
8 1) Sound. What's the proper Alsa driver for this machine? lspci shows
9 the following:
10
11 MacMini ~ # lspci
12 0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
13 0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV280
14 [Radeon 9200] (rev 01)
15 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
16 0001:10:12.0 Network controller: Broadcom Corporation BCM4318
17 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
18 0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
19 0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
20 0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
21 0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
22 0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
23 0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
24 0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
25 0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
26 0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
27 0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2
28 FireWire (rev 81)
29 0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC
30 (Sun GEM) (rev 80)
31 MacMini ~ #
32
33 I'm used to seeing a sound chip listed on X86 machines but none here
34 so I assume it's buried in the chip set. What do I choose during
35 kernel config.
36
37 By the way - if it matters when I boot from the Gentoo install disk I
38 see this info on the screen:
39
40 Apple|DMASOUND
41 driver = dmasound_pmac
42
43 I searched for dmasound in make menuconfig but it only finds Atari stuff.
44
45 rc-update show does not show Alsa running from the CD boot so I'm
46 unclear what sound driver this might be.
47
48
49 2) yaboot and the new kernel. Double checking the right steps
50
51 From the PPC install docs after I build the kernel I need to copy it to /boot
52
53 # cd /usr/src/linux
54 # cp vmlinux /boot/kernel-2.6.24-gentoo-r3_A
55
56 (Just appending _A so as to not overwrite the kernel I'm currently running.)
57
58 I would then modify my yaboot file like this:
59
60 boot=/dev/hda2
61
62 device=/pci@f4000000/ata-6@d/disk@0:2
63
64 partition=4
65
66 delay=10
67
68 timeout=40
69 default=2.6.24-gentoo-r3
70 install=/usr/lib/yaboot/yaboot
71 magicboot=/usr/lib/yaboot/ofboot
72
73 image=/boot/kernel-2.6.24-gentoo-r3
74 label=2.6.24-gentoo-r3
75 root=/dev/hda4
76 partition=4
77 append="video=radeonfb:1024x768-8@60"
78 read-only
79
80 image=/boot/kernel-2.6.24-gentoo-r3_A
81 label=2.6.24-gentoo-r3_A
82 root=/dev/hda4
83 partition=4
84 append="video=radeonfb:1024x768-8@60"
85 read-only
86
87 and once everything is in place run ybin -v.
88
89 Does that sound correct?
90
91 I'm fine with cleaning things up later as this is a learning
92 experience for me. I don't mind doing things a few times to learn the
93 process. I just don't want to hose up the machine as it's currently
94 working and I'd prefer not to start over.
95
96 Thanks,
97 --
98 gentoo-ppc-user@l.g.o mailing list

Replies

Subject Author
[gentoo-ppc-user] Re: Building new kernel - a few questions Mark Knecht <markknecht@×××××.com>
Re: [gentoo-ppc-user] Building new kernel - a few questions matt hull <mattmatteh@×××.com>