kernel 2.6.22.5成功编译笔记

终于在自己的笔记本上面通过了。找了N多资料,最后在于通过了。能正常启动,编译成功了。

之前编译后老是出现下面的错误提示:
BusyBox v1.01 (Debian 1:1.01-4Ubuntu3) Built-in shell

Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off

(initramfs)

后来找了N多资料,但是有很都出现这样的错误,但是都没有真正解决的办法,后来发现一个奇怪的问题,可能是这个问题导致的。

在/usr/src/linux-***/目录下。我们运行sudo make xconfig

这时能打开[qconf],但是不细心的人就没有去管他了。我失败的N次后,才发现,原来在运行sudo make xconfig的时候,出现了几行错误的提示

Error: BadDevice, invalid or uninitialized input device 169
……………………………………

等等的提示。但是[qconf]还是能打开,跟没有问题似的。还可以继续使用。但是这可能是问题的所在,就是导致出现上面的 BusyBox v1.01 (Debian 1:1.01-4ubuntu3) Built-in shell错误的罪魁祸首!

解决的方法:
编辑: /etc/X11/xorg.conf

sudo gedit /etc/X11/xorg.conf
注释掉以下几行,在前面加多个#
#Section "InputDevice"
# Driver "wacom"
# Identifier "stylus"
# Option "Device" "/dev/input/wacom"
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "eraser"
# Option "Device" "/dev/input/wacom"
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "cursor"
# Option "Device" "/dev/input/wacom"
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection

………………

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
# Inputdevice "stylus" "SendCoreEvents"
# Inputdevice "cursor" "SendCoreEvents"
# Inputdevice "eraser" "SendCoreEvents"
Inputdevice "Synaptics Touchpad"
EndSection

重启系统,问题解决。

然后就可以启动了。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wzwdgg.html