Ed Martini wrote:
> 
> Sorry if the crosspost is wrong.  Please gently tell me which group would be proper
> for this type of inquiry.
> 
> I have ported a large (350k footprint) embedded system from vxworks to rtlinux.
> I'm using 2.2.12 and rtlinux 2.2.  It is a PCI driver application.
> 
> It typically has 6-10 threads running which communicate via the semaphores
> package semaphores and message queues.  While it it mostly working, there are
> several problems on the user side that happen when my system is running.
> 
> 1.  Linux' concept of time is broken.  When my app is running, time stands still.
> date returns the same date/time.  It resumes when I unload my module.  I have seen
> the screensaver activate immediately.  The keyboard bell will turn on for "a long 
>time".
> 
> 2.  Keystrokes in vi seem to be buffered for "a long time".

In my expert opinion it looks like your computer is experiencing the
effects of relativistic time while approaching the event horizon of a
black hole.  I suggest you take a step back, if the problem worsens,
then I suggest you run before you get sucked in too! :)

Another, although much less likely, cause could be that you are turning 
interrupts off for too long.  The common factor in the real time clock,
screensaver timer, keyboard buffer, speaker/bell (system timer 3), and X
is interrupts.

Does the screensaver activate immediately after you unload the module,
or after time starts to stand still?

How long do you turn off interrupts at any one time?
How long does your longest RTL interval run for?
How many different length RTL intervals do you have?
Do you use any of the system timers directly?

And last, but not least what does your RTL code do?

- Kal.

> 
> 3.  Programs under X cause X to hang.  The two I have tried are gimp and mahjongg.
> ctl-alt-bkspc kills X ok.
> 
> Any help would be greatly appreciated.
> 
> Ed Martini
> 
> MailCity. Secure Email Anywhere, Anytime!
> http://www.mailcity.lycos.com
> -- [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] ---
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/

Reply via email to