Skip to contentSkip to conversation

Cannot access memory beyond end of bootstrap direct-map area

DISCUSSION Florian Wagner 2 participants 6 messages Mar 18, 2010 – Mar 24, 2010

lore
Share & tools
lore
#0 lore raw

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.

Quoted 3 lines · Keir Fraser

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: [email protected]

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: [email protected]

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

Registergericht Augsburg HRB 8670

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · Florian Wagner
Quoted 3 lines

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

Quoted 24 lines

Regards
Florian Wagner

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

Florian Wagner
Abteilung EDV
Telefon: 0821 / 4201 - 453
Fax: 0821 / 4201 - 411
E-Mail: [email protected]

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: [email protected]

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

Registergericht Augsburg HRB 8670

#2 lore raw
In reply to Florian Wagner
Quoted 6 lines · Florian Wagner
Quoted 3 lines

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

Quoted 20 lines

Regards
Florian Wagner

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

Florian Wagner
Abteilung EDV
Telefon: 0821 / 4201 - 453
Fax: 0821 / 4201 - 411
E-Mail: [email protected]

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: [email protected]

Quoted 5 lines

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

Registergericht Augsburg HRB 8670

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 3 lines

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: [email protected]

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: [email protected]

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

Registergericht Augsburg HRB 8670

__ __ _____ _ _ ____

 \ \/ /___ _ __   |___ /| || |  |___ \ 
  \  // _ \ '_ \    |_ \| || |_   __) |
  /  \  __/ | | |  ___) |__   _| / __/ 

/_/\_\___|_| |_| |____(_) |_|(_)_____|

(XEN) Xen version 3.4.2 ([email protected]) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) Tue Mar 23 14:48:26 CET 2010 (XEN) Latest ChangeSet: unavailable
(XEN) Console output is synchronous.
(XEN) Command line: noreboot com1=38400,8n1 console=com1 sync_console
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:

(XEN)  0000000000000000 - 000000000009f800 (usable)
(XEN)  000000000009f800 - 00000000000a0000 (reserved)
(XEN)  00000000000ca000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007fef0000 (usable)
(XEN)  000000007fef0000 - 000000007feff000 (ACPI data)
(XEN)  000000007feff000 - 000000007ff00000 (ACPI NVS)
(XEN)  000000007ff00000 - 000000007ff80000 (usable)
(XEN)  000000007ff80000 - 0000000080000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec04000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000fff80000 - 0000000100000000 (reserved)
(XEN) System RAM: 2047MB (2096188kB)
(XEN) ACPI: RSDP 000F7100, 0014 (r0 PTLTD )
(XEN) ACPI: RSDT 7FEFCF28, 002C (r1 PTLTD    RSDT    6040000  LTP        0)
(XEN) ACPI: FACP 7FEFEF2E, 0074 (r1 AMD    TECATE    6040000 PTL     F4240)
(XEN) ACPI: DSDT 7FEFCF54, 1FDA (r1    AMD  AMDACPI  6040000 MSFT  100000D)

(XEN) ACPI: FACS 7FEFFFC0, 0040
(XEN) ACPI: APIC 7FEFEFA2, 005E (r1 PTLTD APIC 6040000 LTP 0)
(XEN) Xen heap: 9MB (9768kB)
(XEN) Domain heap initialised
(XEN) Processor #1 6:8 APIC version 16
(XEN) Processor #0 6:8 APIC version 16
(XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2000.113 MHz processor.
(XEN) CPU0: AMD Athlon(tm) MP 2400+ stepping 01
(XEN) Booting processor 1/0 eip 8c000
(XEN) CPU1: AMD Athlon(tm) Processor stepping 01
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 3.579MHz ACPI PM Timer
(XEN) Brought up 2 CPUs
(XEN) I/O virtualisation disabled
(XEN) CPUIDLE: disabled due to no HPET. Force enable with 'cpuidle'. (XEN) mtrr: your CPUs had inconsistent fixed MTRR settings (XEN) *** LOADING DOMAIN 0 ***
(XEN) elf_init: not an ELF binary
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Could not set up DOM0 guest OS
(XEN) ****************************************
(XEN)
(XEN) Manual reset required ('noreboot' specified)

__ __ _____ _ _ ____

 \ \/ /___ _ __   |___ /| || |  |___ \ 
  \  // _ \ '_ \    |_ \| || |_   __) |
  /  \  __/ | | |  ___) |__   _| / __/ 

/_/\_\___|_| |_| |____(_) |_|(_)_____|

(XEN) Xen version 3.4.2 ([email protected]) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) Wed Mar 24 08:07:02 CET 2010 (XEN) Latest ChangeSet: unavailable
(XEN) Console output is synchronous.
(XEN) Command line: noreboot com1=38400,8n1 console=com1 sync_console
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:

(XEN)  0000000000000000 - 000000000009f800 (usable)
(XEN)  000000000009f800 - 00000000000a0000 (reserved)
(XEN)  00000000000ca000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007fef0000 (usable)
(XEN)  000000007fef0000 - 000000007feff000 (ACPI data)
(XEN)  000000007feff000 - 000000007ff00000 (ACPI NVS)
(XEN)  000000007ff00000 - 000000007ff80000 (usable)
(XEN)  000000007ff80000 - 0000000080000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec04000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000fff80000 - 0000000100000000 (reserved)

(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Cannot access memory beyond end of bootstrap direct-map area (XEN) ****************************************
(XEN)
(XEN) Manual reset required ('noreboot' specified) (XEN) Unknown interrupt (cr2=00000000)
(XEN) ff204084 5fe00000 00000002 ff22be54 00000082 00000002 ff1d78dc ff1d78dc ff14efa6 0000e008 00000286 5fe00000 ff204084 00000002 00000000 00000082 5fe00000 00000082 ff122ec5 ff1d77bc 00000082 ff1d0768 ff22bea4 ff1d77c0 0000000a 60400000 ff1f8424 ff1d0768 00000001 ff1c56e4 ff1e8250 ff249ac0 6120a800 60243000 ff1f8997 ff203680 ff08c298 ff08cbd0 00000010 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ff1e8250 ff08bf60 00000000 00000000 00000000 00000000 00000000 0008bf60 00000000 00000000 ff08bfc0 01295600 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffea4980 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000008 0000006e 00000001 00000003 000002f8 00000000 00000000 001e0d70 ff260040 0007feac ff10006c 0008bfc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 fffff000

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 9 lines · Florian Wagner
Quoted 3 lines

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
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

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.

Quoted 8 lines
Quoted 5 lines

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: [email protected]

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: [email protected]

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

Registergericht Augsburg HRB 8670

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel