ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

Xenial Xerus (长期支持)
回复
ubuntu_usr
帖子: 3
注册时间: 2018-09-13 21:34
系统: ubuntu 16.04
送出感谢: 0
接收感谢: 0

ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

#1

帖子 ubuntu_usr » 2018-09-13 21:47

求助各位论坛大佬,系统经常卡住,鼠标和键盘都没反应,只能强制关机,很无奈,网上有说升级内核,升级了内核,还是会卡住,有说升级nvidia驱动,升级了驱动,同样没有用,很无助,求助于各位大佬,以下是一些系统信息。

代码: 全选

[email protected]:~$ uname -a
Linux luhengtong-MS-7A39 4.15.18-041518-generic #201804190330 SMP Thu Apr 19 07:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:~$ sudo lspci -knn
[sudo] password for luhengtong: 
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1450]
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7a39]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:1451]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1451]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1454]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1454]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus Controller [1462:7a39]
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH LPC Bridge [1462:7a39]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1460]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1461]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1462]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1463]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1464]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1465]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1466]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1467]
03:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43bb] (rev 02)
	Subsystem: ASMedia Technology Inc. Device [1b21:1142]
	Kernel driver in use: xhci_hcd
03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b7] (rev 02)
	Subsystem: ASMedia Technology Inc. Device [1b21:1062]
	Kernel driver in use: ahci
	Kernel modules: ahci
03:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b2] (rev 02)
	DeviceName: Broadcom 5762
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
1b:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7a39]
	Kernel driver in use: r8169
	Kernel modules: r8169
1f:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c03] (rev a1)
	Subsystem: NVIDIA Corporation Device [10de:11d7]
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_396, nvidia_396_drm
1f:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f1] (rev a1)
	Subsystem: NVIDIA Corporation Device [10de:11d7]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
20:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
20:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Device [1022:1456]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1456]
	Kernel driver in use: ccp
	Kernel modules: ccp
20:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:145c]
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7a39]
	Kernel driver in use: xhci_hcd
21:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
21:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SATA Controller [AHCI mode] [1462:7a39]
	Kernel driver in use: ahci
	Kernel modules: ahci
21:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Device [1022:1457]
	DeviceName: Realtek ALC898
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:fa39]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
[email protected]:~$ sudo lshw -numeric -class video
  *-display               
       description: VGA compatible controller
       product: NVIDIA Corporation [10DE:1C03]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: [email protected]:1f:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:65 memory:fc000000-fcffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
[email protected]:~$ sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.1/0000:1f:00.0 ==
modalias : pci:v000010DEd00001C03sv000010DEsd000011D7bc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-396 - third-party free recommended
driver   : nvidia-384 - third-party non-free
driver   : nvidia-390 - third-party free
driver   : xserver-xorg-video-nouveau - distro free builtin

[email protected]:~$ sudo efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,0a891c06-f7ef-4b93-8cce-eca0abc1f523,0x1000,0x31000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........W.D.C. .W.D.1.0.E.Z.E.X.-.2.1.W.N.4.A.0...................\.,[email protected]=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .C.W.6.C.0.Y.D.L.7.N.D.2........BO..NO..........T.O.S.H.I.B.A. .Q.2.0.0. .E.X. .M...2...................\.,[email protected]=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .7.X.S.J.0.1.9.4.6.T.T.5........BO
Boot0003* ubuntu	HD(1,GPT,0a891c06-f7ef-4b93-8cce-eca0abc1f523,0x1000,0x31000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
头像
TeliuTe
论坛版主
帖子: 7449
注册时间: 2007-11-25 13:29
系统: 14/16/18/Fedroa22/w7
来自: 新疆博乐
送出感谢: 30 次
接收感谢: 102 次
联系:

Re: ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

#2

帖子 TeliuTe » 2018-09-13 23:07

换个其他版本试试,比如.10的版本,或者换其他发行版,比如Fedora
ubuntu_usr
帖子: 3
注册时间: 2018-09-13 21:34
系统: ubuntu 16.04
送出感谢: 0
接收感谢: 0

Re: ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

#3

帖子 ubuntu_usr » 2018-09-13 23:28

有没有可以不用重装系统的方法,求助
xenomorph0525
帖子: 336
注册时间: 2009-11-21 20:29
送出感谢: 5 次
接收感谢: 9 次

Re: ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

#4

帖子 xenomorph0525 » 2018-09-14 1:58

如果確定硬碟沒問題,
那麼你先要搞懂是「系統死當」還是「畫面凍結」還是「資料正轉移至SWAP」。

「資料正轉移至SWAP」的話,幾分鐘後就會恢復正常,查看SWAP會發現耗費的大量容量,
屬正常現象,

「畫面凍結」的話數字鍵鎖可正常開啟、關閉,按 Ctrl + Alt + F1 可切換至TTY,有時「畫面凍結」幾分鐘後也會自動恢復,
但不管如何屬不正常現象,跟顯示驅動或核心有關。

「系統死當」的話可能跟核心有關,你可以試試更換其他版號的核心看看。更換核心前,先卸掉專利顯示驅動。
Ubuntu 16.04 支援以下這些核心:

4.4.0
4.8.0
4.10.0
4.11.0
4.13.0
4.15.0

你可以試試看。
头像
astolia
论坛版主
帖子: 3291
注册时间: 2008-09-18 13:11
送出感谢: 1 次
接收感谢: 551 次

Re: ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

#5

帖子 astolia » 2018-09-14 10:14

先要确认是哪里出问题,卡死重启后用

代码: 全选

journalctl -e -b -1
看看
poloshiao
论坛版主
帖子: 18273
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1948 次

Re: ubuntu16.04经常无故卡住,键盘鼠标都没用,升级了内核,更新了驱动,还是有问题

#6

帖子 poloshiao » 2018-09-14 10:20

Ubuntu 有很詳細的記錄檔 讓你查閱一切正常/不正常記錄
通常 原因不明的問題 利用 journalctl 指令 可以查閱需要的 不正常記錄 幫助你找原因
但是資料很多 需要一些經驗與耐心 才能判讀

請先詳細參閱 journalctl manpage 及 如何使用
1. http://manpages.ubuntu.com/manpages/xen ... ctl.1.html
journalctl - Query the systemd journal
2. https://www.digitalocean.com/community/ ... stemd-logs
How To Use Journalctl to View and Manipulate Systemd Logs
3. https://unix.stackexchange.com/question ... journalctl
Combining tail && journalctl

歡迎再貼文討論
回复

回到 “Ubuntu 16.04 LTS”