Re: Rtai Digest, Vol 110, Issue 6

Francescodario Cuzzocrea <[email protected]> Mon, 27 Feb 2017 12:02:20 +0000
Newsgroups gmane.linux.real-time.rtai
Message-ID <CADnVkj8WsMf243StKPuk0+zyK+6H0WpW4dM57-su-kXyuQ-ptA@mail.gmail.com>
Il giorno lun 27 feb 2017 alle ore 12:00 <[email protected]> ha scritto:

> Send Rtai mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Rtai digest..."
>
>
> Today's Topics:
>
>    1. Cannot get basic latency test to work on Intel platform
>       (Bill Jenkins)
>    2. Re: Cannot get basic latency test to work on Intel platform
>       (Paolo Mantegazza)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 26 Feb 2017 22:29:30 -0800
> From: Bill Jenkins <[email protected]>
> To: [email protected]
> Subject: [Rtai] Cannot get basic latency test to work on Intel
>         platform
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Everyone,
>
> I have been trying to get RTAI up and running with the latest
> rtai-5.0-test2
> running on a patched 4.1.18 kernel on Intel processors. It seems to me
> that this should work, as there is nothing special I am trying to do yet
> other than just run the latency test in the test suite.
>
> There must be something I am not doing correctly, because it always fails
> the same way and I have tried this on several different motherboards
> (processors
> I've tried so far include Atom x5, i3, and 3160 braswell).
>
> After patching the kernel and doing the install of rtai, the system always
> hangs
> when I try to run the kern/latency/run test. The hang happens when
> insmod'ing
> rtai_sched.
>
> Here are the basic steps I've tried on each system:
>
> 1. Install Ubuntu 16.10 (I've also had this problem with Ubuntu 14.04)
> 2. Install gcc/g++ 4.9
> 3. Get 4.1.18 kernel from kernel.org, configure it using localmodconfig,
> and then
>         build/install it and reboot into 4.1.18.
> 4. Get RTAI 5.0-test2 and patch the 4.1.18 kernel with it.
> 5. Build/install patched 4.1.18 and reboot into the patched 4.1.18 kernel.
>

Could you please post the configuration of the patched kernel ? Maybe you
have to disable some ACPI related options, CPUQuiet and Hyperthreading.


> 6. I take the default configuration values in RTAI, with the exception of
> changing
>         the number of CPUs to 4. Then build/install RTAI.
> 7. Try to run the testsuite/kern/latency test and the system hangs.
>
> Anyone know what I might be missing? I can't imagine that such a simple
> case on Intel processors does not work.
>
> Thanks in advance for any help,
> Bill
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Feb 2017 10:22:10 +0100
> From: Paolo Mantegazza <[email protected]>
> To: <[email protected]>
> Subject: Re: [Rtai] Cannot get basic latency test to work on Intel
>         platform
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="windows-1252"; format=flowed
>
> Retry the latest Vulcano CVS.. LIkely it will change nothing, but just
> to know.
> In any case before trying any test watch first what happens when you
> work for a bit of time with Linux after having insmoded rtai_hal.ko.
> Did you try it on machine that was running RTAI well already?
> Paolo.
>
> On 02/27/2017 07:29 AM, Bill Jenkins wrote:
> > Hi Everyone,
> >
> > I have been trying to get RTAI up and running with the latest
> rtai-5.0-test2
> > running on a patched 4.1.18 kernel on Intel processors. It seems to me
> > that this should work, as there is nothing special I am trying to do yet
> > other than just run the latency test in the test suite.
> >
> > There must be something I am not doing correctly, because it always fails
> > the same way and I have tried this on several different motherboards
> (processors
> > I've tried so far include Atom x5, i3, and 3160 braswell).
> >
> > After patching the kernel and doing the install of rtai, the system
> always hangs
> > when I try to run the kern/latency/run test. The hang happens when
> insmod'ing
> > rtai_sched.
> >
> > Here are the basic steps I've tried on each system:
> >
> > 1. Install Ubuntu 16.10 (I've also had this problem with Ubuntu 14.04)
> > 2. Install gcc/g++ 4.9
> > 3. Get 4.1.18 kernel from kernel.org, configure it using
> localmodconfig, and then
> >       build/install it and reboot into 4.1.18.
> > 4. Get RTAI 5.0-test2 and patch the 4.1.18 kernel with it.
> > 5. Build/install patched 4.1.18 and reboot into the patched 4.1.18
> kernel.
> > 6. I take the default configuration values in RTAI, with the exception
> of changing
> >       the number of CPUs to 4. Then build/install RTAI.
> > 7. Try to run the testsuite/kern/latency test and the system hangs.
> >
> > Anyone know what I might be missing? I can't imagine that such a simple
> > case on Intel processors does not work.
> >
> > Thanks in advance for any help,
> > Bill
> > _______________________________________________
> > Rtai mailing list
> > [email protected]
> > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Rtai mailing list
> [email protected]
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
> ------------------------------
>
> End of Rtai Digest, Vol 110, Issue 6
> ************************************
>

_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai