+ -
当前位置:首页 → 问答吧 → 新系统,令人郁闷的问题:死机

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

时间:2009-02-10

来源:互联网

刚重装的系统,在Alt +[f1,f2,f3...]切换时,会随机“死机”。之所以打引号是因为似乎只是键盘“死”了,表现为:光标停留在屏幕左上角(闪烁),屏幕无其他显示信息;键盘无反应;硬盘似乎还在工作(emerge的时候“死机”可以看得出来)...
没有头绪啊。。。
(kernel 2.6.28-r1,nvidia8600gt,xorg-serve-1.5.3-r2,nvidia-drivers-180.27,udev-135-r4...
代码:
Gentoo log # grep -e WW -e EE /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) Loading extension MIT-SCREEN-SAVER
(WW) NVIDIA(0): Option "ReducedBlanking" is not used
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
(EE) config/hal: NewInputDeviceRequest failed
)
代码:
Gentoo log # dmesg | grep -i usb
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 
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
input: Microsoft Comfort Curve Keyboard 2000 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
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
input: Microsoft Comfort Curve Keyboard 2000 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input3
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
usb 3-2: new low speed USB device using uhci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input4
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
谁有类似的情况吗?

作者: LongerZ   发布时间: 2009-02-10

升级xorg了吗?升级鼠标和键盘驱动了吗? 猜的....

作者: cbkid   发布时间: 2009-02-10

引用:
作者: cbkid
升级xorg了吗?升级鼠标和键盘驱动了吗? 猜的....
我是emerge -e system的。我不想用evdev驱动(xfce4中老是和快捷键冲突,乱七八糟的...),也不知有没有问题。

作者: LongerZ   发布时间: 2009-02-10

我也有类似问题,但我的情况是:如果退出 X,再从 1-6 任意一个终端切换到第7终端(空的黑色屏幕)时就会停止相应。这应该是内核问题,因为用 genkernel 默认配置就没事。你也应该排查下内核。

作者: coderoar   发布时间: 2009-02-10

试试genkernel。
贴贴 xorg.conf

作者: yourfriend   发布时间: 2009-02-10

遇到过,切换终端(过快)容易导致,借别人电脑切回X
也许是framebuffer的问题

作者: druggo   发布时间: 2009-02-10

恩,我也怀疑是framebuffer方面的问题。但具体不知怎么回事。
这是xorg.conf:
代码:
Section "ServerLayout"
        Identifier "X.org Configured"
        Screen 0 "Screen0" 0 0
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
#       Option "blank time"   "10"
# Option "standby time"       "20"
# Option "suspend time"       "30"
# Option "off time"   "60"
EndSection

Section "ServerFlags"
 Option "AutoAddDevices" "false"
 Option "AllowEmptyInput" "false"
EndSection

Section "Files"
 FontPath "/usr/share/fonts/misc/"
        FontPath "/usr/share/fonts/Type1/"
        FontPath "/usr/share/fonts/100dpi/"
        FontPath "/usr/share/fonts/75dpi/"
        FontPath "/usr/share/fonts/Others/"
#       FontPath "/usr/share/fonts/xdtv/"
EndSection

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

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "kbd"
        Option "XkbRules" "xorg"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection

Section "InputDevice"
        Identifier "Mouse0"
        Driver "mouse"
#       Driver "evdev"
        Option "CorePointer"
        Option "Protocol" "auto"
# Option "Device" "/dev/input/mouse0"
        Option "Device" "/dev/input/mice"
        Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        VendorName "Monitor Vendor"
        ModelName "Monitor Model"
 HorizSync 30.0 - 96.0
 VertRefresh 50.0 - 160.0
 Option "dpms"
        Option "ReducedBlanking"
EndSection

Section "Device"
        Identifier "Card0"
        Driver "nvidia"
#       VideoRam "262144"
        VendorName "nVidia Corporation"
        BoardName "G70 [GeForce 7300 GT]"
        BusID "PCI:4:0:0"
#       Option "NvAGP" "1"
        Option "PixmapCacheSize" "200000" 
 Option "OnDemandVBlankInterrupts" "True"
 Option "DynamicTwinView" "true"
#       Option "hw cursor" "off"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
 DefaultDepth 24
 Option "AddARGBGLXVisuals" "true"
 Option "Nologo" "true"
 Option "RenderAccel" "true"
 Option "AllowGLXWithComposite" "true"
# Option "XAANoOffscreenPixmaps" "true"
# Option "DynamicTwinView" "true"
 Option "CursorShadow" "true"
# Option "ReducedBlanking"
        SubSection "Display"
 Viewport 0 0
 Depth 16
 Modes "1024x768_85" "800x600_85"
        EndSubSection
        SubSection "Display"
 Viewport 0 0
 Depth 24
 Modes "1024x768_85" "800x600_85"
        EndSubSection
EndSection
Section "Extensions"
 Option "Composite" "Enable"
EndSection

作者: LongerZ   发布时间: 2009-02-10

热门下载

更多