Re: New kernel not running.
Re: New kernel not running.
- Subject: Re: New kernel not running.
- From: Terry Lambert <email@hidden>
- Date: Tue, 20 Feb 2007 22:29:50 -0800
On Feb 20, 2007, at 1:00 AM, Romit Dasgupta wrote:
Hi,
I am newbie to the XNU world. I have a iBook G4. uname -a gives me
7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004;
root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh powerpc
So I downloaded the xnu-517.7.7.tar.gz.
I went through the build instructions and tried building a kernel. I
was successful in building it. I copied it to /mach_kernel.new
I rebooted and trapped into Open Firmware and saw that hd: was aliased
to /pci@f4000000/ata-6@d/disk@0
So I set the boot-file variable to
/pci@f4000000/ata-6@d/disk@0,mach_kernel.new and tried rebooting the
machine.
When it reboots I can see the grey screen. But, instead of the Apple
logo at the centre of the screen I can see some undecipherable image.
What am I missing?
Do the modes and ownership on /mach_kernel look like this (example)?
-rw-r--r-- 1 root wheel 3859004 Aug 5 2004 /mach_kernel
If not, then you probably renamed the original instead of copying it,
and then renamed your new kernel in its place instead of copying over
the old (original) after saving off the copy (which would have
preserved your permissions and ownership), and now the modes are
messed up, which will make the boot loader fail to load it.
You might also need to:
touch /System/Library/Extensions
to invalidate the boot cache, if you are building on one machine and
installing on another, and are not running ntp to keep the machines
time synchronized, so if the kernel goes back in time because of this,
it's possible that you could be using a stale cache.
There's a lot of useful documentation on <http://developer.apple.com>
that you should probably read before asking more here.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden