找回密码
 注册
查看: 1439|回复: 10

内核编译运行make bzImage时报一下错误谢谢给解答

[复制链接]
发表于 2004-12-16 13:55:31 | 显示全部楼层 |阅读模式
[root@localhost linux-2.4.28]# cat errors
radeon_mem.c:135: warning: `print_heap' defined but not used
ld: final link failed: No space left on device
make[3]: *** [scsidrv.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_scsi] Error 2
make: *** [_dir_drivers] Error 2
发表于 2004-12-17 06:10:06 | 显示全部楼层

Re: 内核编译运行make bzImage时报一下错误谢谢

[quote:78a2614d39="zhihong"][root@localhost linux-2.4.28]# cat errors
radeon_mem.c:135: warning: `print_heap' defined but not used
ld: final link failed: No space left on device
make[3]: *** [scsidrv.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_scsi] Error 2
make: *** [_dir_drivers] Error 2[/quote]


can u run "df" to check if u still have space?
回复

使用道具 举报

发表于 2004-12-17 11:57:02 | 显示全部楼层
好像提示空间不够了
回复

使用道具 举报

 楼主| 发表于 2004-12-22 09:50:04 | 显示全部楼层
谢谢两位,是系统的/usr分区空间不够,我从新分区、装系统、再编译内核通过了!

可是现在有遇到新问题了,内核编译好以后用新内核启动,可是启动起来报这样的错误:
kernel panic : VFS : Unale to mount root fs on 08:06

我是IBM的服务器,SCSI的型号我编译成模块了是AIC7XXX系列的。麻烦能解答一下吗?
回复

使用道具 举报

发表于 2004-12-23 10:54:20 | 显示全部楼层
SCSI支持要是编译成了模块就需要使用 initrd; 还是编译进内核吧,固定的硬件,没必要使用模块。
回复

使用道具 举报

 楼主| 发表于 2004-12-23 11:17:57 | 显示全部楼层
可是我刚开始是编译进内核的,但是在 new-kernel-pak --install --mainitrd --pedmod 2.4.28 然后他说找不到SCSI设备。。我编译成模块这一步就可以过去了。。

能解答一下吗?
回复

使用道具 举报

发表于 2004-12-23 13:34:43 | 显示全部楼层
“new-kernel-pak”是什么东东?
回复

使用道具 举报

 楼主| 发表于 2004-12-23 13:46:30 | 显示全部楼层
sorry,写错了应该是: new-kernel-pkg
回复

使用道具 举报

发表于 2004-12-23 14:54:04 | 显示全部楼层
没用过,我的系统上也没有这个命令。

我都是 make && make modules && make modules_install && cp arch/i386/boot/bzImage /boot/NEW_IMG_NAME && vi /boot/grub/menu.lst
回复

使用道具 举报

发表于 2004-12-24 00:58:43 | 显示全部楼层
[quote:613ce79d85="zhihong"]可是我刚开始是编译进内核的,但是在 new-kernel-pak --install --mainitrd --pedmod 2.4.28 然后他说找不到SCSI设备。。我编译成模块这一步就可以过去了。。

能解答一下吗?[/quote]
只要把需要的驱动和文件系统等在启动时要的都编译进内核以后就不用生成initrd了
失败是因为没有scsi的模块,而是在内核里
回复

使用道具 举报

 楼主| 发表于 2005-1-10 15:52:15 | 显示全部楼层
谢谢两位斑竹的解答!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-15 18:32 , Processed in 0.087512 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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