我在我的新笔记本电脑上全新安装了 Kali-Linux 2020.2。但是当我尝试启动 Kali 时,遇到了这两个错误,
- ACPI 错误:AE_NOT_FOUND(没有任何命令行参数,启动停止在 [1.035097])
- usci_acpi 错误。 (和无模式集cmd 中的参数,启动停止于 [9.803092])
通过按Ctrl+Alt+F4我设法登录控制台并更新整个系统并安装 Nvidia 驱动程序。但错误仍然存在。详细的消息下面列出了错误和警告。
系统规格:
- 华硕 TUF 游戏 A15
- AMD 锐龙 5 4600H
- 英伟达 GTX 1650 4GB
输出dmesg --level=错误,警告
[ 0.000000] secureboot: Secure boot could not be determined (mode 0)
[ 0.017568] You have booted with nomodeset. This means your GPU drivers are DISABLED
[ 0.017568] Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly
[ 0.017569] Unless you actually understand what nomodeset does, you should reboot without enabling it
[ 0.322945] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP4.WLAN], AE_NOT_FOUND (20200110/dswload2-162)
[ 0.322951] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20200110/psobject-220)
[ 0.340334] Expanded resource Reserved due to conflict with PCI Bus 0000:00
[ 1.034969] ACPI: Invalid passive threshold
[ 1.034994] ACPI: Invalid active0 threshold
[ 1.035071] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.THRM._SCP.CTYP], AE_NOT_FOUND (20200110/psargs-330)
[ 1.035097] ACPI Error: Aborting method \_TZ.THRM._SCP due to previous error (AE_NOT_FOUND) (20200110/psparse-529)
[ 1.036639] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.586828] clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc-early' as unstable because the skew is too large:
[ 1.587972] clocksource: 'hpet' wd_now: 10917ec wd_last: e14c30 mask: ffffffff
[ 1.589554] clocksource: 'tsc-early' cs_now: 1ff0202172 cs_last: 1f95775cc2 mask: ffffffffffffffff
[ 1.591177] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[ 1.609342] i2c_hid i2c-ELAN1203:00: i2c-ELAN1203:00 supply vdd not found, using dummy regulator
[ 1.610351] i2c_hid i2c-ELAN1203:00: i2c-ELAN1203:00 supply vddl not found, using dummy regulator
[ 1.699140] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[ 3.964308] process '/usr/bin/fstype' started with executable stack
[ 4.370579] nvidia: loading out-of-tree module taints kernel.
[ 4.371394] nvidia: module license 'NVIDIA' taints kernel.
[ 4.372181] Disabling lock debugging due to kernel taint
[ 4.440198] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 440.82 Wed Apr 1 20:04:33 UTC 2020
[ 4.522513] sp5100-tco sp5100-tco: Watchdog hardware is disabled
[ 4.577906] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20200110/dsopcode-198)
[ 4.577916] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20200110/psparse-529)
[ 4.587343] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20200110/dsopcode-198)
[ 4.589831] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20200110/psparse-529)
[ 4.592536] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20200110/dsopcode-198)
[ 4.592539] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20200110/psparse-529)
[ 4.592668] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20200110/dsopcode-198)
[ 4.592671] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20200110/psparse-529)
[ 4.592686] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20200110/dsopcode-198)
[ 4.592687] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20200110/psparse-529)
[ 4.592698] asus-nb-wmi: probe of asus-nb-wmi failed with error -5
[ 4.615355] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[ 4.726989] rtw_pci 0000:03:00.0: firmware: failed to load rtw88/rtw8822c_fw.bin (-2)
[ 4.729655] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 4.729658] rtw_pci 0000:03:00.0: Direct firmware load for rtw88/rtw8822c_fw.bin failed with error -2
[ 4.729661] rtw_pci 0000:03:00.0: failed to request firmware
[ 4.735775] rtw_pci 0000:03:00.0: firmware: failed to load rtw88/rtw8822c_wow_fw.bin (-2)
[ 4.735777] rtw_pci 0000:03:00.0: Direct firmware load for rtw88/rtw8822c_wow_fw.bin failed with error -2
[ 4.735781] rtw_pci 0000:03:00.0: failed to request firmware
[ 4.735965] rtw_pci 0000:03:00.0: failed to load firmware
[ 4.735967] rtw_pci 0000:03:00.0: failed to setup chip efuse info
[ 4.735969] rtw_pci 0000:03:00.0: failed to setup chip information
[ 4.738004] kvm: disabled by bios
[ 4.739410] rtw_pci: probe of 0000:03:00.0 failed with error -22
[ 4.866478] kvm: disabled by bios
[ 4.882458] uvcvideo 1-4:1.0: Entity type for entity Realtek Extended Controls Unit was not initialized!
[ 4.882460] uvcvideo 1-4:1.0: Entity type for entity Extension 4 was not initialized!
[ 4.882460] uvcvideo 1-4:1.0: Entity type for entity Processing 2 was not initialized!
[ 4.882461] uvcvideo 1-4:1.0: Entity type for entity Camera 1 was not initialized!
[ 4.960948] kvm: disabled by bios
[ 5.074442] kvm: disabled by bios
[ 5.197985] kvm: disabled by bios
[ 5.315750] kvm: disabled by bios
[ 5.415478] kvm: disabled by bios
[ 5.506279] kvm: disabled by bios
[ 5.651492] kvm: disabled by bios
[ 5.774604] kvm: disabled by bios
[ 9.803092] ucsi_acpi USBC000:00: PPM init failed (-110)
答案1
解决了,amdgpu-drm 和一些丢失的网络驱动程序导致了问题。默认情况下,kali-Linux 使用的是 amdgpu-drm,因此我必须更新整个系统并通过 tty1 安装 Nvidia 驱动程序。nvidia-drm.modeset=1
作为第一次启动的启动参数传递。
步骤1:更新整个系统。
sudo apt update && sudo apt full-upgrade -y
第2步:从以下位置下载最新的 Linux 固件这里。
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
步骤3:将缺少的固件复制到 /lib/firmware/
sudo cp -r {clone's_PATH}/linux-firmware/{rtw88,rtl_nic,nvidia,amdgpu} /lib/firmware/
步骤4:使用新的更改更新内核(不用担心它会将某些 amdgpu 列为缺少固件)。
sudo update-initramfs -k all -u
第5步:安装 Nvidia 驱动程序。
sudo apt install nvidia-driver nvidia-xconfig nvidia-kernel-common
第6步:配置 Nvidia 驱动程序以创建新配置 /etc/X11/xorg.conf(确保删除旧的 xorg.conf。)
sudo rm /etc/X11/xorg.conf
sudo nvidia-xconfig
第7步:清除、重新安装 nvidia 驱动程序并生成 xconfig
sudo apt purge nivida* && sudo apt install nvidia-driver nvidia-xconfig && sudo nvidia-xconfig
步骤8:更新 grub 配置以nvidia-drm.modeset=1
作为默认命令传递。
sudo nano /etc/default/grub
update the line GRUB_CMDLINE_LINUX_DEFAULT="quiet nvidia-drm.modeset=1"
第9步:更新 grub,删除 xorg.conf(让 sys 在重新启动时生成 xorg.conf),然后重新启动系统。
sudo update-grub && sudo rm /etc/X11/xorg.conf && sudo reboot