Bug 1919648

Summary: Pen freezes system after kernel update
Product: [Fedora] Fedora Reporter: Robert <robert.de.rooy>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: acaringi, adscvr, airlied, alciregi, bperkins, bskeggs, christian.lupien, hdegoede, itamar, jarodwilson, jeremy, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-05 10:13:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg of the 5.10.9 kernel
none
logs of oops on 5.10.8
none
logs of oops on 5.10.9 none

Description Robert 2021-01-24 12:24:44 UTC
1. Please describe the problem:
On either a old Lenovo ThinkPad X1 Yoga (Gen1), or a new ThinkPad X13 Yoga (Gen1) touching the screen with the stylus freezes the system.

This occurs after the 5.10 kernel update. Booting the 5.9 kernel solves the issue. No messages can be found in syslog. It seems logging just stops.

2. What is the Version-Release number of the kernel:
kernel-5.10.9-201.fc33.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :


Switching to the 5.10 kernel seems to have introduced the issue. Booting the 5.9 kernel prevents the crash.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Boot the 5.10 kernel on a suitably equipped machine, and try to use the stylus.


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Not tested.


6. Are you running any modules that not shipped with directly Fedora's kernel?:

No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

TBD.

Comment 1 Robert 2021-01-24 13:11:13 UTC
I have to correct the above statement regarding the version where it broke. My user reported slightly misleading information ;-)

This is based on my own testing on the X13 Yoga.

Working kernel-5.9.16-200.fc33.x86_64
Working kernel-5.10.7-200.fc33.x86_64

Broken kernel-5.10.8-200.fc33.x86_64
Broken kernel-5.10.9-201.fc33.x86_64

Comment 2 Robert 2021-01-24 13:15:32 UTC
An external USB Wacom Bamboo tablet does not cause the crash (tested with kernel-5.10.9-201.fc33.x86_64)

Comment 3 Robert 2021-01-24 13:22:13 UTC
Created attachment 1750234 [details]
dmesg of the 5.10.9 kernel

Comment 4 Christian Lupien 2021-01-26 15:21:59 UTC
I have a similar problem on my dell XPS13 2in1. The touch screen and the pen stop working (otherwise the system still works, however I did also experience a crash). This is under wayland.

5.10.7-200.fc33.x86_64 works,
5.10.8-200.fc33.x86_64 and 5.10.9-201.fc33.x86_64 do not.

Comment 5 Christian Lupien 2021-01-26 15:23:02 UTC
Created attachment 1750910 [details]
logs of oops on 5.10.8

Comment 6 Christian Lupien 2021-01-26 15:23:39 UTC
Created attachment 1750911 [details]
logs of oops on 5.10.9

Comment 7 Robert 2021-03-05 10:13:29 UTC
It seems a more recent kernel update fixed the issue. Not quite sure which one as pen input was avoided due to these freezes.

Right now the systems are on kernel-5.10.19-200.fc33.x86_64

As such I'm closing this.