
최근에 오래된 컴퓨터 하드웨어를 업그레이드했는데 부팅이 불안정해졌습니다. 때로는 부팅되지 않는 경우도 있습니다. 안전 모드는 일반적으로 작동합니다. 부팅할 때 Wi-Fi와 Bluetooth가 작동하지 않는 경우가 있습니다. Ubuntu 23은 제가 사용해 본 것 중 가장 안정적이지만 여전히 문제에 직면해 있습니다.
다음으로 업그레이드했습니다.
- 마더보드: Gigabyte Technology Co., Ltd. B650 AORUS ELITE AX
- CPU: AMD 라이젠 9 7950x
- GPU: 엔비디아 지포스 RTX 3070/PCIe/SSE2
전체 하드웨어 목록은 다음과 같습니다.
$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14d8
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e7
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f4 (rev 01)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:0b.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
04:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43f5 (rev 01)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0d:00.0 Network controller: MEDIATEK Corp. Device 0616
0e:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43f7 (rev 01)
0f:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43f6 (rev 01)
10:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 164e (rev c1)
10:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1640
10:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP
10:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b6
10:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b7
10:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
11:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8
블루투스 상태는 다음과 같습니다.
$ sudo systemctl status bluetooth.service
[sudo] password for ryan:
○ bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Nov 03 00:14:25 B650-970 systemd[1]: Condition check resulted in Bluetooth service being skipped.
Nov 03 00:15:05 B650-970 systemd[1]: Condition check resulted in Bluetooth service being skipped.
여기에서 볼 수 있듯이 현재 WiFi 옵션이 없으며 Bluetooth를 활성화할 수 없습니다. 설정개요
다음 Ubuntu 버전을 사용해 보았습니다.
- 우분투 22.04.2
- 우분투 22.04.3
- 우분투 23.04
다음은 발생한 몇 가지 부팅 오류입니다. 이는 일반적으로 나타나는 경우 성공적인 부팅을 방해합니다.
Nov 03 00:14:22 B650-970 kernel: hub 8-0:1.0: config failed, hub doesn't have any ports! (err -19)
WiFi가 시작되지 않을 때 발생합니다.
Nov 03 00:14:22 B650-970 systemd[1]: Started WPA supplicant.
Nov 03 00:14:22 B650-970 wpa_supplicant[919]: Successfully initialized wpa_supplicant
Nov 03 00:14:22 B650-970 systemd[1]: thermald.service: Deactivated successfully.
Nov 03 00:14:22 B650-970 apport[880]: ...done.
Nov 03 00:14:22 B650-970 systemd[1]: Started LSB: automatic crash report generation.
Nov 03 00:14:22 B650-970 systemd[1]: grub-common.service: Deactivated successfully.
Nov 03 00:14:22 B650-970 systemd[1]: Finished Record successful boot for GRUB.
Nov 03 00:14:22 B650-970 systemd[1]: Starting GRUB failed boot detection...
Nov 03 00:14:22 B650-970 udisksd[918]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
Nov 03 00:14:22 B650-970 udisksd[918]: Failed to load the 'mdraid' libblockdev plugin
Nov 03 00:14:22 B650-970 dbus-daemon[884]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.7' (uid=0 pid=918 comm="/usr/libexec/udisks2/udisksd " label="unconfined")
Nov 03 00:14:22 B650-970 systemd[1]: Starting Authorization Manager...
Nov 03 00:14:22 B650-970 polkitd[966]: started daemon version 0.105 using authority implementation `local' version `0.105'
Nov 03 00:14:22 B650-970 dbus-daemon[884]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Nov 03 00:14:22 B650-970 systemd[1]: Started Authorization Manager.
Nov 03 00:14:22 B650-970 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Nov 03 00:14:22 B650-970 systemd[1]: Finished GRUB failed boot detection.
Nov 03 00:14:22 B650-970 snapd-aa-prompt-listener[903]: AA Prompt listener not implemented
Nov 03 00:14:22 B650-970 systemd[1]: snapd.aa-prompt-listener.service: Deactivated successfully.
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: No valid path found for iw
Nov 03 00:14:22 B650-970 dbus-daemon[884]: [system] Activating via systemd: service name='org.freedesktop.network1' unit='dbus-org.freedesktop.network1.service' requested by ':1.9' (uid=0 pid=982 comm="/usr/bin/networkctl list --no-pager --no-legend " label="unconfined")
Nov 03 00:14:22 B650-970 dbus-daemon[884]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.network1.service': Unit dbus-org.freedesktop.network1.service not found.
Nov 03 00:14:22 B650-970 networkd-dispatcher[982]: WARNING: systemd-networkd is not running, output will be incomplete.
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: ERROR:Unknown state for interface NetworkctlListState(idx=1, name='lo', type='loopback', operational='n/a', administrative='unmanaged'): n/a
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: Traceback (most recent call last):
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: File "/usr/bin/networkd-dispatcher", line 298, in trigger_all
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: self.handle_state(iface_name,
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: File "/usr/bin/networkd-dispatcher", line 348, in handle_state
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: raise UnknownState(operational_state)
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: UnknownState: n/a
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: ERROR:Unknown state for interface NetworkctlListState(idx=2, name='enp12s0', type='ether', operational='n/a', administrative='unmanaged'): n/a
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: Traceback (most recent call last):
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: File "/usr/bin/networkd-dispatcher", line 298, in trigger_all
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: self.handle_state(iface_name,
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: File "/usr/bin/networkd-dispatcher", line 348, in handle_state
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: raise UnknownState(operational_state)
Nov 03 00:14:22 B650-970 networkd-dispatcher[896]: UnknownState: n/a
Nov 03 00:14:22 B650-970 systemd[1]: Started Dispatcher daemon for systemd-networkd.
Nov 03 00:14:22 B650-970 systemd[1]: Started Disk Manager.
Nov 03 00:14:22 B650-970 udisksd[918]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Nov 03 00:14:23 B650-970 snapd[904]: overlord.go:272: Acquiring state lock file
Nov 03 00:14:23 B650-970 snapd[904]: overlord.go:277: Acquired state lock file
Nov 03 00:14:23 B650-970 snapd[904]: daemon.go:247: started snapd/2.60.4 (series 16; classic) ubuntu/22.04 (amd64) linux/6.2.0-36-generic.
Nov 03 00:14:23 B650-970 kernel: loop21: detected capacity change from 0 to 8
Nov 03 00:14:23 B650-970 snapd[904]: daemon.go:340: adjusting startup timeout by 1m40s (pessimistic estimate of 30s plus 5s per snap)
Nov 03 00:14:23 B650-970 systemd[1]: e2scrub_reap.service: Deactivated successfully.
Nov 03 00:14:23 B650-970 systemd[1]: Finished Remove Stale Online ext4 Metadata Check Snapshots.
Nov 03 00:14:23 B650-970 snapd[904]: backends.go:58: AppArmor status: apparmor is enabled and all features are available (using snapd provided apparmor_parser)
Nov 03 00:14:23 B650-970 NetworkManager[886]: <info> [1698992063.3727] NetworkManager (version 1.36.6) is starting... (for the first time)
Nov 03 00:14:23 B650-970 NetworkManager[886]: <info> [1698992063.3727] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, 20-connectivity-ubuntu.conf, no-mac-addr-change.conf) (run: 10-globally-managed-devices.conf) (etc: default-wifi-powersave-on.conf)
Nov 03 00:14:23 B650-970 NetworkManager[886]: <info> [1698992063.3737] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Nov 03 00:14:23 B650-970 NetworkManager[886]: <info> [1698992063.3756] manager[0x5563c33be000]: monitoring kernel firmware directory '/lib/firmware'.
Nov 03 00:14:23 B650-970 NetworkManager[886]: <info> [1698992063.3756] monitoring ifupdown state file '/run/network/ifstate'.
Nov 03 00:14:23 B650-970 dbus-daemon[884]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.13' (uid=0 pid=886 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Nov 03 00:14:23 B650-970 accounts-daemon[876]: started daemon version 22.07.5
Nov 03 00:14:23 B650-970 systemd-logind[913]: Watching system buttons on /dev/input/event1 (Power Button)
다음 수정 사항을 시도했습니다.
- https://github.com/blueman-project/blueman/wiki/문제 해결
bluetoothctl list
영원히 멈춰있다blueman-applet
내 시스템에 설치되어 있지 않습니다- 검토https://ubuntuforums.org/showthread.php?t=2336447
- 허브 8-0:1.0: 구성 실패, 허브에 포트가 없습니다! (오류 -19)
- 봤다최근 Ubuntu 22.04로 업그레이드한 후 로그인 후 오류가 발생하기 시작했습니다.
- 봤다우분투 22.04 ACPI BIOS 오류(버그)
- 검토됨https://wiki.ubuntu.com/DebuggingKernelBoot
Linux 커널 6.2에서 직면한 이러한 모든 문제를 고려할 때 이러한 문제 해결을 시작하기 위해 권장되는 프로세스는 무엇입니까? 심층 디버깅을 파헤쳐 보니 기쁘지만 어떤 문제부터 시작해야 할지 모르겠습니다.
답변1
부팅 실패를 포함한 이러한 모든 중요한 문제는 실제로 NVIDIA 드라이버 불일치로 인해 발생했습니다.
이 명령은 nvidia-smi
이 게시물과 동일한 정보를 반환했습니다.
https://forums.developer.nvidia.com/t/failed-to-initialize-nvml-driver-library-version-mismatch/190421/4
올바른 NVIDIA 드라이버가 설치되어 있으면 WiFi와 Bluetooth가 모두 작동합니다. 이것이 왜 관련되어 있는지는 명확하지 않지만 관련이 있습니다.
소프트웨어 및 업데이트에 따르면 올바른 버전이 설치되어 있었지만 동일한 버전을 다시 설치하면 문제가 해결되었습니다.
작동 커널: Linux B650-970 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux