Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting Installation CD - PPC BootX [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Thu Nov 02, 2006 7:03 pm    Post subject: Booting Installation CD - PPC BootX [Solved] Reply with quote

I have restarted my project of installing a linux cluster on a pair of beige G3 PPC machines. I can't remember which Live CD I used before (2004, 2005) but previously, I was able to boot with little trouble from BootX to the install CD (I remember it used the G3G4 kernel and image files).

Since, I have reinstalled Mac OS 9 with a minimum install (including CD support, TCP/IP Networking, Internet Explorer, StuffIt, etc.)...the basics for getting BootX downloaded and running). Now, when running BootX and using the arguments specified in the 2006.1 handbook (using 2006.1 minimal CD), I get the typical BootX output, followed by garbled text...I wish I could attach a picture...I'll describe below somewhere.

In any case, it looks like the kernel is starting up, but the output is not displaying past a certain point. I can make out a few lines from the startup output which makes me think this. However, the system never gets to a console...in fact it reboots after a few minutes making me think there was a problem loading the kernel/root filesystem causing the system to reboot after 180 seconds (I think this is the typical error timeout to restart).

Any hints or fixes that might help me get started with the Gentoo CD? I have not tried the universal CD...will try this evening. I also don't have the old 2004/2005 CD I was using and haven't found a place to download it from anywhere.

--
I am using BootX v1.2.2 and have tried the following BootX combinations:

1 - ramdisk 32000, kernel=apple, Force Video Settings=On, RamDisk=apple.igz, Video Driver=Yes
1 - ramdisk 32000, kernel=apple, Force Video Settings=On, RamDisk=apple.igz, Video Driver=No
2 - ramdisk 64000, kernel=apple, Force Video Settings=Off, RamDisk=apple.igz, Video Driver=Yes
2 - ramdisk 64000, kernel=apple, Force Video Settings=Off, RamDisk=apple.igz, Video Driver=No

Each with the following kernel arguments:

A - cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs
A - cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs video=ofonly
A - cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs video=ofonly:1024x768@75
A - cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs video=radeonfb
A - cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs video=radeonfb:1024x768@75

Here's some system info:

OF: 2.01f (unpatched - default settings)
RAM: 96MB

IO: Grackle
ATA: Heathrow (ide20000 - Hardrdive, ide21000 - CD Drive)

I also noticed: /ATY,mach64_3DU in OF...maybe I'm trying the wrong video drivers?

Also, last lines I can glean from boot sequence (there may be typos...kinda hard to read):
CPU hash table entries: 512 (order 9, 2840 bytes)
??? Delta read from XPRAM: -388 minutes, DST: on
time_init: decrementer frequency - 16.787033MHz
time_init: processor frequency - 267.208888 MHz
--
_________________
~DMP


Last edited by samus8zero2x on Wed Nov 22, 2006 2:37 am; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Nov 02, 2006 7:12 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on PPC.
You'll probably have better luck here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 03, 2006 3:52 am    Post subject: Reply with quote

The latest 2006.1 doesn't boot with BootX due to a kernel issue (it didn't work with 2.6.17). If you can come on IRC, ask Pylon for a copy of a rebuild 2006.1 with 2.6.18, that will get you going. As an alternative, if you have a PPC toolchain built, you can build a 2.6.18 kernel with all of the drivers for your machine and use that instead of the LiveCD kernel. You won't be able to use modules, but it should be fine for installing.

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Fri Nov 03, 2006 2:04 pm    Post subject: Reply with quote

Ok, I'll try that.

So does this mean the 2.6.17 kernel cannot be made to work with BootX? I just want to be sure I don't spend a lot of time trying to fix a kernel that's not going to work during/after install. If it is known not to work, I'll just make sure I'm using the 2.6.18 kernel source...
_________________
~DMP
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 03, 2006 3:44 pm    Post subject: Reply with quote

