LinuxSir.cn,穿越时空的Linuxsir!

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

在vmware中编译2.6.1,make install时出错

[复制链接]
发表于 2004-1-14 11:43:02 | 显示全部楼层 |阅读模式
boot目录下已经有了system.map,vmlinuz等并且都连接到了2.6.1,
没有img,module-info
安装过程中提示module BusLogic 没有发现,请问是哪方面的错误。
如下:
No module BusLogic found for kernel 2.6.1
make[1]: *** [install] Error 1
make: *** [install] Error 2
发表于 2004-1-15 00:35:35 | 显示全部楼层
兄弟能上載 .config ?砜纯磫?
发表于 2004-1-15 08:09:57 | 显示全部楼层
要把scsi支持编译进内核
 楼主| 发表于 2004-1-15 12:55:05 | 显示全部楼层
我上传了.config文件
另外,我手动拷贝BusLogic.o文件到/lib/modules/2.6.1后,make install
成功,但是不能启动,出现错误如下:
Loading BusLogic module
insmod: QM_MODULES:

ERROR: /bin/insmod exited abnormally!
Mounting /proc filesystem
Creating block devices
Creating root device
mkrootdev: label / not found
Mounting root filesystem
mount: error 2 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Freeing unused kernel memory: 264k freed
Kernel panic: No init found. Try passing init= option to kernel.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2004-1-15 13:02:07 | 显示全部楼层
grub.conf是这样的:
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.1)
        root (hd0,0)
        kernel /vmlinuz-2.6.1 ro root=LABEL=/
        initrd /initrd-2.6.1.img
title Red Hat Linux (2.4.18-14)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
        initrd /initrd-2.4.18-14.img
 楼主| 发表于 2004-1-15 16:22:40 | 显示全部楼层
把SCSI编译进kernel后还是一样
是这句吧:CONFIG_SCSI_BUSLOGIC=y

make install 时还是哪个错误

启动时错误如下:
Loading BusLogic module
insmod: QM_MODULES:

ERROR: /bin/insmod exited abnormally!
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Freeing unused kernel memory: 304k freed
Kernel panic: No init found. Try passing init= option to kernel.


mount的错误号跟上个不一样了。
发表于 2004-1-15 17:07:25 | 显示全部楼层
加上ramdisk_size=8192试一下。
我的Buslogic编译到内核里还是不行

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2004-1-16 09:45:20 | 显示全部楼层
up
发表于 2004-1-16 10:36:34 | 显示全部楼层
是不是没有安装modules-init-tools?
 楼主| 发表于 2004-1-16 10:55:40 | 显示全部楼层
安装了,0.9.15-pre4和3.0-pre5我都试过了,但是make modules_install 时出了那个warning,说是需要安装modules-init-tools
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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