Roland Tollenaar wrote: > 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
Not sure if this should work (a link to the sources), but try to change
your path to the link's target path.
>
> 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. :(
>
Look at lines 181..203. But symbolic links should already work... Hmm.
>
> 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?
INSTALL is not RTnet-specific, it contains generic autoconf stuff.
Unfortunate, granted.
>
> 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
Check the target of this link:
/sys/class/net/eth0/device/driver
>
> 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?
Yep. You are then already a happy Xenomai user, no need to insmod.
>
> 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?
Have you read the documentation wiki on this already?
>
> 4. Run <PREFIX>/sbin/rtnet start
>
> Is this the equivalent of ifconfig up?
It is more, it starts up a full RTmac/TDMA-managed network. See wiki (if
this doesn't help, come back again).
>
> 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?
For this test scenario, it must be another RTnet node with RTmac/TDMA.
But there is a simpler setup (plain RTnet), see... wiki!
>
> Speaking of which, may I expect all normal ethernet applications to
> function as usual?
This is not "normal", this is real-time ;). What do you mean with
"normal"? RTmac/TDMA comes with tunneling support for Linux traffic,
thus over such channels all "normal" Linux networking stuff works as
usual. Over the real-time channel things may be restricted. UDP/IPv4 is
available and compatible, but you should check carefully with whom you
communicate (its traffic will hit RT context on your RTnet box).
>
> 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.
>
Hope I answered most of your questions. Nevertheless, please check the
wiki. If there are shortcomings, we could directly fix them there, for
other beginners as well. Clarifications / update patches for the shipped
README are also welcome later on.
Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