Yes, that's right, 2.6.18 is really your best option. 2.6.17 has a bug that prevents booting with BootX. If you really need to use 2.6.17, http://patchwork.ozlabs.org/linuxppc/ has it somewhere, but you'd have to look for the patch.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Sun Nov 12, 2006 6:40 pm    Post subject: Reply with quote

I've attempted to cross-compile vanilla 2.6.18.2 for powerpc on my x86 machine. Using BootX, I am now able to see the boot process begin correctly.

However, when the system attempts to mount /dev, it fails with an error. I looked around in the kernel config and I could not see any place to specify udev support (menuconfig shows it when I run it normally, but not with ARCH=powerpc).

I am going to try burning the kernel to CD in case IE in MacOS is screwing up the kernel file. Otherwise, does anyone know a workaround for this problem?

I will post the error if re-copying the file does not work. As I don't know the root password of the liveCD, I can't get in to see the error logs.
_________________
~DMP
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Sun Nov 12, 2006 9:10 pm    Post subject: Reply with quote

This is the error I am getting:

* Mounting /dev for udev [ oops ]

* The "mount" command failed with error:

wrong fs type, bad option, bad superblock on udev,
missing codepage or other error
In some cases useful info io found in syslog - try
dmesg | tail or so

* Since this is a critical task, startup cannot continue.

Give root password for maintenance
(or type Control-D to continue):

--

Of course, Ctrl-D ends up rebooting the system. Is this something that could be fixed by using the gentoo-sources instead of vanilla-sources? Is there a way to download a specific version of the gentoo sources (my x86 machine only wants to download 2.6.17 [or 2.6.19 if I unmask it] through portage)?
_________________
~DMP
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Nov 12, 2006 11:25 pm    Post subject: Reply with quote

You have probably missed something in the PPC kernel. Did you use make pmac32_defconfig?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Mon Nov 13, 2006 1:12 am    Post subject: Reply with quote

No...I patched the kernel for squashfs, ran make menuconfig, and make.

I've never heard of using pmac32_def...then again I've never worked with kernels on anything but x86...

I'll give it a go and post the results here.
_________________
~DMP
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Tue Nov 14, 2006 1:20 am    Post subject: Reply with quote

I tried doing strict pmac32_defconfig and realized that wasn't going to work since it didn't enable squashfs. Then I went in and enabled it and started again.

This time, I got past the /dev mounting which is great, but it had an error at setting the time by the hardware clock. I noticed it was looking for modules, so I am retrying the kernel without module support. Hopefully it will work for me this time...
_________________
~DMP
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Nov 14, 2006 2:21 am    Post subject: Reply with quote

Due to an issue with the LiveCD, you'll need to have a working clock battery, or at the very least, set the time from OF. You may have also missed the Extended RTC driver in your kernel config.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Sun Nov 19, 2006 12:01 am    Post subject: Reply with quote

Sorry it took so long for me to get around to replacing the batteries...

I replaced the battery in the G3 I'm working with, but I still get the hardware clock error at boot-up...Cannot access hardware clock by any known method.

I double checked the time was set correctly in OS9...I even unplugged the system for a bit and plugged it back in to make sure the new battery was doing its job...it is. I double-checked the kernel and I have all of the RTC options enabled...including the extended RTC option. Is there any way of working around the Hardware Clock portion of the startup script? Is there any other tricks I haven't tried yet?

Maybe there's still a bug in the kernel that I have to work around...
_________________
~DMP
Back to top
View user's profile Send private message
samus8zero2x
n00b
n00b


Joined: 08 Jul 2005
Posts: 30
Location: OKC, OK

PostPosted: Wed Nov 22, 2006 2:36 am    Post subject: Reply with quote

I tried my custom kernel with the 2005.1 Live CD and it booted quite gracefully. I suspect a bug in the hardware clock script on the 2006.1 Live CD.

Anyway, now all I have to do is figure out why the network adapter is "working" but dhcpcd is not.

Thanks for your help!
_________________
~DMP
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 22, 2006 4:57 am    Post subject: Reply with quote

Might be this bug:
https://bugs.gentoo.org/show_bug.cgi?id=139179
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum