LinuxSir.cn,穿越时空的Linuxsir!

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

编译内核出错

[复制链接]
发表于 2003-12-28 11:03:15 | 显示全部楼层 |阅读模式
编译2.4.22-21内核时在make install 时出现以下错误: 不知是怎么一回事?
...
No module sd_mod found for kernel 2.4.22-21mdkcustom
No module sd_mod found for kernel 2.4.22-21mdkcustom
There was an error when generating initrd try to do a :
/sbin/mkinitrd /boot/initrd-2.4.22-21mdkcustom.img 2.4.22-21mdkcustom
and see the errors

编译的步骤是
make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules_install
make install

在 make modules 时有很多以下的信息:
...
make[1]: Entering directory '/usr/src/linux-2.4.22-21mdk/arch/i386/lib'
make[1]: Nothing to be done for 'modules'
make[1]: Leaving directory ''/usr/src/linux-2.4.22-21mdk/arch/i386/lib'
 楼主| 发表于 2003-12-28 11:32:22 | 显示全部楼层
在用新内核启动时出现以下信息后死机:
...
swsusp 1.0.3: missing or invalid swap partition location(resume=paramete) Disabled
VFS: Cannot open root device "sda7" or 08:07
Please appenda corrent "root=" boot option
Kernel panic: VFS Unable to mount root fs on 08:07
 楼主| 发表于 2003-12-29 11:45:39 | 显示全部楼层
不能生成initrd-2.4.22-21mdkcustom.img

#mkinitrd /boot/initrd-2.4.22-21mdkcustom.img 2.4.22-21mdkcustom
出错:
No module sd_mod found for kernel 2.4.22-21mdkcustom

怎么才能生成initrd-2.4.22-21mdkcustom.img这个文件?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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