Re: How to debug the early startup stages of OS X?
Re: How to debug the early startup stages of OS X?
- Subject: Re: How to debug the early startup stages of OS X?
- From: Josh de Cesare <email@hidden>
- Date: Thu, 27 May 2004 18:16:23 -0700
Corey,
Start by adding '-s' to the boot-args. This will force a
single user boot. If you are getting to the kernel, it should become
obvious when kernel start verbose logging. If all you see is grey
screen with the apple, then it probably did not make it out of BootX.
In that case, stop at Open Firmware (hold CMD-OPT-O-F at boot). Then
type 'boot' at the prompt then immediately hold down CMD-S. This
will force single user boot, but it will also enable logging to the
screen from BootX. You should see messages about BootX loading
files: mach_kernel, and Extensions.mkext or all the many drivers.
Josh
At 2:50 PM -0700 5/27/04, Corey O'Connor wrote:
A little background: I installed the 10.3.4 updater to my G4 last
night. Sadly, the computer would then refuse to go past the grey
apple on light-grey screen. No spinning disk or anything, just the
grey screen. The comp has heavily tweaked HW & SW so I'm not
bitching, just downgraded to 10.3.3 and everything is fine.
Correct me if I'm wrong but the usual boot sequence is:
1. OF loads the first stage bootloader
2. First stage bootloader initializes the computer then loads
the kernel
3. The kernel goes off and does it's thing.
Now, I'd imagine the problem is occurring either early in stage 3 or
late in stage 2. How do I go about debugging these steps? Is there
any pointers to some way I could get OF to spit out more info or
anything along that lines?
Corey O'Connor
DogHeadBone LLC
http://www.dogheadbone.com
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.