简体   繁体   English

RTAI-3.8安装堆叠在ubuntu-12.04(x64)+ linux-kernel-2.6.32.2中

[英]RTAI-3.8 installation stacked in ubuntu-12.04(x64)+linux-kernel-2.6.32.2

I cannot complete installation of RTAI-3.8 in ubuntu-12.04(x64)+linux-kernel-2.6.32.2. 我无法在ubuntu-12.04(x64)+ linux-kernel-2.6.32.2中完成RTAI-3.8的安装。

I am trying to install RTAI on new PC. 我正在尝试在新PC上安装RTAI。 Make succeeded in the linux kernel configuration that worked fine in another PC. 使成功在另一台PC上正常工作的linux内核配置成功。 However, restart failed after "make install". 但是,“进行安装”后重启失败。 Specific symptoms do not reach the login screen after select RTAI-patched linux in grub. 在grub中选择RTAI修补的linux后,特定的症状无法到达登录屏幕。 This is the same symptoms in Safe Mode. 在安全模式下,这是相同的症状。

In the linux kernel configuration 在linux内核中配置

- Processor type and features 
    ---> Processor family 

There was no pattern that was successful even if in any the. 即使有任何模式,也没有成功的模式。 Number of CPU cores is similar. CPU核心数类似。

It is a situation you do not know what the cause. 这是一种情况,您不知道是什么原因。 Or Will there be hardware such as a CPU or motherboard RTAI does not support? 或是否会存在CPU或主板RTAI等不支持的硬件? My PC is Pro5500-H Endeavor. 我的电脑是Pro5500-H Endeavor。 Specs are as follows. 规格如下。

CPU: intel Core 17-4770K@3.50GHz x8 
motherboard:. EPSON DIRECT CORP Pro5500-H

Please help me! 请帮我!

First of all, I suggest you use newer versions of the available software. 首先,我建议您使用可用软件的更新版本。 Why not use Ubuntu 14.04 and RTAI 4.0 (recently 4.1 was also released)? 为什么不使用Ubuntu 14.04和RTAI 4.0(最近也发布了4.1)?

That said, RTAI-enabled kernel configuration requires a lot of playing around. 就是说,启用RTAI的内核配置需要大量工作。 Each piece of hardware may have its own issues that may not play well with RTAI. 每个硬件可能都有其自身的问题,这些问题可能无法在RTAI中很好地解决。

There are people who have tried making debian packages for RTAI though, and in my experience it has worked great. 有人尝试过为RTAI制作debian软件包,以我的经验,它的效果很好。 This is instruction from the author (John Morris): 这是作者(约翰·莫里斯)的指示:

(replace 'wheezy' with 'jessie' if applicable)

# Install the Dovetail Automata archive signing keys
wget http://deb.dovetail-automata.com/pool/main/d/dovetail-automata-keyring/dovetail-automata-keyring_0.1-1~wheezy1_all.deb
sudo dpkg -i dovetail-automata-keyring_0.1-1~wheezy1_all.deb

# Configure the archive sources
echo "deb http://deb.dovetail-automata.com wheezy main" |\
    sudo bash -c 'cat > /etc/apt/sources.list.d/machinekit.list'

# Update package indexes
apt-get update

# Install packages
apt-get install librtai1 librtai-dev
#     amd64 architecture:
apt-get install \
  linux-image-rtai.x86-amd64 linux-headers-rtai.x86-amd64
#     i386 architecture:
apt-get install \
  linux-image-rtai.x86-i686-pae linux-headers-rtai.x86-i686-pae

With Ubuntu 14.04, replace wheezy with trusty . 与Ubuntu 14.04,更换wheezytrusty This installs both the RTAI-enabled kernel (the two last commands) and the RTAI library (first apt-get install ). 这将同时安装启用RTAI的内核(最后两个命令)和RTAI库(第一个apt-get install )。 If you want your own configuration for RTAI, you can simply just install the kernel and build your own library. 如果您想要自己的RTAI配置,则只需安装内核并构建自己的库即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM