LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]emerge --deep --update world后无法登入X的错误Log

[复制链接]
发表于 2009-4-8 13:45:43 | 显示全部楼层 |阅读模式
麻烦大家帮忙看看  非常感谢    今天执行升级命令完成后,就无法进入X-window了   提示一些module无法找到    我用modprobe  radeon加载成功了  但其他module却提示没有   不知道怎么回事    再次感谢
附Xorg.0.log

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.25-gentoo-r7LinuxMD i686
Current Operating System: Linux angiekg 2.6.25-gentoo-r7LinuxMD #1 SMP PREEMPT Sun Oct 5 00:23:03 CST 2008 i686
Build Date: 08 April 2009  11:58:35AM

        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.0.log", Time: Wed Apr  8 13:08:51 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
        Entry deleted from font path.
(==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/,
        built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x9e0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 4.1
        X.Org XInput driver : 2.1
        X.Org Server Extension : 1.1
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0@1:0:0) ATI Technologies Inc M24 1P [Radeon Mobility X600] rev 0, Mem @ 0x90000000/0, 0xc0000000/0, I/O @ 0x0000c000/0, BIOS @ 0x????????/131072
(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) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "freetype"

(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"

(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Server Extension, version 1.1
(==) AIGLX enabled
(==) Exporting typical set of GLX visuals
(II) Loading extension GLX
(II) LoadModule: "dri"

(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "dbe"

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"

(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension RECORD
(II) LoadModule: "xtrap"

(II) Loading /usr/lib/xorg/modules/extensions//libxtrap.so
(II) Module xtrap: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DEC-XTRAP
(II) LoadModule: "type1"

(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "radeon"

(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 6.12.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.2
(EE) module ABI major version (1) doesn't match the server's version (4)
(II) UnloadModule: "radeon"
(II) Unloading /usr/lib/xorg/modules/drivers//radeon_drv.so
(EE) Failed to load module "radeon" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found
发表于 2009-4-8 14:41:30 | 显示全部楼层
重新安装显卡驱动
回复 支持 反对

使用道具 举报

发表于 2009-4-8 14:47:18 | 显示全部楼层

升级到xorg-server 1.5.3-r5后,NVIDIA显卡不能启动X,启动xdm后黑屏,键盘无反应,接电

前天,升级后就出现这样的问题,google了半天时间也没找到答案.
看log,说是找不到freetype模块,google后说是现在用libXfont,与这无关.
把驱动改为nv或vesa能进入X,一改成nvidia就出这问题.
在google时,知道现在X自动检测硬件的能力较强,已不用手工配置了,
就把xorg.conf删除了,没想到还真成了.
可怜了我原来费了好大劲才配好的xorg.conf了!!!
问题是显示分辨率只有800X600了
又用sudo X -configure生成了份xorg.conf.new,修改好分辨率,拷到/etc/X11/xorg.conf.
成功!!
ABI class: X.Org Video Driver, version 1.2
(EE) module ABI major version (1) doesn't match the server's version (4)
(II) UnloadModule: "radeon"
(II) Unloading /usr/lib/xorg/modules/drivers//radeon_drv.so
(EE) Failed to load module "radeon" (module requirement mismatch, 0)
(EE) No drivers available.

这个提示是需要重新安装radeon驱动.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-8 19:55:43 | 显示全部楼层
非常感谢楼上两位的回复  我按照两位说的  更新了我的显卡驱动后  的确能进入X-window  但进入后  键盘和鼠标都无法控制  只有强制按下电源关闭后重启
随后我又重新安装了键盘和鼠标驱动   可仍然是进入X后什么都做不了    键盘和鼠标都失效了   还有  在由进入终端输入 startx命令后    在真正进入X前会有一瞬间的花屏现象   以前也是没有的
不知道是怎么会事    所以麻烦大家   请给个意见   谢谢~~~~
回复 支持 反对

使用道具 举报

发表于 2009-4-8 21:43:38 | 显示全部楼层
Post by windlike;1971520
非常感谢楼上两位的回复  我按照两位说的  更新了我的显卡驱动后  的确能进入X-window  但进入后  键盘和鼠标都无法控制  只有强制按下电源关闭后重启
随后我又重新安装了键盘和鼠标驱动   可仍然是进入X后什么都做不了    键盘和鼠标都失效了   还有  在由进入终端输入 startx命令后    在真正进入X前会有一瞬间的花屏现象   以前也是没有的
不知道是怎么会事    所以麻烦大家   请给个意见   谢谢~~~~

我是根据更新完之后,通过"eselect news"提供的信息一步一步操作的,
供参考:
  1. # echo "x11-base/xorg-server evdev" >> /etc/portage/package.use
复制代码
  1. # emerge xorg-server
复制代码

重新编译驱动,用下面这个命令查看有那些驱动,可以直接传递给emerge,呵呵,忘了:
  1. qlist -I -C x11-drivers
复制代码

在xorg.conf中加入:
  1. Section "ServerFlags"
  2. Option "AutoAddDevices" "false"
  3. EndSection
复制代码
将xorg.conf中关于input的项注释掉,实际上其他的项没有也可以启动X window。更多信息可以参考:
[html]http://wiki.archlinux.org/index.php/Xorg_input_hotplugging[/html]
Gentoo官方还有个链接,但记不得了,刚才没找到。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-9 15:31:28 | 显示全部楼层
非常感谢LS各位
已经搞定   
安装完后有个eselect news的提示  按照提示指向的网页即搞定了
谢谢~~~~
回复 支持 反对

使用道具 举报

发表于 2009-4-9 16:29:21 | 显示全部楼层
eselect news是做什么用的?
回复 支持 反对

使用道具 举报

发表于 2009-4-10 18:50:40 | 显示全部楼层
弄好了,步骤如下:
1.eselect news list 可以看到
  1. pjq@gentoo-pjq ~ $ eselect news list
  2. Unread news items:
  3.   (none found)              
  4. Read news items:
  5.   2009-04-06-x_server-1_5   Migration to X.org Server 1.5
复制代码

2.eselect news read 2009-04-06-x_server-1_5
  1. pjq@gentoo-pjq ~ $ eselect news read 2009-04-06-x_server-1_5
  2. 2009-04-06-x_server-1_5
  3.   Title                      Migration to X.org Server 1.5
  4.   Author                     Remi Cardona <remi@gentoo.org>
  5.   Author                     Christian Faulhammer <fauli@gentoo.org>
  6.   Posted                     2009-04-06
  7.   Revision                   1
  8. A lot of changes regarding device recognition and use by the X server
  9. have been introduced in the 1.5 update.  As that version is going
  10. stable on all architectures, users should read the upgrade guide [0]
  11. before actually updating the package.
  12. [0] http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml
复制代码
然后用w3m上那个网址
  1. w3m http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml
复制代码

3.从这个指南应该可以看到一些内容。
看过之后我这样操作:
root 状态:
  1. Xorg -configure
复制代码
会在root根目录生成xorg.conf.new
然后将它COPY到/etc/X11/xorg.conf
  1. cp xorg.conf.new /etc/X11/xorg.conf
复制代码
再编辑一下,我添加了:
  1. Section "ServerFlags"
  2. Option "AutoAddDevices" "false"
  3. EndSection
复制代码

然后启动X,OK。鼠标和键盘终于可以用了。
回复 支持 反对

使用道具 举报

发表于 2009-8-23 22:33:10 | 显示全部楼层
我是

emerge -uDN world

之后进入图形界面就死机(鼠标键盘都没响应就是死机啦!)。

这个问题我想search一下,都想不出来用什么关键词来搜。

误打误撞来了这里,不错。

哪都不用动,在/etc/X11/xorg.conf中加上
  1. Section "ServerFlags"
  2. Option "AutoAddDevices" "false"
  3. EndSection
复制代码

就行了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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