[rtl] Using user programs in MiniRTL

2000-04-24 Thread EI00398

Hello again :

I send you this e-mail to explain how your solution jobs. In my development 
computer I have libvga.so.1.4.0 and libm.so.6 
I downloaded from the FTP adress which you gave me the libvga.so.1.3.0 and 
libm.so.6. Then I applied these libraries to MiniRTL
an I tried to run my applications. These applications have two parts :

Application 1 : A client/server structure which uses TCP/IP protocols.
Application 2 : A RT modules and a user program which communicates with the 
RT module.

Only the client of appli1 and the user program of appli2 uses libvga. The RT 
module and the server of appli1 don't use it.
When I try to run these 4 programs in MiniRTL I obtain the next results (In 
my development computer all these programs job correctly):

Appli 1 : Client   ->   Segmentation Fault
Appli 1 : Server   ->   Segmentation Fault
Appli 2 : RT module   -> It jobs well
Appli 2 : User Program   -> Segmentation Fault

Theremore, I have other question. When I run these programs I need type 
./Program.If I don't type it and I type only Program, then miniRTL returns 
Program : Not found.
Howewer, when I try to run other programs as hello I should type only hello. 
If I type ./hello miniRTL returns Segmentation Fault.
I only think in two solutions :
- I need the same version of libraries in MiniRTL and the development 
computer ? How should I do this ?
- It is a problem of the other libraries.

I send you one of my programs server.c of apli1 and the user program of apli2 
for try to help you.

I ask these problems to you because I think that it's a dificult 
problem to solve for a person who uses Linux for 6 months ago only as I.

Thanks for spend your time in try to solve my problems. If you want I will 
send you my results when I finish my project (It will be early because I only 
have this problem).

Regards


Toni

 Server.c
 userprog.c


[rtl] shared memory

2000-04-24 Thread daniel sheltraw

Hello RTLers

I have heard about shared memory using mbuff. Can anyone who is using
mbuff under RTAI point me in the direction of useful docs for installation 
and use of mbuff under RTAI?

Thanks,
Daniel

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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




[rtl] Re: your mail

2000-04-24 Thread yodaiken

Generally, your video will screw up. You could solve the problem by running a headless
or dual headed Linux.

On Mon, Apr 24, 2000 at 11:04:44AM -0500, daniel sheltraw wrote:
> Hello rtl listees
> 
> Can one do realtime graphics (obvious restrictions of screen refresh rate 
> aside) by simply writing to video memory in
> ones RT kernel code. What happens when linux processes are then scheduled?
> 
> Thanks
> Daniel
> 
> 
> 
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

-- 
-
Victor Yodaiken 
FSMLabs:  www.fsmlabs.com  www.rtlinux.com
FSMLabs is a servicemark and a service of 
VJY Associates L.L.C, New Mexico.

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




[rtl] semaphores in RTL 2.2

2000-04-24 Thread Alain Rollé

Hi,

only a small question : when I have two RT threads, each created in a
different kernel module, can I use Jerry Epplin's semaphore package to
synchronize them ?
If not, is there any other way I could ?
E.g. can I use the Shared memory pool to exchange information between two
RT threads, instead of between RT and Linux side ?

Thanks,

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




No Subject

2000-04-24 Thread daniel sheltraw

Hello rtl listees

Can one do realtime graphics (obvious restrictions of screen refresh rate 
aside) by simply writing to video memory in
ones RT kernel code. What happens when linux processes are then scheduled?

Thanks
Daniel



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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




RE: [rtl] Realtime Graphics Application

2000-04-24 Thread Heinicke, Eric


The X Windowing system is non-deterministic, no re-entrant code, no priority
scheduling of events, etc.  While it is not impossible to make your X
application behave in a deterministic manor it would be very difficult.  You
could not do it efficiently without a rewrite to the XServer.

Thank You.
 
Eric O. Heinicke   [EMAIL PROTECTED]
BAE SYSTEMSVoice:631.262.8644 
   Fax:  631.262.8657
   One Hazeltine Way, MS 1-78
   Greenlawn, NY 11740-1606


-Original Message-
From: Muhammad Ali Imran [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 23, 2000 03:24
To: [EMAIL PROTECTED]
Subject: [rtl] Realtime Graphics Application


Can we make an X-windows application realtime.. its mouse responses etc
all should be realtime

>From the explanation in documentation X Windows run on the linux kernel
which is running as a least priority task on the rt microkernel..
I am just a beginner at rtlinux and just wanna know if its possible so I
invest my time working over it.

Any suggestions are appreciated

Thanks and regards
Muhammad Ali Imran


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




Re: [rtl] Realtime Graphics Application

2000-04-24 Thread Tomasz Motylewski

On Sun, 23 Apr 2000, Muhammad Ali Imran wrote:

> Can we make an X-windows application realtime.. its mouse responses etc
> all should be realtime

Why do you need this? Human is not hard real time. Mouse gets input from
your hand, monitor is watched by you. All delays below 10-50ms are
acceptable. You can get good priority by using soft RT (setting X priority
with "nice" or sched_setscheduler) and (very important) having lots of RAM.
X is slow sometimes, because programs are big and sometimes are swapped out.

Best regards,
--
Tomek

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