Hi Peter,
i played around to compile the kernel, the normal ones worked, xen aborted
with an error.
I found the (?) error in the file .../arch/i386/kernel/head-xen.S where a
macro is used, which is not able to handle whitespaces correctly - i think.
So i redefined one #define from include/asm/boot.h and now it compiles
:-)
The relevant line in xen-head.S is the #define (new in line 158):
#ifdef CONFIG_XEN_COMPAT_030002
/*
* __xen_guest information
*/
.macro utoa value
.if (\value) < 0 || (\value) >= 0x10
utoa (((\value)>>4)&0x0fffffff)
.endif
.if ((\value) & 0xf) < 10
.byte '0' + ((\value) & 0xf)
.else
.byte 'A' + ((\value) & 0xf) - 10
.endif
.endm
#define LOAD_PHYSICAL_ADDR
((0x100000+CONFIG_PHYSICAL_ALIGN-1)&~(CONFIG_PHYSICAL_ALIGN-1))
.section __xen_guest
.ascii "GUEST_OS=linux,GUEST_VER=2.6"
.ascii ",XEN_VER=xen-3.0"
.ascii ",VIRT_BASE=0x"
utoa __PAGE_OFFSET
.ascii ",ELF_PADDR_OFFSET=0x"
utoa __PAGE_OFFSET
.ascii ",VIRT_ENTRY=0x"
utoa (__PAGE_OFFSET + LOAD_PHYSICAL_ADDR +
VIRT_ENTRY_OFFSET)
.ascii ",HYPERCALL_PAGE=0x"
utoa ((LOAD_PHYSICAL_ADDR +
HYPERCALL_PAGE_OFFSET)>>PAGE_SHIFT)
.ascii ",FEATURES=writable_page_tables"
.ascii "|writable_descriptor_tables"
.ascii "|auto_translated_physmap"
.ascii "|pae_pgdir_above_4gb"
.ascii "|supervisor_mode_kernel"
#ifdef CONFIG_X86_PAE
.ascii ",PAE=yes[extended-cr3]"
#else
.ascii ",PAE=no"
#endif
.ascii ",LOADER=generic"
.byte 0
#endif /* CONFIG_XEN_COMPAT_030002 */
Peter Warasin-2 wrote:
>
> I tried the upgrade to 2.6.18 (from here:
> ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/kernel-2.6.18-8.1.15.el5.src.rpm)
> as a today for tomorrow job, but certainly that was not realistic, so i
> had to stop, since we first need to finish the features currently
> introduced.
>
--
View this message in context:
http://www.nabble.com/Endian-Firewall-2.2-Beta-1-released-tf4701664.html#a13564887
Sent from the efw-user mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user