Bug#419994: Missing memory in Xen due to wrong detection of e820 memory map in grub

Markus Hochholdinger Markus at hochholdinger.net
Fri Dec 7 11:18:21 UTC 2007


Hi,

i had the same problem and found a bug report on 
https://bugzilla.redhat.com/show_bug.cgi?id=250299 . My solution for Debian 
4.0, for others who hit this problem:

apt-get source grub
apt-get build-dep grub
cd grub-0.97/
cp -a stage2/common.c stage2/common.c.original
vi stage2/common.c
diff stage2/common.c.original stage2/common.c
145c145,146
<   unsigned long cont, memtmp, addr;
---
>   unsigned long memtmp, addr;
>   volatile unsigned long cont;
debian/rules binary
dpkg -i ../grub_0.97-27_i386.deb
grub-install /dev/sda
grub-install /dev/sdb

After reboot all memory is seen by the xen hypervisor.


-- 
greetings

eMHa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20071207/b8bdbfa6/attachment-0001.pgp 


More information about the Pkg-grub-devel mailing list