LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 北南南北

Kernel 2.6x 编译过程

[复制链接]
发表于 2003-10-25 20:17:09 | 显示全部楼层

#make menuconfig 出错了

我在进行上面命令时就出错了:
make [1] : *** [scripts/kconfig/.tmp_qtcheck] error 1
怎么办呀?
发表于 2003-10-25 20:18:07 | 显示全部楼层

在rfd4下编译出现如下错误:

#make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in /boot/config-2.4.20-8
#
Detected an attempt to write across stack boundary.
Terminating /usr/src/linux-2.6.0-test8/scripts/kconfig/mconf.
make[1]: *** [menuconfig]  Error 1
make: *** [menuconfig]  Error 2
发表于 2003-10-25 20:38:12 | 显示全部楼层

kernel panic:No init found Try passing init=option to kernel
然后就一起停在那里了
发表于 2003-10-25 20:43:24 | 显示全部楼层
好像是有什么东东没加载
发表于 2003-10-25 22:10:37 | 显示全部楼层
我的心在滴血,看到这片文章我把编译好的内核mrproper了,
发表于 2003-10-25 22:28:24 | 显示全部楼层
楼上的根文件系统可能没有加载。
发表于 2003-10-26 08:02:06 | 显示全部楼层

回复: #make menuconfig 出错了

最初由 ddco 发表
我在进行上面命令时就出错了:
make [1] : *** [scripts/kconfig/.tmp_qtcheck] error 1
怎么办呀?

在rfd4下编译出现如下错误:
#make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in /boot/config-2.4.20-8
#
Detected an attempt to write across stack boundary.
Terminating /usr/src/linux-2.6.0-test8/scripts/kconfig/mconf.
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2

这两个错误,我都有,我也是红旗4
发表于 2003-10-26 13:14:43 | 显示全部楼层
最初由 iDay 发表

kernel panic:No init found Try passing init=option to kernel
然后就一起停在那里了


我也是到这里就不行了

今天我第一次编译内核
电脑太破
编译时间太长
不想来第二次亚
发表于 2003-10-26 15:08:28 | 显示全部楼层
各位大哥,编译后开机有出现这样的错误吗?

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=69115

请帮忙一下,谢谢!
发表于 2003-10-26 23:46:52 | 显示全部楼层

红旗4下编译成功,安装出错,启动黑屏,但原4。20内核可用?

1、小弟编译正确安装出现问题,
make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.0-test8/arch/i386/boot/install.sh 2.6.0-test8 arch/i386/boot/bzImage System.map ""
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.dep
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.generic_string
depmod: /lib/modules/2.6.0-test8/modules.ieee1394map is not an ELF file
depmod: /lib/modules/2.6.0-test8/modules.isapnpmap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.parportmap
depmod: /lib/modules/2.6.0-test8/modules.pcimap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.pnpbiosmap
depmod: /lib/modules/2.6.0-test8/modules.usbmap is not an ELF file
2、起动时黑屏,但原来的2.4.20可正常工作。
3、grub.conf的内容如下,什么原因?

grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,4)
#          kernel /vmlinuz-version ro root=/dev/hda7
#          initrd /initrd-version.img
#boot=/dev/hda
default=4
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Flag Linux (2.6.0-test8)
        root (hd0,4)
        kernel /vmlinuz-2.6.0-test8 ro root=/dev/hda7 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off
        initrd /initrd-2.6.0-test8.img
title Red Flag Linux (2.4.20-8)
        root (hd0,4)
        kernel /vmlinuz-2.4.20-8 ro root=/dev/hda7 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off
        initrd /initrd-2.4.20-8.img
title Red Flag Linux (Safe Mode)
        root (hd0,4)
        kernel /vmlinuz-2.4.20-8 root=/dev/hda7 acpi=off 4
        initrd /initrd-2.4.20-8.img
title Red Flag Linux (Console Mode)
        root (hd0,4)
        kernel /vmlinuz-2.4.20-8 root=/dev/hda7 acpi=off 3
        initrd /initrd-2.4.20-8.img

title Windows2000
        rootnoverify (hd0,0)
        chainloader +1


红旗4下编译成功,安装出错,启动黑屏,但原4。20内核可用?
请求帮一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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