Bug#264782: marked as done (grub: Boot failures with >2GB ram)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 19 Aug 2004 17:03:04 -0700


Your message dated Fri, 20 Aug 2004 01:45:14 +0200
with message-id <20040819234514.GA99357@khazad.dyndns.org>
and subject line Bug#264782: grub: Boot failures with >2GB ram
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Aug 2004 11:11:29 +0000
>From brederlo@informatik.uni-tuebingen.de Tue Aug 10 04:11:29 2004
Return-path: <brederlo@informatik.uni-tuebingen.de>
Received: from mx5.informatik.uni-tuebingen.de [134.2.12.32] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BuUXR-0002cY-00; Tue, 10 Aug 2004 04:11:29 -0700
Received: from localhost (loopback [127.0.0.1])
	by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP
	id 55680113; Tue, 10 Aug 2004 13:10:58 +0200 (MST)
Received: from mx3.informatik.uni-tuebingen.de ([134.2.12.26])
 by localhost (mx5 [134.2.12.32]) (amavisd-new, port 10024) with ESMTP
 id 34392-05; Tue, 10 Aug 2004 13:10:56 +0200 (DFT)
Received: from dual (semeai.Informatik.Uni-Tuebingen.De [134.2.15.66])
	by mx3.informatik.uni-tuebingen.de (Postfix) with ESMTP
	id 4B23413B; Tue, 10 Aug 2004 13:10:55 +0200 (DFT)
Received: from mrvn by dual with local (Exim 4.34)
	id 1BuUWo-0005nX-4t; Tue, 10 Aug 2004 13:10:51 +0200
Content-Type: multipart/mixed; boundary="===============0609178845=="
MIME-Version: 1.0
From: Goswin Brederlow <brederlo@informatik.uni-tuebingen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub: Boot failures with >2GB ram
X-Mailer: reportbug 2.60
Date: Tue, 10 Aug 2004 13:10:49 +0200
Message-Id: <E1BuUWo-0005nX-4t@dual>
Sender: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
X-Virus-Scanned: by amavisd-new (McAfee AntiVirus) at informatik.uni-tuebingen.de
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0609178845==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: grub
Version: 0.94+cvs20040429-1
Severity: important
Tags: patch

Hi,

I tracked down the (or at least one of) boot failures with more than 2
GB ram.

I reported the patch upstream but the diff is also attached here. The
patch should be placed into debian/patches and added to 00list.

http://savannah.gnu.org/bugs/?func=detailitem&item_id=9954

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages grub depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-3        Shared libraries for terminal hand

-- no debconf information

--===============0609178845==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="2g_limit.diff"

diff -Nurd grub-0.95+cvs20040624/stage2/char_io.c grub-0.95+cvs20040624-mrvn/stage2/char_io.c
--- grub-0.95+cvs20040624/stage2/char_io.c	2004-05-23 18:45:44.000000000 +0200
+++ grub-0.95+cvs20040624-mrvn/stage2/char_io.c	2004-08-10 11:58:16.000000000 +0200
@@ -1175,10 +1175,10 @@
 #endif /* ! STAGE1_5 */
 
 int
-memcheck (int addr, int len)
+memcheck (unsigned long addr, unsigned long len)
 {
 #ifdef GRUB_UTIL
-  static int start_addr (void)
+  static unsigned long start_addr (void)
     {
       int ret;
 # if defined(HAVE_START_SYMBOL)
@@ -1189,7 +1189,7 @@
       return ret;
     }
 
-  static int end_addr (void)
+  static unsigned long end_addr (void)
     {
       int ret;
 # if defined(HAVE_END_SYMBOL)
diff -Nurd grub-0.95+cvs20040624/stage2/shared.h grub-0.95+cvs20040624-mrvn/stage2/shared.h
--- grub-0.95+cvs20040624/stage2/shared.h	2004-06-20 15:48:47.000000000 +0200
+++ grub-0.95+cvs20040624-mrvn/stage2/shared.h	2004-08-10 11:58:16.000000000 +0200
@@ -911,7 +911,7 @@
 int nul_terminate (char *str);
 int get_based_digit (int c, int base);
 int safe_parse_maxint (char **str_ptr, int *myint_ptr);
-int memcheck (int start, int len);
+int memcheck (unsigned long start, unsigned long len);
 void grub_putstr (const char *str);
 
 #ifndef NO_DECOMPRESSION

--===============0609178845==--

---------------------------------------
Received: (at 264782-done) by bugs.debian.org; 19 Aug 2004 23:46:06 +0000
>From rmh@khazad.dyndns.org Thu Aug 19 16:46:06 2004
Return-path: <rmh@khazad.dyndns.org>
Received: from 86.red-80-24-13.pooles.rima-tde.net (khazad.dyndns.org) [80.24.13.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bxwbe-0004jv-00; Thu, 19 Aug 2004 16:46:06 -0700
Received: from aragorn ([192.168.0.1] helo=khazad.dyndns.org)
	by khazad.dyndns.org with esmtp (Exim 3.36 #1 (Debian))
	id 1Bxwjs-0002oa-00; Fri, 20 Aug 2004 01:54:36 +0200
Received: from rmh by khazad.dyndns.org with local (Exim 4.34)
	id 1Bxwao-00021D-Og; Fri, 20 Aug 2004 01:45:14 +0200
Date: Fri, 20 Aug 2004 01:45:14 +0200
From: Robert Millan <rmh@debian.org>
To: Goswin Brederlow <brederlo@informatik.uni-tuebingen.de>,
	264782-done@bugs.debian.org
Subject: Re: Bug#264782: grub: Boot failures with >2GB ram
Message-ID: <20040819234514.GA99357@khazad.dyndns.org>
References: <E1BuUWo-0005nX-4t@dual> <20040814172645.GA4061@khazad.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040814172645.GA4061@khazad.dyndns.org>
Organisation: free as in freedom
X-Operating-System: GNU/kFreeBSD
User-Agent: Mutt/1.5.6+20040722i
Sender: <rmh@khazad.dyndns.org>
Delivered-To: 264782-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Sat, Aug 14, 2004 at 07:26:45PM +0200, Robert Millan wrote:
> > 
> > I reported the patch upstream but the diff is also attached here. The
> > patch should be placed into debian/patches and added to 00list.
> 
> Cool.  I'm uploading this ASAP.

Euh, I forgot to close the bug.

-- 
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))