Hello,
i am from japan, and i hope that you can read my english.
i am going to use rtlinux2.0-linux2.2.13. on embbeded pc
ADVANTECH PCM-5820
http://www.advantech.com/products/sbc/pcm-5820.htm
it has a CyrixMediaGXm processor.
a few days ago, i ran a small test program on this PC.
the test is very simple, just null rt-task was runnig.
rt_task_wait is 5ms. and this morning, linux was dead.
(no keyboard response,no ping-answer,no ctrl-alt-del operation)
i think this problem caused by these three reasons.
1) hardware trouble (over-heat? disk error?)
2) MediaGX's TSC trouble
3) gcc (2.95.2)
i don't analize reason1.because normal-linux is very stable.
MediaGXm has a TSC register.but linux-kernel disable this feature.
/usr/src/linux-2.2.13/arch/i386/kerne/setup.c
676: else { /* MediaGX */
677: Cx86_cb[2] = (dir0_lsn & 1) ? '3' : '4';
678: p = Cx86_cb+2;
679: c->x86_model = (dir1 & 0x20) ? 1 : 2;
680: c->x86_capability&=~X86_FEATURE_TSC;
681: }
the point is line 680,i don't know why he disables TSC.
in the true,this processor has a TSC so i comment-out line 680
and re-compile the kernel with gcc-2.95.2.
then it become unstable.(i think MTBF is 24hour)
i want your advice. what is my bad point ?
thank you.
---
yutarou ebihara [EMAIL PROTECTED]
http://www.si-linux.org (SiliconLinux project)
--- [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/