Hi,

I am installing rtnet and have struck some problems with ./configure

These are the last few lines before it bails:

checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for main in -lncurses... yes
checking for RTnet Kconfig file... ./defconfig (default)
checking for RT-extension... configure: error: *** RT-extended kernel
not found in /lib/modules/2.6.16/build

now I know that I am running a xenomai patched kernel for sure which is
functioning perfectly. I am aware however that this lib library is not
100% up to date so where necessary I have to place the correct files and
modules in there. My question is, which particular file (name) is
configure looking for here so I can see whether I can rectify its
problem. Sorry for the inconvenience but its related to this USBbootable
version of linux I am running.
Not hoping to create too much think work but are there more files that
will be looked for in the /lib/modules directory?
Is there an identifiable place I can look in the configure script to
find out? Its rather huge. :(


While I am at it, some more questions on what is to come:


The install instruction:

"8. run "mknod /dev/rtnet c 10 240" on your target system to create the
    configuration interface device node."

is in the README file but not in the INSTALL file instructions. Any
particular reason for that?

Subsequently in the README file:

How to test it?
---------------
1. Shutdown the network device which shall become part of the RT-network and
    remove its driver module (this also means that it must not be compiled
    into the kernel!)

Maybe a silly question but I am having trouble finding the module that
is linked to my network chip. Any tips? I would very much like to test
initially by  calling

ifconfig down, followed by rmmod <whatever my network module is called>

2. Load required real-time modules (modular Xenomai: xeno_hal, xeno_nucleus,
    xeno_rtdm, RTAI: rtai_hal, rtai_ksched/rtai_lxrt, rtai_sem, rtai_rtdm)

I cannot find any xeno modules using lsmod but that will be because I
have "hard-compiled" them I presume?

3. Check <PREFIX>/etc/rtnet.conf and adapt at least the following
parameters:
    RT_DRIVER, IPADDR, TDMA_MODE, TDMA_SLAVES.

This one eludes me entirely. What must I set them to? (IPADDR I can
guess but the rest?). Is there any more elaborate documentation on this?

4. Run <PREFIX>/sbin/rtnet start

Is this the equivalent of ifconfig up?

5. Run rtping <remote-host> or run an example application
    (e.g. examples/xenomai/posix/rtt-{sender,responder})

I presume the remote-host does not have to have rtnet on it?

Speaking of which, may I expect all normal ethernet applications to
function as usual?

I apologize if there are questions in here that are answered in
documentation elsewhere but a quick scan of  the Documentation directory
did not seem to contain items that seem directly relevant to the
questions above.



Kind regards,

Roland







-------------------------------------------------------------------------
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