我的 HP Pavilion 出了问题。经过多次重复的全新安装(使用 gparted 和从实时版本安装),我只能在恢复模式下启动 Linux。在恢复模式下,我尝试修复最终损坏的软件包(dpkg)。但是当我以正常模式启动时,我可以登录 Ubuntu,但一切都冻结了。我只能移动鼠标,屏幕变黑,键盘停止工作(我无法进入 tty)
这些是使用以下命令获取的系统日志:
sudo grep -Pi "(critical|err|fail|fatal)" /var/log/syslog /var/log/syslog.1 /var/log/boot.log
这是输出:
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.000000] ACPI: IRQ0 used by override.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.000000] ACPI: IRQ9 used by override.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx systemd-udevd[429]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 0' failed with exit code 99.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.000000] ACPI: IRQ0 used by override.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.000000] ACPI: IRQ9 used by override.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx systemd-udevd[429]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 0' failed with exit code 99.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.004000] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.062122] ACPI: EC: interrupt blocked
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.205941] ACPI: Using IOAPIC for interrupt routing
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315060] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315126] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315190] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315253] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315317] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315380] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315443] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315507] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.316229] ACPI: EC: interrupt unblocked
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed constraint_0_max_power_uw
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_0_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_1_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_2_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_3_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_4_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx gpu-manager[769]: Error: can't open /lib/modules/4.15.0-20-generic/updates/dkms
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx gpu-manager[769]: Error: can't open /lib/modules/4.15.0-20-generic/updates/dkms
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx udisksd[770]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 1.036677] [Firmware Bug]: Invalid critical threshold (0)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 1.115899] RAS: Correctable Errors collector initialized.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 10.635364] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 13.462932] hp_wmi: query 0xd returned error 0x5
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 13.757988] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 13.757990] cfg80211: failed to load regulatory.db
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 14.466039] thermal thermal_zone4: failed to read out thermal zone (-61)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx udisksd[770]: Failed to load the 'mdraid' libblockdev plugin
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface dbus_property=Stations getter failed
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: Failed to construct signal
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface dbus_property=Stations getter failed
/var/log/syslog:Sep 15 17:22:30 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 40.118446] nouveau 0000:01:00.0: gr: init failed, -16
/var/log/syslog:Sep 15 17:23:07 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 77.837583] nouveau: DRM:00000000:0000c06f: detach ce0 failed, -110
/var/log/syslog:Sep 15 17:23:07 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 77.837585] nouveau: DRM:0004c1b5:0000c1b5: suspend failed with -110
Binary file /var/log/syslog matches
grep: /var/log/syslog.1: No such file or directory
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.004000] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.062122] ACPI: EC: interrupt blocked
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.205941] ACPI: Using IOAPIC for interrupt routing
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315060] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315126] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315190] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315253] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315317] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315380] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315443] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.315507] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 *11 12 14 15)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 0.316229] ACPI: EC: interrupt unblocked
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed constraint_0_max_power_uw
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_0_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_1_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_2_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_3_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx thermald[735]: sysfs read failed /sys/class/thermal/thermal_zone3/trip_point_4_hyst
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx gpu-manager[769]: Error: can't open /lib/modules/4.15.0-20-generic/updates/dkms
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx gpu- manager[769]: Error: can't open /lib/modules/4.15.0-20-generic/updates/dkms
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx udisksd[770]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 1.036677] [Firmware Bug]: Invalid critical threshold (0)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 1.115899] RAS: Correctable Errors collector initialized.
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 10.635364] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 13.462932] hp_wmi: query 0xd returned error 0x5
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 13.757988] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 13.757990] cfg80211: failed to load regulatory.db
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 14.466039] thermal thermal_zone4: failed to read out thermal zone (-61)
/var/log/syslog:Sep 15 17:22:15 kai-HP-Pavilion-Power-Laptop-15-cb0xx udisksd[770]: Failed to load the 'mdraid' libblockdev plugin
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface dbus_property=Stations getter failed
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: Failed to construct signal
/var/log/syslog:Sep 15 17:22:19 kai-HP-Pavilion-Power-Laptop-15-cb0xx wpa_supplicant[764]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface dbus_property=Stations getter failed
/var/log/syslog:Sep 15 17:22:30 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 40.118446] nouveau 0000:01:00.0: gr: init failed, -16
/var/log/syslog:Sep 15 17:23:07 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 77.837583] nouveau: DRM:00000000:0000c06f: detach ce0 failed, -110
/var/log/syslog:Sep 15 17:23:07 kai-HP-Pavilion-Power-Laptop-15-cb0xx kernel: [ 77.837585] nouveau: DRM:0004c1b5:0000c1b5: suspend failed with -110
Binary file /var/log/syslog matches
grep: /var/log/syslog.1: No such file or directory
我还尝试安装专有驱动程序(nvidia-driver-390 代替 xserver-xorg) 但是一样的。发行版无法以正常模式启动。
以下是我的 VGA 规格:
*-display UNCLAIMED
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: latency=0
resources: memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128) memory:b4000000-b407ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:5000(size=64) memory:c0000-dffff
作为处理器,我有一个英特尔 i7 16GB RAM,我有两个硬盘,一个是 128GB 的 SSD,我在上面安装了 Windows 10,另一个是机械硬盘,有 1TB,我在上面为 ubuntu 创建了一个分区,有 200 GB 的空间(100 GB 用于 /,100 GB 用于 /home 加上 5 GB 用于 SWAP 区域)
有人知道如何解决这个问题吗?提前谢谢。在让我尝试不同的发行版之前:我已经尝试过 Ubuntu 16.4 和 Linux Mint,它们有同样的问题。Grubs 运行完美。
答案1
对于遇到此问题的任何人(此问题发生在 UEFI BIOS 系统上),我通过以下方式解决:
- 因为我无法进入 Ubuntu(黑屏,一切都被阻止)我进入了恢复模式(您可以从 grub 界面进入它,或者通过
E
从 grub 界面按设置 nomodeset,使用 进行quiet splash
更改nomodeset
) 然后我添加了我的 nvidia 驱动程序的存储库:
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-get upgrade
然后我安装了我的 nvidia 驱动程序:
sudo apt-get install nvidia-current
然后我重新启动系统,进入 UEFI BIOS 并禁用该
SECURE BOOT
选项
在此处找到任何详细信息如何安装 Nvidia 驱动程序?