Set physical start and alignment 1M for virtual i386
On 02/01/2011 06:58 AM, Stefan Bader wrote:
With the latest Natty kernel we find t1.micro again (but differently) broken
for i386. This has been tracked down to a change of PHYSICAL_START from
0x100000 (1M) to 0x1000000 (16M) which is ok when booten in Xen directly but
results on a crash when booted by pv-grub.
The following change resets the value for virtual (and gets it in sync with
the alignment for the rest of i386).
We carried different values though got that silently updated after some
recent rebases.
-Stefan
From 7dccaa633817869293dd7f410c3a323132e42df5 Mon Sep 17 00:00:00 2001
From: Stefan Bader<stefan.bader@canonical.com>
Date: Tue, 1 Feb 2011 14:46:14 +0100
Subject: [PATCH] UBUNTU: [Config] Set physical start and alignment 1M for virtual i386
BugLink: http://bugs.launchpad.net/bugs/710754
This also sets the PHYSICAL_ALIGNMENT to 16M for normal i386 flavours
because this is the default since around 2.6.31 and we just happened to
carry an older default value. But a recent update of the configuration
changed the PHYSICAL_START to the new default of 16M. So now both values
are in sync again.
That said, unfortunately there seems to be a problem with pv-grub on
i386 when the physical start is set to 16M which prevents booting the
t1.micro instances on EC2 (again). Therefor the physical start and
alignment is changed back for the virtual flavour of i386.