[gPXE] Booting xen-3.3 with gpxe as a multiboot image

Nathan Mitchell nmitchel at mcs.anl.gov
Fri Jun 18 11:18:39 EDT 2010


Everyone,

           I've busy on other tasks, so its been awhile getting back to you. 

           I've tried all the suggestions thus far to little effect. I uncompressed all the modules, reordered them, and I've also tried Shao's idea.

           The mboot.c32 techniques always seem to fail, no matter how its loaded, leading me to suspect a incompatibility with the two pieces 
            of software.

           As for booting xen directly with gpxe, still no success, but I was able to get the xen kernel to give me messages finally. It does appear
           getting past the point where I thought it was hanging, only to get stuck later on. 



UNDINIC 0x1d65c using UNDI 0x281d3104
UNDINIC 0x1d65c is 00:17:31:f9:c8:7f on IRQ 10
UNDINIC 0x1d65c has type DIX+802.3, speed 1000000000, flags 00001c1b
UNDINIC 0x1d65c added



gPXE 1.0.0+ -- Open Source Boot Firmware -- http://etherboot.org
Features: HTTP HTTPS TFTP DNS AoE iSCSI ELF PXE Multiboot COMBOOT bzImage PXEXT

UNDINIC 0x1d65c opened                   
net0: 00:17:31:f9:c8:7f on UNDI (open)
  [Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1d674 entering discovery state
.DHCP 0x1d674 DHCPDISCOVER
DHCP 0x1d674 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31
.DHCP 0x1d674 DHCPDISCOVER
DHCP 0x1d674 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup
..DHCP 0x1d674 entering request state
DHCP 0x1d674 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31
DHCP 0x1d674 DHCPACK from 140.221.37.24:67 for 140.221.37.31
DNS using nameserver 140.221.9.6
DNS local domain mcs.anl.gov
 ok
net0: 140.221.37.31/255.255.255.0 gw 140.221.37.1
Booting from filename "http://140.221.37.24:8089/bootconfig"
http://140.221.37.24:8089/bootconfig.HTTP 0x1d754 response "HTTP/1.1 200 OK"
HTTP 0x1d754 header "Date: Fri, 18 Jun 2010 14:34:28 GMT"
HTTP 0x1d754 header "Content-Length: 520"
HTTP 0x1d754 header "Content-Type: text/html;charset=utf-8"
HTTP 0x1d754 header "Server: CherryPy/3.2.0rc1"
HTTP 0x1d754 start of data
MULTIBOOT 0x1d674 has no multiboot header
COMBOOT 0x1d674: name 'bootconfig'
COMBOOT 0x1d674: no extension
bzImage 0x1d674 too short for kernel header
. ok
DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1db64 entering discovery state
.DHCP 0x1db64 DHCPDISCOVER
DHCP 0x1db64 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31
.DHCP 0x1db64 DHCPDISCOVER
DHCP 0x1db64 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup
..DHCP 0x1db64 entering request state
DHCP 0x1db64 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31
DHCP 0x1db64 DHCPACK from 140.221.37.24:67 for 140.221.37.31
DNS using nameserver 140.221.9.6
DNS local domain mcs.anl.gov
 ok
http://140.221.37.24/initrd.img-2.6.24-24-xen.HTTP 0x1d9a4 response "HTTP/1.1 200 OK"
HTTP 0x1d9a4 header "Date: Fri, 18 Jun 2010 14:34:33 GMT"
HTTP 0x1d9a4 header "Server: Apache/2.2.14 (Ubuntu)"
HTTP 0x1d9a4 header "Last-Modified: Mon, 14 Jun 2010 15:05:56 GMT"
HTTP 0x1d9a4 header "ETag: "3fe41-758d95-488fed35cfd00""
HTTP 0x1d9a4 header "Accept-Ranges: bytes"
HTTP 0x1d9a4 header "Content-Length: 7703957"
HTTP 0x1d9a4 header "Connection: close"
HTTP 0x1d9a4 header "Content-Type: text/plain"
HTTP 0x1d9a4 start of data
. ok
http://140.221.37.24/vmlinuz-2.6.24-24-xen.HTTP 0x1df14 response "HTTP/1.1 200 OK"
HTTP 0x1df14 header "Date: Fri, 18 Jun 2010 14:34:34 GMT"
HTTP 0x1df14 header "Server: Apache/2.2.14 (Ubuntu)"
HTTP 0x1df14 header "Last-Modified: Mon, 14 Jun 2010 15:20:17 GMT"
HTTP 0x1df14 header "ETag: "3fe40-827998-488ff06aece40""
HTTP 0x1df14 header "Accept-Ranges: bytes"
HTTP 0x1df14 header "Content-Length: 8550808"
HTTP 0x1df14 header "Connection: close"
HTTP 0x1df14 header "Content-Type: text/plain"
HTTP 0x1df14 start of data
. ok
http://140.221.37.24/xen-3.3.HTTP 0x1e0c4 response "HTTP/1.1 200 OK"
HTTP 0x1e0c4 header "Date: Fri, 18 Jun 2010 14:34:35 GMT"
HTTP 0x1e0c4 header "Server: Apache/2.2.14 (Ubuntu)"
HTTP 0x1e0c4 header "Last-Modified: Fri, 11 Jun 2010 13:44:58 GMT"
HTTP 0x1e0c4 header "ETag: "3fe44-fc7f4-488c15847aa80""
HTTP 0x1e0c4 header "Accept-Ranges: bytes"
HTTP 0x1e0c4 header "Content-Length: 1034228"
HTTP 0x1e0c4 header "Connection: close"
HTTP 0x1e0c4 header "Content-Type: text/plain"
HTTP 0x1e0c4 start of data
MULTIBOOT 0x1da74 found header with flags 00000003
ELF 0x1da74 loading segment [80,fc768) to [100000,1fc6e8,290000)
ELF 0x1da74 found physical entry point at 100000
. ok
initrd.img-2.6.: 7703957 bytes ""
vmlinuz-2.6.24-: 8550808 bytes "ro root=/dev/sda1 all-generic-ide panic=0 console=hvc0 earlyprintk=xen xencons=ttyS0,57600 irqpoll"
xen-3.3: 1034228 bytes [Multiboot] [LOADED] "dom0_mem=1024M noreboot loglvl=all guest_loglvl=all com1=57600,8n1 console=com1 noapic"
MULTIBOOT 0x1da74 module 0 is [d6f3f000,d7766998)
MULTIBOOT 0x1da74 module 1 is [d7767000,d7ebfd95)
UNDINIC 0x1d65c closed
UNDINIC 0x1d65c removed
MULTIBOOT 0x1da74 starting execution at 100000
 __  __            _____  _____  ___  
 \ \/ /___ _ __   |___ / |___ / / _ \ 
  \  // _ \ '_ \    |_ \   |_ \| | | |
  /  \  __/ | | |  ___) | ___) | |_| |
 /_/\_\___|_| |_| |____(_)____(_)___/ 
                                      
