[rtl] Newbie's various questions

2000-04-18 Thread Adi Sudewa
Hello, I'm doing my B.S. thesis in the field of real-time system. The project's goal is to build a railway simulator that will be used in the Real-Time Programming course next year (Fall 2001). For the reason that I like Linux very much, and Real-Time Linux is free, I choose RTLinux for this pr

[rtl] RTAI 1.3 rtai_sched load problem.

2000-04-18 Thread Steve Goodrich
I have patched up a clean 2.2.14 kernel for rtai 1.3. I am having a probelm if I turn on the dynamic memory stuff. rtai_sched won't load. It tells me "init_module: Device or resource busy". If I turn dynamic memory off then it loads but there seem to be problems with lxrt-informed at that point.

Re: [rtl] Unresolved symbol

2000-04-18 Thread Bas Benschop
On Tue, 18 Apr 2000, Paolo Mantegazza wrote: > Bas Benschop wrote: > > > > Hello, > > > > I have downloaded RTAI and try to install it. I use a Debian 2.1 Linux > > with kernel 2.2.5. I used copythere to patch the kernel (and checked it) > > and compiled. The system is running fine, so no pro

[rtl] rewrite of rectangle.c for V2

2000-04-18 Thread De Messemaeker Johan
Hi, I'm trying to understand the differences between V1 and V2 of RTL (and quite a beginner on RTL in general). I'd like to port rectangle.c (/examples/v1api/parallel/) to V2 but it isn't working. Where can i find a rewritten version of this example ? Greetings

[rtl] Helper thread in Kernal space

2000-04-18 Thread Eric Keller
Hi, i am trying to port a MS-Dos program over to RTL. This program controls the load of a fatigue machine, which is capable of smashing expensive things flatter than a pancake. I think i will use shared memory for some communications, but i would like to generate and store my load reference traj

Re: [rtl] One shot examples

2000-04-18 Thread Stuart Hughes
daniel sheltraw wrote: > > Hello from an RT newbie > > Can anyone point me to good examples or docs on how to use RTL or > the Zenotropix RTL in one shot mode. There seems to be enough doc > on periodic mode but not oneshot. > > Thanks > Daniel Hi Daniel, Please find attached a jitter measure

[rtl] memcpy and mbuff problems

2000-04-18 Thread Dipl.-Ing. O.Petzold
Hallo, the problem with the shm structure problems are solved. The reason why I don't see the same contents of the shm region where inside the different size of bool - I have a new type flag_t to avoid this problem. At last the problem with memcpy is still here. There is no difference if I use m

Re: [rtl] RTL used in a device driver

2000-04-18 Thread David Olofson
Tue, 18 Apr 2000 Matthew Cheselka wrote: > Hello, > > I seem to have some confusion about how to use RTL in my various device > drivers. Lert's take for example a DAC. So I have the standard open, > close, write, ioctl file_operations stuff in this driver, I load the > driver with insmod, and t

Re: [rtl] Using Vector Libary (VL) in rtlinux

2000-04-18 Thread Paul Koning
> "Yunho" == Yunho Jeon <[EMAIL PROTECTED]> writes: Yunho> 1. Header file problems: Yunho> There is difference how NULL is defined for C and C++. In C, Yunho> NULL is usually (void*)0, but in C++ NULL should be 0 to avoid Yunho> many warning messages. Actually, #define NULL 0 is the ri

Re: [rtl] gcc and g++ mbuff confusion. __attribute__((packed))

2000-04-18 Thread Paul Koning
> "Tomasz" == Tomasz Motylewski <[EMAIL PROTECTED]> writes: Tomasz>... Tomasz> Even using Tomasz> typedef struct { .. } __attribute__((packed)) Tomasz> shm_slut_t; Tomasz> does not save the problem, because sizeof(bool)==4 in gcc and Tomasz> 1 in g++. Tomasz> I would like t

[rtl] Why is my computer dead?

2000-04-18 Thread crzhang
Hi, all I just run the examples/hello with the period time 500 changed into 25, then i typed make and make test, at this moment, it is right, but after a little while the computer dies. My CPU is Celeron 400MHZ and the system is RTLinux2.2. Who can solve this problem. Regards Wang Hen

[rtl] howto: fpointers in rt task?

2000-04-18 Thread Daniel Krippner
hello everyone! I hope I am not getting on your nerves too much yet... A general question, I've been trying to think of a good solution for this by myself - I'm afraid I came up with nothing... What I need to do is set up a hrt task that executes a function given to it - I cann

[rtl] Context matrix

2000-04-18 Thread kissg
Dear NMT user, Have you ever been thinking about if pthread_suspend_np() could be called from an interrupt handler or not? I've started to maintain a list of API functions and their possible context. Please write me if you know any _fact_ not listed on page http://gatling.aszi.sztaki.hu/~kissg/d