最近升级到内核 5.13.0-28-generic 后,我的系统仍然无法在没有“nomodeset”的情况下启动。我附上了 journalctl 的输出,希望有人能帮助我。我正在使用板载英特尔 WiFi 和图形硬件。我的系统有 iwlwifi 问题,我解决了这个问题
sudo mv /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm /lib/firmware/iwlwifi-ty-a0-gf-a0.bak
如此处所示:
https://bugzilla.kernel.org/show_bug.cgi?id=212371#c13
以下是内核 5.13.0-28-generic 的启动日志,其中最先出现问题。请注意 CPU#14 的软锁定
日志控制-k-b-1
Feb 04 10:59:49 europa kernel: iwlwifi 0000:03:00.0: api flags index 2 larger than supported by driver
Feb 04 10:59:49 europa kernel: iwlwifi 0000:03:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.25
Feb 04 10:59:49 europa kernel: iwlwifi 0000:03:00.0: loaded firmware version 63.c04f3485.0 ty-a0-gf-a0-63.ucode op_mode iwlmvm
Feb 04 10:59:49 europa kernel: pstore: Using crash dump compression: deflate
Feb 04 10:59:49 europa kernel: pstore: Registered efi as persistent store backend
Feb 04 10:59:49 europa kernel: loop0: detected capacity change from 0 to 8
Feb 04 10:59:49 europa kernel: loop1: detected capacity change from 0 to 113536
Feb 04 10:59:49 europa kernel: loop2: detected capacity change from 0 to 634288
Feb 04 10:59:49 europa kernel: loop3: detected capacity change from 0 to 605624
Feb 04 10:59:49 europa kernel: cryptd: max_cpu_qlen set to 1000
Feb 04 10:59:49 europa kernel: AVX2 version of gcm_enc/dec engaged.
Feb 04 10:59:49 europa kernel: AES CTR mode by8 optimization enabled
Feb 04 10:59:49 europa kernel: checking generic (4000000000 300000) vs hw (6000000000 1000000)
Feb 04 10:59:49 europa kernel: checking generic (4000000000 300000) vs hw (4000000000 10000000)
Feb 04 10:59:49 europa kernel: fb0: switching to inteldrmfb from EFI VGA
Feb 04 10:59:49 europa kernel: Console: switching to colour dummy device 80x25
Feb 04 10:59:49 europa kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
Feb 04 10:59:49 europa kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Feb 04 10:59:49 europa kernel: loop4: detected capacity change from 0 to 448512
Feb 04 10:59:49 europa kernel: loop5: detected capacity change from 0 to 133552
Feb 04 10:59:49 europa kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
Feb 04 10:59:49 europa kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/rkl_dmc_ver2_02.bin (v2.2)
Feb 04 10:59:49 europa kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
Feb 04 10:59:49 europa kernel: iwlwifi 0000:03:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
Feb 04 10:59:49 europa kernel: loop6: detected capacity change from 0 to 88616
Feb 04 10:59:49 europa kernel: thermal thermal_zone0: failed to read out thermal zone (-61)
Feb 04 10:59:49 europa kernel: usbcore: registered new interface driver snd-usb-audio
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: SecBoot CPU1 Status: 0x7193, CPU2 Status: 0xb03
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: UMAC PC: 0x8047df60
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: LMAC PC: 0x0
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: Loaded firmware version: 63.c04f3485.0 ty-a0-gf-a0-63.ucode
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | ADVANCED_SYSASSERT
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status0
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | branchlink2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | interruptlink1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | interruptlink2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | data1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | data2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | data3
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | beacon time
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | tsf low
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | tsf hi
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | uCode revision type
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | uCode version major
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | uCode version minor
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | hw version
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | board version
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | hcmd
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr0
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr3
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr4
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | last cmd Id
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | wait_event
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | l2p_control
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | l2p_duration
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | l2p_mhvalid
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | l2p_addr_match
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | lmpm_pmg_sel
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | timestamp
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | flow_handler
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: Status: 0x00000000, count: 7
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x201013F2 | ADVANCED_SYSASSERT
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | umac branchlink1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x8045CF40 | umac branchlink2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | umac interruptlink1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | umac interruptlink2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000007 | umac data1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00200808 | umac data2
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0xDEADBEEF | umac data3
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x0000003F | umac major
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0xC04F3485 | umac minor
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x000111FE | frame pointer
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0xC0887F3C | stack pointer
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | last host cmd
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr status reg
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: IML/ROM dump:
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000B03 | IML/ROM error/state
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00007193 | IML/ROM data1
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: Fseq Registers:
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x60000100 | FSEQ_ERROR_CODE
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00440003 | FSEQ_TOP_INIT_VERSION
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00080009 | FSEQ_CNVIO_INIT_VERSION
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x0000A652 | FSEQ_OTP_VERSION
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00400410 | FSEQ_CNVI_ID
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00400410 | FSEQ_CNVR_ID
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: Failed to start RT ucode: -110
Feb 04 10:59:50 europa kernel: iwlwifi 0000:03:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
Feb 04 10:59:51 europa kernel: iwlwifi 0000:03:00.0: Failed to run INIT ucode: -110
Feb 04 11:00:14 europa kernel: watchdog: BUG: soft lockup - CPU#14 stuck for 27s! [systemd-udevd:590]
Feb 04 11:00:14 europa kernel: Modules linked in: snd_compress ac97_bus kvm_intel(+) snd_pcm_dmaengine iwlmvm snd_hda_intel kvm snd_intel_dspcfg snd_intel_sdw_acp>
Feb 04 11:00:14 europa kernel: ip6table_filter parport_pc ip6_tables ppdev iptable_filter lp bpfilter drm parport ip_tables x_tables autofs4 raid10 raid456 async>
Feb 04 11:00:14 europa kernel: CPU: 14 PID: 590 Comm: systemd-udevd Not tainted 5.13.0-28-generic #31~20.04.1-Ubuntu
Feb 04 11:00:14 europa kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z590 Steel Legend WiFi 6E, BIOS P1.80 07/22/2021
Feb 04 11:00:14 europa kernel: RIP: 0010:skl_ddb_allocation_overlaps+0x25/0x50 [i915]
Feb 04 11:00:14 europa kernel: Code: 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 85 d2 7e 33 44 8d 42 ff 31 c0 39 c1 74 1b 0f b7 54 86 02 66 39 17 73 11 0f b7 57 02>
Feb 04 11:00:14 europa kernel: RSP: 0018:ffffb4d340fbf6d8 EFLAGS: 00000297
Feb 04 11:00:14 europa kernel: RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000
Feb 04 11:00:14 europa kernel: RDX: 0000000000000800 RSI: ffffb4d340fbf718 RDI: ffff8f020cb76f3c
Feb 04 11:00:14 europa kernel: RBP: ffffb4d340fbf6d8 R08: 0000000000000003 R09: 0000000000000002
Feb 04 11:00:14 europa kernel: R10: ffff8f020cb76000 R11: ffff8f020cb74000 R12: ffff8f020ef43800
Feb 04 11:00:14 europa kernel: R13: 0000000000000002 R14: ffff8f020927f800 R15: 0000000000000003
Feb 04 11:00:14 europa kernel: FS: 00007fde490f7880(0000) GS:ffff8f111f900000(0000) knlGS:0000000000000000
Feb 04 11:00:14 europa kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 04 11:00:14 europa kernel: CR2: 00007fde4864c160 CR3: 0000000108c7e005 CR4: 0000000000770ee0
Feb 04 11:00:14 europa kernel: PKRU: 55555554
Feb 04 11:00:14 europa kernel: Call Trace:
Feb 04 11:00:14 europa kernel: <TASK>
Feb 04 11:00:14 europa kernel: skl_commit_modeset_enables+0x10b/0x550 [i915]
Feb 04 11:00:14 europa kernel: ? wait_woken+0x80/0x80
Feb 04 11:00:14 europa kernel: intel_atomic_commit_tail+0x4af/0x1180 [i915]
Feb 04 11:00:14 europa kernel: ? intel_atomic_commit_ready+0x4d/0x54 [i915]
Feb 04 11:00:14 europa kernel: ? __i915_sw_fence_complete+0x111/0x1c0 [i915]
Feb 04 11:00:14 europa kernel: intel_atomic_commit+0x31a/0x390 [i915]
Feb 04 11:00:14 europa kernel: drm_atomic_commit+0x47/0x50 [drm]
Feb 04 11:00:14 europa kernel: intel_modeset_init+0x1f5/0x240 [i915]
Feb 04 11:00:14 europa kernel: i915_driver_probe+0x1e8/0x3f0 [i915]
Feb 04 11:00:14 europa kernel: ? mutex_lock+0x13/0x40
Feb 04 11:00:14 europa kernel: i915_pci_probe+0x5a/0x140 [i915]
Feb 04 11:00:14 europa kernel: local_pci_probe+0x48/0x80
Feb 04 11:00:14 europa kernel: pci_device_probe+0x10f/0x1c0
Feb 04 11:00:14 europa kernel: really_probe+0x1dc/0x440
Feb 04 11:00:14 europa kernel: driver_probe_device+0xf0/0x160
Feb 04 11:00:14 europa kernel: device_driver_attach+0x5d/0x70
Feb 04 11:00:14 europa kernel: __driver_attach+0xb2/0x140
Feb 04 11:00:14 europa kernel: ? device_driver_attach+0x70/0x70
Feb 04 11:00:14 europa kernel: bus_for_each_dev+0x7e/0xc0
Feb 04 11:00:14 europa kernel: driver_attach+0x1e/0x20
Feb 04 11:00:14 europa kernel: bus_add_driver+0x152/0x1f0
Feb 04 11:00:14 europa kernel: driver_register+0x74/0xd0
Feb 04 11:00:14 europa kernel: __pci_register_driver+0x57/0x60
Feb 04 11:00:14 europa kernel: i915_init+0x66/0x86 [i915]
Feb 04 11:00:14 europa kernel: ? 0xffffffffc0c99000
Feb 04 11:00:14 europa kernel: do_one_initcall+0x46/0x1d0
Feb 04 11:00:14 europa kernel: ? __cond_resched+0x19/0x30
Feb 04 11:00:14 europa kernel: ? kmem_cache_alloc_trace+0x37c/0x440
Feb 04 11:00:14 europa kernel: do_init_module+0x62/0x260
Feb 04 11:00:14 europa kernel: load_module+0x125d/0x1440
Feb 04 11:00:14 europa kernel: __do_sys_finit_module+0xc2/0x120
Feb 04 11:00:14 europa kernel: ? __do_sys_finit_module+0xc2/0x120
Feb 04 11:00:14 europa kernel: __x64_sys_finit_module+0x1a/0x20
Feb 04 11:00:14 europa kernel: do_syscall_64+0x61/0xb0
Feb 04 11:00:14 europa kernel: ? fput+0x13/0x20
Feb 04 11:00:14 europa kernel: ? ksys_mmap_pgoff+0x13e/0x270
Feb 04 11:00:14 europa kernel: ? exit_to_user_mode_prepare+0x3d/0x1c0
Feb 04 11:00:14 europa kernel: ? syscall_exit_to_user_mode+0x27/0x50
Feb 04 11:00:14 europa kernel: ? __x64_sys_mmap+0x33/0x40
Feb 04 11:00:14 europa kernel: ? do_syscall_64+0x6e/0xb0
Feb 04 11:00:14 europa kernel: ? syscall_exit_to_user_mode+0x27/0x50
Feb 04 11:00:14 europa kernel: ? __x64_sys_newfstat+0x16/0x20
Feb 04 11:00:14 europa kernel: ? do_syscall_64+0x6e/0xb0
Feb 04 11:00:14 europa kernel: ? do_syscall_64+0x6e/0xb0
Feb 04 11:00:14 europa kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae
Feb 04 11:00:14 europa kernel: RIP: 0033:0x7fde4967989d
Feb 04 11:00:14 europa kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05>
Feb 04 11:00:14 europa kernel: RSP: 002b:00007ffef5b897b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Feb 04 11:00:14 europa kernel: RAX: ffffffffffffffda RBX: 000055f4a7edfb40 RCX: 00007fde4967989d
Feb 04 11:00:14 europa kernel: RDX: 0000000000000000 RSI: 00007fde49556ded RDI: 0000000000000016
Feb 04 11:00:14 europa kernel: RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
Feb 04 11:00:14 europa kernel: R10: 0000000000000016 R11: 0000000000000246 R12: 00007fde49556ded
Feb 04 11:00:14 europa kernel: R13: 0000000000000000 R14: 000055f4a7ee7b50 R15: 000055f4a7edfb40
Feb 04 11:00:14 europa kernel: </TASK>
Feb 04 11:00:42 europa kernel: watchdog: BUG: soft lockup - CPU#14 stuck for 53s! [systemd-udevd:590]
最近升级到 Ubuntu 内核 5.13.0-27-generic 后,我的系统在启动时挂在启动画面。我只能通过在 grub BOOT_IMAGE 命令行中添加 nomodeset 来启动它。我使用的是主板的板载英特尔视频支持,即没有视频显示卡。使用 nomodeset 启动后,我的两个显示屏卡在 1024x768 分辨率,两个显示器显示相同的视频。在桌面的“显示设置”下没有用于更改显示的选项。
我目前的解决方法是恢复到 5.11.0-27-generic 内核,一切正常。我有两个连接的显示器,分辨率为 1920x1080。
我希望能够修复此问题,以便能够升级到 Ubuntu 提供的新内核。
以下是我的系统的具体情况:
主板:ASRock Z590 Steel Legend WiFi 6E
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 4c8a (rev 04)
lsmod | grep "kms\|drm"
drm_kms_helper 253952 1 i915
cec 53248 2 drm_kms_helper,i915
fb_sys_fops 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
drm 557056 2 drm_kms_helper,i915
find /dev -group video
/dev/media0
/dev/video1
/dev/video0
/dev/fb0
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.13.0-27-generic root=UUID=6d313b91-e8fe-49a1-8efa-c76639b02be9 ro quiet splash vt.handoff=7 nomodeset
cat /etc/modeprobe.d/*kms*
nothing
ls /etc/X11/xorg.conf
nothing
glxinfo | grep -i "Vendor|rendering"
not installed
grep LoadModule /var/log/Xorg.0.log
[ 20.170] (II) LoadModule: "glx"
[ 20.173] (II) LoadModule: "modesetting"
[ 20.173] (II) LoadModule: "fbdev"
[ 20.173] (II) LoadModule: "vesa"
[ 20.174] (II) LoadModule: "fbdevhw"
[ 20.174] (II) LoadModule: "fb"
[ 20.174] (II) LoadModule: "shadow"
[ 20.234] (II) LoadModule: "libinput"
我认为最近的内核升级在某种程度上没有正确配置我的视频。
如果我可以提供任何进一步的信息,请告诉我。
感谢您提供的任何帮助和指导。
答案1
我的系统现在启动正常,甚至 WiFi 也正常工作!我决定尝试在系统中添加 GPU,并安装了 MSI RX6800。有趣的是,在我重置 CMOS 内存之前,计算机无法使用新 GPU 完成 POST。之后一切正常,我现在运行的是 5.13.0-37 内核。我怀疑,但尚未确认,需要重置 CMOS 内存一直是问题所在;特别是因为我在故障排除时升级了 BIOS。只是没有意识到这是必要的。所以就我而言,这个问题已经解决了。