Re: [rtl] RTNet: /dev/rtnet: no such device

2000-11-12 Thread Joachim Herb

John Lloyd wrote:
 
 I am trying to run the rtifconfig script from rtnet-0.9.0 under
 rtai-2.2.16-ert and the script complains that no /dev/rtnet exists which
 is good since no device is present on my system.  What is the proper
 mknod for this device?
crw-r--r--1 root root  10, 240 Aug 31 23:54 /dev/rtnet
= mknod /dev/rtnet c 10 240

Unfortunately it is not created automatically during installation.
Could you please post your experience with fast data transfer to the
list, as I had some problems. (See my mail to this list of Sep 21,
2000).


Joachim
-- 
Joachim Herb
mailto:[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




[rtl] Problems with RTNET

2000-09-21 Thread Joachim Herb

Hello,

using rtnet I encounter the following problem:

After a certain time I get lots of the errormessage:
kfree_rtskb() skb=NULL

When reload the card driver and the rtnet module the error message
disappears but shows up later again.

I have changed the example rt_echo_client to send an packet every 10 ms to
an echo server. I use a semaphore for flow control (so the next packet is
sent only if the previous was sent back by the server). The packet size is
1472 (the largest possible on my system). 

In the echo_recv handler I have added an rt_recvmsg() to receive the sent
back message. In spite of the error message the connent of the message
sent
back by the echo server is correct.

The rt_echo_client runs on RTAI-1.4 on top of linux-2.2.16, the network
card is an 3Com 3c900 Boomerang 10Mbps Combo PCI and the used driver is
3c59x_rt_old.

The server runs on a normal linux-2.2.16 (so "half-RT network").

If the server is also realtime (same card, same driver), then the same
errormessages might also appear on ther server side. Once the following message
appeared there, too:
Too much work in interrupt state e081. Temporaily disabling functions
(7f7e)

What do these error messages mean and is there a problem?

Thank you for your help.

Bye

Joachim



-- 
Sent through GMX FreeMail - http://www.gmx.net
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] RTNET / Linux Trace Toolkit

2000-09-21 Thread Joachim Herb

Vasili Goutas wrote:
 
 Karim Yaghmour wrote:
 
  Hello Vasili,
 
  I've used the 22.2.4 stuff to patch over RTAI 1.4. The patch utility complains
  a little, but it successfully applies the patch. I haven't compiled the result,
  but it should work without a problem. Also, I haven't tried patching the related
  kernel source, but that shouldn't be a problem either. Give it a try and tell
  me if it works ...
 The RTAI-1.4 sources are no problem, but
 I tried to patch the kernel sources which was prepatched with the RTAI
 patch and get some error messages.
 Don't think that it will run without creating a new release of your
 toolkit containing a patch for linux-2.2.16 and RTAI-1.4.
 
 The result of my try to patch the kernel was:
 "patch -p1  patch-ltt-linux-2.2.16-with-rtai-22.2.4-000822"
 
 patching file Documentation/Configure.help
...

Hello,

I patched rtai-1.4 the following way: First apply the patch and then
resolve the conflicts manually. Most of the reject files can be ignored:
Often you find constructions like:

In rtai-22.2.4-ltt:

#if 0
linux code
#else
RTAI code
#endif

in the official rtai-1.4 these have changed to

#ifdef CONFIG_RTHAL
RTAI code
#else
linux code
#endif

The rest are only a few changes. Then if you compile you get a few
errors because definitions of functions have moved from kernel files to
rtai.h. I works for me.

Joachim

-- 
Joachim Herb
mailto:[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] RTNET / Linux Trace Toolkit

2000-09-20 Thread Joachim Herb

Joachim Herb wrote:
 - In your package TracePackage-0.9.3.tgz you included patches named:
 patch-ltt-rtai-22.2.4-000822 and
 patch-ltt-linux-2.2.16-with-rtai-22.2.4-000822
 As there is no RTAI-22.2.4 on the RTAI website, and the version of RTAI
 for the linux kernel version 2.2.16 is RTAI-1.4, I think your patches are for
 this version?
Sorry, now I have seen that it is for RTAI-1.3a. But its not too hard to
get it working with 1.4.

Bye
Joachim
-- 
Joachim Herb
mailto:[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/