Hey all,
I wasn't aware that is was a "well known problem" but i had to find out
the
hard way. But basicly what you are saying is ,
"sory you just can't use X with realtime linux" ? If thats true realtime
linux
ends up totaly useless for me , and probably a lot of other ppl too.
Because
being able to use a highly graphical frontend is one of the good things
of
realtime linux.
I tried to recompile the X-server with the cli() and sti() macros from
asm/system.h
but am not sure if that works, because the rthal structure is in the
kernel so one
doesn't have access to that from the XServer, right ? (it is still
compiling so i will
see when i get back from work) What would an other solution be to
userspace programms that
need (read: want) to disable interrupts ? Some kernel module with cli /
sti system calls or so ?
If nothing else works i will see if i can just remove the enable/disable
IRQ from the Xfree source,
because the function mentions something like : returns FALSe on error or
if not supported.
ok work time,
Erwin
Paolo Mantegazza wrote:
>
> Erwin Rol wrote:
> >
> > Hello all,
> >
> > after searcing the XFree 4.0.1 sources i found the following piece of
> > code in /xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c
> > (and simmulair for other OS's)
> > When i understand the working of RTAI(and RTLinux) correct the direct
> > cli/sti functions are offlimit
> > for anything but the actual RT-code. Did anybody ran into problems with
> > XFree 4.0.1 on RT-Linux ?
> > I will try to recompile the server with soft cli/sti and see if that
> > works.(i compiled it first
> > on a normal jkernel and that ran OK (appart from the high latency) and i
> > compiled it on a RT-kernel
> > and than it just crashed my machine, when using RT-tasks. If i get it
> > right it will mean one needs to make RT-Linux XFree-4.0.1 versions ,
> > which would suck :-/ Are there simulair problems with XFree 3.XXX ?
>
> This problem is well known, it was posted to this list by Daniele
> Danlugli 3 years ago, at the least. Someone rumored about advising XFree
> people to avoid such a practice but the issue seems to have not been
> pursued, or he/she was not empowerd to have it done by XFree people.
>
> Ciao, Paolo.
-- [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/