LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 615|回复: 6

Problem :compile 2.6.15 kernel with RTAI patch,Please help me

[复制链接]
发表于 2006-9-8 12:14:34 | 显示全部楼层 |阅读模式
MY main step:
  download kernel package 2.6.15 from http://www.kernel.org
   
  tar xvzf linux-2.6.15*
    cd linux-2.6.15
    patch -p1 -b < /usr/src/rtai-3.3/base/arch/i386/patches/hal-linux-2.6.15-i386-1.2-00.patch
   cp /boot/config* /usr/src/linux-2.6.15/.config
   make xconfig
.........
  my config by RTAI manual,then I am sure it is right

   make-kpkg clean
   fakeroot make-kpkg --revision=custom.1.0 kernel-image
   cd /usr/src
   dpkg -i kernel-image_custom........deb

....
    cd /boot
    mkinitrd -o /boot/initrd.img-2.6.15 2.6.15

then have this error :
/usr/sbin/mkinitrd: /lib/modules/2.6.15:Not a directory
/use/sbin/mkinitrd: MODULES needs to be set to none

and when it have no patched,it is  sucessful
发表于 2006-9-8 12:33:05 | 显示全部楼层
moduels_image ???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-8 14:38:06 | 显示全部楼层
有什么解决的办法吗
回复 支持 反对

使用道具 举报

发表于 2006-9-8 14:43:27 | 显示全部楼层
make-kpkg --revision=custom.1.0 kernel-image modules-image
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-8 15:27:59 | 显示全部楼层
I am trying ,thanks
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-8 16:10:29 | 显示全部楼层
The problem is still..
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-8 16:54:14 | 显示全部楼层
thanks ,I have solved it .
After patched RTAI patch ,.under /lib/module/2.6.15 changed 2.6.15-ipipe

So
mkinitrd -o /boot/initrd.img-2.6.15 2.6.15-ipipe
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表