References: <0fe39a24-b767-dff2-230d-18fa0b3766dd@xenomai.org> <2ded9de8-95c1-52ea-8e56-55398d454fbd@xenomai.org> From: Jack Lee Message-ID: Date: Wed, 14 Sep 2016 16:38:22 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable Subject: [Xenomai] "Ctrl + C" makes system crashed when exitting from"cross-link" List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum , xenomai On 09/13/2016 09:00 PM, Philippe Gerum wrote: > On 09/13/2016 11:13 AM, Jack Lee wrote: >> Sometimes, the system just dies absolutely, and I could only press the p= ower key to power off and restart the computer. >> Sometimes, "cross-link" can not exit even using the "kill" command, as d= escribed above. No crash assertion /warning reported. >> > The watchdog may help in situation #1 if a runaway thread is at work. > >> I am not familiar with xenomai yet, the experiments may be done in the f= uture. >> Also, real-time performance of the advantech MIO-5251 is quite bad. I wa= nt to use this > Meaning with Xenomai in? What are the figures if so, any output of the > latency program? > > Did you consider this information? > > >> system as a robot controller (eg. 6 axises.) Heavy duty of calculations = is required. Is x-window running possible? > X-windows is possible if neither of your graphic card nor X driver > causes pathological latencies. I worked on several projects coupling > real-time acquisition and graphics on the same x86 SBC over the years > with no issues; conversely, a few graphic hw support did introduce > roadblocks in other cases, YYMV. You may definitely want to benchmark > the hw before buying. > >> Do you have any board to recommend? Performance is preferred. Thanks! >> > A bad BIOS is often involved in bad real-time performances (including > SMI woes), affecting dual kernel and native preemption configurations > the same way. Likewise, CONFIG_PERF_EVENTS on x86 may kill real-time > performances when NMI-based events are involved. > > People of this list running x86 systems in production may hopefully give > you some hints about decent hardware for this usage. * make sure that you carefully followed the=93Kernel configuration=94 section . Checked. * if running on a x86 platform, make sure that you do not have an issue with SMIs, see thesection about SMIs . SMI walkaround enabled. nmi.watchdog was set to be 0. * if running on a x86 platform with a/legacy USB/switch available from the BIOS configuration, try disabling it. Disabling it makes the keyboard not work. * if you observe high latencies while running X-window, try disabling hardware acceleration in the X-window server file. With recent versions of X-window, try using the/fbdev/driver. Install it (Debian package named/xserver-xorg-video-fbdev/for instance), then modifiy theDevicesection to use this driver in//etc/X11/xorg.conf/, as in: fbdev is enabled. If I have any progress on this issue, I will back. Thanks for your endeavors!