Touchpad high CPU consumption and random freezes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-hwe-5.11 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We have 5 laptops, all brand new Huawei Matebook 14 2021.
They have no hardware problem (on Windows it is ok).
On Ubuntu Linux, the Elantech touchpad regularly freezes for some seconds, with one of the CPU at 100%.
The problem occurs both with kernel 5.4, and also with the new 5.11 kernel.
I also tried the kernel 5.14 (with mainline) and the problem was not solved, so I rolled back to 5.11.
I see in dmesg output:
[ 3335.316965] i2c_designware i2c_designware.0: controller timed out
[ 3335.568349] input: ELAN2605:00 04F3:3163 Mouse as /devices/
[ 3335.568407] input: ELAN2605:00 04F3:3163 Touchpad as /devices/
[ 3335.568444] hid-multitouch 0018:04F3:
[ 3335.685062] input: 06CB19AB:00 06CB:1A1A as /devices/
[ 3335.685154] hid-multitouch 0018:06CB:
[ 3360.880952] i2c_designware i2c_designware.0: controller timed out
[ 3548.917328] watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [swapper/3:0]
[ 3548.917333] Modules linked in: hid_multitouch xt_conntrack xt_MASQUERADE nf_conntrack_
[ 3548.917395] x86_pkg_
[ 3548.917449] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G O 5.11.0-36-generic #40~20.04.1-Ubuntu
[ 3548.917452] Hardware name: HUAWEI KLVD-WXX9/
[ 3548.917453] RIP: 0010:_raw_
[ 3548.917458] Code: ff 7f 5b 44 89 f0 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 0f 1f 44 00 00 55 48 89 e5 c6 07 00 0f 1f 40 00 48 89 f7 57 9d <0f> 1f 44 00 00 5d c3 0f 1f 40 00 0f 1f 44 00 00 55 49 89 f8 b8 00
[ 3548.917459] RSP: 0018:ffffbc5380
[ 3548.917462] RAX: 00000000001d462c RBX: ffff9fab00a39ec0 RCX: 00000000000f4240
[ 3548.917463] RDX: 0000000000701f67 RSI: 0000000000000287 RDI: 0000000000000287
[ 3548.917464] RBP: ffffbc53801e8e30 R08: 0000000000000003 R09: 00000000000003d8
[ 3548.917465] R10: ffff9fab00a39f90 R11: ffff9fae708ec3f0 R12: ffff9fae708ec2c0
[ 3548.917465] R13: 0000000000000000 R14: 0000000000000287 R15: ffff9fab00a3aabc
[ 3548.917467] FS: 000000000000000
[ 3548.917468] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3548.917469] CR2: 0000280406941000 CR3: 000000011d010003 CR4: 0000000000770ee0
[ 3548.917470] PKRU: 55555554
[ 3548.917470] Call Trace:
[ 3548.917471] <IRQ>
[ 3548.917475] try_to_
[ 3548.917479] ? __next_
[ 3548.917482] wake_up_
[ 3548.917484] process_
[ 3548.917485] call_timer_
[ 3548.917487] __run_timers.
[ 3548.917489] run_timer_
[ 3548.917491] __do_softirq+
[ 3548.917494] asm_call_
[ 3548.917496] </IRQ>
[ 3548.917496] do_softirq_
[ 3548.917499] irq_exit_
[ 3548.917503] sysvec_
[ 3548.917505] asm_sysvec_
[ 3548.917507] RIP: 0010:cpuidle_
[ 3548.917511] Code: ff e8 d5 bc 77 ff 80 7d d7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 52 02 00 00 31 ff e8 48 66 7e ff fb 66 0f 1f 44 00 00 <45> 85 ff 0f 88 e5 00 00 00 49 63 c7 4c 2b 75 c8 48 8d 14 40 48 8d
[ 3548.917512] RSP: 0018:ffffbc5380
[ 3548.917513] RAX: ffff9fae708ec2c0 RBX: 0000000000000003 RCX: 000000000000001f
[ 3548.917514] RDX: 0000000000000000 RSI: 000000002da97f6a RDI: 0000000000000000
[ 3548.917515] RBP: ffffbc5380123e80 R08: 00000333f5fb2b44 R09: 0000000000001e9b
[ 3548.917516] R10: ffff9fae708eaee4 R11: ffff9fae708eaec4 R12: ffffdc537fcc0000
[ 3548.917517] R13: ffffffffbe64d880 R14: 00000333f5fb2b44 R15: 0000000000000003
[ 3548.917519] ? cpuidle_
[ 3548.917520] cpuidle_
[ 3548.917522] call_cpuidle+
[ 3548.917524] do_idle+0x1df/0x260
[ 3548.917526] cpu_startup_
[ 3548.917527] start_secondary
[ 3548.917530] secondary_
[ 3578.737433] i2c_designware i2c_designware.0: controller timed out
[ 3603.474008] i2c_designware i2c_designware.0: controller timed out
[ 4280.051489] i2c_designware i2c_designware.0: controller timed out
[ 4939.572925] i2c_designware i2c_designware.0: controller timed out
[ 4972.885032] i2c_designware i2c_designware.0: controller timed out
[ 5007.028565] i2c_designware i2c_designware.0: controller timed out
[ 5030.740555] i2c_designware i2c_designware.0: controller timed out
[ 5457.621927] i2c_designware i2c_designware.0: controller timed out
[ 5615.764485] i2c_designware i2c_designware.0: controller timed out
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.11.0-36-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 29 10:43:55 2021
InstallationDate: Installed on 2021-09-16 (12 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Touchpad randomly freezes + Touchpad randomly freezes with soft lookup |
summary: |
- Touchpad randomly freezes with soft lookup + Touchpad high CPU consumption and random freezes with soft lookup |
summary: |
- Touchpad high CPU consumption and random freezes with soft lookup + Touchpad high CPU consumption and random freezes |
I had another touchpad crash and here is the dmesg output :
[10665.178468] i2c_designware i2c_designware.0: controller timed out KLVD-WXX9- PCB-B2, BIOS 3.02 07/31/2021 0x74/0x92 bad_irq+ 0x3a/0xaf cold+0xb/ 0x60 irq_event_ percpu+ 0x73/0x80 irq_event+ 0x3b/0x60 fasteoi_ irq+0x9c/ 0x150 interrupt+ 0x70/0x150 interrupt+ 0x1e/0x40 do_softirq+ 0x73/0x29b 250f90 EFLAGS: 00000206 irq_on_ stack+0xf/ 0x20 own_stack+ 0x3d/0x50 rcu+0xa4/ 0xb0 apic_timer_ interrupt+ 0x3d/0x90 apic_timer_ interrupt+ 0x12/0x20 enter_state+ 0xdf/0x350 133e48 EFLAGS: 00000246 enter_state+ 0xbb/0x350 enter+0x2e/ 0x40 0x23/0x40 entry+0x20/ 0x30 +0x11f/ 0x160 startup_ 64_no_verify+ 0xc2/0xcb
[10681.337825] i2c_designware i2c_designware.0: controller timed out
[10734.714133] i2c_designware i2c_designware.0: controller timed out
[10975.448460] i2c_designware i2c_designware.0: controller timed out
[11397.751194] i2c_designware i2c_designware.0: controller timed out
[11474.262443] i2c_designware i2c_designware.0: controller timed out
[12512.320584] irq 27: nobody cared (try booting with the "irqpoll" option)
[12512.320589] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G O 5.11.0-37-generic #41~20.04.2-Ubuntu
[12512.320591] Hardware name: HUAWEI KLVD-WXX9/
[12512.320592] Call Trace:
[12512.320592] <IRQ>
[12512.320594] dump_stack+
[12512.320599] __report_
[12512.320600] note_interrupt.
[12512.320601] handle_
[12512.320604] handle_
[12512.320605] handle_
[12512.320606] common_
[12512.320608] asm_common_
[12512.320610] RIP: 0010:__
[12512.320612] Code: 7b 01 67 00 01 00 00 89 75 ac c7 45 c8 0a 00 00 00 48 89 45 c0 48 89 45 b0 65 66 c7 05 54 ba 02 67 00 00 fb 66 0f 1f 44 00 00 <bb> ff ff ff ff 49 c7 c3 c0 60 80 99 41 0f bc df 83 c3 01 89 5d d4
[12512.320613] RSP: 0018:ffffb6d500
[12512.320614] RAX: ffff9cc600b83d80 RBX: 0000000000000000 RCX: 00000000000006e0
[12512.320615] RDX: 0000000000000000 RSI: 0000000004200042 RDI: 0000000000000000
[12512.320616] RBP: ffffb6d500250fe8 R08: 0000000000000000 R09: 000006ae80dfda07
[12512.320616] R10: 000006ae80a20080 R11: 0000000000004635 R12: ffffb6d500133d98
[12512.320617] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000080
[12512.320619] asm_call_
[12512.320620] </IRQ>
[12512.320621] do_softirq_
[12512.320622] irq_exit_
[12512.320624] sysvec_
[12512.320625] asm_sysvec_
[12512.320627] RIP: 0010:cpuidle_
[12512.320629] Code: ff e8 d5 b3 77 ff 80 7d d7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 52 02 00 00 31 ff e8 68 5d 7e ff fb 66 0f 1f 44 00 00 <45> 85 ff 0f 88 e5 00 00 00 49 63 c7 4c 2b 75 c8 48 8d 14 40 48 8d
[12512.320630] RSP: 0018:ffffb6d500
[12512.320630] RAX: ffff9cc97096c2c0 RBX: 0000000000000001 RCX: 000000000000001f
[12512.320631] RDX: 0000000000000000 RSI: 000000002da97f6a RDI: 0000000000000000
[12512.320631] RBP: ffffb6d500133e80 R08: 00000b604ab14610 R09: ffffffff99a4d8e0
[12512.320632] R10: ffff9cc97096aee4 R11: ffff9cc97096aec4 R12: ffffd6d4ffd40000
[12512.320633] R13: ffffffff99a4d8e0 R14: 00000b604ab14610 R15: 0000000000000001
[12512.320633] ? cpuidle_
[12512.320635] cpuidle_
[12512.320636] call_cpuidle+
[12512.320638] do_idle+0x1df/0x260
[12512.320639] cpu_startup_
[12512.320640] start_secondary
[12512.320641] secondary_
[12512.32...