[Kernel-packages] [Bug 1815508] Re: Xorg freezes due to kernel hung task in the i915 driver
I'm assuming this is fixed in a later release like 20.04, but if not, reopen or file a new bug ** Changed in: linux (Ubuntu) Status: Incomplete => Invalid ** Changed in: linux (Ubuntu) Assignee: Timo Aaltonen (tjaalton) => (unassigned) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1815508 Title: Xorg freezes due to kernel hung task in the i915 driver Status in linux package in Ubuntu: Invalid Bug description: This bug is present in 18.04 and is triggered by specific actions, in particular, paging through image galleries in Eye of Gnome. When the bug is triggered, Xorg freezes completely and goes into the D (uninterruptible sleep) state. The machine continues to respond to ping and ssh. When triggering a shutdown or reboot over ssh, the shutdown process continues normally until most userspace processes (including systemd-journald) have been stopped, but then hangs. The system can still be rebooted with the magic sysrq technique. Here's some dmesg output: [0.00] Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 (Ubuntu 4.15.0-45.48-generic 4.15.18) [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-45-generic root=/dev/mapper/good--fortune--vg-root ro intel_iommu=igfx_off ### # This error happens regularly and may be irrelevant: ### [ 345.680936] [ cut here ] [ 345.680938] Failed to release pages: bind_count=1, pages_pin_count=1, pin_global=0 [ 345.680998] WARNING: CPU: 1 PID: 241 at /build/linux-uQJ2um/linux-4.15.0/drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe8/0xf0 [i915] [ 345.680999] Modules linked in: zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) nls_iso8859_1 xt_hl ip6t_rt intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass intel_cstate intel_rapl_perf eeepc_wmi asus_wmi sparse_keymap wmi_bmof nf_conntrack_ipv6 snd_hda_codec_hdmi nf_defrag_ipv6 snd_hda_codec_realtek snd_hda_codec_generic xt_limit uvcvideo xt_tcpudp xt_addrtype videobuf2_vmalloc snd_hda_intel snd_hda_codec videobuf2_memops videobuf2_v4l2 snd_hda_core snd_usb_audio videobuf2_core snd_usbmidi_lib joydev snd_hwdep videodev snd_rawmidi shpchp snd_seq_device media snd_pcm snd_timer input_leds usblp snd soundcore mei_me mei acpi_pad mac_hid sch_fq_codel nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi [ 345.681028] scsi_transport_iscsi coretemp ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack parport_pc ppdev lp parport iptable_filter ip_tables x_tables autofs4 btrfs zstd_compress algif_skcipher af_alg dm_crypt hid_microsoft raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic usbhid hid raid6_pq libcrc32c raid1 raid0 multipath linear i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect aesni_intel mxm_wmi sysimgblt fb_sys_fops e1000e aes_x86_64 crypto_simd ptp glue_helper nvme cryptd drm pps_core ahci nvme_core libahci wmi video [ 345.681059] CPU: 1 PID: 241 Comm: kworker/u8:5 Tainted: P O 4.15.0-45-generic #48-Ubuntu [ 345.681059] Hardware name: System manufacturer System Product Name/PRIME B250M-C, BIOS 1402 11/16/2018 [ 345.681081] Workqueue: i915-userptr-release cancel_userptr [i915] [ 345.681096] RIP: 0010:cancel_userptr+0xe8/0xf0 [i915] [ 345.681097] RSP: 0018:afc441edbe60 EFLAGS: 00010282 [ 345.681098] RAX: RBX: 8fb681b17600 RCX: 0006 [ 345.681099] RDX: 0007 RSI: 0082 RDI: 8fb6b6c96490 [ 345.681100] RBP: afc441edbe78 R08: 0001 R09: 03c4 [ 345.681101] R10: e28d5018ef80 R11: R12: 8fb681b177a8 [ 345.681101] R13: R14: 8fb698eba500 R15: [ 345.681102] FS: () GS:8fb6b6c8() knlGS: [ 345.681103] CS: 0010 DS: ES: CR0: 80050033 [ 345.681104] CR2: 7f18205d3857 CR3: 22e0a002 CR4: 003606e0 [ 345.681105] Call Trace: [ 345.681110] process_one_work+0x1de/0x410 [ 345.68] worker_thread+0x32/0x410 [ 345.681113] kthread+0x121/0x140 [ 345.681115] ? process_one_work+0x410/0x410 [ 345.681116] ? kthread_create_worker_on_cpu+0x70/0x70 [ 345.681119] ret_from_fork+0x35/0x40 [ 345.681120] Code: bf 46 ff ff eb c9 8b 93 c8 01 00 00 8b 8b a4 01 00 00 48 c7 c7 40 44 7a c0 8b b3 9c 01 00 00 c6 05 b5 56 10 00 01 e8 e8 2a fc fa <0f> 0b eb bc 0f 1f 40 00 0f 1f 44 00 00 55 ba 08 00 00 00 48 89 [ 345.681144] ---[
[Kernel-packages] [Bug 1815508] Re: Xorg freezes due to kernel hung task in the i915 driver
I use ZFS. I looked here: https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.11/ and it looks like linux- modules-4.20.11-042011-generic_4.20.11-042011.201902200535_amd64.deb does not provide a zfs.ko. Given that the bug may take days to reproduce, is there a way I can perform this testing without losing access to my ZFS filesystem? Thanks for your time. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1815508 Title: Xorg freezes due to kernel hung task in the i915 driver Status in linux package in Ubuntu: Incomplete Bug description: This bug is present in 18.04 and is triggered by specific actions, in particular, paging through image galleries in Eye of Gnome. When the bug is triggered, Xorg freezes completely and goes into the D (uninterruptible sleep) state. The machine continues to respond to ping and ssh. When triggering a shutdown or reboot over ssh, the shutdown process continues normally until most userspace processes (including systemd-journald) have been stopped, but then hangs. The system can still be rebooted with the magic sysrq technique. Here's some dmesg output: [0.00] Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 (Ubuntu 4.15.0-45.48-generic 4.15.18) [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-45-generic root=/dev/mapper/good--fortune--vg-root ro intel_iommu=igfx_off ### # This error happens regularly and may be irrelevant: ### [ 345.680936] [ cut here ] [ 345.680938] Failed to release pages: bind_count=1, pages_pin_count=1, pin_global=0 [ 345.680998] WARNING: CPU: 1 PID: 241 at /build/linux-uQJ2um/linux-4.15.0/drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe8/0xf0 [i915] [ 345.680999] Modules linked in: zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) nls_iso8859_1 xt_hl ip6t_rt intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass intel_cstate intel_rapl_perf eeepc_wmi asus_wmi sparse_keymap wmi_bmof nf_conntrack_ipv6 snd_hda_codec_hdmi nf_defrag_ipv6 snd_hda_codec_realtek snd_hda_codec_generic xt_limit uvcvideo xt_tcpudp xt_addrtype videobuf2_vmalloc snd_hda_intel snd_hda_codec videobuf2_memops videobuf2_v4l2 snd_hda_core snd_usb_audio videobuf2_core snd_usbmidi_lib joydev snd_hwdep videodev snd_rawmidi shpchp snd_seq_device media snd_pcm snd_timer input_leds usblp snd soundcore mei_me mei acpi_pad mac_hid sch_fq_codel nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi [ 345.681028] scsi_transport_iscsi coretemp ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack parport_pc ppdev lp parport iptable_filter ip_tables x_tables autofs4 btrfs zstd_compress algif_skcipher af_alg dm_crypt hid_microsoft raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic usbhid hid raid6_pq libcrc32c raid1 raid0 multipath linear i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect aesni_intel mxm_wmi sysimgblt fb_sys_fops e1000e aes_x86_64 crypto_simd ptp glue_helper nvme cryptd drm pps_core ahci nvme_core libahci wmi video [ 345.681059] CPU: 1 PID: 241 Comm: kworker/u8:5 Tainted: P O 4.15.0-45-generic #48-Ubuntu [ 345.681059] Hardware name: System manufacturer System Product Name/PRIME B250M-C, BIOS 1402 11/16/2018 [ 345.681081] Workqueue: i915-userptr-release cancel_userptr [i915] [ 345.681096] RIP: 0010:cancel_userptr+0xe8/0xf0 [i915] [ 345.681097] RSP: 0018:afc441edbe60 EFLAGS: 00010282 [ 345.681098] RAX: RBX: 8fb681b17600 RCX: 0006 [ 345.681099] RDX: 0007 RSI: 0082 RDI: 8fb6b6c96490 [ 345.681100] RBP: afc441edbe78 R08: 0001 R09: 03c4 [ 345.681101] R10: e28d5018ef80 R11: R12: 8fb681b177a8 [ 345.681101] R13: R14: 8fb698eba500 R15: [ 345.681102] FS: () GS:8fb6b6c8() knlGS: [ 345.681103] CS: 0010 DS: ES: CR0: 80050033 [ 345.681104] CR2: 7f18205d3857 CR3: 22e0a002 CR4: 003606e0 [ 345.681105] Call Trace: [ 345.681110] process_one_work+0x1de/0x410 [ 345.68] worker_thread+0x32/0x410 [ 345.681113] kthread+0x121/0x140 [ 345.681115] ? process_one_work+0x410/0x410 [ 345.681116] ? kthread_create_worker_on_cpu+0x70/0x70 [ 345.681119] ret_from_fork+0x35/0x40 [ 345.681120] Code: bf 46 ff ff eb c9 8b 93 c8 01 00 00 8b 8b a4 01 00 00 48 c7 c7 40 44 7a c0 8b b3 9c 01 00 00 c6 05 b5 5
[Kernel-packages] [Bug 1815508] Re: Xorg freezes due to kernel hung task in the i915 driver
please try the latest mainline kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/ install the matching linux-modules pkg too ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Timo Aaltonen (tjaalton) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1815508 Title: Xorg freezes due to kernel hung task in the i915 driver Status in linux package in Ubuntu: Incomplete Bug description: This bug is present in 18.04 and is triggered by specific actions, in particular, paging through image galleries in Eye of Gnome. When the bug is triggered, Xorg freezes completely and goes into the D (uninterruptible sleep) state. The machine continues to respond to ping and ssh. When triggering a shutdown or reboot over ssh, the shutdown process continues normally until most userspace processes (including systemd-journald) have been stopped, but then hangs. The system can still be rebooted with the magic sysrq technique. Here's some dmesg output: [0.00] Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 (Ubuntu 4.15.0-45.48-generic 4.15.18) [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-45-generic root=/dev/mapper/good--fortune--vg-root ro intel_iommu=igfx_off ### # This error happens regularly and may be irrelevant: ### [ 345.680936] [ cut here ] [ 345.680938] Failed to release pages: bind_count=1, pages_pin_count=1, pin_global=0 [ 345.680998] WARNING: CPU: 1 PID: 241 at /build/linux-uQJ2um/linux-4.15.0/drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe8/0xf0 [i915] [ 345.680999] Modules linked in: zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) nls_iso8859_1 xt_hl ip6t_rt intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass intel_cstate intel_rapl_perf eeepc_wmi asus_wmi sparse_keymap wmi_bmof nf_conntrack_ipv6 snd_hda_codec_hdmi nf_defrag_ipv6 snd_hda_codec_realtek snd_hda_codec_generic xt_limit uvcvideo xt_tcpudp xt_addrtype videobuf2_vmalloc snd_hda_intel snd_hda_codec videobuf2_memops videobuf2_v4l2 snd_hda_core snd_usb_audio videobuf2_core snd_usbmidi_lib joydev snd_hwdep videodev snd_rawmidi shpchp snd_seq_device media snd_pcm snd_timer input_leds usblp snd soundcore mei_me mei acpi_pad mac_hid sch_fq_codel nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi [ 345.681028] scsi_transport_iscsi coretemp ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack parport_pc ppdev lp parport iptable_filter ip_tables x_tables autofs4 btrfs zstd_compress algif_skcipher af_alg dm_crypt hid_microsoft raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic usbhid hid raid6_pq libcrc32c raid1 raid0 multipath linear i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect aesni_intel mxm_wmi sysimgblt fb_sys_fops e1000e aes_x86_64 crypto_simd ptp glue_helper nvme cryptd drm pps_core ahci nvme_core libahci wmi video [ 345.681059] CPU: 1 PID: 241 Comm: kworker/u8:5 Tainted: P O 4.15.0-45-generic #48-Ubuntu [ 345.681059] Hardware name: System manufacturer System Product Name/PRIME B250M-C, BIOS 1402 11/16/2018 [ 345.681081] Workqueue: i915-userptr-release cancel_userptr [i915] [ 345.681096] RIP: 0010:cancel_userptr+0xe8/0xf0 [i915] [ 345.681097] RSP: 0018:afc441edbe60 EFLAGS: 00010282 [ 345.681098] RAX: RBX: 8fb681b17600 RCX: 0006 [ 345.681099] RDX: 0007 RSI: 0082 RDI: 8fb6b6c96490 [ 345.681100] RBP: afc441edbe78 R08: 0001 R09: 03c4 [ 345.681101] R10: e28d5018ef80 R11: R12: 8fb681b177a8 [ 345.681101] R13: R14: 8fb698eba500 R15: [ 345.681102] FS: () GS:8fb6b6c8() knlGS: [ 345.681103] CS: 0010 DS: ES: CR0: 80050033 [ 345.681104] CR2: 7f18205d3857 CR3: 22e0a002 CR4: 003606e0 [ 345.681105] Call Trace: [ 345.681110] process_one_work+0x1de/0x410 [ 345.68] worker_thread+0x32/0x410 [ 345.681113] kthread+0x121/0x140 [ 345.681115] ? process_one_work+0x410/0x410 [ 345.681116] ? kthread_create_worker_on_cpu+0x70/0x70 [ 345.681119] ret_from_fork+0x35/0x40 [ 345.681120] Code: bf 46 ff ff eb c9 8b 93 c8 01 00 00 8b 8b a4 01 00 00 48 c7 c7 40 44 7a c0 8b b3 9c 01 00 00 c6 05 b5 56 10 00 01 e8 e8 2a fc fa <0f> 0b eb bc 0f 1f 40 00 0f 1f 44 00 00 55
[Kernel-packages] [Bug 1815508] Re: Xorg freezes due to kernel hung task in the i915 driver
Following advice I saw on Stackexchange, I've been setting `intel_iommu=igfx_off` on the kernel command line; this seems to mitigate, but the bug still occurs. I've submitted a redacted version of the apport-collect output, which I hope is enough. I will tentatively mark the bug confirmed. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1815508 Title: Xorg freezes due to kernel hung task in the i915 driver Status in linux package in Ubuntu: Confirmed Bug description: This bug is present in 18.04 and is triggered by specific actions, in particular, paging through image galleries in Eye of Gnome. When the bug is triggered, Xorg freezes completely and goes into the D (uninterruptible sleep) state. The machine continues to respond to ping and ssh. When triggering a shutdown or reboot over ssh, the shutdown process continues normally until most userspace processes (including systemd-journald) have been stopped, but then hangs. The system can still be rebooted with the magic sysrq technique. Here's some dmesg output: [0.00] Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 (Ubuntu 4.15.0-45.48-generic 4.15.18) [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-45-generic root=/dev/mapper/good--fortune--vg-root ro intel_iommu=igfx_off ### # This error happens regularly and may be irrelevant: ### [ 345.680936] [ cut here ] [ 345.680938] Failed to release pages: bind_count=1, pages_pin_count=1, pin_global=0 [ 345.680998] WARNING: CPU: 1 PID: 241 at /build/linux-uQJ2um/linux-4.15.0/drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe8/0xf0 [i915] [ 345.680999] Modules linked in: zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) nls_iso8859_1 xt_hl ip6t_rt intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass intel_cstate intel_rapl_perf eeepc_wmi asus_wmi sparse_keymap wmi_bmof nf_conntrack_ipv6 snd_hda_codec_hdmi nf_defrag_ipv6 snd_hda_codec_realtek snd_hda_codec_generic xt_limit uvcvideo xt_tcpudp xt_addrtype videobuf2_vmalloc snd_hda_intel snd_hda_codec videobuf2_memops videobuf2_v4l2 snd_hda_core snd_usb_audio videobuf2_core snd_usbmidi_lib joydev snd_hwdep videodev snd_rawmidi shpchp snd_seq_device media snd_pcm snd_timer input_leds usblp snd soundcore mei_me mei acpi_pad mac_hid sch_fq_codel nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi [ 345.681028] scsi_transport_iscsi coretemp ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack parport_pc ppdev lp parport iptable_filter ip_tables x_tables autofs4 btrfs zstd_compress algif_skcipher af_alg dm_crypt hid_microsoft raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic usbhid hid raid6_pq libcrc32c raid1 raid0 multipath linear i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect aesni_intel mxm_wmi sysimgblt fb_sys_fops e1000e aes_x86_64 crypto_simd ptp glue_helper nvme cryptd drm pps_core ahci nvme_core libahci wmi video [ 345.681059] CPU: 1 PID: 241 Comm: kworker/u8:5 Tainted: P O 4.15.0-45-generic #48-Ubuntu [ 345.681059] Hardware name: System manufacturer System Product Name/PRIME B250M-C, BIOS 1402 11/16/2018 [ 345.681081] Workqueue: i915-userptr-release cancel_userptr [i915] [ 345.681096] RIP: 0010:cancel_userptr+0xe8/0xf0 [i915] [ 345.681097] RSP: 0018:afc441edbe60 EFLAGS: 00010282 [ 345.681098] RAX: RBX: 8fb681b17600 RCX: 0006 [ 345.681099] RDX: 0007 RSI: 0082 RDI: 8fb6b6c96490 [ 345.681100] RBP: afc441edbe78 R08: 0001 R09: 03c4 [ 345.681101] R10: e28d5018ef80 R11: R12: 8fb681b177a8 [ 345.681101] R13: R14: 8fb698eba500 R15: [ 345.681102] FS: () GS:8fb6b6c8() knlGS: [ 345.681103] CS: 0010 DS: ES: CR0: 80050033 [ 345.681104] CR2: 7f18205d3857 CR3: 22e0a002 CR4: 003606e0 [ 345.681105] Call Trace: [ 345.681110] process_one_work+0x1de/0x410 [ 345.68] worker_thread+0x32/0x410 [ 345.681113] kthread+0x121/0x140 [ 345.681115] ? process_one_work+0x410/0x410 [ 345.681116] ? kthread_create_worker_on_cpu+0x70/0x70 [ 345.681119] ret_from_fork+0x35/0x40 [ 345.681120] Code: bf 46 ff ff eb c9 8b 93 c8 01 00 00 8b 8b a4 01 00 00 48 c7 c7 40 44 7a c0 8b b3 9c 01 00 00 c6 05 b5 56
[Kernel-packages] [Bug 1815508] Re: Xorg freezes due to kernel hung task in the i915 driver
redacted copy of apport-collect output ** Attachment added: "apport.redacted.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1815508/+attachment/5237750/+files/apport.redacted.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1815508 Title: Xorg freezes due to kernel hung task in the i915 driver Status in linux package in Ubuntu: Confirmed Bug description: This bug is present in 18.04 and is triggered by specific actions, in particular, paging through image galleries in Eye of Gnome. When the bug is triggered, Xorg freezes completely and goes into the D (uninterruptible sleep) state. The machine continues to respond to ping and ssh. When triggering a shutdown or reboot over ssh, the shutdown process continues normally until most userspace processes (including systemd-journald) have been stopped, but then hangs. The system can still be rebooted with the magic sysrq technique. Here's some dmesg output: [0.00] Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 (Ubuntu 4.15.0-45.48-generic 4.15.18) [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-45-generic root=/dev/mapper/good--fortune--vg-root ro intel_iommu=igfx_off ### # This error happens regularly and may be irrelevant: ### [ 345.680936] [ cut here ] [ 345.680938] Failed to release pages: bind_count=1, pages_pin_count=1, pin_global=0 [ 345.680998] WARNING: CPU: 1 PID: 241 at /build/linux-uQJ2um/linux-4.15.0/drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe8/0xf0 [i915] [ 345.680999] Modules linked in: zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) nls_iso8859_1 xt_hl ip6t_rt intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass intel_cstate intel_rapl_perf eeepc_wmi asus_wmi sparse_keymap wmi_bmof nf_conntrack_ipv6 snd_hda_codec_hdmi nf_defrag_ipv6 snd_hda_codec_realtek snd_hda_codec_generic xt_limit uvcvideo xt_tcpudp xt_addrtype videobuf2_vmalloc snd_hda_intel snd_hda_codec videobuf2_memops videobuf2_v4l2 snd_hda_core snd_usb_audio videobuf2_core snd_usbmidi_lib joydev snd_hwdep videodev snd_rawmidi shpchp snd_seq_device media snd_pcm snd_timer input_leds usblp snd soundcore mei_me mei acpi_pad mac_hid sch_fq_codel nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi [ 345.681028] scsi_transport_iscsi coretemp ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack parport_pc ppdev lp parport iptable_filter ip_tables x_tables autofs4 btrfs zstd_compress algif_skcipher af_alg dm_crypt hid_microsoft raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic usbhid hid raid6_pq libcrc32c raid1 raid0 multipath linear i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect aesni_intel mxm_wmi sysimgblt fb_sys_fops e1000e aes_x86_64 crypto_simd ptp glue_helper nvme cryptd drm pps_core ahci nvme_core libahci wmi video [ 345.681059] CPU: 1 PID: 241 Comm: kworker/u8:5 Tainted: P O 4.15.0-45-generic #48-Ubuntu [ 345.681059] Hardware name: System manufacturer System Product Name/PRIME B250M-C, BIOS 1402 11/16/2018 [ 345.681081] Workqueue: i915-userptr-release cancel_userptr [i915] [ 345.681096] RIP: 0010:cancel_userptr+0xe8/0xf0 [i915] [ 345.681097] RSP: 0018:afc441edbe60 EFLAGS: 00010282 [ 345.681098] RAX: RBX: 8fb681b17600 RCX: 0006 [ 345.681099] RDX: 0007 RSI: 0082 RDI: 8fb6b6c96490 [ 345.681100] RBP: afc441edbe78 R08: 0001 R09: 03c4 [ 345.681101] R10: e28d5018ef80 R11: R12: 8fb681b177a8 [ 345.681101] R13: R14: 8fb698eba500 R15: [ 345.681102] FS: () GS:8fb6b6c8() knlGS: [ 345.681103] CS: 0010 DS: ES: CR0: 80050033 [ 345.681104] CR2: 7f18205d3857 CR3: 22e0a002 CR4: 003606e0 [ 345.681105] Call Trace: [ 345.681110] process_one_work+0x1de/0x410 [ 345.68] worker_thread+0x32/0x410 [ 345.681113] kthread+0x121/0x140 [ 345.681115] ? process_one_work+0x410/0x410 [ 345.681116] ? kthread_create_worker_on_cpu+0x70/0x70 [ 345.681119] ret_from_fork+0x35/0x40 [ 345.681120] Code: bf 46 ff ff eb c9 8b 93 c8 01 00 00 8b 8b a4 01 00 00 48 c7 c7 40 44 7a c0 8b b3 9c 01 00 00 c6 05 b5 56 10 00 01 e8 e8 2a fc fa <0f> 0b eb bc 0f 1f 40 00 0f 1f 44 00 00 55 ba 08 00 00 00 48 89 [ 345.681144] ---[ end trace f92d63918dad1269 ]--- ### # This is th