View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007486 | Kali Linux | [All Projects] General Bug | public | 2021-12-13 16:33 | 2022-01-07 11:13 |
Reporter | lil-armstrong | Assigned To | daniruiz | ||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2021.3 | ||||
Target Version | Fixed in Version | ||||
Summary | 0007486: Kali is slow to boot after dist-upgrade | ||||
Description | After I upgraded my kali linux distro to version 2021.4, I noticed that my system took too long to boot, and after logging in, it took about 10 - 15 minutes to load. After running the dmesg command, I also noticed a recurring error. The following is the output of the command [ 1.643129] [drm] amdgpu kernel modesetting enabled. [ 1.648129] amdgpu: Topology: Add APU node [0x0:0x0] [ 1.648213] fb0: switching to amdgpudrmfb from EFI VGA [ 1.648340] amdgpu 0000:02:00.0: vgaarb: deactivate vga console [ 1.648415] amdgpu 0000:02:00.0: enabling device (0006 -> 0007) [ 1.648466] amdgpu 0000:02:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled [ 1.648522] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_gpu_info.bin [ 1.648545] amdgpu 0000:02:00.0: amdgpu: Fetched VBIOS from VFCT [ 1.648547] amdgpu: ATOM BIOS: 113-PICASSO-117 [ 1.648578] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_sdma.bin [ 1.648618] amdgpu 0000:02:00.0: amdgpu: VRAM: 1024M 0x000000F400000000 - 0x000000F43FFFFFFF (1024M used) [ 1.648621] amdgpu 0000:02:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF [ 1.648622] amdgpu 0000:02:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF [ 1.648676] [drm] amdgpu: 1024M of VRAM memory ready [ 1.648677] [drm] amdgpu: 3072M of GTT memory ready. [ 1.649118] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_asd.bin [ 1.649138] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_ta.bin [ 1.649141] amdgpu 0000:02:00.0: amdgpu: PSP runtime database doesn't exist [ 1.649157] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_pfp.bin [ 1.649170] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_me.bin [ 1.649182] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_ce.bin [ 1.649201] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_rlc.bin [ 1.649275] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_mec.bin [ 1.649340] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_mec2.bin [ 1.650227] amdgpu: hwmgr_sw_init smu backed is smu10_smu [ 1.650250] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/raven_dmcu.bin [ 1.650344] amdgpu 0000:02:00.0: firmware: direct-loading firmware amdgpu/picasso_vcn.bin [ 1.650349] amdgpu 0000:02:00.0: amdgpu: Will use PSP to load VCN firmware [ 1.739597] amdgpu 0000:02:00.0: amdgpu: RAS: optional ras ta ucode is not available [ 1.745540] amdgpu 0000:02:00.0: amdgpu: RAP: optional rap ta ucode is not available [ 1.817932] kfd kfd: amdgpu: Allocated 3969056 bytes on gart [ 1.818042] amdgpu: Topology: Add APU node [0x15d8:0x1002] [ 1.818045] kfd kfd: amdgpu: added device 1002:15d8 [ 1.818216] amdgpu 0000:02:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 11, active_cu_number 8 [ 1.819703] fbcon: amdgpu (fb0) is primary device [ 1.859149] amdgpu 0000:02:00.0: [drm] fb0: amdgpu frame buffer device [ 1.879669] amdgpu 0000:02:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0 [ 1.879672] amdgpu 0000:02:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0 [ 1.879674] amdgpu 0000:02:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0 [ 1.879676] amdgpu 0000:02:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0 [ 1.879678] amdgpu 0000:02:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0 [ 1.879680] amdgpu 0000:02:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0 [ 1.879682] amdgpu 0000:02:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0 [ 1.879683] amdgpu 0000:02:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0 [ 1.879685] amdgpu 0000:02:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0 [ 1.879687] amdgpu 0000:02:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0 [ 1.879689] amdgpu 0000:02:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1 [ 1.879691] amdgpu 0000:02:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1 [ 1.879693] amdgpu 0000:02:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1 [ 1.879695] amdgpu 0000:02:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1 [ 1.879696] amdgpu 0000:02:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1 [ 1.885653] [drm] Initialized amdgpu 3.42.0 20150101 for 0000:02:00.0 on minor 0 [ 3.167589] snd_hda_intel 0000:02:00.1: bound 0000:02:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu]) [ 24.562123] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 44.570135] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 64.762097] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 84.769818] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 105.598143] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 125.606140] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 148.374111] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 168.394442] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 196.690157] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 216.698132] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 236.870147] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 256.878131] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 277.966356] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 297.974130] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 319.226136] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 339.242314] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 362.177763] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 382.305759] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 385.457501] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 402.842127] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 405.573813] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 422.946130] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 443.226141] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 463.573411] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 1205.905707] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 1226.589734] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 1247.233725] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 1267.693562] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 1988.629911] snd_hwdep(E) cfg80211(E) snd_pcm(E) snd_timer(E) ccp(E) ecdh_generic(E) snd(E) snd_rn_pci_acp3x(E) rfkill(E) sp5100_tco(E) libarc4(E) soundcore(E) snd_pci_acp3x(E) ecc(E) rng_core(E) k10temp(E) watchdog(E) evdev(E) ac(E) acpi_cpufreq(E) msr(E) fuse(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) rtsx_usb_sdmmc(E) mmc_core(E) rtsx_usb(E) sd_mod(E) t10_pi(E) crc_t10dif(E) crct10dif_generic(E) usbhid(E) hid_generic(E) amdgpu(E) gpu_sched(E) i2c_algo_bit(E) drm_ttm_helper(E) ttm(E) ahci(E) crct10dif_pclmul(E) crct10dif_common(E) drm_kms_helper(E) libahci(E) crc32_pclmul(E) xhci_pci(E) cec(E) libata(E) rc_core(E) crc32c_intel(E) xhci_hcd(E) scsi_mod(E) i2c_piix4(E) i2c_hid_acpi(E) usbcore(E) i2c_hid(E) i2c_amd_mp2_plat(E) drm(E) usb_common(E) battery(E) video(E) i2c_amd_mp2_pci(E) hid(E) button(E) [ 2207.693771] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 2228.297742] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 [ 2545.997756] amdgpu 0000:02:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 [ 2566.277826] amdgpu 0000:02:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 | ||||
Steps To Reproduce | sudo apt dist-upgrade -y | ||||
Additional Information | My PC is Gateway GWT156-14BK. 8GB RAM ``uname -r`` 5.14.0-kali4-amd64 ``` lspci -k | grep -EA3 'VGA|3D|Display'``` 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c2) Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Picasso Kernel driver in use: amdgpu Kernel modules: amdgpu | ||||
|
use systemd-analyze to see what takes most boot time |
|
Indeed! Open a terminal and type"systemd-analyze blame | head And see what comes up. |
|
This is a known bug on kernel 5.14.16 that is reported on Debian as well and affects amdgpu, same issue was reported by me and still happens if try to upgrade the kernel, so I'm using the old one instead for now. |
|
The issue https://bugs.kali.org/view.php?id=7445 was solved with the latest kernel. Does the new version fix the issue for you? |
|
Yup, updated right away... now everything is back to normal on 5.15.... I understand that issues are inevitable at some point but I wish for KALI team to test future releases more thoroughly on compatibility. |
|
We don't have the manpower nor the required hardware to test this issues. For kernel packages we rely and depend on debian, so there's not much we can do |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-12-13 16:33 | lil-armstrong | New Issue | |
2021-12-20 14:24 | Michu | Note Added: 0015545 | |
2021-12-20 15:36 | arnaudr | Note Added: 0015547 | |
2021-12-21 15:31 | VT | Note Added: 0015551 | |
2022-01-07 09:03 | daniruiz | Note Added: 0015605 | |
2022-01-07 09:03 | daniruiz | Relationship added | related to 0007445 |
2022-01-07 11:11 | VT | Note Added: 0015616 | |
2022-01-07 11:12 | daniruiz | Note Added: 0015617 | |
2022-01-07 11:13 | daniruiz | Assigned To | => daniruiz |
2022-01-07 11:13 | daniruiz | Status | new => resolved |
2022-01-07 11:13 | daniruiz | Resolution | open => fixed |