Skip to contentSkip to conversation

building xenomai kernel with debian packages

Xenomai-help Frederik Bayart 2 participants 2 messages Mar 14, 2008 – Mar 17, 2008

lore
Share & tools
lore
#0 lore raw

Hallo,

I try to build a xenomai kernel using linux-source-2.6.22 and linux-patch-xenomai on debian.
The adeos-ipipe-2.6.22-i386-1.10-12.patch.gz was not available in this package but I downloaded it from gna.org, put it in the correct directory and updated /usr/src/kernel-patches/i386/apply/xenomai.

The script /usr/src/kernel-patches/i386/apply/xenomai installs the patch correctly but when I call make menuconfig I don't see the Real-time sub-system menu.

I look into the apply/xenomai script, I see it's just applying patch -p1. If you are checking out the source from svn and run the prepare-kernel script, patch -p1 is executed but also additional things are done (patch_append and patch_link calls).

These are not done in the apply/xenomai script, so I think this is the reason that I don't see the Real-time sub-system menu. If I build the patched kernel, the latency utility is not working (I installed also xenomai-runtime and libxenomai1)

I like to use the debian packages. So what should I do to see the Real-time sub-system menu in my kernel config using the debian packages ?

Frederik

#1 lore raw
Quoted 17 lines · Frederik Bayart

Hallo,

I try to build a xenomai kernel using linux-source-2.6.22 and linux-patch-xenomai on debian.
The adeos-ipipe-2.6.22-i386-1.10-12.patch.gz was not available in this package but I downloaded it from gna.org, put it in the correct directory and updated /usr/src/kernel-patches/i386/apply/xenomai.

The script /usr/src/kernel-patches/i386/apply/xenomai installs the patch correctly but when I call make menuconfig I don't see the Real-time sub-system menu.

I look into the apply/xenomai script, I see it's just applying patch -p1. If you are checking out the source from svn and run the prepare-kernel script, patch -p1 is executed but also additional things are done (patch_append and patch_link calls).

Quoted 7 lines

These are not done in the apply/xenomai script, so I think this is the reason that I don't see the Real-time sub-system menu. If I build the patched kernel, the latency utility is not working (I installed also xenomai-runtime and libxenomai1)

I like to use the debian packages. So what should I do to see the Real-time sub-system menu in my kernel config using the debian packages ?

When generating the debian packages the script debian/prepare-patch.sh is run. So, I suspect the step you are missing is to run this script.

Signature · 1 line
					    Gilles Chanteperdrix.