LinuxSir.cn,穿越时空的Linuxsir!

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

怎么都没人回帖的啊 大大们捏 xorg出错

[复制链接]
发表于 2009-6-3 17:44:16 | 显示全部楼层 |阅读模式
用惯了debian不喜欢管理包   所以我参考镜子的BLFS(X+XFCE4)作BLFS   主要是看到安装的包少(host.def用的手册上的)    问题来了
Installation of Linux-PAM

tar -xf ../Linux-PAM-0.99.4.0-docs.tar.bz2 -C doc

./configure --libdir=/usr/lib \
--sbindir=/lib/security \
--enable-securedir=/lib/security \
--enable-docdir=/usr/share/doc/Linux-PAM-0.99.4.0 \
--enable-read-both-confs &&
make
make check.
这里make check出错不知道为什么   我没管继续完成到X
我 测试 X -config ~/xorg.conf.new 的时候屏幕闪一下就没了
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.28-11-generic i686 [ELF]
Current Operating System: Linux lizhi 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Build Date: 04 June 2009
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
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: Thu Jun 4 00:35:39 2009
(++) Using config file: "/root/xorg.conf.new"

Backtrace:
0: X(xf86SigHandler+0x89) [0x8088169]
1: [0xb7fee400]
2: /usr/X11R6/lib/modules/drivers/nv_drv.so(NVCalcStateExt+0x8b2) [0xb7a7a592]
3: /usr/X11R6/lib/modules/drivers/nv_drv.so(NVDACInit+0x492) [0xb7a72b62]
4: /usr/X11R6/lib/modules/drivers/nv_drv.so [0xb7a70077]
5: /usr/X11R6/lib/modules/drivers/nv_drv.so [0xb7a703f6]
6: X(AddScreen+0x1c9) [0x80d3c09]
7: X(InitOutput+0x22e) [0x807111e]
8: X(main+0x221) [0x80d42c1]
9: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7e827c8]
10: X [0x806ff21]

Fatal server error:
Caught signal 8. Server aborting
 楼主| 发表于 2009-6-4 12:06:54 | 显示全部楼层
xorg.conf如下

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "xtrap"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/mouse"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "FlatPanel"                  # [<bool>]
        #Option     "FPDither"                   # [<bool>]
        #Option     "CrtcNumber"                 # <i>
        #Option     "FPScale"                    # [<bool>]
        #Option     "FPTweak"                    # <i>
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "CI:5:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2009-6-13 08:06:06 | 显示全部楼层
驱动用 vesa 行不?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-15 00:53:44 | 显示全部楼层
谢谢斑竹大大   我看不懂上面那排英文  搜了几天都没搜到跟我有同样问题的

难道上面显示是我的显卡驱动没装好?
回复 支持 反对

使用道具 举报

发表于 2009-6-15 00:57:28 | 显示全部楼层
x出错,你好歹贴个xorg.0.log出来吧?
回复 支持 反对

使用道具 举报

发表于 2009-6-15 03:18:07 | 显示全部楼层
Post by lizhi_scu;1993967
xorg.conf如下

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "FlatPanel"                  # [<bool>]
        #Option     "FPDither"                   # [<bool>]
        #Option     "CrtcNumber"                 # <i>
        #Option     "FPScale"                    # [<bool>]
        #Option     "FPTweak"                    # <i>
        Identifier  "Card0"
[color="Red"]        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "CI:5:0:0"
EndSection

不肯定,你選的 nv,不知安裝有問題否。vesa 比較通用,但效能低,如果你有編譯它,可試用一下
回复 支持 反对

使用道具 举报

发表于 2009-6-15 10:13:12 | 显示全部楼层
八卦一下阿呵呵

看好多人都习惯随口“大大”,很不解,我都是称呼我父辈的人(叔叔)为“大大”的......
回复 支持 反对

使用道具 举报

发表于 2009-6-15 11:26:11 | 显示全部楼层
这些黑话我也不知是哪里来的,但在起点中文网上见得很多。应该是“老大”、“大牛”之类的意思
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-16 00:54:09 | 显示全部楼层
今天按照版主的方法  把nv改成vesa后有点小错就是提示没有/dev/mouse

我看了下  确实没有   于是我就把“/dev/mouse”这句给删了
当输入X-config ~/xorg.conf.new时显示器显示无输入信号  (顺便问句显示无输入信号对么?)
按Ctrl+Alt+backspace后回到我的debian的界面   于是继续按 镜子的BLFS(X+XFCE4) 继续
输入startx时
root:/# startx
xauth:  creating new authority file /root/.serverauth.5786

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.28-11-generic i686 [ELF]
Current Operating System: Linux lizhi 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Build Date: 05 June 2009
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
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: Mon Jun 15 16:28:28 2009
(==) Using config file: "/etc/X11/xorg.conf"

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
/usr/X11R6/bin/xinit:  connection to X server lost.
root:/# twm:  unable to open display ":0"

  第一次配X有点手忙脚乱   还希望大家帮帮忙   感激不尽!!
回复 支持 反对

使用道具 举报

发表于 2009-6-16 08:06:35 | 显示全部楼层
Post by lizhi_scu;1998266
今天按照版主的方法  把nv改成vesa后有点小错就是提示没有/dev/mouse

我看了下  确实没有   于是我就把“/dev/mouse”这句给删了


这个设备是鼠标,
你要删掉了,
你的X还怎么用鼠标?


Post by lizhi_scu;1998266

当输入X-config ~/xorg.conf.new时显示器显示无输入信号  (顺便问句显示无输入信号对么?)
按Ctrl+Alt+backspace后回到我的debian的界面   


X不能正常启动,
自然就没有讯号输出到显示器上!
你配置内核时,
其中的关于VGA设备的选项有没有选对?


Post by lizhi_scu;1998266

输入startx时
root:/# startx
xauth:  creating new authority file /root/.serverauth.5786

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.28-11-generic i686 [ELF]
Current Operating System: Linux lizhi 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Build Date: 05 June 2009
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
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: Mon Jun 15 16:28:28 2009
(==) Using config file: "/etc/X11/xorg.conf"

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
/usr/X11R6/bin/xinit:  connection to X server lost.
root:/# twm:  unable to open display ":0"

  第一次配X有点手忙脚乱   还希望大家帮帮忙   感激不尽!!


XIO
X的输入和输出
你的.xinitrc文件写好了没有?
其中关于的twm内容写对没有?
回复 支持 反对

使用道具 举报

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

本版积分规则

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