On Wed, Nov 17, 1999 at 08:15:33PM +0100, Bernhard Kuhn wrote:
> I'd like to announce the availabilty of RTL2.0 in the
> printed issue of the german Linux-Magazin, but 2.0 doesn't
> seem to be as rock stable as RTL1.x is. Thus it would
> be a reputational demage for RTL if it would be announced
> to early ...
Close.
> the "hello"-example sometimes does a
> "RTL ERROR: pthread_setperiod crosses cpus"
>
> When looking into rtl/schedulers/rtl_sched.c at
> pthread_make_periodic_np(), then it doesn't seem
> to be allowed to perform this function within
> a rt-task (like it is in the hello-example)?
I'll look at that, but ...
> When "insmod"ing the 3dfx-Modul, the machine crashes with
>
> >>>>
> Kernel panic: nmi!
Are you using the frightful 2.2.14 ? 2.0 is not yet working there, becuase
we have not figured out yet the correct approach to the new NMI code
that Ingo Molnar put in to torment us.
Otherwise, are you sure you are recompiling 3dfx-module?
> With RTL1.x, it was possible to change the periodicity
> of a running task within the task by simply doing a
>
> my_task.period=new_period;
> rt_task_wait();
>
> since the rt_task_wait() invoked the scheduler which took
> care about the new value.
> Is something like this still possible in RTL2.0?
> pthread_setperiod_np() doesn't seem to be allowed,
> since the same problem as in (1.) occurs.
This is probably a simple error. We forbid cross CPU changes of period, but
you report what may be the result of the cpu field on the task not being
set properly.
> Might it help to fix the rt-task to one CPU? how is that done?
> Configuration:
>
> RedHat 6.1/RTL2.0 on Kernel 2.2.13
So you claim to not be using 2.2.14 ? I'll check today.
> BTW: im using reiserfs-journaling-beta. Realy cool stuff!
> if the machine hangs due to a kernel/rtl-level programming
> mistake, just push the reset-button and the machine
> will only take 5-15 secondes to recover the filesystem,
> instead of e2fs-checking the whole partition.
That is cool, but it will encourage poor programming practice by
kernel programmers since the consequences are less -)
--- [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/