The kernel did not compile against the most recent sources.

I've fixed this so it compiles again with current kernel source.
Haven't tried booting it on anything, though.


I successfully compiled against Xen 3.4.1 and tried to boot it on XenServer 5.0r3, but unfortunately it failed with roughly the same error as the precompiled kernel on sources:

elf_xen_addr_calc_check: ERROR: ELF_PADDR_OFFSET set, VIRT_BASE unset

When compiling, I can see that VIRT_BASE is given as an argument to xenelf in the makefile, like this:

XENELF='LOADER=generic,XEN_VER=xen-3.0,ELF_PADDR_OFFSET=0,\
        VIRT_BASE='$KZERO',VIRT_ENTRY='$KTZERO',PAE='$PAE

Now I may be way off here, but I though that perhaps the tab character in front of VIRT_BASE here may cause it to not be recognized by xenelf. I joined it into one line,
and I am rewarded with a different error message:

"xc_dom_alloc_segment: segment start isn't page aligned".

I really don't know if this is better or worse. I'm just poking around at random trying
to figure all of this out :-)

– Andreas

Reply via email to