LinuxSir.cn,穿越时空的Linuxsir!

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

求助:笔记本退出X死机

[复制链接]
发表于 2006-11-7 11:56:38 | 显示全部楼层 |阅读模式
用了nvidia-drivers 8776,用过9626也一样的症状(开始写错显卡版本了,sorry)

startx启动X的方式
第一次进入黑屏,但可以听到gnome进入时候的系统声音,然后Alt+Ctrl+backspace退出重新进入就OK

重新进入后,可以看到NVIDIA的logo,使用一切正常,不退X没问题,但是如果再次Alt+Ctrl+backspace退出X就死机……
:mad: :mad: :mad:

尝试多种方法,比如X -configure重新生成xorg.conf文件,比如重新装nvidia驱动等等

笔记本是三年前买的TCL的,独立nvidia gforce2 go 32M mem

大家先帮我猜一下原因吧,^_^
xorg.conf是 X -configure生成然后加入字体路径和鼠标配置而已

PS:或者这样不好,因为我没提供任何配置文件和log信息,对不起,因为在公司:%
具体的log和xorg.conf里的配置文件,我晚上下班回家再贴上来。
发表于 2006-11-7 19:49:24 | 显示全部楼层
同问。
我早上升级了一下,也出现了同样的问题ogout后,就只剩下一张壁纸,没任何反应,除了电源开关,什么键都不响应了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 23:12:26 | 显示全部楼层
我的logout以后连壁纸都看不到
完全黑屏啊

马上贴相关信息上来让大家诊断一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 23:20:45 | 显示全部楼层
  1. phil@homebox ~ $ more /etc/X11/xorg.conf
  2. Section "ServerLayout"
  3.         Identifier     "X.org Configured"
  4.         Screen      0  "Screen0" 0 0
  5.         InputDevice    "Mouse0" "CorePointer"
  6.         InputDevice    "Keyboard0" "CoreKeyboard"
  7. EndSection

  8. Section "Files"
  9.         RgbPath      "/usr/share/X11/rgb"
  10.         ModulePath   "/usr/lib/xorg/modules"
  11.         FontPath     "/usr/share/fonts/misc/"
  12.         FontPath     "/usr/share/fonts/TTF/"
  13.         FontPath     "/usr/share/fonts/OTF"
  14.         FontPath     "/usr/share/fonts/Type1/"
  15.         FontPath     "/usr/share/fonts/CID/"
  16.         FontPath     "/usr/share/fonts/100dpi/"
  17.         FontPath     "/usr/share/fonts/75dpi/"
  18.         FontPath     "/usr/share/fonts/msfonts/"
  19.         FontPath     "/usr/share/fonts/wqy-bitmapfont/"
  20.         FontPath     "/usr/share/fonts/cjkuni-fonts/"
  21.         FOntPath     "/usr/share/fonts/ttf-bitstream-vera/"
  22. EndSection

  23. Section "Module"
  24.         Load  "glx"
  25.         Load  "extmod"
  26.         Load  "xtrap"
  27.         Load  "record"
  28.         Load  "dbe"
  29. #        Load  "dri"
  30.         Load  "freetype"
  31.         Load  "type1"
  32. EndSection

  33. Section "InputDevice"
  34.         Identifier  "Keyboard0"
  35.         Driver      "kbd"
  36. EndSection

  37. Section "InputDevice"
  38.         Identifier  "Mouse0"
  39.         Driver      "mouse"
  40.         Option            "Protocol" "auto"
  41.         Option            "Device" "/dev/input/mice"
  42.         Option            "ZAxisMapping" "4 5 6 7"
  43. EndSection

  44. Section "Monitor"
  45.         Identifier   "Monitor0"
  46. #        HorizSync     28-96
  47. #        VertRefresh   50-75
  48. #        Option "ReducedBlanking"
  49.         VendorName   "Monitor Vendor"
  50.         ModelName    "Monitor Model"
  51. EndSection

  52. Section "Device"
  53.         ### Available Driver options are:-
  54.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  55.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  56.         ### [arg]: arg optional
  57.         #Option     "SWcursor"                   # [<bool>]
  58.         #Option     "HWcursor"                   # [<bool>]
  59.         #Option     "NoAccel"                    # [<bool>]
  60.         #Option     "ShadowFB"                   # [<bool>]
  61.         #Option     "UseFBDev"                   # [<bool>]
  62.         #Option     "Rotate"                     # [<str>]
  63.         #Option     "VideoKey"                   # <i>
  64.         #Option     "FlatPanel"                  # [<bool>]
  65.         #Option     "FPDither"                   # [<bool>]
  66.         #Option     "CrtcNumber"                 # <i>
  67.         #Option     "FPScale"                    # [<bool>]
  68.         #Option     "FPTweak"                    # <i>
  69.         #Option            "AddARGBGLXVisuals"                "true"
  70.         #Option "RenderAccel" "true"
  71.         #Option             "NVEmulate"  "30"       
  72.         Identifier  "Card0"
  73.         Driver      "nvidia"
  74.         VendorName  "nVidia Corporation"
  75.         BoardName   "NV11 [GeForce2 Go]"
  76.         BusID       "PCI:1:0:0"
  77. EndSection

  78. Section "Screen"
  79.         Identifier "Screen0"
  80.         Device     "Card0"
  81.         Monitor    "Monitor0"
  82.         DefaultDepth 24
  83.         SubSection "Display"
  84.                 Viewport   0 0
  85.                 Modes      "1024x768" "800x600" "640x480"
  86.                 Depth     1
  87.         EndSubSection
  88.         SubSection "Display"
  89.                 Viewport   0 0
  90.                 Modes      "1024x768" "800x600" "640x480"
  91.                 Depth     4
  92.         EndSubSection
  93.         SubSection "Display"
  94.                 Viewport   0 0
  95.                 Modes      "1024x768" "800x600" "640x480"
  96.                 Depth     8
  97.         EndSubSection
  98.         SubSection "Display"
  99.                 Viewport   0 0
  100.                 Modes      "1024x768" "800x600" "640x480"
  101.                 Depth     15
  102.         EndSubSection
  103.         SubSection "Display"
  104.                 Viewport   0 0
  105.                 Modes      "1024x768" "800x600" "640x480"
  106.                 Depth     16
  107.         EndSubSection
  108.         SubSection "Display"
  109.                 Viewport   0 0
  110.                 Modes      "1024x768" "800x600" "640x480"
  111.                 Depth     24
  112.         EndSubSection
  113. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 23:25:37 | 显示全部楼层
