Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ERBEZ-0007Sx-H0 for mharc-grub-devel@gnu.org; Sun, 16 Oct 2005 12:19:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERBEX-0007SX-Ol for grub-devel@gnu.org; Sun, 16 Oct 2005 12:19:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERBEW-0007SL-Sp for grub-devel@gnu.org; Sun, 16 Oct 2005 12:19:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERBEW-0007SI-N6 for grub-devel@gnu.org; Sun, 16 Oct 2005 12:19:36 -0400 Received: from [209.86.89.69] (helo=smtpauth09.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERBEW-0000tl-LZ for grub-devel@gnu.org; Sun, 16 Oct 2005 12:19:36 -0400 Received: from [63.246.184.80] (helo=[192.168.0.101]) by smtpauth09.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1ERBEV-00059i-BT for grub-devel@gnu.org; Sun, 16 Oct 2005 12:19:35 -0400 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <6E73DB97-3B15-4A08-BFA6-3713A5D7830B@gmail.com> References: <20051010080833.GA16728@suse.de> <6E73DB97-3B15-4A08-BFA6-3713A5D7830B@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <188b6c201fac16ba7579422018242941@penguinppc.org> Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Sun, 16 Oct 2005 11:19:33 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.623) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec79aeb46b0216132979e0de97c57aab82c7350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: Booting homebrew ELF kernel on NewWorld OpenFirmware 3.0? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 16:19:37 -0000 On Oct 15, 2005, at 5:35 PM, Andrei Warkentin wrote: > Thanks for your help. Right now I've gotten to the point where I can > print ``hello world'' and exit back to OpenFirmware. > It is interesting though that I cannot ``boot'' it again (or for that > matter launch BootX and procede back into OS X) until I reboot the > machine. > When I boot my own kernel again I get a CLAIM Failed. When I boot > BootX I get ``illegal instruction executed``. As far as I understand, > it is because OF CLAIMed the memory area where it was loading my > image, and after my kernel quit, that area was still CLAIMed by OF, so > it couldn't CLAIM it again. Is there some way of convincing OF to free > up the memory it just gobbled up, after my kernel had exited? The real problem is that many firmwares are not well-tested for unusual cases like this. It's probably possible to fix this up with a Forth script, but reset-all isn't too inconvenient... -Hollis