roland Tollenaar wrote:
> Hi,
> 
> Thanks for all the flak.
> 
>> I would say now Roland is trying to build RTnet against some split-up
>> kernel tree where sources and binaries sit in different directories.
>> Roland, can you confirm this? That should not work with RTnet's build
>> system (no one felt the need to support this yet), while Xenomai is fine
>> as it is built together with the main tree.
> 
> I wish this were the case but I cannot confirm it. I only have 4
> machines running linux and they all seem to have the same structure of
> kernel source in /usr/src/linux-version and the binaries under
> /lib/.... The other distros I run are Suse 8.2, 9.2 and some embedded
> variant. I have not tried to patch them with xenomai and rtnet so
> cannot tell if they give the same behaviour.....I am probably not
> familiar enough with linux to understand exactly what is meant by the
> split in src and binary and how that should differ from what I have on
> my machines. Perhaps there are kernel binaries stored in other places
> i do not know of or amongst the kernel src which is not taking place
> on this slackware variant of mine.
> 
> I have tried another 2.6.16 kernel src package on this slackware
> distribution, exactly the same result. I have done
> 
> make bzimage
> make modules
> make modules_install
> 
> the latter to sync the modules and the src tree and then tried it. No
> luck. I have no evidence that there is anything strange about my
> kernel source directory other than that rtnet takes a nose dive on it.
> 
> What binaries is it looking for that do not get generated and put in
> the correct place by the above mentioned make process? Also does the
> build process of rtnet need any binaries?

Search in top kernel makefile for "O=".

> Please, I repeat my request. Tell me the exact 2.6.16 kernel src
> package to download (to be sure preferably exactly where to down-load
> it). I will then use that package and see what it does.

You can get offical kernel releases from http://kernel.org. e.g.:
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2

> 
> Correct me if I am wrong:
> 
> If I take a vanilla kernel src and set this up under
> /usr/src/linux-2.6.16 subsequently patch this kernel with xenomai and
> build it with my current config file. If I then run the rtnet build
> process on it, I should come right?
> 
> In fact, after patching the kernel with xenomai do I need to build the
> kernel at all? Should not the "correct" kernel src patched with
> xenomai be enough to build the rtnet thingy?

You need to configure and build the kernel, otherwise some configuration 
files are missing:

- Run the prepare_kernel.sh script to apply the Adeos-iPipe-Patch and
   link the kernel with the Xenomai sources.
- Copy your .config to the kernels root directory.
- Run "make menuconfig" and select additional options. Make sure
   Xenomai is enabled. Or run "make oldconfig" if you are happy with the
   default configuration.
- Build your kernel with "make vmlinux" or "make bzImage".
- Then start configuring RTnet.

Wolfgang.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to