LinuxSir.cn,穿越时空的Linuxsir!

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

新系统,令人郁闷的问题:死机

[复制链接]
发表于 2009-2-9 19:26:22 | 显示全部楼层 |阅读模式
刚重装的系统,在Alt +[f1,f2,f3...]切换时,会随机“死机”。之所以打引号是因为似乎只是键盘“死”了,表现为:光标停留在屏幕左上角(闪烁),屏幕无其他显示信息;键盘无反应;硬盘似乎还在工作(emerge的时候“死机”可以看得出来)...
没有头绪啊。。。
(kernel 2.6.28-r1,nvidia8600gt,xorg-serve-1.5.3-r2,nvidia-drivers-180.27,udev-135-r4...
  1. Gentoo log # grep -e WW -e EE /var/log/Xorg.0.log
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
  4. (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
  5. (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  6. (WW) The directory "/usr/share/fonts/OTF" does not exist.
  7. (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  8. (II) Loading extension MIT-SCREEN-SAVER
  9. (WW) NVIDIA(0): Option "ReducedBlanking" is not used
  10. (EE) config/hal: NewInputDeviceRequest failed
  11. (EE) config/hal: NewInputDeviceRequest failed
  12. (EE) config/hal: NewInputDeviceRequest failed
复制代码
)
  1. Gentoo log # dmesg | grep -i usb
  2. Kernel command line: elevator=cfq root=/dev/sda3 video=uvesafb:1024x768-32@75,mtrr:3,ywrap splash=verbose,theme:livecd-2007.0 CONSOLE=/dev/tty1 usbhid.mousepoll=4 quiet  
  3. usbcore: registered new interface driver usbfs
  4. usbcore: registered new interface driver hub
  5. usbcore: registered new device driver usb
  6. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  7. ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
  8. ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
  9. usb usb1: configuration #1 chosen from 1 choice
  10. hub 1-0:1.0: USB hub found
  11. uhci_hcd: USB Universal Host Controller Interface driver
  12. uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
  13. usb usb2: configuration #1 chosen from 1 choice
  14. hub 2-0:1.0: USB hub found
  15. uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
  16. usb usb3: configuration #1 chosen from 1 choice
  17. hub 3-0:1.0: USB hub found
  18. uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
  19. usb usb4: configuration #1 chosen from 1 choice
  20. hub 4-0:1.0: USB hub found
  21. uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
  22. usb usb5: configuration #1 chosen from 1 choice
  23. hub 5-0:1.0: USB hub found
  24. Initializing USB Mass Storage driver...
  25. usbcore: registered new interface driver usb-storage
  26. USB Mass Storage support registered.
  27. usbcore: registered new interface driver hiddev
  28. usbcore: registered new interface driver usbhid
  29. usbhid: v2.6:USB HID core driver
  30. usb 2-1: new low speed USB device using uhci_hcd and address 2
  31. usb 2-1: configuration #1 chosen from 1 choice
  32. input: Microsoft Comfort Curve Keyboard 2000 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
  33. generic-usb 0003:045E:00DD.0001: input: USB HID v1.11 Keyboard [Microsoft Comfort Curve Keyboard 2000] on usb-0000:00:1d.0-1/input0
  34. input: Microsoft Comfort Curve Keyboard 2000 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input3
  35. generic-usb 0003:045E:00DD.0002: input: USB HID v1.11 Device [Microsoft Comfort Curve Keyboard 2000] on usb-0000:00:1d.0-1/input1
  36. usb 3-2: new low speed USB device using uhci_hcd and address 2
  37. usb 3-2: configuration #1 chosen from 1 choice
  38. input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input4
  39. generic-usb 0003:046D:C040.0003: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-2/input0
复制代码
谁有类似的情况吗?
发表于 2009-2-9 19:28:06 | 显示全部楼层
升级xorg了吗?升级鼠标和键盘驱动了吗? 猜的....
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-9 19:32:27 | 显示全部楼层
Post by cbkid;1945579
升级xorg了吗?升级鼠标和键盘驱动了吗? 猜的....


我是emerge -e system的。我不想用evdev驱动(xfce4中老是和快捷键冲突,乱七八糟的...),也不知有没有问题。
回复 支持 反对

使用道具 举报

发表于 2009-2-9 20:01:23 | 显示全部楼层
我也有类似问题,但我的情况是:如果退出 X,再从 1-6 任意一个终端切换到第7终端(空的黑色屏幕)时就会停止相应。这应该是内核问题,因为用 genkernel 默认配置就没事。你也应该排查下内核。
回复 支持 反对

使用道具 举报

发表于 2009-2-9 20:23:11 | 显示全部楼层
试试genkernel。
贴贴 xorg.conf
回复 支持 反对

使用道具 举报

发表于 2009-2-9 20:44:56 | 显示全部楼层
遇到过,切换终端(过快)容易导致,借别人电脑切回X
也许是framebuffer的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-9 22:02:46 | 显示全部楼层
恩,我也怀疑是framebuffer方面的问题。但具体不知怎么回事。
这是xorg.conf:
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6. #        Option         "blank time"        "10"
  7. #       Option         "standby time"        "20"
  8. #       Option         "suspend time"        "30"
  9. #       Option         "off time"        "60"
  10. EndSection
  11. Section "ServerFlags"
  12.         Option "AutoAddDevices" "false"
  13.         Option "AllowEmptyInput" "false"
  14. EndSection
  15. Section "Files"
  16.         FontPath     "/usr/share/fonts/misc/"
  17.         FontPath     "/usr/share/fonts/Type1/"
  18.         FontPath     "/usr/share/fonts/100dpi/"
  19.         FontPath     "/usr/share/fonts/75dpi/"
  20.         FontPath     "/usr/share/fonts/Others/"
  21. #        FontPath     "/usr/share/fonts/xdtv/"
  22. EndSection
  23. Section "Module"
  24.         Load  "glx"
  25.         Load  "extmod"
  26.         Load  "wfb"
  27. #        Load  "xtrap"
  28. #        Load  "record"
  29.         Load  "dbe"
  30.         Load  "freetype"
  31. #        Load  "type1"
  32. EndSection
  33. Section "InputDevice"
  34.         Identifier  "Keyboard0"
  35.         Driver      "kbd"
  36.         Option      "XkbRules"   "xorg"
  37.         Option      "XkbLayout"  "us"
  38.         Option      "XkbModel"   "pc105"
  39. EndSection
  40. Section "InputDevice"
  41.         Identifier  "Mouse0"
  42.         Driver      "mouse"
  43. #        Driver      "evdev"
  44.         Option            "CorePointer"
  45.         Option            "Protocol" "auto"
  46. #        Option            "Device" "/dev/input/mouse0"
  47.         Option            "Device" "/dev/input/mice"
  48.         Option            "ZAxisMapping" "4 5"
  49. EndSection
  50. Section "Monitor"
  51.         Identifier   "Monitor0"
  52.         VendorName   "Monitor Vendor"
  53.         ModelName    "Monitor Model"
  54.         HorizSync     30.0 - 96.0
  55.         VertRefresh   50.0 - 160.0
  56.         Option        "dpms"
  57.         Option        "ReducedBlanking"
  58. EndSection
  59. Section "Device"
  60.         Identifier  "Card0"
  61.         Driver      "nvidia"
  62. #        VideoRam    "262144"
  63.         VendorName  "nVidia Corporation"
  64.         BoardName   "G70 [GeForce 7300 GT]"
  65.         BusID       "PCI:4:0:0"
  66. #        Option      "NvAGP" "1"
  67.         Option      "PixmapCacheSize" "200000"
  68.         Option      "OnDemandVBlankInterrupts" "True"
  69.         Option      "DynamicTwinView"  "true"
  70. #        Option      "hw cursor" "off"
  71. EndSection
  72. Section "Screen"
  73.         Identifier     "Screen0"
  74.         Device         "Card0"
  75.         Monitor        "Monitor0"
  76.         DefaultDepth   24
  77.         Option         "AddARGBGLXVisuals" "true"
  78.         Option         "Nologo" "true"
  79.         Option         "RenderAccel" "true"
  80.         Option         "AllowGLXWithComposite" "true"
  81. #       Option         "XAANoOffscreenPixmaps" "true"
  82. #       Option         "DynamicTwinView" "true"
  83.         Option         "CursorShadow" "true"
  84. #       Option         "ReducedBlanking"
  85.         SubSection "Display"
  86.                 Viewport   0 0
  87.                 Depth     16
  88.                 Modes     "1024x768_85" "800x600_85"
  89.         EndSubSection
  90.         SubSection "Display"
  91.                 Viewport   0 0
  92.                 Depth     24
  93.                 Modes     "1024x768_85" "800x600_85"
  94.         EndSubSection
  95. EndSection
  96. Section "Extensions"
  97.     Option         "Composite" "Enable"
  98. EndSection
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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