LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1571|回复: 18

升级内核后不能进入图形界面

[复制链接]
发表于 2009-10-2 15:00:10 | 显示全部楼层 |阅读模式
安装好nvdia驱动, yum update 后发现多了一个内核。启动的时候选择最新的内核,在Registering binary handler for windows applications时屏幕卡了闪了几下,就不动了。切到tty2去startx,发现有error,重装nv驱动也不行。google到一些文章说是和wine有关系,我确实装了wine的。不知道怎么解决。奇怪的是旧的内核还能进入图形界面。请大家帮满看看。先谢过。



下面是/etc/X11/xorg.conf的内容:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Wed May 27 03:15:36 PDT 2009


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "rotocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection



下面是/var/log/Xorg.0.log的内容:

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-164.el5 i686
Current Operating System: Linux DUYUE-LAPTOP 2.6.30.8-64.fc11.i686.PAE #1 SMP Fri Sep 25 04:56:58 EDT 2009 i686
Kernel command line: ro root=UUID=1844e5c3-fb60-4c5f-92d8-3aa9834d1b80 rhgb quiet
Build Date: 09 September 2009 11:25:24AM
Build ID: xorg-x11-server 1.6.4-0.1.fc11
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Oct 2 14:00:56 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/share/fonts/default/Type1,
catalogue:/etc/X11/fontpath.d,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0xa40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0407:1028:01f1 nVidia Corporation GeForce 8600M GT rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
(II) No APM support in BIOS or kernel
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 185.18.14 Wed May 27 03:09:07 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.1.log" for additional information.
发表于 2009-10-2 17:01:08 | 显示全部楼层
还是驱动的问题,升级内核以后驱动要重新编译过才行。不知道你是如何安装驱动的,最好把你安装驱动的步骤写一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-2 18:19:09 | 显示全部楼层
Post by pingz;2032469
还是驱动的问题,升级内核以后驱动要重新编译过才行。不知道你是如何安装驱动的,最好把你安装驱动的步骤写一下。


我是在nvidia上下载的二进制包安装的,就是那个 .run文件.
回复 支持 反对

使用道具 举报

发表于 2009-10-2 21:52:31 | 显示全部楼层
那我建议你先参考一下相关的文档,然后再尝试重装驱动, google 一下吧。

下面给几个网站:http://www.mjmwired.net
http://docs.fedoraproject.org/install
http://www.my-guides.net/
回复 支持 反对

使用道具 举报

发表于 2009-10-3 00:50:12 | 显示全部楼层
不是驱动问题
此问题我也遇到了,问题出在哪里还是没搞清楚……
目前基本上无解,等更新吧
先降级退回到原来的内核再说
不要上30版本内核……
回复 支持 反对

使用道具 举报

发表于 2009-10-3 03:14:17 | 显示全部楼层
Post by 亚森罗平;2032569
不是驱动问题
此问题我也遇到了,问题出在哪里还是没搞清楚……
目前基本上无解,等更新吧
先降级退回到原来的内核再说
不要上30版本内核……


我使用 rpmfusion 里的 akmod  一切似乎正常,你的驱动用的是什么?
回复 支持 反对

使用道具 举报

发表于 2009-10-3 08:24:26 | 显示全部楼层
Post by pingz;2032588
我使用 rpmfusion 里的 akmod  一切似乎正常,你的驱动用的是什么?
akmod和.run驱动都试了,我情况还好,可以进系统,但是一开compiz就暴卡
biaji的 http://www.biaji.net/wp/biaji/20 ... %E9%97%AE%E9%A2%98/ 提到了一种解决办法,但是我试了搞不定,我的情况和他的略有不同,希望对楼主有帮助!
回复 支持 反对

使用道具 举报

发表于 2009-10-3 09:02:02 | 显示全部楼层
Post by 亚森罗平;2032599
akmod和.run驱动都试了,我情况还好,可以进系统,但是一开compiz就暴卡
biaji的 http://www.biaji.net/wp/biaji/20 ... %E9%97%AE%E9%A2%98/ 提到了一种解决办法,但是我试了搞不定,我的情况和他的略有不同,希望对楼主有帮助!

楼上,是驱动问题,前几天我和东风唯笑遇到的就是这个问题,
开源驱动和闭源驱动发生了冲突,原始讨论在这里:
http://www.linuxsir.cn/bbs/thread356931.html
http://www.linuxsir.cn/bbs/thread356876.html
我的解决办法和biaji的相反,是删除开源驱动,安装闭源的,
东风唯笑他则是重装了整个内核。
还有,不要用190内核,有若干bug,还是用185.18.36吧。
回复 支持 反对

使用道具 举报

发表于 2009-10-3 09:19:41 | 显示全部楼层
还有,我昨天刚把官方的内核删了,
只保留了前几天自己编译的.31的内核,
.31的内核比.30的启动和关机要略快些,
如果打了bfs补丁还能再略快一点,
打bfs补丁的话,
3D性能还有1%~2%的提升(在我的机器上的情况,也有人表示在他们的机器上提升明显)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-3 11:28:21 | 显示全部楼层
这是升级内核导致的问题吧, 只有等nvidia出新的驱动了...所以没事还是不要升级内核,等驱动出来再升级.
回复 支持 反对

使用道具 举报

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

本版积分规则

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