![我的 Debian 死机了](https://linux22.com/image/50810/%E6%88%91%E7%9A%84%20Debian%20%E6%AD%BB%E6%9C%BA%E4%BA%86.png)
我安装了新的 Debian 7,但它有时会冻结,并且当发生这种情况时(确实经常),只有鼠标可以移动,但一切都被阻止。我能做的就是重新开始。
- 我想调试这个问题,应该去哪里查看?
- 我用的是gnome3。
- 我已经通过++
Ctrl
激活了X Kill ,但它不起作用。Alt
BackSpace
Ctrl
++Alt
也不F2
做任何事情。- 但我可以用++
Alt
重新启动SysRq
B
输出来自~/.xsession_errors
/etc/gdm3/Xsession: Beginning session setup...
localuser:simona being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
GNOME_KEYRING_CONTROL=/home/simona/.cache/keyring-tnSq4q
GNOME_KEYRING_CONTROL=/home/simona/.cache/keyring-tnSq4q
GPG_AGENT_INFO=/home/simona/.cache/keyring-tnSq4q/gpg:0:1
GNOME_KEYRING_CONTROL=/home/simona/.cache/keyring-tnSq4q
GPG_AGENT_INFO=/home/simona/.cache/keyring-tnSq4q/gpg:0:1
SSH_AUTH_SOCK=/home/simona/.cache/keyring-tnSq4q/ssh
GNOME_KEYRING_CONTROL=/home/simona/.cache/keyring-tnSq4q
GPG_AGENT_INFO=/home/simona/.cache/keyring-tnSq4q/gpg:0:1
SSH_AUTH_SOCK=/home/simona/.cache/keyring-tnSq4q/ssh
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config file:'/home/simona/.config/tracker/tracker-store.cfg'
** Message: applet now removed from the notification area
Initializing tracker-miner-fs...
Tracker-Message: Setting up monitor for changes to config file:'/home/simona/.config/tracker/tracker-miner-fs.cfg'
Starting log:
File:'/home/simona/.local/share/tracker/tracker-miner-fs.log'
Tracker-Message: Setting up monitor for changes to config file:'/home/simona/.config/tracker/tracker-store.cfg'
Starting log:
File:'/home/simona/.local/share/tracker/tracker-store.log'
** Message: Stopping applet secret agent because GNOME Shell appeared
** Message: applet now embedded in the notification area
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
Fontconfig warning: Directory/file mtime in the future. New fonts may not be detected
Fontconfig warning: Directory/file mtime in the future. New fonts may not be detected
Fontconfig warning: Directory/file mtime in the future. New fonts may not be detected
WARNING : Testing for expected AutostartCondition failed: Got (None)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gtweak/utils.py", line 152, in uses_autostart_condition
return asc.split(" ", 1)[0] == autostart_type
AttributeError: 'NoneType' object has no attribute 'split'
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-tweak-tool:3655): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
(gnome-settings-daemon:3345): PackageKit-WARNING **: couldn't parse execption 'GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_5ftransaction_5ferror.Code4: GetDistroUpgrades not supported by backend', please report
(gnome-settings-daemon:3345): updates-plugin-WARNING **: failed to get upgrades: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_5ftransaction_5ferror.Code4: GetDistroUpgrades not supported by backend
Fontconfig warning: Directory/file mtime in the future. New fonts may not be detected
输出来自/var/log/Xorg.0.log
http://www.fileswap.com/dl/IdLDxQnQ5N/
lspci 的输出 | grep VGA |切 -d' ' -f1 | xargs -n1 lspci -v -s
00:10.0 VGA compatible controller: NVIDIA Corporation C73 [GeForce 7100 / nForce 630i] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device b04e
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10
Memory at f1000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at 80000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
解决方案:
我想我已经通过安装专有的 nvidia 驱动程序解决了我的问题,并得到了 alex 的大力帮助!
我的 Debian 还没有冻结。
答案1
另一种解决方案是使用没有渲染加速的 nouveau 驱动程序。
- 打开
/etc/default/grub
编辑该行
GRUB_CMDLINE_LINUX
GRUB_CMDLINE_LINUX="nouveau.noaccel=1"
执行
update-grub
- 重启