Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8f62-0003qS-EE for mharc-grub-devel@gnu.org; Tue, 17 Jun 2008 13:35:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8f60-0003oM-EF for grub-devel@gnu.org; Tue, 17 Jun 2008 13:35:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8f5y-0003mQ-Ue for grub-devel@gnu.org; Tue, 17 Jun 2008 13:35:52 -0400 Received: from [199.232.76.173] (port=35609 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8f5y-0003m8-CS for grub-devel@gnu.org; Tue, 17 Jun 2008 13:35:50 -0400 Received: from ti-out-0910.google.com ([209.85.142.190]:7919) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8f5x-0005Ag-Sp for grub-devel@gnu.org; Tue, 17 Jun 2008 13:35:50 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1873227tia.10 for ; Tue, 17 Jun 2008 10:35:47 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pahKqqvhc2K7KYvcJiYzgLgiuWnshD1hpfTl1YSdH0k=; b=kY7t1Ck32wjeWJ7/ZJrDWBs4wMxd6wYCHOI+JAzvL/gUTs6CIyMPgKtL1/RSMiJY4z aTil8+8vwdumMKmKBCe1Wr8pVrW96r9PNRzZdR3RwLco/rFk7kmYsV4d8INzzL3AbPOW ofWZdOL0CX+JCOPPo9+0Vz80Q02EVXyzcK7bs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Pcxbf8Med5enFmIj6mIYRtGhoB0kZTXSDUaFD09dj0Vo5A/AkIqKCXup0iooDlViwl xvM1QNp2qajXquKvKtHrHptY25SRhc6B7LaCUmWRLUi0ACPSrL3UOAxCol6slho3aR/Q tux3rv1Q/qd/biRHerxf9R7tGD+6ni+KhLIG0= Received: by 10.110.14.12 with SMTP id 12mr5597139tin.31.1213724147898; Tue, 17 Jun 2008 10:35:47 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Tue, 17 Jun 2008 10:35:47 -0700 (PDT) Message-ID: Date: Wed, 18 Jun 2008 01:35:47 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1213723385.6330.35.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080615174819.GA3506@thorin> <1213618146.6330.6.camel@localhost> <20080616213116.GC6108@thorin> <1213670869.6330.12.camel@localhost> <1213713543.6330.24.camel@localhost> <1213723385.6330.35.camel@localhost> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [RFC] split floppy support off biosdisk 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, 17 Jun 2008 17:35:52 -0000 On Wed, Jun 18, 2008 at 1:23 AM, Javier Mart=EDn wro= te: > El mar, 17-06-2008 a las 22:52 +0800, Bean escribi=F3: >> Hi, >> >> I think memory is not a problem here, as grub2 can use upper memory: >> >> src =3D raw data >> dest =3D 0x100000 >> buf =3D dest + kernel_size >> > We could do that, but since the code would execute at the very first > stages, where we still don't have a memory map, we could overwrite > something important and wreak havoc. It's unlikely, since most computers > have a wide space at 1MB with most or all of the RAM, before the ACPI > structures and the BIOS area at the end. However, we should contemplate > the possibility of things going awry and prepare to receive bug reports > about failures on esoterically nonstandard computers, such as "GRUB > triple-faults my HP Vectra 75". > Alternatively, we could first check the BDA and, if we have enough > "lower" memory for the operation, use it before venturing into post-1MB > territory. > > I'm currently checking the memory requisites of LZMA decompression > depending on the -1..9 compression setting, and will report back when > finished Hi, Well, actually current lzo decompresser uses similar method, decompress the data directly to 0x100000. The compressed kernel is only used in i386-pc platform, and space at 0x100000 should be available, as Linux kernel will be loaded at this address as well. About lzma setting, although I can't be sure, but the default seems to gain the best result. --=20 Bean