上面是Xorg.conf
下面是xorg的log,我比对了一下第一次启动进入有问题和第二次进入正常的log,发现了一些不同,但是我不清楚问题原因,麻烦给看看,thx
old里面是第一次进入出现问题的应该
然后退出重新进入startx就可以正常了
  1. phil@homebox ~ $ diff /var/log/Xorg.0.log /var/log/Xorg.0.log.old | grep '^>'
  2. > (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov  7 23:09:57 2006
  3. > (WW) NVIDIA(0): No connected display devices detected; assuming 1 CRT
  4. > (WW) NVIDIA(0): Unable to read EDID for display device CRT-0
  5. > (--) NVIDIA(0):     CRT-0
  6. > (--) NVIDIA(0): CRT-0: 350.0 MHz maximum pixel clock
  7. > (II) NVIDIA(0): Assigned Display Device: CRT-0
  8. > (WW) NVIDIA(0): No valid modes for "1024x768"; removing.
  9. > (WW) NVIDIA(0): No valid modes for "800x600"; removing.
  10. > (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
  11. > (WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
  12. > (WW) NVIDIA(0):     from EDID.
  13. > (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
  14. > (II) NVIDIA(0): Setting mode "640x480"
  15. > FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
  16. phil@homebox ~ $ diff /var/log/Xorg.0.log /var/log/Xorg.0.log.old | grep '^<'
  17. < (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov  7 23:12:04 2006
  18. < (--) NVIDIA(0):     NVIDIA Default Flat Panel (DFP-0)
  19. < (--) NVIDIA(0): NVIDIA Default Flat Panel (DFP-0): 162.0 MHz maximum pixel
  20. < (--) NVIDIA(0):     clock
  21. < (--) NVIDIA(0): NVIDIA Default Flat Panel (DFP-0): Internal Single Link LVDS
  22. < (II) NVIDIA(0): Assigned Display Device: DFP-0
  23. < (II) NVIDIA(0):     "1024x768"
  24. < (II) NVIDIA(0):     "800x600"
  25. < (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
  26. < (--) NVIDIA(0): DPI set to (81, 81); computed from "UseEdidDpi" X config option
  27. < (II) NVIDIA(0): Setting mode "1024x768"
  28. < (II) 3rd Button detected: disabling emulate3Button
复制代码


我现在再去死机一次生成一次log去,一会贴上来
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 23:34:08 | 显示全部楼层
好像死机了就没什么可以帖的了
不知道要贴哪里的log

从上面xorg的log看出来,第一次登录似乎把我的显示器当作了CRT?
但是重新退出登录就可以了
回复 支持 反对

使用道具 举报

发表于 2006-11-7 23:55:47 | 显示全部楼层
死机的时候ssh还可以用。。哈哈,
因此可以通过另一台ssh过去查看log。。

偶最近搞T43老死机都是通过这种方法reboot。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-8 00:03:18 | 显示全部楼层
ssh不太现实,目前家里我就这一台笔记本

另外,即使能ssh,需要查看哪里的log呢?死机不知道看哪里的log
看了xorg相关的log,似乎都没更新,都是死机以前的
回复 支持 反对

使用道具 举报

发表于 2006-11-8 11:14:36 | 显示全部楼层
如果是在启动X的时候死机,那xorg的log是有更新的,
ssh过去实时查看/var/log/Xorg.0.log
可能是你死机以后重启覆盖了吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-8 13:29:05 | 显示全部楼层
……
肯定不是啊

居然那么费劲ssh去看Xorg.0.log,狂晕

还有Xorg.0.log.old啊

怎么可能同时覆盖2个

而且请注意看我的一楼的帖子再发表看法,谢谢

没说是在启动X的时候死机
回复 支持 反对

使用道具 举报

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

本版积分规则

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