(XEN) Xen version 3.3.0 (buildd at buildd) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) Wed Oct 29 23:39:07 UTC 2008
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: dom0_mem=1024M noreboot loglvl=all guest_loglvl=all com1=57600,8n1 console=com1 noapic
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 5 MBR signatures
(XEN)  Found 5 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000d7fc0000 (usable)
(XEN)  00000000d7fc0000 - 00000000d7fce000 (ACPI data)
(XEN)  00000000d7fce000 - 00000000d8000000 (ACPI NVS)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fee00000 - 00000000fef00000 (reserved)
(XEN)  00000000ff700000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000121000000 (usable)
(XEN) System RAM: 3983MB (4078972kB)
(XEN) ACPI: RSDP 000FA910, 0024 (r2 ACPIAM)
(XEN) ACPI: XSDT D7FC0100, 0054 (r1 A M I  OEMXSDT   8000630 MSFT       97)
(XEN) ACPI: FACP D7FC0290, 00F4 (r3 A M I  OEMFACP   8000630 MSFT       97)
(XEN) ACPI: DSDT D7FC0460, 6CA7 (r1  S0037 S0037000        0 INTL 20051117)
(XEN) ACPI: FACS D7FCE000, 0040
(XEN) ACPI: APIC D7FC0390, 008C (r1 A M I  OEMAPIC   8000630 MSFT       97)
(XEN) ACPI: MCFG D7FC0420, 003C (r1 A M I  OEMMCFG   8000630 MSFT       97)
(XEN) ACPI: OEMB D7FCE040, 0091 (r1 A M I  AMI_OEM   8000630 MSFT       97)
(XEN) ACPI: SRAT D7FC7110, 0110 (r1 AMD    HAMMER          1 AMD         1)
(XEN) ACPI: SSDT D7FC7220, 0574 (r1 A M I  ACPI2PPC        1 AMI         1)
(XEN) NUMA turned off
(XEN) Faking a node at 0000000000000000-0000000121000000
(XEN) Xen heap: 14MB (14636kB)
(XEN) Domain heap initialised
(XEN) found SMP MP-table at 000ff780
(XEN) DMI present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x2008
(XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[2004,0], pm1x_evt[2000,0]
(XEN) ACPI:                  wakeup_vec[d7fce00c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
(XEN) Processor #2 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
(XEN) Processor #3 15:1 APIC version 16
(XEN) ACPI: Skipping IOAPIC probe due to 'noapic' option.
(XEN) Using ACPI for processor (LAPIC) configuration information
(XEN) Intel MultiProcessor Specification v1.4
(XEN)     Virtual Wire compatibility mode.
(XEN) OEM ID: TEMPLATE Product ID: SLI          APIC at: 0xFEE00000
(XEN) I/O APIC #4 Version 17 at 0xFEC00000.
(XEN) I/O APIC #5 Version 17 at 0xDFBFF000.
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) Processors: 4
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Initializing CPU#0
(XEN) Detected 2800.062 MHz processor.
(XEN) CPU0: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 0(2) -> Core 0
(XEN) AMD SVM: ASIDs disabled. 
(XEN) HVM: SVM enabled
(XEN) CPU0: AMD K8 machine check reporting enabled.
(XEN) CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Booting processor 1/1 eip 8c000
(XEN) Initializing CPU#1
(XEN) CPU1: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 1(2) -> Core 1
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD: Disabling C1 Clock Ramping Node #1
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU1: AMD K8 machine check reporting enabled.
(XEN) CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Booting processor 2/2 eip 8c000
(XEN) Initializing CPU#2
(XEN) CPU2: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 2(2) -> Core 0
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU2: AMD K8 machine check reporting enabled.
(XEN) CPU2: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Booting processor 3/3 eip 8c000
(XEN) Initializing CPU#3
(XEN) CPU3: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 3(2) -> Core 1
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU3: AMD K8 machine check reporting enabled.
(XEN) CPU3: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Total of 4 processors activated.
(XEN) checking TSC synchronization across 4 CPUs: 
(XEN) CPU#0 had 468 usecs TSC skew, fixed it up.
(XEN) CPU#1 had 468 usecs TSC skew, fixed it up.
(XEN) CPU#2 had -468 usecs TSC skew, fixed it up.
(XEN) CPU#3 had -468 usecs TSC skew, fixed it up.
(XEN) Platform timer is 3.579MHz ACPI PM Timer
(XEN) spurious 8259A interrupt: IRQ7.
(XEN) Brought up 4 CPUs
(XEN) I/O virtualisation disabled
(XEN) ACPI sleep modes: S3
(XEN) MCA: Use hw thresholding to adjust polling frequency
(XEN) MCA: Machine check polling timer started.
(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)



	As you can see, its failing because something isn't an elf binary. I've done some checking, and have reasonably proven
	that my images are not corrupted. Having little else to point to from my own searches, I'm forced to conclude that this
	is being caused by gpxe somehow. Especially since when I chainload pxelinux, xen loads fine.  Here is the output from that
        as a comparison:

UNDINIC 0x1d65c using UNDI 0x281d3104
UNDINIC 0x1d65c is 00:17:31:f9:c8:7f on IRQ 10
UNDINIC 0x1d65c has type DIX+802.3, speed 1000000000, flags 00001c1b
UNDINIC 0x1d65c added



gPXE 1.0.0+ -- Open Source Boot Firmware -- http://etherboot.org
Features: HTTP HTTPS TFTP DNS AoE iSCSI ELF PXE Multiboot COMBOOT bzImage PXEXT

UNDINIC 0x1d65c opened                   
net0: 00:17:31:f9:c8:7f on UNDI (open)
  [Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1d674 entering discovery state
.DHCP 0x1d674 DHCPDISCOVER
DHCP 0x1d674 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31
DHCP 0x1d674 DHCPDISCOVER
.DHCP 0x1d674 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup
..DHCP 0x1d674 entering request state
DHCP 0x1d674 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31
DHCP 0x1d674 DHCPACK from 140.221.37.24:67 for 140.221.37.31
DNS using nameserver 140.221.9.6
DNS local domain mcs.anl.gov
 ok
net0: 140.221.37.31/255.255.255.0 gw 140.221.37.1
Booting from filename "http://140.221.37.24:8089/bootconfig"
http://140.221.37.24:8089/bootconfig.HTTP 0x1d754 response "HTTP/1.1 200 OK"
HTTP 0x1d754 header "Date: Fri, 18 Jun 2010 14:53:09 GMT"
HTTP 0x1d754 header "Content-Length: 116"
HTTP 0x1d754 header "Content-Type: text/html;charset=utf-8"
HTTP 0x1d754 header "Server: CherryPy/3.2.0rc1"
HTTP 0x1d754 start of data
MULTIBOOT 0x1d674 has no multiboot header
COMBOOT 0x1d674: name 'bootconfig'
COMBOOT 0x1d674: no extension
bzImage 0x1d674 too short for kernel header
. ok
DNS using nameserver 140.221.9.6
DNS local domain mcs.anl.gov
DNS using nameserver 140.221.9.6
DNS local domain mcs.anl.gov
tftp://140.221.37.24/pxelinux.0.TFTP 0x1dbe4 requesting "pxelinux.0"
TFTP 0x1dbe4 requesting "pxelinux.0"
TFTP 0x1dbe4 using remote port 45856
TFTP 0x1dbe4 blksize=1432
TFTP 0x1dbe4 tsize=16794
TFTP 0x1dbe4 finished with status 0 (No error (0x00000000))
MULTIBOOT 0x1da74 has no multiboot header
COMBOOT 0x1da74: name 'pxelinux.0'
COMBOOT 0x1da74: unrecognized extension 0
bzImage 0x1da74 too short for 67584 byte of setup
TFTP 0x1de14 requesting "pxelinux.cfg/b0ecb762-1e48-db11-a99d-1daa782cba81"
TFTP 0x1de14 requesting "pxelinux.cfg/b0ecb762-1e48-db11-a99d-1daa782cba81"
TFTP 0x1de14 using remote port 52315
TFTP 0x1de14 received ERROR packet with code 1, message "File not found"
TFTP 0x1de14 finished with status -756179003 (File not found (0x2d12603b))
TFTP 0x1de04 requesting "pxelinux.cfg/01-00-17-31-f9-c8-7f"
TFTP 0x1de04 requesting "pxelinux.cfg/01-00-17-31-f9-c8-7f"
TFTP 0x1de04 using remote port 48827
TFTP 0x1de04 blksize=1432
TFTP 0x1de04 tsize=490
TFTP 0x1de04 finished with status 0 (No error (0x00000000))
ne restart
ach
PXELINUX 3.86 2010-04-01  Copyright (C) 1994-2010 H. Peter Anvin et al
boot: 
TFTP 0x1dde4 requesting "mboot.c32"
TFTP 0x1dde4 requesting "mboot.c32"
TFTP 0x1dde4 using remote port 56264
TFTP 0x1dde4 blksize=1432
TFTP 0x1dde4 tsize=47404
TFTP 0x1dde4 finished with status 0 (No error (0x00000000))
COM32 Multiboot loader v0.2.  Copyright (C) 2005-2006 Tim Deegan.
Kernel: xen-3.3.gz dom0_mem=1024M noreboot loglvl=all guest_loglvl=all com1=57600,8n1 console=com1 
Loading xen-3.3.gz.TFTP 0x1dde4 requesting "xen-3.3.gz"
TFTP 0x1dde4 requesting "xen-3.3.gz"
TFTP 0x1dde4 using remote port 54675
TFTP 0x1dde4 blksize=1432
TFTP 0x1dde4 tsize=458091
.......TFTP 0x1dde4 finished with status 0 (No error (0x00000000))
.
Module: vmlinuz-2.6.24-24-xen ro root=/dev/sda1 all-generic-ide irqpoll panic=0 console=hvc0 earlyprintk=xen xencons=ttyS0,57600 
Loading vmlinuz-2.6.24-24-xen.TFTP 0x1ddf4 requesting "vmlinuz-2.6.24-24-xen"
TFTP 0x1ddf4 requesting "vmlinuz-2.6.24-24-xen"
TFTP 0x1ddf4 using remote port 56002
TFTP 0x1ddf4 blksize=1432
TFTP 0x1ddf4 tsize=1895115
................................................................TFTP 0x1ddf4 finished with status 0 (No error (0x00000000))
..
Module: initrd.img-2.6.24-24-xen 
Loading initrd.img-2.6.24-24-xen.TFTP 0x1ddf4 requesting "initrd.img-2.6.24-24-xen"
TFTP 0x1ddf4 requesting "initrd.img-2.6.24-24-xen"
TFTP 0x1ddf4 using remote port 57493
TFTP 0x1ddf4 blksize=1432
TFTP 0x1ddf4 tsize=7703932
...................................................................................................................................................................TFTP 0x1ddf4 finished with status 0 (No error (0x00000000))
.
Booting: MBI=0x000100f0, entry=0x00100000
UNDINIC 0x1d65c cannot disable interrupts
UNDINIC 0x1d65c closed
UNDINIC 0x1d65c removed
 __  __            _____  _____  ___  
 \ \/ /___ _ __   |___ / |___ / / _ \ 
  \  // _ \ '_ \    |_ \   |_ \| | | |
  /  \  __/ | | |  ___) | ___) | |_| |
 /_/\_\___|_| |_| |____(_)____(_)___/ 
                                      
