搜索
bottom↓
回复: 1

linux2.4升级到2.6遇到问题No module mptbase found for kernel 2.6.15 mkinitrd

[复制链接]

出0入0汤圆

发表于 2012-1-9 22:41:50 | 显示全部楼层 |阅读模式
# make bzImage
# make modules (编译可加载模块)
# make modules_install (安装可加载模块)
这些都没有问题,到了
#make install
时就出现问题No module mptbase found for kernel 2.6.15
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

注释:是在redhatlinux 9.0虚拟机vmware下进行的 。
在menuconfig时已经把SCSI的选项选为yes,MTP那个也是配置成了模块加载方式
device-mapper-1.00.19-2.i386
mkinitrd-4.1.18-2.i386
lvm2-2.00.25-1.01.i386
这些也都装了
搞了一天了,都没搞定啊,求探讨啊

阿莫论坛20周年了!感谢大家的支持与爱护!!

一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。

出0入0汤圆

 楼主| 发表于 2012-1-10 10:34:04 | 显示全部楼层
回复【楼主位】laokongzhuang  
-----------------------------------------------------------------------

一下是我在一个网站上找到的,供大家参考一下:
问题:
“I posted this in the Newbie forum, but I am afraid that I may not get a response there. So i'll try here.

Anyone had any luck updating redhat 9. I have been trying every weekend for the past 3 weeks to get it going and no dice. I keep getting errors at make install:

No mptbase found for kernel 2.6.X <- 9 and 8.1
No buslogic found blah blah blah

I have tried following a few different online tutorials, but of course with no luck. I have gotten rid of the buslogic error but no matter what I do I get the darn mptbase error. Any ideas about what configuration setting are linked with fusion mpt?

Thanks in advance!”


解决方案:
prob solved
Case anyone else is in the same boat, I fugured out how to fix the problem.

make bzImage
make modules
make modules_install
cd /etc
edit modules.conf removing alias scsi mptbase and alias scsi mptxxxx <- cant remeber the name
edit modprobe.conf angain removing any reference of mpt anything
cd linux-2.6.x
make install

cd boot/grub

edit grub.conf removing "ro root=LABEL" <- this is not exact either it may be "ro root=/LABEL" or something like it.

Late,
Scotoma
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-20 17:59

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

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