[i915] Xorg freeze on a Dell 7240 (kernel crashed in bitmap_free from i915_gem_object_set_tiling)

Bug #1917334 reported by kailoran
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.8 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

New Dell laptop, fresh 20.04 install, 5.8.0-44-generic #50~20.04.1-Ubuntu SMP, had two xorg freezes the same day. Managed to grab dmesg from one where I got a text console:

[12775.113344] BUG: unable to handle page fault for address: ffffe67870000008
[12775.113347] #PF: supervisor read access in kernel mode
[12775.113347] #PF: error_code(0x0000) - not-present page
[12775.113348] PGD 0 P4D 0
[12775.113349] Oops: 0000 [#1] SMP NOPTI
[12775.113351] CPU: 0 PID: 2107 Comm: gnome-shell Tainted: G O 5.8.0-44-generic #50~20.04.1-Ubuntu
[12775.113351] Hardware name: Dell Inc. Latitude 7420/095TWY, BIOS 1.3.5 01/18/2021
[12775.113355] RIP: 0010:kfree+0x55/0x250
[12775.113355] Code: 80 49 01 dc 0f 82 03 02 00 00 48 c7 c0 00 00 00 80 48 2b 05 c5 d9 1e 01 49 01 c4 49 c1 ec 0c 49 c1 e4 06 4c 03 25 a3 d9 1e 01 <49> 8b 44 24 08 48 8d 50 ff a8 01 4c 0f 45 e2 49 8b 54 24 08 48 8d
[12775.113356] RSP: 0018:ffffa4cfc2bebcb0 EFLAGS: 00010286
[12775.113357] RAX: 00006c3b80000000 RBX: 0000002000000000 RCX: ffff93cc1c11d238
[12775.113358] RDX: 0000000000000001 RSI: 0000000000106e56 RDI: 0000002000000000
[12775.113358] RBP: ffffa4cfc2bebcd0 R08: ffff93cc5fa5f4a8 R09: 0000000000106e77
[12775.113359] R10: 0000000000000000 R11: 0000000000000001 R12: ffffe67870000000
[12775.113359] R13: ffffffff9e345309 R14: 0000000000000002 R15: ffff93cb5060e800
[12775.113360] FS: 00007fdebf4b9cc0(0000) GS:ffff93cc6f600000(0000) knlGS:0000000000000000
[12775.113361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[12775.113361] CR2: ffffe67870000008 CR3: 000000081c144006 CR4: 0000000000760ef0
[12775.113362] PKRU: 55555554
[12775.113362] Call Trace:
[12775.113366] bitmap_free+0x9/0x10
[12775.113390] i915_gem_object_set_tiling+0x1db/0x480 [i915]
[12775.113406] i915_gem_set_tiling_ioctl+0x146/0x240 [i915]
[12775.113420] ? i915_gem_object_set_tiling+0x480/0x480 [i915]
[12775.113429] drm_ioctl_kernel+0xae/0xf0 [drm]
[12775.113431] ? ___sys_recvmsg+0x8d/0xc0
[12775.113437] drm_ioctl+0x234/0x3d0 [drm]
[12775.113450] ? i915_gem_object_set_tiling+0x480/0x480 [i915]
[12775.113452] ? __fget_light+0x62/0x80
[12775.113454] ? fput+0x13/0x20
[12775.113455] ? __sys_recvmsg+0x94/0xb0
[12775.113456] ksys_ioctl+0x9d/0xd0
[12775.113456] __x64_sys_ioctl+0x1a/0x20
[12775.113458] do_syscall_64+0x49/0xc0
[12775.113460] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[12775.113461] RIP: 0033:0x7fdec490d50b
[12775.113462] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
[12775.113462] RSP: 002b:00007fff93f0ee88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[12775.113463] RAX: ffffffffffffffda RBX: 000055f90aa9b4f0 RCX: 00007fdec490d50b
[12775.113464] RDX: 00007fff93f0eee0 RSI: 00000000c0106461 RDI: 000000000000000d
[12775.113464] RBP: 00007fff93f0ef60 R08: 0000000000000000 R09: 000055f90aa9bc80
[12775.113465] R10: 000055f90aa97dd0 R11: 0000000000000246 R12: 000055f91177efe0
[12775.113465] R13: 000055f90aa9b4f0 R14: 00007fff93f0eee0 R15: 00000000c0106461
[12775.113467] Modules linked in: cdc_ether usbnet r8152 mii rfcomm vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ccm cmac algif_hash algif_skcipher af_alg bnep snd_sof_pci snd_hda_codec_hdmi snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_sof_intel_hda snd_sof snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi binfmt_misc snd_hda_codec_realtek mei_hdcp snd_hda_codec_generic dell_laptop intel_rapl_msr nls_iso8859_1 ledtrig_audio snd_soc_core x86_pkg_temp_thermal intel_powerclamp snd_compress coretemp ac97_bus snd_pcm_dmaengine snd_hda_intel kvm_intel btusb btrtl btbcm snd_intel_dspcfg btintel kvm snd_hda_codec snd_hda_core snd_hwdep bluetooth dell_wmi uvcvideo snd_pcm iwlmvm videobuf2_vmalloc dell_smbios videobuf2_memops intel_cstate dcdbas videobuf2_v4l2 serio_raw mac80211 ecdh_generic videobuf2_common snd_seq_midi efi_pstore ecc snd_seq_midi_event joydev snd_rawmidi videodev input_leds libarc4 snd_seq mc snd_seq_device snd_timer wmi_bmof
[12775.113485] dell_wmi_descriptor snd hid_sensor_gyro_3d hid_sensor_als hid_multitouch processor_thermal_device hid_sensor_accel_3d hid_sensor_trigger soundcore industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common iwlwifi industrialio ucsi_acpi intel_rapl_common mei_me typec_ucsi mei intel_soc_dts_iosf cfg80211 cros_ec_ishtp cros_ec typec int3403_thermal int340x_thermal_zone soc_button_array mac_hid intel_hid int3400_thermal acpi_thermal_rel sparse_keymap acpi_pad acpi_tad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 usbhid dm_crypt hid_sensor_custom hid_sensor_hub intel_ishtp_loader intel_ishtp_hid hid_generic rtsx_pci_sdmmc i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper psmouse i2c_algo_bit rtsx_pci drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops i2c_i801 cec i2c_smbus ahci rc_core libahci intel_lpss_pci drm intel_lpss nvme thunderbolt intel_ish_ipc idma64 xhci_pci intel_ishtp virt_dma
[12775.113501] nvme_core xhci_pci_renesas wmi i2c_hid hid video pinctrl_tigerlake pinctrl_intel
[12775.113504] CR2: ffffe67870000008
[12775.113506] ---[ end trace acad3c74f8c86c58 ]---
[12775.128680] snd_hda_intel 0000:00:1f.3: Unstable LPIB (381404 >= 192000); disabling LPIB delay counting
[12775.265633] RIP: 0010:kfree+0x55/0x250
[12775.265638] Code: 80 49 01 dc 0f 82 03 02 00 00 48 c7 c0 00 00 00 80 48 2b 05 c5 d9 1e 01 49 01 c4 49 c1 ec 0c 49 c1 e4 06 4c 03 25 a3 d9 1e 01 <49> 8b 44 24 08 48 8d 50 ff a8 01 4c 0f 45 e2 49 8b 54 24 08 48 8d
[12775.265639] RSP: 0018:ffffa4cfc2bebcb0 EFLAGS: 00010286
[12775.265641] RAX: 00006c3b80000000 RBX: 0000002000000000 RCX: ffff93cc1c11d238
[12775.265641] RDX: 0000000000000001 RSI: 0000000000106e56 RDI: 0000002000000000
[12775.265642] RBP: ffffa4cfc2bebcd0 R08: ffff93cc5fa5f4a8 R09: 0000000000106e77
[12775.265643] R10: 0000000000000000 R11: 0000000000000001 R12: ffffe67870000000
[12775.265643] R13: ffffffff9e345309 R14: 0000000000000002 R15: ffff93cb5060e800
[12775.265644] FS: 00007fdebf4b9cc0(0000) GS:ffff93cc6f600000(0000) knlGS:0000000000000000
[12775.265645] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[12775.265646] CR2: ffffe67870000008 CR3: 000000081c144006 CR4: 0000000000760ef0
[12775.265646] PKRU: 55555554
[12819.748529] rfkill: input handler enabled
[12819.748537] fbcon: Taking over console
[12820.213450] Console: switching to colour frame buffer device 240x67

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.8.0-44.50~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-44-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 1 16:47:49 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 6.1.16, 5.6.0-1048-oem, x86_64: installed
 virtualbox, 6.1.16, 5.8.0-44-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GpuHangFrequency: Very infrequently
GraphicsCard:
 Intel Corporation Device [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0a36]
InstallationDate: Installed on 2021-02-27 (1 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
MachineType: Dell Inc. Latitude 7420
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.8.0-44-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/18/2021
dmi.bios.release: 1.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.5
dmi.board.name: 095TWY
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.3.5:bd01/18/2021:br1.3:svnDellInc.:pnLatitude7420:pvr:rvnDellInc.:rn095TWY:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Latitude
dmi.product.name: Latitude 7420
dmi.product.sku: 0A36
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102-1ubuntu1~20.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 20.2.6-0ubuntu0.20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 20.2.6-0ubuntu0.20.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.9-2ubuntu1.2~20.04.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
kailoran (kailoran) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try some older/newer kernel versions so that we can figure out when the problem started, or if it's already been fixed...

https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D

summary: - Xorg freeze on a Dell 7240
+ Xorg freeze on a Dell 7240 (kernel crashed in bitmap_free from
+ i915_gem_object_set_tiling)
affects: xorg (Ubuntu) → linux (Ubuntu)
summary: - Xorg freeze on a Dell 7240 (kernel crashed in bitmap_free from
+ [i915] Xorg freeze on a Dell 7240 (kernel crashed in bitmap_free from
i915_gem_object_set_tiling)
tags: added: 5.8-gfx
affects: linux (Ubuntu) → linux-signed-hwe-5.8 (Ubuntu)
Revision history for this message
kailoran (kailoran) wrote :

Thanks for the reply. I'm currently trying out linux-image-oem-20.04 (= 5.6.0.1048.44) and things are looking better so far (but it hasn't been that long). I'll try to update here after more testing, and will try a newer kernel after that.

Changed in linux-signed-hwe-5.8 (Ubuntu):
status: New → Incomplete
Revision history for this message
kailoran (kailoran) wrote :

So far I've tried 5.6.0.1048.44 from linux-image-oem-20.04 and 5.10.0-1016-oem from linux-image-oem-20.04-edge and while I did not get this exact freeze in either, both were unstable for me. 5.6.6 seemed promising at first but I got up to three lockups on that yesterday

Revision history for this message
kailoran (kailoran) wrote :

https://bugs.launchpad.net/ubuntu/+source/linux-oem-5.6/+bug/1919425 for the other freeze I was getting where I could get some logs out.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-signed-hwe-5.8 (Ubuntu) because there has been no activity for 60 days.]

Changed in linux-signed-hwe-5.8 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.