[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] Linux Priority When Using RT-Linux



Hi

I have read the following and am wondering if it is causing my problems:

>    The shortest feasible period for a real-time task under the RT-Linux
scheduler
>    is currently about 150 us on Pentium 120. Interrupt driven tasks can
have smaller
>    periods.The RT-kernel does not protect from overloads.  It is
conceivable that
>    real-time tasks can consume all CPU power. In this case, having the
>    lowest priority, Linux kernel will never get a chance to run, and the
>    system will freeze.

I am trying to run the 2tasks example for rt-linux0.6 using Caldera
OpenLinux Ver 1.2 (kernel 2.0.33).  I perform the following:

patch
makes
cp zImage to /boot
modify lilo.conf
/sbin/lilo
/sbin/reboot

/sbin/ksyms -a | grep " "rt_ | wc -l
  (I get 7, read somewhere that this is correct...)
cd to-2tasks directory

make
insmod /lib/modules/2.0.33/fs/rt_fifo_new.o
insmod /lib/modules/2.0.33/misc/rt_prio_sched.o
insmod ./rt_process.o

for i in 0 1 2 3; do mknod /dev/rtf$i c 63 $i; done

app

(I receive :)

FIFO1: Frank
FIFO2: Zappa

- screen goes blank and core dumps to the screen, the last line
  I see before it reboots is "idle task may not sleep"

It does appear that rt-linux is taking over my system.  I ran one of the
other examples, can't remember which one, but it clears my screen except
whenever I press a key.  Now I am assuming that linux takes over when I
press a key, but rt-linux will not release the system on its own.  That's
why I was wondering if the above statement is true for my system.

My system is an Intel 200MMX, 64mb ram....

How do I find out the priority of my linux?  Maybe its set to low and I need
to increase it.

Any ideas???

Signed Confused & Bewilder  (but still likes Linux more than Gatesware
stuff...)

--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/