Gentoo Archives: gentoo-ppc-user

From: tom <listbox@×××××××.net>
To: carl@×××××××.org
Cc: gentoo-ppc-user@g.o
Subject: Re: [gentoo-ppc-user] Greetings & Power Mac questions :)
Date: Sat, 12 Apr 2003 00:30:43
Message-Id: 3E975E21.2030109@charter.net
In Reply to: [gentoo-ppc-user] Greetings & Power Mac questions :) by "Wolf J. Flywheel"
1 Wolf J. Flywheel wrote:
2 > Hi, PPC folks...
3 >
4 > Ok, after using Gentoo for several months and being quite happy with it,
5 > somebody laid a Power Mac 8600 on me and I'm playing with it trying to
6 > get Gentoo-ppc installed... just for the heck of it, nothing
7 > mission-critical here. :)
8 >
9 > The documentation for the PPC install feels a little less thorough than
10 > it was for x86, but since I already (thought) I knew what I was doing, I
11 > proceeded to install BootX (in System 7.5.5, which I updated from
12 > apple.com, as I have *no* official CDs) and get into the procedure. One
13 > deviation from the procedure on the Web site: I did "emerge distcc" right
14 > before "emerge system" -- but then setting up cross-compiling on my main
15 > box (dual P3/800) proved much more hairy than I had thought, so that's
16 > all I did with distcc. (I.e., it's not added to FEATURES in make.conf or
17 > anything.)
18 > The two apparent problems were when I used rc-update to add metalog and
19 > net.eth0 to default runlevel -- lots of "fatal" errors from awk,
20 > supposedly at line 3 of something, but in the scripts I examined
21 > (rc-update.sh, for example) line 3 is a comment. However, I did get the
22 > "added to runlevel" message so I figured it worked.
23 >
24 > "emerge ppc-sources" pulled down 2.4.20-ppc-r3, which is one minor
25 > version ahead of what I'm running here.
26 >
27 > I got on down to the kernel build, and this is where I became lost,
28 > because although I'm supposed to make sure some settings under "Macintosh
29 > Device Drivers", this part of the config menu does not expand when I try
30 > to enter it. I edited the config file by hand and my first build attempt
31 > failed with "undefined reference to ???pmu_driver", so I edited again
32 > more thoroughly. I had to do "make mrproper" after that, but my second
33 > try completed successfully; "vmlinux" and System.map were created in
34 > /usr/src/linux, so I copied these to my "/mnt/macos/System Folder/Linux
35 > Kernels" and went on. Aside from the aforementioned awk errors, things
36 > looked ok until I attempted to reboot.
37
38 you want support for cuda based powermacs checked and support for adb
39 raw keycodes unchecked. I have no idea as to why it would not expand.
40
41 >
42 > One of the things the documentation leaves out is, whether you need to
43 > copy an initrd.img over to the System folder. Since the kernel and
44 > System.map were placed in the top-level directory, it seemed obvious to
45 > copy those over, but as no initrd appeared, I was unsure about that.
46 > There *is* an initrd.img in the System folder, which came from the
47 > Gentoo-ppc LiveCD, but in "Linux Kernels" are only the vmlinux and
48 > System.map I just made.
49 > The documentation also says to open BootX control panel, and uncheck the
50 > RAM disk in Options. Then, "when you return to the BootX main screen,
51 > you will now find an option to specify your machine's root disk and
52 > partition." This is not so; I only have a field where I can type options
53 > to pass to the kernel upon booting it. I left the default of "rw" alone.
54 > Booting in this way results in a kernel panic:
55 >
56 > "VFS: Unable to mount root fs on 08:01"
57
58 as you surmised, the kernel is unable to find /
59 there is a BootX how-to at http://penguinppc.org/projects/bootx/
60 click the Options button and uncheck use specified ramdisk in the popup
61 dialog - click OK
62 the main screen of BootX should return with a dialog field where you can
63 enter sdc4 and below it a larger field where you can pass any
64 additional arguments to the kernel. 'devfs=mount' comes to mind if your
65 kernel is so inclined. You do not have to copy an initrd anywhere,
66 unless you have one set up as a rescue disk (a la debian), or some other
67 specialized purpose (such as install).
68
69 >
70 > Now, my / is on /dev/sdc4, which is an external SCSI drive (ID 6), so I'm
71 > not surprised this doesn't work. I tried to find other BootX settings,
72 > but opening the BootX App control panel manually doesn't give me anything
73 > other than what I saw before. Should I be passing arguments via the
74 > little text field each time I start up?
75
76 see above
77
78 >
79 > (A diffuculty I have in messing with this Mac is that each time I start
80 > up with Extensions enabled, it tries to connect to a shared drive that
81 > does not exist in its new environment. As my only options there are
82 > Cancel and Ok, but the box immediately comes back no matter which one I
83 > press, I'm unable to get to the Chooser in order to get rid of this
84 > auto-connect drive. If I start with Extensions off, I can't do anything
85 > with sharing as File Sharing, Open Transport, etc. are not available. I
86 > seem to be stuck.)
87
88 start up with ext off and remove the offending pref file from the system
89 folder>preferences folder. I'm sorry I can't be more useful as to the
90 name of said file, it's been a while since I did 7.5 :)
91
92 >
93 > Anyway, anyone willing to discuss my woes is welcomed; I'd like to keep
94 > playing with this critter, but I seem to have hit a stumbling block. :)
95 >
96
97 HTH,
98
99 tom
100
101
102 --
103 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] Greetings & Power Mac questions :) "Wolf J. Flywheel" <carl@×××××××.org>