编译内核问题

0 views
Skip to first unread message

我想要条尾巴~

unread,
Nov 14, 2008, 8:57:21 AM11/14/08
to Linux-release
安装成功后, lfs在启动的时候不能启动,错误信息如下:
VFS:Cannot open root device “sda1″ or unknow-block(0,0)
Please append a correct “root=” boot option
kernel panic-not syncing: VFS:Unable to mount root fs on unknow-block
(0,0)

再次进入liveCD,想重新编译内核,将buslogic编译进去
在make mrproper
make menuconfig后
再make时出现如下错误:
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `set -e; echo ' CHK include/linux/version.h';
mkdir -p include/linux/; if [ `echo -n "2.6.16.27 .file null .ident
GCC:(GNU)4.0.3 .
section .note.GNU-stack,,@progbitsy" | wc -c ` -gt 64 ]; then echo
'"2.6.16.27 .
file null .ident GCC:(GNU)4.0.3 .section .note.GNU-stack,,@progbitsy"
exceeds
64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE
\"2.6.16.27 .file null .
ident GCC:(GNU)4.0.3 .section .note.GNU-stack,,@progbitsy\"; echo
\#define
LINUX_VERSION_CODE `expr 2 \\* 65536 + 6 \\* 256 + 16`; echo '#define
KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; ) <
/sources/linux-2.6.16.27/Makefile > include/linux/version.h.tmp;
if [ -r include/linux/version.h ] && cmp -s include/linux/version.h
include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp;
else echo ' UPD include/linux/version.h'; mv -f include/linux/
version.h.tmp include/linux/version.h; fi'
make: *** [include/linux/version.h] Error 2

实在搞不懂为什么会出现这样的问题。。。。。。



Reply all
Reply to author
Forward
0 new messages