From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeX9e-0006iI-Vz for mharc-grub-devel@gnu.org; Tue, 03 Mar 2009 11:07:39 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeX9b-0006eN-9t for grub-devel@gnu.org; Tue, 03 Mar 2009 11:07:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeX9Z-0006dH-Oc for grub-devel@gnu.org; Tue, 03 Mar 2009 11:07:34 -0500 Received: from [199.232.76.173] (port=59073 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeX9Z-0006dD-HW for grub-devel@gnu.org; Tue, 03 Mar 2009 11:07:33 -0500 Received: from mail-fx0-f172.google.com ([209.85.220.172]:62102) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeX9Z-0005TQ-46 for grub-devel@gnu.org; Tue, 03 Mar 2009 11:07:33 -0500 Received: by fxm20 with SMTP id 20so2501715fxm.42 for ; Tue, 03 Mar 2009 08:07:31 -0800 (PST) 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:content-type :content-transfer-encoding; bh=iSr6t2n8G1v3Ac5DgKj5IB0Mo7WabK7ENZPlLYrpCaI=; b=Yxlsi8dFXvJkwiqOIB9ypKeGhjgGfiwfH1EgOaZCCPeBAKE9aSgN7qKk2N4BbWyGWm WD5vqsU3SJpD+UQhkXmTj+9xsit35NI28yOxn+EHRocCULNIwG7zy7L7nkQuX/S+f+em J1YCCxwJgy+iFpwMRuPwrOW0913YnymOf5dFg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=eujcq9QzogMjkX+I9pg3KAcIQwOPZ6ki98ls1T8dFFmN7z0hk7ktj3IueqEx+Z3644 FmQOuE7W1fUBl07p3TTNRZANATV/VXG/8ceYS9oj8e3NOh8zKxdWsgYFynfUWQJu6iby AjJXZKTqCvB5qpcOZEwMbo+MKJG/VOYwK4eDc= Received: by 10.86.82.6 with SMTP id f6mr7386954fgb.42.1236096451715; Tue, 03 Mar 2009 08:07:31 -0800 (PST) Received: from ?192.168.1.2? (20-72.3-85.cust.bluewin.ch [85.3.72.20]) by mx.google.com with ESMTPS id 4sm775245fge.4.2009.03.03.08.07.31 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Mar 2009 08:07:31 -0800 (PST) Message-ID: <49AD55C3.9030202@gmail.com> Date: Tue, 03 Mar 2009 17:07:31 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Solaris assumptions 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: Tue, 03 Mar 2009 16:07:36 -0000 Hello, investigating Solaris/OpenSolaris/Pulsar kernel I found that it makes assumptions which are false in grub2 environment. Now we should decide what to do. Assumptions: 1) Bad multiboot header. AOUT_KLUDGE bit is set but no aout multiboot fields. Actually the image is elf. I fixed it by just putting this bit to zero in the binary. It's possible to add a workaround but it's basically a sun's issue 2) solaris is able to open its own kernels file by the name from grub's cmdline. It's also a bad assumption which is entirely sun's fault 3) mbi, cmdline and mmap are in low memory. These bits are discuttable. Specification doesn't guarantee these parts to be on low memory however different OSes assume that and it makes mapping memory much easier. If we want to superseed grub1 we should use daChaac's memory management and allocate the space for these parts on low memory -- Regards Vladimir 'phcoder' Serbinenko