我有一台运行 Ubuntu 18.04.3 LTS 和 GNOME 的 Dell XPS 13 9380。偶尔(大约每天一次),我的系统会完全锁定。我通常在从终端切换到另一个窗口(Firefox 或 Slack)时注意到此问题。
我仍然能够从另一台机器 ssh 到系统,并且我看到 Xorg 占用了 100% 的 CPU。我无法终止 Xorg 进程,并且关闭机器(使用sudo shutdown 0
)会将我踢出 ssh 会话,但实际上并没有关闭机器。我关闭机器并恢复正常的唯一方法是按住电源按钮直到强制关机。
以下是系统冻结前的一些日志。我的时钟冻结时间为 10:25:42,所以我有在此时间之前不久的日志。https://pastebin.com/fSHg4rQD
我见过的相关问题提到驱动程序是一个潜在问题,所以我重现了下面的输出lspci | grep VGA
。glxinfo | grep string
鉴于我的这台机器上只有英特尔显卡,这些实用程序报告的驱动程序似乎不是问题所在。
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)
$ glxinfo | grep string
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics (Whiskey Lake 3x8 GT2)-
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.8
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 19.0.8
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
$ free -h
total used free shared buff/cache available
Mem: 15G 5.2G 3.7G 2.7G 6.4G 7.1G
Swap: 31G 5.8M 31G
$ sudo lshw -C memory
*-firmware
description: BIOS
vendor: Dell Inc.
physical id: 0
version: 1.9.1
date: 12/03/2019
size: 64KiB
capacity: 15MiB
capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppynec int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi
*-memory
description: System Memory
physical id: 2d
slot: System board or motherboard
size: 16GiB
*-bank:0
description: Row of chips LPDDR3 Synchronous 2133 MHz (0.5 ns)
product: H9CCNNNCLGALAR-NVD
vendor: SK Hynix
physical id: 0
slot: System Board Memory
size: 8GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-bank:1
description: Row of chips LPDDR3 Synchronous 2133 MHz (0.5 ns)
product: H9CCNNNCLGALAR-NVD
vendor: SK Hynix
physical id: 1
slot: System Board Memory
size: 8GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-cache:0
description: L1 cache
physical id: 36
slot: L1 Cache
size: 256KiB
capacity: 256KiB
capabilities: synchronous internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 37
slot: L2 Cache
size: 1MiB
capacity: 1MiB
capabilities: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 38
slot: L3 Cache
size: 8MiB
capacity: 8MiB
capabilities: synchronous internal write-back unified
configuration: level=3
*-memory UNCLAIMED
description: RAM memory
product: Intel Corporation
vendor: Intel Corporation
physical id: 14.2
bus info: pci@0000:00:14.2
version: 30
width: 64 bits
clock: 33MHz (30.3ns)
capabilities: pm cap_list
configuration: latency=0
resources: memory:dc51c000-dc51dfff memory:dc522000-dc522fff
$ sudo sysctl vm.swappiness
vm.swappiness = 60
$ grep -i swap /etc/fstab
/swapfile none swap sw 0 0
编辑:我能够在 BIOS 版本 1.9.1 上重现该问题
答案1
将 BIOS 从 1.8.0 更新至 1.9.1,请前往这里。
BIOS 1.9.1
Fixes & Enhancements
Fixes:
- Firmware updates to address security advisory INTEL-SA-00241 (CVE-2019-0169, CVE-2019-11105, CVE-2019-11104, CVE-2019-11103, CVE-2019-11090, CVE-2019-0165, CVE-2019-0168, CVE-2019-11087, CVE-2019-11101, CVE-2019-11106, CVE-2019-11108, CVE-2019-11147, CVE-2019-11088, CVE-2019-0131, CVE-2019-0166, CVE-2019-11100, CVE-2019-11107, CVE-2019-11086, CVE-2019-11132, and CVE-2019-11131).
- Firmware updates to address Intel security advisories INTEL-SA-00220 (CVE-2019-0124), INTEL-SA-00260 (CVE-2019-0154), and INTEL-SA-00254 (CVE-2019-0185).
- Firmware updates to address Intel security advisories INTEL-SA-00219 (CVE-2019-0117), INTEL-SA-00220 (CVE-2019-0123), and INTEL-SA-00270 (CVE-2019-11135).
- Fixed a BIOS Setup configuration issue that occurs after clearing the CMOS.
- Fixed an issue with preboot TPM detection and error logging.
- Fixed the issue where the keyboard and touchpad lags when the system is connected to a Dell U2419HC monitor using the USB Type-C port.
- Removed the IpSec driver and application.
Enhancements:
- Added an enhancement to extend the BIOS password configuration measurements into the TPM.
- Updated the system Power Delivery firmware.
- Update the Dell Firmware Update Utility.
安装说明
Updating the BIOS from Windows
Note 1: Before updating the BIOS, ensure that you suspend BitLocker encryption on a BitLocker-enabled system. If it is not enabled on your system, you can ignore this step. For information about how to disable BitLocker, see How to Enable or Disable BitLocker with TPM in Windows at support.dell.com.
Note 2: Do not turn off the power or interrupt the BIOS update process during the update.
Download and Installation
1. Click Download File, to download the file.
2. Click Save to save the file to your hard drive.
3. Browse to the location where you downloaded the file and double-click the new file.
The system restarts automatically and updates the BIOS at the system startup screen. After the BIOS update is complete, system restarts again.
Updating the BIOS from BIOS Boot Menu (independent of operating system)
Note 1: Before updating the BIOS, ensure that you suspend BitLocker encryption on a BitLocker-enabled system. If it is not enabled on your system, you can ignore this step. For information about how to disable BitLocker, see How to Enable or Disable BitLocker with TPM in Windows at support.dell.com.
Note 2: Do not turn off the power or interrupt the BIOS update process during the update.
Installation
1. Copy the downloaded file to a USB drive. The USB drive does not need to be bootable device.
2. Insert the USB drive into any USB port.
3. Power on the system.
4. At the DELL logo screen, press F12 to access the one-time boot menu.
5. Select BIOS Update in the section.
6. Click Flash from file to browse the USB drive to locate the downloaded file.
7. Select the file and click Submit.
8. Verify the existing system BIOS information and the BIOS update information.
9. Click Update BIOS.
10. Review the Warning message and click Confirm Update BIOS! to proceed with the update.
The system restarts and displays a progress bar at the Dell logo screen. The system restarts again when the update is complete.