[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Carsten Fischer <C.Fischer@tu-bs.de>] (fwd)



>From owner-rtl Thu May  3 05:13:05 2001
Received: from rzpool09.rz.tu-bs.de (root@rzpool09.rz.tu-bs.de [134.169.9.223])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f43BD4J15092
	for <rtl@rtlinux.org>; Thu, 3 May 2001 05:13:05 -0600
Received: from tu-bs.de (y0012836@localhost [127.0.0.1])
	by rzpool09.rz.tu-bs.de (8.9.3 (PHNE_18979)/8.8.6) with ESMTP id NAA02083
	for <rtl@rtlinux.org>; Thu, 3 May 2001 13:09:02 +0200 (METDST)
Sender: y0012836@rzpool09.rz.tu-bs.de
Message-ID: <3AF13C4B.11F94C05@tu-bs.de>
Date: Thu, 03 May 2001 13:09:01 +0200
From: Carsten Fischer <C.Fischer@tu-bs.de>
X-Mailer: Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/780)
X-Accept-Language: en
MIME-Version: 1.0
To: "rtl@rtlinux.org" <rtl@rtlinux.org>
Subject: No hardrealtime on 80486-notebook
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I've installed RT Linux V2.2 on a Notebook (Processor is 80486 DX 2 )

I've written a module that looks something like this to :


.....
double x=10;
double y=3;


          void  thread_code () {



pthread_make_periodic_np(pthread_self(),gethrtime(),Period);

                    while (1) {

                    phtread_wait_np ();


                    outb (0x02,0x378);


                                            z=x/y;

                    outb(0x02,0x378);

                    }

                        .....

            I've measured the length to calculate e.g. 10/3  :   1.4
microseconds  . That is o.k. but
            when I start a programm in the user space e.g. compiler , ls
, rm ..... the length grows up to 3
            mircoseconds. That is not hard realtime!

            Also when I start the servo-module from B. Kuhn the servo
moves (there are jitters) when the harddisk
            is active or  when I write something on the keyboard,etc.

            3 month ago I installed RT-Linux on a Toshiba Notebook
(Celeron 600) . By testing the servo
           there was same effect.

            On my home PC the modules works well. I think the code and
the kernel are  o.k.
            I' ve read the E-Mail from B.Nebel 03/99 with similar
problems.

            Whar is wrong ?  Hardware ?

            --- We want to install RT-Linux on a compact-PC / DIMM-PC /
PC/104 (also 80486)as
            an embedded system. It is possible that there are similar
problems?

            Thanks for your help

            C.F.