(XEN) Xen version 3.3.0 (buildd at buildd) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) Wed Oct 29 23:39:07 UTC 2008
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: dom0_mem=1024M noreboot loglvl=all guest_loglvl=all com1=57600,8n1 console=com1 
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 5 MBR signatures
(XEN)  Found 5 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000d7fc0000 (usable)
(XEN)  00000000d7fc0000 - 00000000d7fce000 (ACPI data)
(XEN)  00000000d7fce000 - 00000000d8000000 (ACPI NVS)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fee00000 - 00000000fef00000 (reserved)
(XEN)  00000000ff700000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000121000000 (usable)
(XEN) System RAM: 3983MB (4078972kB)
(XEN) ACPI: RSDP 000FA910, 0024 (r2 ACPIAM)
(XEN) ACPI: XSDT D7FC0100, 0054 (r1 A M I  OEMXSDT   8000630 MSFT       97)
(XEN) ACPI: FACP D7FC0290, 00F4 (r3 A M I  OEMFACP   8000630 MSFT       97)
(XEN) ACPI: DSDT D7FC0460, 6CA7 (r1  S0037 S0037000        0 INTL 20051117)
(XEN) ACPI: FACS D7FCE000, 0040
(XEN) ACPI: APIC D7FC0390, 008C (r1 A M I  OEMAPIC   8000630 MSFT       97)
(XEN) ACPI: MCFG D7FC0420, 003C (r1 A M I  OEMMCFG   8000630 MSFT       97)
(XEN) ACPI: OEMB D7FCE040, 0091 (r1 A M I  AMI_OEM   8000630 MSFT       97)
(XEN) ACPI: SRAT D7FC7110, 0110 (r1 AMD    HAMMER          1 AMD         1)
(XEN) ACPI: SSDT D7FC7220, 0574 (r1 A M I  ACPI2PPC        1 AMI         1)
(XEN) NUMA turned off
(XEN) Faking a node at 0000000000000000-0000000121000000
(XEN) Xen heap: 14MB (14636kB)
(XEN) Domain heap initialised
(XEN) found SMP MP-table at 000ff780
(XEN) DMI present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x2008
(XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[2004,0], pm1x_evt[2000,0]
(XEN) ACPI:                  wakeup_vec[d7fce00c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
(XEN) Processor #2 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
(XEN) Processor #3 15:1 APIC version 16
(XEN) ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
(XEN) ACPI: IOAPIC (id[0x05] address[0xdfbff000] gsi_base[24])
(XEN) IOAPIC[1]: apic_id 5, version 17, address 0xdfbff000, GSI 24-47
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) ACPI: IRQ14 used by override.
(XEN) ACPI: IRQ15 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Initializing CPU#0
(XEN) Detected 2800.007 MHz processor.
(XEN) CPU0: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 0(2) -> Core 0
(XEN) AMD SVM: ASIDs disabled. 
(XEN) HVM: SVM enabled
(XEN) CPU0: AMD K8 machine check reporting enabled.
(XEN) CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Booting processor 1/1 eip 8c000
(XEN) Initializing CPU#1
(XEN) CPU1: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 1(2) -> Core 1
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD: Disabling C1 Clock Ramping Node #1
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU1: AMD K8 machine check reporting enabled.
(XEN) CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Booting processor 2/2 eip 8c000
(XEN) Initializing CPU#2
(XEN) CPU2: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 2(2) -> Core 0
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU2: AMD K8 machine check reporting enabled.
(XEN) CPU2: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Booting processor 3/3 eip 8c000
(XEN) Initializing CPU#3
(XEN) CPU3: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 3(2) -> Core 1
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU3: AMD K8 machine check reporting enabled.
(XEN) CPU3: AMD Dual-Core AMD Opteron(tm) Processor 2220 stepping 03
(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC
(XEN) ...trying to set up timer (IRQ0) through the 8259A ...  failed.
(XEN) ...trying to set up timer as Virtual Wire IRQ... failed.
(XEN) ...trying to set up timer as ExtINT IRQ...spurious 8259A interrupt: IRQ7.
(XEN)  works.
(XEN) checking TSC synchronization across 4 CPUs: 
(XEN) CPU#0 had 469 usecs TSC skew, fixed it up.
(XEN) CPU#1 had 469 usecs TSC skew, fixed it up.
(XEN) CPU#2 had -469 usecs TSC skew, fixed it up.
(XEN) CPU#3 had -469 usecs TSC skew, fixed it up.
(XEN) Platform timer is 3.579MHz ACPI PM Timer
(XEN) Brought up 4 CPUs
(XEN) I/O virtualisation disabled
(XEN) ACPI sleep modes: S3
(XEN) MCA: Use hw thresholding to adjust polling frequency
(XEN) MCA: Machine check polling timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 -> 0xffffffff806d68c8
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000011a000000->000000011c000000 (253952 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80200000->ffffffff806d68c8
(XEN)  Init. ramdisk: ffffffff806d7000->ffffffff81b3f400
(XEN)  Phys-Mach map: ffffffff81b40000->ffffffff81d40000
(XEN)  Start info:    ffffffff81d40000->ffffffff81d404a4
(XEN)  Page tables:   ffffffff81d41000->ffffffff81d54000
(XEN)  Boot stack:    ffffffff81d54000->ffffffff81d55000
(XEN)  TOTAL:         ffffffff80000000->ffffffff82000000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Scrubbing Free RAM: ............................done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 104kB init memory.
Kernel alive
 ( at this point the kernel begins to load just fine )


	I don't know if anyone on this list has any xen experience, and I may end up taking this conversation to the xen
	lists, but hopefully it will be possible to figure this out.

        Thanks for all the help thus far.

    -- Nathan




On Jun 11, 2010, at 11:18 AM, Stefan Hajnoczi wrote:

> A few things about native gPXE multiboot and Xen:
> 
> 1. Are the multiboot modules compressed?  gPXE will not decompress
> them so you should do that manually and serve up uncompressed vmlinuz
> and initrd.img files.
> 
> 2. Try loading the files in reverse order: initrd.img, vmlinuz, xen.
> I remember amultiboot payload being sensitive to memory layout.  gPXE
> will load images downwards in memory but sometimes software expects
> ascending order.
> 
> Stefan


On Jun 11, 2010, at 11:18 AM, Shao Miller wrote:
> Nathan,
> 
> Is it possible that the following might work?:
> 
> #!gpxe
> 
> dhcp net0
> set 210:string http://140.221.37.24/
> 
> kernel -n mboot.c32 http://140.221.37.24/mboot.c32
> 
> imgargs mboot.c32 ${210:string}xen-3.3 dom0_mem=1024M noreboot ---
> ${210:string}vmlinuz-2.6.24-24-xen ro root=/dev/sda1 all-generic-ide
> irqpoll panic=0 --- ${210:string}initrd.img-2.6.24-24-xen
> 
> boot mboot.c32
> 
> Also attached.
>> 
>  
> - Shao Miller


More information about the gPXE mailing list