From: Phillip Susi <psusi@ubuntu.com>
To: Andrey Borzenkov <arvidjaar@gmail.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>,
xen-devel@lists.xen.org
Subject: Re: Loading a 32 bit kernel from 64 bit grub-xen
Date: Tue, 01 Jul 2014 14:27:58 -0400 [thread overview]
Message-ID: <53B2FDAE.7030506@ubuntu.com> (raw)
In-Reply-To: <20140701201814.6234200d@opensuse.site>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/1/2014 12:18 PM, Andrey Borzenkov wrote:
> В Tue, 01 Jul 2014 12:06:08 -0400 Phillip Susi <psusi@ubuntu.com>
> пишет:
>
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>
>> I have been trying to fix grub to load a 32 bit kernel from the
>> 64 bit xen build. After fixing up one or two minor issues with
>> the elf loader, I believe I now have it to the point where it
>> jumps correctly to the 32 bit kernel and it crashes there, since
>> it is 32 bit code still executing on a cpu in 64 bit mode. The
>> question is how to return the cpu to 32 bit mode *under xen*?
>
>
> IIRC it was already discussed not long ago and it seems to be Xen
> limitation. You probably need to ask on xen-devel to be sure.
>
> Is it not more simple to use 32 bit grub with 32 bit kernel to
> start with?
The problem with that is that you have to know in advance which kernel
you are going to boot. That makes configuring virtual hosts harder;
they just want one grub image they can use to chainload whatever the
guest wants to install in their domain.
Also there must be a way to do this otherwise a 64 bit kernel running
under xen wouldn't be able to execute a 32 bit binary. I suppose I'll
Cc xen-devel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTsv2uAAoJEI5FoCIzSKrwvQQIAIZ/ipl4MRQcf2nhOBUFzEzM
WTNx4ul/ZAtEDATMpokIpnhZuU1VDqzeOHbHZDXQfXZbYyhHM5LTKqiCLEGW0qnE
Q+qW5Q9cKeXolx/hjZ4FrUU1fMHZ9tZ7dhb68iB1aGELZVtR7yXJFsl+4ZF6LPvN
5/w3g6WAd4fWpfEswL34EzaUW0RAfa0O4xmgHbQkkXftO1TLOoiswwGcW3xc9nai
jr03H9NyOUTgZX89xhR/LAKuCMivs/FWARQ1UDMwy9KfY0IIoka94BfL36T4te01
HrYmiXtKoiaOZ0IyEhm5HY+X7bHBZU/eycQ3KdRG8aW694Y0zrCEEKhw0pJpbw0=
=Vadi
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-07-01 18:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 16:06 Loading a 32 bit kernel from 64 bit grub-xen Phillip Susi
2014-07-01 16:10 ` Vladimir 'phcoder' Serbinenko
2014-07-01 16:18 ` Andrey Borzenkov
2014-07-01 18:27 ` Phillip Susi
2014-07-01 18:27 ` Phillip Susi [this message]
2014-07-01 18:33 ` Vladimir 'phcoder' Serbinenko
2014-07-01 18:33 ` Vladimir 'phcoder' Serbinenko
2014-07-02 8:35 ` Jan Beulich
2014-07-02 8:35 ` [Xen-devel] " Jan Beulich
2014-07-02 8:38 ` Vladimir 'phcoder' Serbinenko
2014-07-02 9:27 ` Ian Campbell
2014-07-02 9:27 ` Ian Campbell
2014-07-02 9:26 ` [Xen-devel] " Ian Campbell
2014-07-08 15:37 ` Phillip Susi
2014-07-08 15:37 ` Phillip Susi
2014-07-08 15:47 ` [Xen-devel] " Ian Campbell
2014-07-08 15:47 ` Ian Campbell
2014-07-02 9:26 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B2FDAE.7030506@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.