Florian Wagner
2010-Mar-18 09:18 UTC
[Xen-devel] Cannot access memory beyond end of bootstrap direct-map area
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Mar-18 09:22 UTC
Re: [Xen-devel] Cannot access memory beyond end of bootstrap direct-map area
On 18/3/10 09:18, "Florian Wagner" <f_wagner@syscomp.de> 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.I''m on holiday this week. I''ll sort out a patch probably on Monday. -- Keir> 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Mar-18 22:03 UTC
Re: [Xen-devel] Cannot access memory beyond end of bootstrap direct-map area
On 18/3/10 09:18, "Florian Wagner" <f_wagner@syscomp.de> 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.Okay, please try the attached patch. You only need to rebuild/install the hypervisor itself (xen.gz). If it works okay for you I will apply it to the next stable releases of 4.0 and 3.4. -- Keir> > 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Florian Wagner
2010-Mar-24 07:16 UTC
Re: [Xen-devel] Cannot access memory beyond end of bootstrap direct-map area
> Okay, please try the attached patch. You only need to rebuild/install > the hypervisor itself (xen.gz). If it works okay for you I will apply > it to the next stable releases of 4.0 and 3.4.The patch didn''t apply cleanly to the xen 3.4.2 release so I modified it to do so (see attached reloc-3.4.2). All it did is turn the original problem into another one. I now get a "elf_init: not an ELF binary" error instead. For reference I''ve attached the full Xen Hypervisor output of unpatched and patched versions. Also the GRUB2 entries I use to boot look like this: menuentry "Xen Unpatched" { insmod ext2 set root=''(hd0,4)'' multiboot /xen-unpatched.gz dummy=dummy noreboot com1=38400,8n1 console=com1 sync_console module /vmlinuz-2.6.26-2-xen-686 dummy=dummy root=UUID=29475092-583f-4a90-9bac-c5afda9ac352 ro pci=nomsi module /initrd.img-2.6.26-2-xen-686 } menuentry "Xen Patched" { insmod ext2 set root=''(hd0,4)'' multiboot /xen-patched.gz dummy=dummy noreboot com1=38400,8n1 console=com1 sync_console module /vmlinuz-2.6.26-2-xen-686 dummy=dummy root=UUID=29475092-583f-4a90-9bac-c5afda9ac352 ro pci=nomsi module /initrd.img-2.6.26-2-xen-686 } 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Mar-24 08:35 UTC
Re: [Xen-devel] Cannot access memory beyond end of bootstrap direct-map area
On 24/03/2010 07:16, "Florian Wagner" <f_wagner@syscomp.de> wrote:>> Okay, please try the attached patch. You only need to rebuild/install >> the hypervisor itself (xen.gz). If it works okay for you I will apply >> it to the next stable releases of 4.0 and 3.4. > > The patch didn''t apply cleanly to the xen 3.4.2 release so I modified > it to do so (see attached reloc-3.4.2). > > All it did is turn the original problem into another one. I now get a > "elf_init: not an ELF binary" error instead.Please try the attached patch, which applies on top of the previous patch. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Florian Wagner
2010-Mar-24 09:32 UTC
Re: [Xen-devel] Cannot access memory beyond end of bootstrap direct-map area
> >> Okay, please try the attached patch. You only need to > >> rebuild/install the hypervisor itself (xen.gz). If it works okay > >> for you I will apply it to the next stable releases of 4.0 and 3.4. > > > > The patch didn''t apply cleanly to the xen 3.4.2 release so I > > modified it to do so (see attached reloc-3.4.2). > > > > All it did is turn the original problem into another one. I now get > > a "elf_init: not an ELF binary" error instead. > > Please try the attached patch, which applies on top of the previous > patch.That fixed the problem. I''ve verified it to work with Xen 3.4.2 vanilla as well as the Xen package from Debian squeeze (3.4.2 with additional patches). Thank you! 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel