seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2019/11/17, 03:52:56


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Kernel 4.16 touchpad/trackpoint not working  (Read 924 times)

0 Members and 1 Guest are viewing this topic.

Offline Carnophage

  • User
  • Posts: 15
    • http://carnophage.wordpress.com
Kernel 4.16 touchpad/trackpoint not working
« on: 2018/04/04, 19:57:15 »
After upgrading kernel to 4.16, I noticed at my work Thinkpad T470 lots of evbug entries in dmesg and journal -xn. As I was leaving the office I simply run
Code: [Select]
rmmod evbug
to stop the spam.

At, home I upgraded my X1 Carbon and same load of evbug messages flooded both dmesg and journal. But in addition, I do not have a working touchpad or trackpoint (no idea if that was the case for T470 at work, as it sits in the docking station and an external keyboard is used - that worked just fine).

As I filtered out evbug entries in dmesg I noticed the following (however it does not look like input related?):
Code: [Select]
[śro kwi  4 19:21:30 2018] WARNING: CPU: 3 PID: 318 at /build/linux-siduction-4.16/drivers/media/v4l2-core/v4l2-dev.c:945 __video_register_device+0xce4/0x10e0 [videodev] [śro kwi  4 19:21:30 2018] Modules linked in: x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm snd_hda_codec_hdmi irqbypass mei_wdt iTCO_wdt crct10dif_pclmul crc32_pclmul iwlmvm(+) ghash_clmulni_intel iTCO_vendor_support wmi_bmof pcbc mac80211 rmi_smbus(+) snd_hda_codec_realtek aesni_intel aes_x86_64 rmi_core crypto_simd videobuf2_vmalloc glue_helper cryptd videobuf2_memops intel_cstate videobuf2_v4l2 input_leds iwlwifi snd_hda_codec_generic videobuf2_common intel_rapl_perf serio_raw videodev i915 pcspkr media snd_hda_intel drm_kms_helper cfg80211 mei_me snd_hda_codec drm evbug thinkpad_acpi snd_hda_core i2c_algo_bit nvram snd_hwdep fb_sys_fops syscopyarea snd_pcm sysfillrect snd_timer mei sysimgblt mac_hid snd video soundcore shpchp lpc_ich intel_pch_thermal wmi sunrpc coretemp ip_tables x_tables autofs4 btrfs [śro kwi  4 19:21:30 2018]  zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear e1000e psmouse ahci ptp i2c_i801 libahci pps_core [śro kwi  4 19:21:30 2018] CPU: 3 PID: 318 Comm: systemd-udevd Not tainted 4.16.0-towo.1-siduction-amd64 #1 siduction 4.16-1 [śro kwi  4 19:21:30 2018] Hardware name: LENOVO 20BS006BPB/20BS006BPB, BIOS N14ET42W (1.20 ) 09/13/2017 [śro kwi  4 19:21:30 2018] RIP: 0010:__video_register_device+0xce4/0x10e0 [videodev] [śro kwi  4 19:21:30 2018] RSP: 0018:ffffc1f941217730 EFLAGS: 00010202 [śro kwi  4 19:21:30 2018] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 [śro kwi  4 19:21:30 2018] RDX: ffffffffc0aafcc0 RSI: ffffffffffffffff RDI: ffffffffc0aafcc0 [śro kwi  4 19:21:30 2018] RBP: 0000000000000000 R08: ffffffffc0811900 R09: 0000000000000000 [śro kwi  4 19:21:30 2018] R10: ffff9f9685403080 R11: 0000000000000003 R12: 0000000000000005 [śro kwi  4 19:21:30 2018] R13: ffffffffc0811900 R14: ffff9f967f22e1c0 R15: 0000000000000001 [śro kwi  4 19:21:30 2018] FS:  00007f5b13a718c0(0000) GS:ffff9f968dcc0000(0000) knlGS:0000000000000000 [śro kwi  4 19:21:30 2018] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [śro kwi  4 19:21:30 2018] CR2: 00007ffe509b5de3 CR3: 000000023e6c0005 CR4: 00000000003606e0 [śro kwi  4 19:21:30 2018] Call Trace: [śro kwi  4 19:21:30 2018]  rmi_f54_probe+0x42f/0x470 [rmi_core] [śro kwi  4 19:21:30 2018]  driver_probe_device+0x30b/0x480 [śro kwi  4 19:21:30 2018]  ? __driver_attach+0xe0/0xe0 [śro kwi  4 19:21:30 2018]  bus_for_each_drv+0x66/0xb0 [śro kwi  4 19:21:30 2018]  __device_attach+0xd9/0x150 [śro kwi  4 19:21:30 2018]  bus_probe_device+0x8a/0xa0 [śro kwi  4 19:21:30 2018]  device_add+0x43c/0x670 [śro kwi  4 19:21:30 2018]  rmi_register_function+0x5e/0xd0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_create_function+0x113/0x1a0 [rmi_core] [śro kwi  4 19:21:30 2018]  ? rmi_irq_fn+0xd0/0xd0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_scan_pdt+0xd6/0x1c0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_init_functions+0x59/0x120 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_driver_probe+0x14a/0x3c0 [rmi_core] [śro kwi  4 19:21:30 2018]  driver_probe_device+0x30b/0x480 [śro kwi  4 19:21:30 2018]  ? __driver_attach+0xe0/0xe0 [śro kwi  4 19:21:30 2018]  bus_for_each_drv+0x66/0xb0 [śro kwi  4 19:21:30 2018]  __device_attach+0xd9/0x150 [śro kwi  4 19:21:30 2018]  bus_probe_device+0x8a/0xa0 [śro kwi  4 19:21:30 2018]  device_add+0x43c/0x670 [śro kwi  4 19:21:30 2018]  rmi_register_transport_device+0x7e/0xf0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_smb_probe+0x1ca/0x275 [rmi_smbus] [śro kwi  4 19:21:30 2018]  ? rmi_smb_resume+0x70/0x70 [rmi_smbus] [śro kwi  4 19:21:30 2018]  i2c_device_probe+0x1e3/0x270 [śro kwi  4 19:21:30 2018]  driver_probe_device+0x30b/0x480 [śro kwi  4 19:21:30 2018]  __driver_attach+0xb8/0xe0 [śro kwi  4 19:21:30 2018]  ? driver_probe_device+0x480/0x480 [śro kwi  4 19:21:30 2018]  ? driver_probe_device+0x480/0x480 [śro kwi  4 19:21:30 2018]  bus_for_each_dev+0x76/0xc0 [śro kwi  4 19:21:30 2018]  bus_add_driver+0x161/0x260 [śro kwi  4 19:21:30 2018]  ? 0xffffffffc054d000 [śro kwi  4 19:21:30 2018]  driver_register+0x57/0xc0 [śro kwi  4 19:21:30 2018]  ? 0xffffffffc054d000 [śro kwi  4 19:21:30 2018]  i2c_register_driver+0x3d/0x90 [śro kwi  4 19:21:30 2018]  ? 0xffffffffc054d000 [śro kwi  4 19:21:30 2018]  do_one_initcall+0x4e/0x18d [śro kwi  4 19:21:30 2018]  ? kobject_uevent_env+0x117/0x7c0 [śro kwi  4 19:21:30 2018]  ? kmem_cache_alloc_trace+0xf3/0x1a0 [śro kwi  4 19:21:30 2018]  do_init_module+0x5b/0x20a [śro kwi  4 19:21:30 2018]  load_module+0x239d/0x2bd0 [śro kwi  4 19:21:30 2018]  ? SYSC_finit_module+0xe9/0x110 [śro kwi  4 19:21:30 2018]  SYSC_finit_module+0xe9/0x110 [śro kwi  4 19:21:30 2018]  do_syscall_64+0x73/0x140 [śro kwi  4 19:21:30 2018]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2 [śro kwi  4 19:21:30 2018] RIP: 0033:0x7f5b133868f9 [śro kwi  4 19:21:30 2018] RSP: 002b:00007ffe509b9478 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [śro kwi  4 19:21:30 2018] RAX: ffffffffffffffda RBX: 0000562973582e00 RCX: 00007f5b133868f9 [śro kwi  4 19:21:30 2018] RDX: 0000000000000000 RSI: 00007f5b1308f0ed RDI: 0000000000000015 [śro kwi  4 19:21:30 2018] RBP: 00007f5b1308f0ed R08: 0000000000000000 R09: 0000000000000000 [śro kwi  4 19:21:30 2018] R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000 [śro kwi  4 19:21:30 2018] R13: 00005629735846a0 R14: 0000000000020000 R15: 0000562973582e00 [śro kwi  4 19:21:30 2018] Code: 48 c7 c7 34 e4 a9 c0 e8 55 e6 85 e7 e9 be fb ff ff 0f 0b 41 bd ea ff ff ff e9 b1 fb ff ff 0f 0b 41 bd ea ff ff ff e9 a4 fb ff ff <0f> 0b e9 86 f4 ff ff 83 fa 01 0f 84 cb 02 00 00 48 83 78 68 00 [śro kwi  4 19:21:30 2018] ---[ end trace 111d3046ec63cff9 ]--- [śro kwi  4 19:21:30 2018] BUG: unable to handle kernel NULL pointer dereference at 0000000000000499 [śro kwi  4 19:21:30 2018] IP: __video_register_device+0x1c5/0x10e0 [videodev] [śro kwi  4 19:21:30 2018] PGD 0 P4D 0 [śro kwi  4 19:21:30 2018] Oops: 0000 [#1] PREEMPT SMP PTI [śro kwi  4 19:21:30 2018] Modules linked in: intel_rapl(+) x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm snd_hda_codec_hdmi irqbypass mei_wdt iTCO_wdt crct10dif_pclmul crc32_pclmul iwlmvm(+) ghash_clmulni_intel iTCO_vendor_support wmi_bmof pcbc mac80211 rmi_smbus(+) snd_hda_codec_realtek aesni_intel aes_x86_64 rmi_core crypto_simd videobuf2_vmalloc glue_helper cryptd videobuf2_memops intel_cstate videobuf2_v4l2 input_leds iwlwifi snd_hda_codec_generic videobuf2_common intel_rapl_perf serio_raw videodev i915 pcspkr media snd_hda_intel drm_kms_helper cfg80211 mei_me snd_hda_codec drm evbug thinkpad_acpi snd_hda_core i2c_algo_bit nvram snd_hwdep fb_sys_fops syscopyarea snd_pcm sysfillrect snd_timer mei sysimgblt mac_hid snd video soundcore shpchp lpc_ich intel_pch_thermal wmi sunrpc coretemp ip_tables x_tables [śro kwi  4 19:21:30 2018]  autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear e1000e psmouse ahci ptp i2c_i801 libahci pps_core [śro kwi  4 19:21:30 2018] CPU: 3 PID: 318 Comm: systemd-udevd Tainted: G        W        4.16.0-towo.1-siduction-amd64 #1 siduction 4.16-1 [śro kwi  4 19:21:30 2018] Hardware name: LENOVO 20BS006BPB/20BS006BPB, BIOS N14ET42W (1.20 ) 09/13/2017 [śro kwi  4 19:21:30 2018] RIP: 0010:__video_register_device+0x1c5/0x10e0 [videodev] [śro kwi  4 19:21:30 2018] RSP: 0018:ffffc1f941217730 EFLAGS: 00010202 [śro kwi  4 19:21:30 2018] RAX: ffffffffc0aafcc0 RBX: 0000000000000005 RCX: ffffffffc0ab04c0 [śro kwi  4 19:21:30 2018] RDX: 0000000000000001 RSI: ffff9f967f22e118 RDI: ffffffffc0aafcc0 [śro kwi  4 19:21:30 2018] RBP: 0000000000000000 R08: ffffffffc0811900 R09: 0000000000000000 [śro kwi  4 19:21:30 2018] R10: ffff9f9685403080 R11: 0000000000000003 R12: 0000000000000005 [śro kwi  4 19:21:30 2018] R13: ffffffffc0811900 R14: ffff9f967f22e1c0 R15: 0000000000000001 [śro kwi  4 19:21:30 2018] FS:  00007f5b13a718c0(0000) GS:ffff9f968dcc0000(0000) knlGS:0000000000000000 [śro kwi  4 19:21:30 2018] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [śro kwi  4 19:21:30 2018] CR2: 0000000000000499 CR3: 000000023e6c0005 CR4: 00000000003606e0 [śro kwi  4 19:21:30 2018] Call Trace: [śro kwi  4 19:21:30 2018]  rmi_f54_probe+0x42f/0x470 [rmi_core] [śro kwi  4 19:21:30 2018]  driver_probe_device+0x30b/0x480 [śro kwi  4 19:21:30 2018]  ? __driver_attach+0xe0/0xe0 [śro kwi  4 19:21:30 2018]  bus_for_each_drv+0x66/0xb0 [śro kwi  4 19:21:30 2018]  __device_attach+0xd9/0x150 [śro kwi  4 19:21:30 2018]  bus_probe_device+0x8a/0xa0 [śro kwi  4 19:21:30 2018]  device_add+0x43c/0x670 [śro kwi  4 19:21:30 2018]  rmi_register_function+0x5e/0xd0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_create_function+0x113/0x1a0 [rmi_core] [śro kwi  4 19:21:30 2018]  ? rmi_irq_fn+0xd0/0xd0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_scan_pdt+0xd6/0x1c0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_init_functions+0x59/0x120 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_driver_probe+0x14a/0x3c0 [rmi_core] [śro kwi  4 19:21:30 2018]  driver_probe_device+0x30b/0x480 [śro kwi  4 19:21:30 2018]  ? __driver_attach+0xe0/0xe0 [śro kwi  4 19:21:30 2018]  bus_for_each_drv+0x66/0xb0 [śro kwi  4 19:21:30 2018]  __device_attach+0xd9/0x150 [śro kwi  4 19:21:30 2018]  bus_probe_device+0x8a/0xa0 [śro kwi  4 19:21:30 2018]  device_add+0x43c/0x670 [śro kwi  4 19:21:30 2018]  rmi_register_transport_device+0x7e/0xf0 [rmi_core] [śro kwi  4 19:21:30 2018]  rmi_smb_probe+0x1ca/0x275 [rmi_smbus] [śro kwi  4 19:21:30 2018]  ? rmi_smb_resume+0x70/0x70 [rmi_smbus] [śro kwi  4 19:21:30 2018]  i2c_device_probe+0x1e3/0x270 [śro kwi  4 19:21:30 2018]  driver_probe_device+0x30b/0x480 [śro kwi  4 19:21:30 2018]  __driver_attach+0xb8/0xe0 [śro kwi  4 19:21:30 2018]  ? driver_probe_device+0x480/0x480 [śro kwi  4 19:21:30 2018]  ? driver_probe_device+0x480/0x480 [śro kwi  4 19:21:30 2018]  bus_for_each_dev+0x76/0xc0 [śro kwi  4 19:21:30 2018]  bus_add_driver+0x161/0x260 [śro kwi  4 19:21:30 2018]  ? 0xffffffffc054d000 [śro kwi  4 19:21:30 2018]  driver_register+0x57/0xc0 [śro kwi  4 19:21:30 2018]  ? 0xffffffffc054d000 [śro kwi  4 19:21:30 2018]  i2c_register_driver+0x3d/0x90 [śro kwi  4 19:21:30 2018]  ? 0xffffffffc054d000 [śro kwi  4 19:21:30 2018]  do_one_initcall+0x4e/0x18d [śro kwi  4 19:21:30 2018]  ? kobject_uevent_env+0x117/0x7c0 [śro kwi  4 19:21:30 2018]  ? kmem_cache_alloc_trace+0xf3/0x1a0 [śro kwi  4 19:21:30 2018]  do_init_module+0x5b/0x20a [śro kwi  4 19:21:30 2018]  load_module+0x239d/0x2bd0 [śro kwi  4 19:21:30 2018]  ? SYSC_finit_module+0xe9/0x110 [śro kwi  4 19:21:30 2018]  SYSC_finit_module+0xe9/0x110 [śro kwi  4 19:21:30 2018]  do_syscall_64+0x73/0x140 [śro kwi  4 19:21:30 2018]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2 [śro kwi  4 19:21:30 2018] RIP: 0033:0x7f5b133868f9 [śro kwi  4 19:21:30 2018] RSP: 002b:00007ffe509b9478 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [śro kwi  4 19:21:30 2018] RAX: ffffffffffffffda RBX: 0000562973582e00 RCX: 00007f5b133868f9 [śro kwi  4 19:21:30 2018] RDX: 0000000000000000 RSI: 00007f5b1308f0ed RDI: 0000000000000015 [śro kwi  4 19:21:30 2018] RBP: 00007f5b1308f0ed R08: 0000000000000000 R09: 0000000000000000 [śro kwi  4 19:21:30 2018] R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000 [śro kwi  4 19:21:30 2018] R13: 00005629735846a0 R14: 0000000000020000 R15: 0000562973582e00 [śro kwi  4 19:21:30 2018] Code: c7 05 64 83 02 00 00 00 00 00 48 8d 88 00 08 00 00 eb 09 48 83 c0 08 48 39 c1 74 31 48 8b 10 48 85 d2 74 ef 49 8b b6 98 04 00 00 <48> 39 b2 98 04 00 00 75 df 48 63 92 f8 04 00 00 f0 48 0f ab 15 [śro kwi  4 19:21:30 2018] RIP: __video_register_device+0x1c5/0x10e0 [videodev] RSP: ffffc1f941217730 [śro kwi  4 19:21:30 2018] CR2: 0000000000000499 [śro kwi  4 19:21:30 2018] ---[ end trace 111d3046ec63cffa ]---
Full dmesg: http://dpaste.com/10CK6HB

Anyone else encountered similar issues?
Booting back to 4.15 and above issues do not exist.

Code: [Select]
System:    Host: hal9001 Kernel: 4.15.15-towo.1-siduction-amd64 x86_64 bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.4 (Gtk 2.24.31) info: xfce4-panel dm: sddm,sddm
           Distro: siduction 14.1.0 Indian Summer - nox - (201411230419)
Machine:   Device: laptop System: LENOVO product: 20BS006BPB v: ThinkPad X1 Carbon 3rd serial: R90FE0CM
           Mobo: LENOVO model: 20BS006BPB v: SDK0E50510 WIN serial: W1KS53310PP
           UEFI [Legacy]: LENOVO v: N14ET42W (1.20 ) date: 09/13/2017
           Chassis: type: 10 serial: R90FE0CM
Graphics:  Card: Intel HD Graphics 5500 bus-ID: 00:02.0 chip-ID: 8086:1616
           Display Server: x11 (X.org 1.19.6 ) drivers: modesetting (unloaded: fbdev)
           tty size: 255x49 Advanced Data: N/A for root

[edit]
Looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=105338
« Last Edit: 2018/04/04, 20:50:40 by Carnophage »

Offline melmarker

  • Global Moderator
  • User
  • *****
  • Posts: 2.765
    • g-com.eu
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #1 on: 2018/04/04, 20:57:39 »
just blacklist the evbug module and be done with
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline Carnophage

  • User
  • Posts: 15
    • http://carnophage.wordpress.com
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #2 on: 2018/04/04, 21:12:15 »
That helps for evbug spam, but does not solve the lack of working touchpad/trackpoint or BUG: unable to handle kernel NULL pointer dereference at 0000000000000499

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.373
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #3 on: 2018/04/04, 21:29:52 »
Got the evdev errors like a few others on IRC. My touchpad and trackpoint are working though.

Offline hendrikL

  • User
  • Posts: 320
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #4 on: 2018/04/04, 21:32:21 »
Thinkpad T410, touchpad and trackpoint working, kernel: 4.16.0-towo.1-siduction-amd64


Offline Carnophage

  • User
  • Posts: 15
    • http://carnophage.wordpress.com
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #5 on: 2018/04/04, 22:19:11 »
Looks like it poped out in linux-media: https://www.mail-archive.com/linux-media@vger.kernel.org/msg128732.html

I have a feeling, that lack of touchpad/tracpoint is a side effect of the crash, as it breaks hw detection?


Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.308
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #7 on: 2018/04/05, 16:24:45 »
Thanks for the heads up, i have added this patch and unset evbug in the recent kernel.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline Carnophage

  • User
  • Posts: 15
    • http://carnophage.wordpress.com
Re: Kernel 4.16 touchpad/trackpoint not working
« Reply #8 on: 2018/04/07, 11:28:35 »
I see that patch was reverted due to compilation issues. That's unfortunate but fully understandable.

I'm just wondering, what am I doing differently as I get a working deb by doing:
Code: [Select]
6884  [07/04 09:40] apt source linux-image-4.16.0-towo.2-siduction-amd64
6885  [07/04 09:41] cd linux-siduction-4.16/
6886  [07/04 09:41] patch -p1 < ../v4l2-dev-fix-official.patch
6887  [07/04 09:41] DEB_BUILD_OPTIONS=parallel=4 fakeroot debian/rules binary
Patch taken from https://git.linuxtv.org/media_tree.git/diff/?h=fixes&id2=85ea29f19eab56ec16ec6b92bc67305998706afa (at first glance differs only in comment compared to the one from the mailing list - which worked for me as well).
« Last Edit: 2018/04/07, 11:34:15 by Carnophage »