1 |
Hi, PPC folks... |
2 |
|
3 |
Ok, after using Gentoo for several months and being quite happy with it, |
4 |
somebody laid a Power Mac 8600 on me and I'm playing with it trying to |
5 |
get Gentoo-ppc installed... just for the heck of it, nothing |
6 |
mission-critical here. :) |
7 |
|
8 |
The documentation for the PPC install feels a little less thorough than |
9 |
it was for x86, but since I already (thought) I knew what I was doing, I |
10 |
proceeded to install BootX (in System 7.5.5, which I updated from |
11 |
apple.com, as I have *no* official CDs) and get into the procedure. One |
12 |
deviation from the procedure on the Web site: I did "emerge distcc" right |
13 |
before "emerge system" -- but then setting up cross-compiling on my main |
14 |
box (dual P3/800) proved much more hairy than I had thought, so that's |
15 |
all I did with distcc. (I.e., it's not added to FEATURES in make.conf or |
16 |
anything.) |
17 |
The two apparent problems were when I used rc-update to add metalog and |
18 |
net.eth0 to default runlevel -- lots of "fatal" errors from awk, |
19 |
supposedly at line 3 of something, but in the scripts I examined |
20 |
(rc-update.sh, for example) line 3 is a comment. However, I did get the |
21 |
"added to runlevel" message so I figured it worked. |
22 |
|
23 |
"emerge ppc-sources" pulled down 2.4.20-ppc-r3, which is one minor |
24 |
version ahead of what I'm running here. |
25 |
|
26 |
I got on down to the kernel build, and this is where I became lost, |
27 |
because although I'm supposed to make sure some settings under "Macintosh |
28 |
Device Drivers", this part of the config menu does not expand when I try |
29 |
to enter it. I edited the config file by hand and my first build attempt |
30 |
failed with "undefined reference to ???pmu_driver", so I edited again |
31 |
more thoroughly. I had to do "make mrproper" after that, but my second |
32 |
try completed successfully; "vmlinux" and System.map were created in |
33 |
/usr/src/linux, so I copied these to my "/mnt/macos/System Folder/Linux |
34 |
Kernels" and went on. Aside from the aforementioned awk errors, things |
35 |
looked ok until I attempted to reboot. |
36 |
|
37 |
One of the things the documentation leaves out is, whether you need to |
38 |
copy an initrd.img over to the System folder. Since the kernel and |
39 |
System.map were placed in the top-level directory, it seemed obvious to |
40 |
copy those over, but as no initrd appeared, I was unsure about that. |
41 |
There *is* an initrd.img in the System folder, which came from the |
42 |
Gentoo-ppc LiveCD, but in "Linux Kernels" are only the vmlinux and |
43 |
System.map I just made. |
44 |
The documentation also says to open BootX control panel, and uncheck the |
45 |
RAM disk in Options. Then, "when you return to the BootX main screen, |
46 |
you will now find an option to specify your machine's root disk and |
47 |
partition." This is not so; I only have a field where I can type options |
48 |
to pass to the kernel upon booting it. I left the default of "rw" alone. |
49 |
Booting in this way results in a kernel panic: |
50 |
|
51 |
"VFS: Unable to mount root fs on 08:01" |
52 |
|
53 |
Now, my / is on /dev/sdc4, which is an external SCSI drive (ID 6), so I'm |
54 |
not surprised this doesn't work. I tried to find other BootX settings, |
55 |
but opening the BootX App control panel manually doesn't give me anything |
56 |
other than what I saw before. Should I be passing arguments via the |
57 |
little text field each time I start up? |
58 |
|
59 |
(A diffuculty I have in messing with this Mac is that each time I start |
60 |
up with Extensions enabled, it tries to connect to a shared drive that |
61 |
does not exist in its new environment. As my only options there are |
62 |
Cancel and Ok, but the box immediately comes back no matter which one I |
63 |
press, I'm unable to get to the Chooser in order to get rid of this |
64 |
auto-connect drive. If I start with Extensions off, I can't do anything |
65 |
with sharing as File Sharing, Open Transport, etc. are not available. I |
66 |
seem to be stuck.) |
67 |
|
68 |
Anyway, anyone willing to discuss my woes is welcomed; I'd like to keep |
69 |
playing with this critter, but I seem to have hit a stumbling block. :) |
70 |
|
71 |
-- |
72 |
// Carl Hudkins :: ICQ 5723399 :: PGP 50238D9E |
73 |
// |
74 |
// "Romulan spies, Romulan spies / Without honor in the Klingons' eyes |
75 |
// Wanna destroy the Enterprise / Romulan spies" |
76 |
// (To the tune of "Particle Man", by They Might Be Giants) |
77 |
|
78 |
-- |
79 |
gentoo-ppc-user@g.o mailing list |