xenomai安装

今天我又试了一次xenomai的安装。
我在google上搜“xenomai install”,找到以下面的网页:
http://www.xenomai.org/documentation/xenomai-2.6/html/README.INSTALL/
其中第3节讲得很详细。


(1)路径配置
    创建目录 xenomai-install目录。
    将xenomai-2.6.2与linux-3.4.6解压到该路径下。

(2)预处理内核
    $ cd xenomai-2.6.2
    $ scripts/prepare-patch.sh --linux=../linux-3.4.6/ --adeos=ksrc/arch/x86/patches/ipipe-core-3.4.6-x86-2.patch
    OK

(3)配置编译内核
    进入linux-3.4.6目录
    $ make menuconfig     ----- 裁减内核,不做设置直接退出
    $ make bzImage modules   ----- 编译内核与模块

    奇怪的是,只有5个模块被编译了。我记得以前编译模块这个过程要花2.5小时,现在只花了1分钟。不太正常~~

(4)编译xenomai
    在xenomai-install目录下再建一个xenomai-build目录
    $ cd xenomai-build
    $ ../xenomai-2.6.2/configure --enable-x86-sep
    $ sudo make install
    这一切都很顺利

(5)安装内核
    进入linux-3.4.6目录下
    $ sudo make modules_install  ---- OK
    $ sudo make install   ---- error!

[hevake_lcj@CentOS-6 linux-3.4.6]$ sudo make install
sh /home/hevake_lcj/WorkSpace/LinuxStudy/xenomai-install/linux-3.4.6/arch/x86/boot/install.sh 3.4.6-ipipe arch/x86/boot/bzImage \
		System.map "/boot"
ERROR: modinfo: could not find module lp
ERROR: modinfo: could not find module rfcomm
ERROR: modinfo: could not find module bridge
ERROR: modinfo: could not find module stp
ERROR: modinfo: could not find module llc
ERROR: modinfo: could not find module bnep
ERROR: modinfo: could not find module autofs4
ERROR: modinfo: could not find module sunrpc
ERROR: modinfo: could not find module ipt_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv4
ERROR: modinfo: could not find module nf_defrag_ipv4
ERROR: modinfo: could not find module iptable_filter
ERROR: modinfo: could not find module ip_tables
ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module nf_defrag_ipv6
ERROR: modinfo: could not find module xt_state
ERROR: modinfo: could not find module nf_conntrack
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse
ERROR: modinfo: could not find module vmhgfs
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module uinput
ERROR: modinfo: could not find module ppdev
ERROR: modinfo: could not find module btusb
ERROR: modinfo: could not find module bluetooth
ERROR: modinfo: could not find module rfkill
ERROR: modinfo: could not find module snd_ens1371
ERROR: modinfo: could not find module snd_rawmidi
ERROR: modinfo: could not find module snd_ac97_codec
ERROR: modinfo: could not find module ac97_bus
ERROR: modinfo: could not find module snd_seq
ERROR: modinfo: could not find module snd_seq_device
ERROR: modinfo: could not find module snd_pcm
ERROR: modinfo: could not find module snd_timer
ERROR: modinfo: could not find module snd
ERROR: modinfo: could not find module soundcore
ERROR: modinfo: could not find module snd_page_alloc
ERROR: modinfo: could not find module vmw_balloon
ERROR: modinfo: could not find module coretemp
ERROR: modinfo: could not find module microcode
ERROR: modinfo: could not find module pcspkr
ERROR: modinfo: could not find module sg
ERROR: modinfo: could not find module parport_pc
ERROR: modinfo: could not find module parport
ERROR: modinfo: could not find module i2c_piix4
ERROR: modinfo: could not find module i2c_core
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module ext4
ERROR: modinfo: could not find module mbcache
ERROR: modinfo: could not find module jbd2
ERROR: modinfo: could not find module sd_mod
ERROR: modinfo: could not find module crc_t10dif
ERROR: modinfo: could not find module vmxnet
ERROR: modinfo: could not find module sr_mod
ERROR: modinfo: could not find module cdrom
ERROR: modinfo: could not find module floppy
ERROR: modinfo: could not find module mptspi
ERROR: modinfo: could not find module mptscsih
ERROR: modinfo: could not find module mptbase
ERROR: modinfo: could not find module scsi_transport_spi
ERROR: modinfo: could not find module pata_acpi
ERROR: modinfo: could not find module ata_generic
ERROR: modinfo: could not find module ata_piix
ERROR: modinfo: could not find module dm_mirror
ERROR: modinfo: could not find module dm_region_hash
ERROR: modinfo: could not find module dm_log
ERROR: modinfo: could not find module dm_mod
grubby: no boot line found in lilo configuration
grubby fatal error: unable to find a suitable template
grubby: no boot line found in lilo configuration
[hevake_lcj@CentOS-6 linux-3.4.6]$
    好像是说这些模块都没有。
    今天就记到这里,如果有知道问题原因的朋友,请指点一下。谢谢~

你可能感兴趣的:(Install,kernel,xenomai)