xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Cannot access memory beyond end of bootstrap direct-map area
@ 2010-03-18  9:18 Florian Wagner
  2010-03-18  9:22 ` Keir Fraser
  2010-03-18 22:03 ` Keir Fraser
  0 siblings, 2 replies; 11+ messages in thread
From: Florian Wagner @ 2010-03-18  9:18 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 933 bytes --]

Hi,

there was a thread about this problem on xen-users and xen-devel, where
on 32-bit systems using grub2 Xen doesn't boot but crashes with this
error.

Keir Fraser wrote:

> But I will help someone get 32-bit Xen working with GRUB2 if they are
> really stuck and are capable of applying, building and testing my
> patches.

I am stuck with a bunch of 32bit systems and willing and capable of
applying and testing patches.


Regards
Florian Wagner

--------------

Florian Wagner
Abteilung EDV
Telefon: 0821 / 4201 - 453
Fax: 0821 / 4201 - 411
E-Mail: f_wagner@syscomp.de

Syscomp Biochemische Dienstleistungen GmbH
August-Wessels-Straße 5, 86154 Augsburg
Postfach 102506, 86015 Augsburg
Telefon: 0821 / 4201 - 0
Fax: 0821 / 417992
Web: http://www.syscomp.de
E-Mail: syscomp@syscomp.de

Geschäftsführer:
  Dr. med. Bernd Schottdorf
  Gabriele Schottdorf

Registergericht Augsburg HRB 8670

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread
* cannot access memory beyond end of bootstrap direct-map area
@ 2009-08-27 17:28 Pascal Bouchareine
  2009-08-27 18:55 ` Keir Fraser
  0 siblings, 1 reply; 11+ messages in thread
From: Pascal Bouchareine @ 2009-08-27 17:28 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

Hi,

Investigating the above message during xen 3.3 boot, found we left
a wrong assumption [modules_length == (mod[n].end - mod[0].start)]
in move_memory call, leading to an access above BOOTSTRAP_DIRECTMAP_END
and this panic on x86_32.

In my understanding Keir's patch 18630 was fixing this kind of problem
and I'm wondering why this move_memory call didn't go away with it ?

If this were ok, attached patch fixes the panic on my system.

Cheers,
Pascal

-- 
\o/   Pascal Bouchareine - Gandi 
 g    0170393757           15, place de la Nation - 75011 Paris      

[-- Attachment #2: xen-setup-remap-modules.patch --]
[-- Type: text/x-diff, Size: 1045 bytes --]

Signed-off-by: Pascal Bouchareine <pascal@gandi.net>

diff -r d9289e28e5e7 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c	Thu Aug 06 13:29:39 2009 +0100
+++ b/xen/arch/x86/setup.c	Thu Aug 27 18:53:08 2009 +0200
@@ -737,11 +737,6 @@ void __init __start_xen(unsigned long mb
         if ( !initial_images_start && (s < e) && ((e-s) >= modules_length) )
         {
             initial_images_end = e;
-            e = (e - modules_length) & PAGE_MASK;
-            initial_images_start = e;
-            move_memory(initial_images_start, 
-                        mod[0].mod_start, mod[mbi->mods_count-1].mod_end);
-            e += modules_length;
             for ( j = mbi->mods_count-1; j >= 0; j-- )
             {
                 e -= mod[j].mod_end - mod[j].mod_start;
@@ -749,6 +744,7 @@ void __init __start_xen(unsigned long mb
                 mod[j].mod_end += e - mod[j].mod_start;
                 mod[j].mod_start = e;
             }
+	    initial_images_start = e;
         }
 
         if ( !kexec_crash_area.start && (s < e) &&

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-03-24  9:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18  9:18 Cannot access memory beyond end of bootstrap direct-map area Florian Wagner
2010-03-18  9:22 ` Keir Fraser
2010-03-18 22:03 ` Keir Fraser
2010-03-24  7:16   ` Florian Wagner
2010-03-24  8:35     ` Keir Fraser
2010-03-24  9:32       ` Florian Wagner
  -- strict thread matches above, loose matches on Subject: below --
2009-08-27 17:28 cannot " Pascal Bouchareine
2009-08-27 18:55 ` Keir Fraser
2009-08-27 21:41   ` Pascal Bouchareine
2009-08-28  6:38     ` Keir Fraser
2009-08-28  7:44       ` Pascal Bouchareine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).