laokongzhuang 发表于 2012-1-9 22:41:50

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

# make bzImage
# make modules (编译可加载模块)
# make modules_install (安装可加载模块)
这些都没有问题,到了
#make install
时就出现问题No module mptbase found for kernel 2.6.15
mkinitrd failed
make: *** Error 1
make: *** 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
这些也都装了
搞了一天了,都没搞定啊,求探讨啊

laokongzhuang 发表于 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
页: [1]
查看完整版本: linux2.4升级到2.6遇到问题No module mptbase found for kernel 2.6.15 mkinitrd