Skip to contentSkip to conversation

installing Xenomai on an AMD64

Xenomai-help Brandt Erickson 2 participants 2 messages May 24, 2006

lore
Share & tools
lore
#0 lore raw

Hey all,
I'm trying to install xenomai-2.1.2 on a system running ubuntu configured for AMD64. Since xenomai doesn't currently support x86_64, I patched it for i386. Unfortunately, when I go to compile the kernel, I get an error,

CHK include/linux/version.h
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/sched.h:7,

                 from arch/x86_64/kernel/asm-offsets.c:7:

include/linux/ipipe.h:28:23: error: asm/ipipe.h: No such file or directory make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

could anyone fill me in on how to setup and compile xenomai on an x86_64 system? I could overwrite the OS with a generic x86 version of ubuntu, but that would preferably be a last resort. Thanks.
-Brandt

#1 lore raw

Hi Brandlt,

Quoted 6 lines · Brandt Erickson

Hey all,
I'm trying to install xenomai-2.1.2 on a system running ubuntu configured for AMD64. Since xenomai doesn't currently support x86_64, I patched it for i386. Unfortunately, when I go to compile the kernel, I get an error,

Quoted 7 lines

CHK include/linux/version.h
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/sched.h:7,

                 from arch/x86_64/kernel/asm-offsets.c:7:

include/linux/ipipe.h:28:23: error: asm/ipipe.h: No such file or directory make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

I did get Xenomai compiled on AMD64 but not to work ! Did you compile in 32 bit mode ?
What I did is a make ARCH=i386 xconfig to configure my kernel in 32 bit mode. The compilation goes then fine but when I boot on my new kernel, I get the following error message : "request-module: runaway loop modprobe binfmt-464c"

The xenomai patch is not the problem here. In fact I tried to compile my Linux kernel for x86 architecture just passing the i386 architecture to make. I get the same error message and I'm stuck here atm. I didn't have time to investigate more on this problem.

could anyone fill me in on how to setup and compile xenomai on an x86_64

Quoted 2 lines

system? I could overwrite the OS with a generic x86 version of ubuntu, but that would preferably be a last resort. Thanks.

I'll let you know if I get any success with it.

-Brandt

--
Bruno Rouchouse