From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Oe8Zl-0002w9-Nj for mharc-grub-devel@gnu.org; Wed, 28 Jul 2010 11:29:45 -0400 Received: from [140.186.70.92] (port=52291 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe8Zj-0002ug-CB for grub-devel@gnu.org; Wed, 28 Jul 2010 11:29:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe8Zh-0008KI-UK for grub-devel@gnu.org; Wed, 28 Jul 2010 11:29:43 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:52839) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8Zh-0008Jf-Qy for grub-devel@gnu.org; Wed, 28 Jul 2010 11:29:41 -0400 Received: by gxk4 with SMTP id 4so2315741gxk.0 for ; Wed, 28 Jul 2010 08:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=3A0UhjwBDDE58JJp0ryfUDhQsjGecZ28R1OVEBqv+xM=; b=mQbU70WMfSrnS7BAG0QkRAdgpjThVf2t2TmQUwTYefDyN6XAOTTxhwb7lXQVhGiqZN lH0cE3DVzIxTjzuEJ6CVjx7bYWGqPgOF87VkDU1YcRIBIoT9NBAh+rIvOEqSdh0ETgdp 7taQZ2siU4FmrM8ZoOiM7xrDu/kGx+kefT3RY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=OMnYkUy/qKGL+xNMB/rIFxiTJaWGOm82Hh0hanWOopVWf7sSm3/4zCyz8HkspXWop9 NEvpgyHMsAo4vbm5H7b1GUqNbhJW1M6L5wlAlX+tpJU4L7aPocVy1c9IJmi0opZG5bKZ emQa7QQnZxHODEmd8wE6ZBR/7CqupLXp02fWA= Received: by 10.100.153.15 with SMTP id a15mr11610856ane.179.1280330979476; Wed, 28 Jul 2010 08:29:39 -0700 (PDT) Received: from [192.168.21.179] (bas1-toronto05-1177663517.dsl.bell.ca [70.49.184.29]) by mx.google.com with ESMTPS id w6sm10933616anb.23.2010.07.28.08.29.38 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 08:29:38 -0700 (PDT) Message-ID: <4C504CE1.90300@gmail.com> Date: Wed, 28 Jul 2010 11:29:37 -0400 From: Doug Nazar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4C4E2FC5.10607@gmail.com> <20100727152625.GX2632@caffeine.csclub.uwaterloo.ca> <4C4F7289.2090106@gmail.com> <20100728145252.GB2632@caffeine.csclub.uwaterloo.ca> In-Reply-To: <20100728145252.GB2632@caffeine.csclub.uwaterloo.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Big Endian fix patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 15:29:44 -0000 On 2010-07-28 10:52 AM, Lennart Sorensen wrote: > > I have booted Debian powerpc on qemu before without any issues. > It just worked. Well initially the install couldn't boot because it > was using quik at the time (oldworld mac emulation), and the ramdisk > image was too large for quik. I fixed quik to support larger ramdisks > (and ext3 and such just by using a new libe2fs which also broke it). > This is my first foray into PPC. I've worked with SPARC so I have some familiarity with OF but OpenBios just didn't seem to handle what I remembered and the help/docs leave a lot to be desired. QEMU/Ubuntu mentioned different machine types and several other things that I wasn't sure about. Probably makes a lot of sense if you're coming from real hardware. > Without a devalias, grub can't find ANY disks on the IBM firmware. > With a devalias created, it works fine. I suppose this qualifies as a > bug in grub. > Right now the iterate function only scans the /aliases node for block devices. I'd rather it scan the real devices however I still want the aliases to show up in 'ls'. Still thinking about how to do this without too much surgery. > It is not too bad. I haven't noticed anything too awful in the display. > It messes up a lot when it starts scrolling the screen though, so I have > to 'clear' and then continue to keep it legible. The menu looks fine. That's what I was seeing. Turns out the screen-#rows default was way off. Resetting that before booting grub made everything pretty. I didn't dig too deep into Grub's OF console handling to see how it handled the output. I saw it read the rows & columns from OF and just assumed it was an OpenBios bug. Perhaps it uses a different font or something and needs to recalc the height. I'll take a look. Doug