Re: Help Building Kernel for PowerMac G5 Quad
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZYcDgSZVZtGVedZqvGtETVqwVz7fRNkNf2Dy12L5H3M=; b=NR6t+ZnTQYHLSfoWVcm1MnW5yFggRZgyPAOvzZ6FBh1dRaeCjsSThqFd+DTpuK6oLADXILuxCK9qtP2NSnPXqSWqv2MKzPLsGVvnVeV8B6W8sMj/pJC438TKT2HHB00VUIKsgLisZ9RC5CVSUioLeND5Wm0Aq1AMRyOwTzzsZCk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qBMDmHJ+2B3knNZQehxw1Rh5a6j+0TDKtNM2x7zhOXgP9Ibmk19cXHmWtHH1X3IdXrfUvF1g5btXMWgKynm26pVHC8IANivSRwOQj9DIIOLSDaEDYYCxtnI0mS9UWAVghDEKjJKhioq0QPGpx81Og2/W4txlAPKSC1klUrsSyk0= Hi Rand, you should post on darwinbuild-dev and/or a search in the history!!!! and this is the "weekend", so just wait, or try to catch someone by IRC http://trac.macosforge.org/projects/darwinbuild/ Cheers! On Dec 8, 2007 7:18 PM, Rand Childs <randchilds@mac.com> wrote:
An explanation.
The reason I was trying to build a kernel for the PowerMac G5 QUAD is that I have Oracle server installed on that machine and when started with it's initialization parameter of "processes" greater than about 50, the 10.5 kernel panics, whereas 10.4 kernel did not.
The reason for the kernel panic is a bug in the semaphore code in the kernel which I patched before building the 10.5 kernel. I was trying to make sure that the kernel would no longer panic and Oracle would start. Since I was not able to figure out how to configure the build to properly build a kernel that would boot from the multi-processor machine, I moved Oracle to the TI PowerBook G4 and booted the patched kernel there. Oracle now starts without a kernel panic so I think that I've properly identified and have a solution to the kernel bug.
I've reported this using Apple's Bug Reporter. If there is anyone from Apple that reads this list and is interested in getting the kernel patched for the next release, the bug report id is 5574916.
Although I no longer need to build a kernel that will boot on the PowerMac G5 QUAD, I would still be interested to know how to configure the build so that the kernel will properly boot on this multi- processor machine. So if anyone could help with this, I'm still interested.
Thanks
Rand
On Dec 8, 2007, at 12:49 PM, Rand Childs wrote:
I have followed Apple's instructions for building the 10.5 kernel and have successfully built mach_kernel. To install it I did the following:
cp xnu-1228/BUILD/obj/RELEASE_PPC/mach_kernel /mach_kernel.new cp /mach_kernel /mach_kernel.orig cp /mach_kernel.new /mach_kernel
I've done this on a portable firewire drive so that I don't screw up by machine.
The problem is that I can boot from this kernel on my TI PowerBook G4 which means that the kernel will boot, however, I am unable to boot my PowerMac G5 QUAD. I get the white screen with the apple logo, and then eventually the fans ramp up to full speed. I never see the spinning circle and holding down "command v" doesn't do anything.
So, the kernel that I build does work on the TI PowerBook G4, but not on the PowerMac G5 QUAD. It was built on the PowerMac G5 QUAD using Apple's instructions.
Does anyone know what I need to do to build a kernel that will boot a PowerMac G5 QUAD?
Any help would be appreciated. I couldn't find anything in the list archives.
Thanks
Rand
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/randchilds%40mac.com
This email sent to randchilds@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- -mmw _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w