红联Linux门户
Linux帮助

为什么编译内核总是有问题?

发布时间:2009-03-28 19:31:36来源:红联作者:xinyuanxue
终于编译好了内核,但是下载到arm上的时候启动信息显示:
VFS: Mounted root (yaffs filesystem).
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 156K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
有人用arm么?这是为什么啊?
文章评论

共有 1 条评论

  1. Ciudosr 于 2009-03-28 21:27:57发表:

    网摘的
    WARNING: Unable to open an initial console
    这个主要是没有建立控制台,解决方式:

    缺少 /dev/console 和 /dev/null
    在建立他?之前UDEV就先使用到他?了

    cd /dev
    mknod -m 660 console c 5 1
    mknod -m 660 null c 1 3