grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub2 SVN on 64bit Xserve 2,1


From: Vladimir Serbinenko
Subject: Re: Grub2 SVN on 64bit Xserve 2,1
Date: Thu, 23 Apr 2009 12:39:18 +0200

You need to transform the code which switches to i386 into a trampoline in i386/efi/linux.c and i386/linux.c. I have no time to do it now. However I attach 2 patches with this mail which should help you. Apply only one of them (each of them tries a quick hack in a different way).

On Thu, Apr 23, 2009 at 12:05 PM, decoder <address@hidden> wrote:
Hi,


yes I am compiling grub on a 64 bit kernel and with x86_64 as target (--with-platform=efi --target=x86_64)

Compiling on a 32 bit machine does not succeed because the Xserve 2,1 does not accept 32 bit EFI images.

Best regards,



Chris



Chip Panarchy wrote:
Hello

I don't know much about this.

However, you're compiling it on a 64-bit kernel, right?

The limitation you are talking about is the 32-bit 2 64-bit
limitation. 32-bit only supports up to 3.25GB of RAM.

Have you tried compiling it on 32-bit os? That may (for some reason)
fix the problem.

Give it a go.

Panarchy


---------- Forwarded message ----------
From: decoder <address@hidden>
Date: Thu, Apr 23, 2009 at 7:49 PM
Subject: Grub2 SVN on 64bit Xserve 2,1
To: address@hidden
Cc: address@hidden


Hello all,


recently, we tried to use Grub2 SVN on a 64bit Apple Xserve (Model
2,1) using EFI and after Bean solved some Xserve specific problems
that were discussed on the Ubuntu forums
(http://ubuntuforums.org/showthread.php?t=995704) someone else finally
managed to boot his Xserve 2,1 model with Grub2.

Ours however, did not boot and we isolated the problem to be a memory
problem: When we plug in 4 GB or more, Grub2 fails (when you finally
type "boot" on the command line, the machine instantly reboots). If we
remove all but 2 GB of RAM, it works and we managed to boot a Debian
kernel. So this seems to be a bug which only appears on this type of
machine with >= 4GB of RAM.


Unfortunately, I haven't found a way yet to get any debug output for
you from the machine (serial console doesn't seem to be supported in
EFI). If there is anything we can do to get this bug solved, please
let us know.

If this is the wrong list for this discussion, I'm sorry, I wasn't
sure which list discusses Grub2 SVN bugs/problems :)



Thanks in advance,



Christian Holler
System Administrator

Saarland University

_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel




On Thu, Apr 23, 2009 at 7:49 PM, decoder <address@hidden> wrote:
 
Hello all,


recently, we tried to use Grub2 SVN on a 64bit Apple Xserve (Model 2,1)
using EFI and after Bean solved some Xserve specific problems that were
discussed on the Ubuntu forums
(http://ubuntuforums.org/showthread.php?t=995704) someone else finally
managed to boot his Xserve 2,1 model with Grub2.

Ours however, did not boot and we isolated the problem to be a memory
problem: When we plug in 4 GB or more, Grub2 fails (when you finally type
"boot" on the command line, the machine instantly reboots). If we remove all
but 2 GB of RAM, it works and we managed to boot a Debian kernel. So this
seems to be a bug which only appears on this type of machine with >= 4GB of
RAM.


Unfortunately, I haven't found a way yet to get any debug output for you
from the machine (serial console doesn't seem to be supported in EFI). If
there is anything we can do to get this bug solved, please let us know.

If this is the wrong list for this discussion, I'm sorry, I wasn't sure
which list discusses Grub2 SVN bugs/problems :)



Thanks in advance,



Christian Holler
System Administrator

Saarland University

_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel


   


_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel
 


_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel


Attachment: l64t.diff
Description: Text Data

Attachment: l64t2.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]