When I installed Manjaro on an AMD ryzen 3450U laptop, I found it suffered a few serious issues.
For example, dmesg
shows:
[ 4484.466210] ==================================================================
[ 4484.466218] BUG: KFENCE: memory corruption in i2c_amd_check_cmd_completion+0x84/0xa0 [i2c_amd_mp2_plat]
[ 4484.466228] Corrupted memory at 0x00000000d7ca30fc [ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ] (in kfence-#128):
[ 4484.466246] i2c_amd_check_cmd_completion+0x84/0xa0 [i2c_amd_mp2_plat]
[ 4484.466252] i2c_amd_xfer+0x70/0x280 [i2c_amd_mp2_plat]
[ 4484.466258] __i2c_transfer+0x19d/0x550
[ 4484.466264] i2c_transfer+0x85/0xf0
[ 4484.466267] i2c_transfer_buffer_flags+0x56/0x80
[ 4484.466270] i2c_hid_irq+0x46/0x120 [i2c_hid]
[ 4484.466278] irq_thread_fn+0x23/0x60
[ 4484.466285] irq_thread+0xfe/0x1c0
[ 4484.466290] kthread+0xde/0x110
[ 4484.466297] ret_from_fork+0x22/0x30
[ 4484.466305] kfence-#128: 0x0000000090b4e76e-0x00000000b7ec18c0, size=37, cache=kmalloc-64
[ 4484.466311] allocated by task 363 on cpu 3 at 4484.464638s:
[ 4484.466319] i2c_amd_xfer+0x114/0x280 [i2c_amd_mp2_plat]
[ 4484.466325] __i2c_transfer+0x19d/0x550
[ 4484.466328] i2c_transfer+0x85/0xf0
[ 4484.466331] i2c_transfer_buffer_flags+0x56/0x80
[ 4484.466334] i2c_hid_irq+0x46/0x120 [i2c_hid]
[ 4484.466341] irq_thread_fn+0x23/0x60
[ 4484.466346] irq_thread+0xfe/0x1c0
[ 4484.466351] kthread+0xde/0x110
[ 4484.466356] ret_from_fork+0x22/0x30
[ 4484.466362] freed by task 363 on cpu 3 at 4484.466194s:
[ 4484.466369] i2c_amd_check_cmd_completion+0x84/0xa0 [i2c_amd_mp2_plat]
[ 4484.466374] i2c_amd_xfer+0x70/0x280 [i2c_amd_mp2_plat]
[ 4484.466379] __i2c_transfer+0x19d/0x550
[ 4484.466382] i2c_transfer+0x85/0xf0
[ 4484.466384] i2c_transfer_buffer_flags+0x56/0x80
[ 4484.466387] i2c_hid_irq+0x46/0x120 [i2c_hid]
[ 4484.466394] irq_thread_fn+0x23/0x60
[ 4484.466399] irq_thread+0xfe/0x1c0
[ 4484.466404] kthread+0xde/0x110
[ 4484.466409] ret_from_fork+0x22/0x30
[ 4484.466416] CPU: 3 PID: 363 Comm: irq/64-PNP0C50: Tainted: G B 5.18.10-1-MANJARO #1 ed3fe96a792a579753928027251354150509e075
[ 4484.466424] Hardware name: Microtech CoreBook/CB15SH35, BIOS XPSH_LM15601.15.1.corebook 03/12/2021
[ 4484.466427] ==================================================================
when I use the touchpad, spamming these messages continuosly over and over.
Also, bluetooth doesn’t work. Then, when I choose Suspend in Xfce menu, I can’t resume. Finally, Ive noticed there’s a noticeable battery drain when the laptop is inactive.
Here are machine information:
inxi -Fazy
System:
Kernel: 5.18.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64
root=UUID=8259574f-d640-4590-9813-d645eb29dc3f rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Microtech product: CoreBook v: V1.0
serial: <superuser required>
Mobo: Microtech model: CB15SH35 v: V1.0 serial: <superuser required>
UEFI: American Megatrends v: XPSH_LM15601.15.1.corebook date: 03/12/2021
Battery:
ID-1: BMBT charge: 38.0 Wh (100.0%) condition: 38.0/38.0 Wh (100.0%)
volts: 8.6 min: 7.6 model: Intel SR 1 SR Real Battery type: Li-ion
serial: <filter> status: charging cycles: 1
CPU:
Info: model: AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx bits: 64
type: MT MCP arch: Zen/Zen+ note: check gen: 1 built: 2019 process: GF 12nm
family: 0x17 (23) model-id: 0x18 (24) stepping: 1 microcode: 0x8108102
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
desc: 1x4 MiB
Speed (MHz): avg: 1851 high: 2812 min/max: 1400/2100 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1818 2: 1550
3: 1210 4: 1295 5: 1732 6: 1586 7: 2809 8: 2812 bogomips: 33546
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel arch: GCN 5 process: GF 14nm built: 2017-20 pcie:
gen: 3 speed: 8 GT/s lanes: 16 ports: active: eDP-1
empty: DP-1,DP-2,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:15d8
class-ID: 0300
Device-2: Realtek USB2.0 camera type: USB driver: uvcvideo bus-ID: 3-1.1:4
chip-ID: 0bda:5830 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver: X:
loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: Najing CEC Panda 0x0064 built: 2018
res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.1
chip-ID: 1002:15de class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x
v: kernel
alternate: snd_rn_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_acp_pci,snd_sof_amd_renoir
pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel v: kernel
pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound Server-1: ALSA v: k5.18.10-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 16.1 running: yes
Sound Server-4: PipeWire v: 0.3.54 running: no
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-2:3
chip-ID: 8087:0029 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
Local Storage: total: 476.95 GiB used: 14.94 GiB (3.1%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZALQ256HBJD-00BL2 size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 5L2QFXM7 temp: 33.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 model: SSD256M2S80 size: 238.47 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 9A0 scheme: GPT
Partition:
ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%)
used: 14.94 GiB (6.4%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 292 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 43.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 258 Uptime: 0m wakeups: 1 Memory: 5.74 GiB used: 1.23 GiB (21.4%)
Init: systemd v: 251 default: graphical tool: systemctl Compilers:
gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1102 lib: 324 flatpak: 0
Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.19
I don’t know how to solve these issues. Waiting for a reply, thanks.