Problems building Xenomai 2.4-rc4 and linux 2.6.23
Hello,
I am trying to build a kernel that supports xenomai, but every combination of xenomai releases, adeos-ipipe patches, and linux kernels don't seem to build successfully for me. First, I'd like to know if someone recommends a particular version of all of these that is known to work for you?? Right now I am trying to use:
linux-2.6.23.tar.bz2 (from kernel.org)
xenomai-2.4-rc4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patch
Heres is what I am doing:
# ./prepare-kernel.sh --linux=~/incoming/linux-2.6.23--adeos=~/incoming/adeos- ipipe-2.6.23-i386-1.10-10.patch --arch=i386
..... (no indication of failure) ....
# cd ~/incoming/linux-2.6.23
# make clean distclean mrproper
# make menuconfig
# make
......
AS arch/i386/boot/compressed/head.o
CC arch/i386/boot/compressed/misc.o
In file included from include/linux/ipipe_base.h:29,
from include/linux/kernel.h:17,
from include/asm/system.h:4,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/vmalloc.h:4,
from arch/i386/boot/compressed/misc.c:14:include/asm/ipipe_base.h:26:25: error: irq_vectors.h: No such file or directory
make[2]: *** [arch/i386/boot/compressed/misc.o] Error 1 make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2
I've read the included README.INSTALL and TROUBLESHOOTING docs included with xenomai, but they didn't seem to help me in this case. If anyone has recommendations for me that would be great!
Thanks,
Rob
Quoted 43 lines · Robert Gubler
Hello,
I am trying to build a kernel that supports xenomai, but every combination of xenomai releases, adeos-ipipe patches, and linux kernels don't seem to build successfully for me. First, I'd like to know if someone recommends a particular version of all of these that is known to work for you?? Right now I am trying to use:
linux-2.6.23.tar.bz2 (from kernel.org)
xenomai-2.4-rc4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patchHeres is what I am doing:
# ./prepare-kernel.sh --linux=~/incoming/linux-2.6.23--adeos=~/incoming/adeos- ipipe-2.6.23-i386-1.10-10.patch --arch=i386..... (no indication of failure) ....
# cd ~/incoming/linux-2.6.23# make clean distclean mrproper# make menuconfig# make......
AS
arch/i386/boot/compressed/head.o
CCarch/i386/boot/compressed/misc.o
In file included frominclude/linux/ipipe_base.h:29,from include/linux/kernel.h:17, from include/asm/system.h:4, from include/asm/processor.h:18, from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/vmalloc.h:4, from arch/i386/boot/compressed/misc.c:14:
Quoted 5 lines
include/asm/ipipe_base.h:26:25: error:irq_vectors.h: No such file or directory
make[2]: *** [arch/i386/boot/compressed/misc.o] Error 1 make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2
This should not happen anymore. Could you post your .config so that we can try to reproduce the error?
Quoted 10 lines
I've read the included README.INSTALL and TROUBLESHOOTING docs included with xenomai, but they didn't seem to help me in this case. If anyone has recommendations for me that would be great!
Thanks,
Rob
Are there more combinations that do not build? Note that the issue above is 2.6.23-specific.
Jan
Well, sadly I don't have it with me. I can post it tomorrow, But, essentially the config is whatever the default is. I didn't change any options when I ran make menuconfig.
The other configurations I tried were:
linux-2.6.23.1.tar.bz2
xenomai-2.4-rc4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patch
And,
linux-2.6.23.1.tar.bz2
xenomai-2.3.4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patch
-Rob
Quoted 78 lines · Jan Kiszka
Quoted 3 lines · Robert Gubler
Hello,
I am trying to build a kernel that supports xenomai, but every
combination
Quoted 1 line
of xenomai releases, adeos-ipipe patches, and linux kernels don't seem
to
Quoted 1 line
build successfully for me. First, I'd like to know if someone
recommends a
Quoted 1 line
particular version of all of these that is known to work for you?? Right
now
Quoted 10 lines
I am trying to use:
linux-2.6.23.tar.bz2 (from kernel.org)
xenomai-2.4-rc4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patchHeres is what I am doing:
# ./prepare-kernel.sh --linux=~/incoming/linux-2.6.23--adeos=~/incoming/adeos-
Quoted 27 lines
ipipe-2.6.23-i386-1.10-10.patch --arch=i386
..... (no indication of failure) ....
# cd ~/incoming/linux-2.6.23# make clean distclean mrproper# make menuconfig# make......
AS
arch/i386/boot/compressed/head.o
CCarch/i386/boot/compressed/misc.o
In file included frominclude/linux/ipipe_base.h:29,from include/linux/kernel.h:17, from include/asm/system.h:4, from include/asm/processor.h:18, from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/vmalloc.h:4, from arch/i386/boot/compressed/misc.c:14:Quoted 5 lines
include/asm/ipipe_base.h:26:25: error:irq_vectors.h: No such file or directory
make[2]: *** [arch/i386/boot/compressed/misc.o] Error 1 make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2This should not happen anymore. Could you post your .config so that we can try to reproduce the error?
Quoted 3 lines
I've read the included README.INSTALL and TROUBLESHOOTING docs included
with
Quoted 7 lines
xenomai, but they didn't seem to help me in this case. If anyone has recommendations for me that would be great!
Thanks,
Rob
Are there more combinations that do not build? Note that the issue above is 2.6.23-specific.
Jan
Quoted 3 lines · Robert Gubler
Well, sadly I don't have it with me. I can post it tomorrow, But, essentially the config is whatever the default is. I didn't change any options when I ran
make menuconfig.
OK, will retry your steps later, maybe it also triggers for me.
Quoted 8 lines
The other configurations I tried were:
linux-2.6.23.1.tar.bz2
xenomai-2.4-rc4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patch
Quoted 5 lines
And,
linux-2.6.23.1.tar.bz2
xenomai-2.3.4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patch
This combination will not work "by design" (2.3.x only supports kernels up to 2.6.20).
Jan
Quoted 14 lines · Jan Kiszka
Quoted 3 lines · Robert Gubler
Well, sadly I don't have it with me. I can post it tomorrow, But, essentially the config is whatever the default is. I didn't change any options when I ran
make menuconfig.OK, will retry your steps later, maybe it also triggers for me.
Quoted 7 lines
The other configurations I tried were:
linux-2.6.23.1.tar.bz2
xenomai-2.4-rc4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patch
Quoted 9 lines
Quoted 5 lines
And,
linux-2.6.23.1.tar.bz2
xenomai-2.3.4.tar.bz2
adeos-ipipe-2.6.23-i386-1.10-10.patchThis combination will not work "by design" (2.3.x only supports kernels up to 2.6.20).
Only Xenomai/x86 currently has this limitation, due to the introduction of the generic clock events layer. Other supported archs may still use more recent kernels along with v2.3.x, until this layer makes it into mainline for them too, that is.
Signature · 1 line
Philippe.