When you build Linux/RTLinux are you configuring for an AMD, enabling any MTRR ?
Is this a patched kernel from RTLinux.org? Does it have any other patches in it? On Thu, Jan 31, 2002 at 03:22:13AM +0100, Kristoffer Persson wrote: > On Tue, 29 Jan 2002, Calin A. Culianu wrote: > > > On Tue, 29 Jan 2002, Kristoffer Persson wrote: > > > > > After some time (a few minutes to a few hours) of operation, the RT task I > > > am running stops without any message. If I rmmod and insmod it again, it > > > will run for about a seconds before it stops again. If I re-insert > > > rtl_sched and rtl_time and my module, it will run again for some time > > > (~min-hours) before stopping. > > > > > > RTLinux 3.1, Linux 2.4.4, CPU AMD 5x86, gcc 2.96 (from RedHat 7.2). > > > > > > > Hmmm. This should work. Although my understanding was that somehow using > > nanosleep() was supposed to be preferable to pthread_make_periodic_np. Oh > > well. :) > > Thanks for taking your time, but the problem is still there. > > I have now tried using nanosleep() and clock_nanosleep() but the result is > the same. But when I set the timer in periodic mode my thread ran for over > twelve hours before I interrupted it so it seems as if rtl_time sometimes > fails to re-program the timer chip. > > Some more observations: > > When my task is frozen, everything else timer related is frozen too. > 'date' returns the time when the task froze, 'sleep 1' blocks forever. > > If I leave the stopped task in memory and don't touch the system it will > start again after some time, typically it seems to take about 30 min. > > The same task seems to run OK under the same kernel version, same RTLinux > version and same compiler but on a P4 1.6GHz. > > Any more suggestions anyone? Thanks in advance. > > /Kris > > -- [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/ -- --------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.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/
