Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #996246

Bug#949369: i915: kernel crash in i915_active_acquire()

From Nils Jarle Haugen <nils.jarle.haugen@gaupne.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#949369: i915: kernel crash in i915_active_acquire()
Date 2020-02-18 16:20 +0100
Message-ID <zBcPf-6pp-1@gated-at.bofh.it> (permalink)
References <zqCtI-10Z-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Dear maintainers,

I experienced the same crash today. I have the Lenovo t470p with the 
i915 (Intel HD 630 graphics) and the NVIDIA 940MX dedicated graphics 
card. I statically switch between intel and nvidia with xrandr and sddm 
scrpts (using 
https://wiki.debian.org/NvidiaGraphicsDrivers/Optimus#Configuration).

On the occasion when the system crashed, the xrandr and sddm scripts 
were commented out and not actively in use (but the nvidia kernel module 
was still loaded).

The crash left the system in a unusable state, needed to call sysrq to 
force restart it.

I'll try to purge the proprietary drivers and then try to reproduce the 
issue.


Kind regards,
Nils J. Haugen


Distributor ID: Debian
Description:    Debian GNU/Linux bullseye/sid
Release:        testing
Codename:       bullseye
5.4.0-3-amd64

Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.793555] i915 
0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.794565] i915 
0000:00:02.0: Resetting rcs0 for hang on rcs0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.795587] i915 
0000:00:02.0: Resetting chip for hang on rcs0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846861] ------------[ cut 
here ]------------
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846871] invalid opcode: 
0000 [#1] SMP PTI
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846875] CPU: 1 PID: 4125 
Comm: Unity Tainted: G           OE     5.4.0-3-amd64 #1 Debian 5.4.13-1
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846878] Hardware name: 
LENOVO 20J6CTO1WW/20J6CTO1WW, BIOS R0FET50W (1.30 ) 07/03/2019
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846885] RIP: 
0010:__list_del_entry_valid.cold+0x31/0x55
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846889] Code: 61 0e a3 e8 
d4 1d ce ff 0f 0b 48 c7 c7 50 62 0e a3 e8 c6 1d ce ff 0f 0b 48 89 f2 48 
89 fe 48 c7 c7 10 62 0e a3 e8 b2 1d ce ff <0f> 0b 48 89 fe 4c 89 c2 48 
c7 c7 d8 61 0e a3 e8 9e 1d ce ff 0f 0b
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846892] RSP: 
0018:ffffba9dc91978a0 EFLAGS: 00010046
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846895] RAX: 
0000000000000054 RBX: ffffa0769e0d4fc0 RCX: 0000000000000000
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846897] RDX: 
0000000000000000 RSI: ffffa0783e257688 RDI: ffffa0783e257688
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846899] RBP: 
ffffa0783b9b6068 R08: ffffa0783e257688 R09: 0000000000000063
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846901] R10: 
ffffba9dc9197750 R11: 0000000000000000 R12: ffffa0783b9b6000
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846903] R13: 
ffffa0783b9b6000 R14: ffffa0783267c180 R15: ffffa078300f7ae8
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846906] FS: 
00007f571b4992c0(0000) GS:ffffa0783e240000(0000) knlGS:0000000000000000
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846908] CS:  0010 DS: 
0000 ES: 0000 CR0: 0000000080050033
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846910] CR2: 
00007f5717f28000 CR3: 0000000432e5e004 CR4: 00000000003606e0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846913] DR0: 
0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846915] DR3: 
0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846916] Call Trace:
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.846989] 
i915_request_retire+0xc9/0x380 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847042] 
retire_requests+0x4e/0x60 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847088] 
i915_retire_requests+0xa9/0x230 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847133] 
i915_gem_evict_for_node+0x264/0x2b0 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847176] 
i915_gem_gtt_reserve+0x45/0x70 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847222] 
__i915_vma_do_pin+0x1d7/0x490 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847265] 
eb_lookup_vmas+0xa90/0xb90 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847305]  ? 
intel_gt_terminally_wedged+0x23/0xf0 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847344] 
i915_gem_do_execbuffer+0x67c/0x1520 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847352]  ? 
shmem_alloc_page+0x47/0x90
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847356]  ? 
xas_store+0x56/0x5e0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847362]  ? 
mem_cgroup_charge_statistics+0x4c/0xd0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847365]  ? 
mem_cgroup_commit_charge+0x5f/0x4e0
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847370]  ? 
__kmalloc_node+0x1f5/0x300
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847407] 
i915_gem_execbuffer2_ioctl+0x1df/0x3d0 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847445]  ? 
i915_gem_execbuffer_ioctl+0x2e0/0x2e0 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847466] 
drm_ioctl_kernel+0xaa/0xf0 [drm]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847484] 
drm_ioctl+0x208/0x390 [drm]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847521]  ? 
i915_gem_execbuffer_ioctl+0x2e0/0x2e0 [i915]
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847527] 
do_vfs_ioctl+0x40e/0x670
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847530] ksys_ioctl+0x5e/0x90
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847534] 
__x64_sys_ioctl+0x16/0x20
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847538] 
do_syscall_64+0x52/0x160
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847544] 
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847547] RIP: 
0033:0x7f571dcb65b7
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847551] Code: 00 00 90 48 
8b 05 d9 78 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 
1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 
48 8b 0d a9 78 0c 00 f7 d8 64 89 01 48
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847553] RSP: 
002b:00007ffe7f2b6798 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847556] RAX: 
ffffffffffffffda RBX: 00007ffe7f2b67e0 RCX: 00007f571dcb65b7
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847558] RDX: 
00007ffe7f2b67e0 RSI: 0000000040406469 RDI: 000000000000004a
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847560] RBP: 
0000000040406469 R08: 000026a53483c700 R09: 0000000000000000
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847562] R10: 
0000000000000000 R11: 0000000000000246 R12: 000026a53486e030
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847564] R13: 
000000000000004a R14: ffffffffffffffff R15: 00007f56f8a90e08
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847567] Modules linked 
in: fuse ctr ccm hid_generic hidp hid acpi_call(OE) rfcomm ipt_REJECT 
nf_reject_ipv4 xt_tcpudp nft_compat nft_counter nft_chain_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c nf_tables nfnetlink 
tun bridge stp llc cmac bnep bbswitch(OE) btusb btrtl btbcm btintel 
bluetooth uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_common drbg videodev ansi_cprng mc ecdh_generic ecc 
intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp 
coretemp kvm_intel binfmt_misc kvm irqbypass iwlmvm snd_hda_codec_hdmi 
mei_wdt crct10dif_pclmul ghash_clmulni_intel mac80211 nls_ascii 
snd_hda_codec_realtek nls_cp437 vfat snd_hda_codec_generic fat libarc4 
aesni_intel crypto_simd cryptd glue_helper efi_pstore intel_cstate 
snd_hda_intel iwlwifi snd_intel_nhlt snd_hda_codec intel_uncore joydev 
intel_rapl_perf snd_hda_core serio_raw pcspkr efivars snd_hwdep cfg80211 
snd_pcm iTCO_wdt iTCO_vendor_support wmi_bmof intel_wmi_thunderbolt
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847611] thinkpad_acpi 
rtsx_pci_ms mei_me snd_timer sg watchdog memstick mei tpm_crb 
intel_pch_thermal nvram ledtrig_audio snd soundcore rfkill ac tpm_tis 
tpm_tis_core tpm rng_core acpi_pad evdev parport_pc ppdev lp parport 
efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 
crc32c_generic dm_mod sd_mod i915 rtsx_pci_sdmmc mmc_core i2c_algo_bit 
crc32_pclmul e1000e ahci xhci_pci drm_kms_helper libahci xhci_hcd nvme 
psmouse ptp i2c_i801 libata nvme_core crc32c_intel rtsx_pci pps_core 
usbcore drm mfd_core scsi_mod usb_common wmi battery video button
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6312.847655] ---[ end trace 
c3c61a0be155b85c ]---
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6313.009869] snd_hda_intel 
0000:00:1f.3: Unstable LPIB (350544 >= 176400); disabling LPIB delay 
counting
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6313.088787] RIP: 
0010:__list_del_entry_valid.cold+0x31/0x55
Feb 18 15:29:29 nilsjarle-t470p kernel: [ 6313.088796] Code: 61 0e a3 e8 
d4 1d ce ff 0f 0b 48 c7 c7 50 62 0e a3 e8 c6 1d ce ff 0f 0b 48 89 f2 48 
89 fe 48 c7 c7 10 62 0e a3 e8 b2 1d ce ff <0f> 0b 48 89 fe 4c 89 c2 48 
c7 c7 d8 61 0e a3 e8 9e 1d ce ff 0f 0b

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#949369: i915: kernel crash in i915_active_acquire() Arturo Borrero Gonzalez <arturo@debian.org> - 2020-01-20 11:30 +0100
  Bug#949369: i915: kernel crash in i915_active_acquire() Ben Hutchings <ben@decadent.org.uk> - 2020-01-20 20:00 +0100
    Bug#949369: i915: kernel crash in i915_active_acquire() Arturo Borrero Gonzalez <arturo@debian.org> - 2020-01-20 21:10 +0100
  Bug#949369: i915: kernel crash in i915_active_acquire() Nils Jarle Haugen <nils.jarle.haugen@gaupne.net> - 2020-02-18 16:20 +0100
  Bug#949369: i915: kernel crash in i915_active_acquire() Pavel Reznicek <reznicek@ipnp.troja.mff.cuni.cz> - 2020-02-25 16:00 +0100
  Bug#949369: i915: kernel crash in i915_active_acquire() Ben Caradoc-Davies <ben@transient.nz> - 2020-03-13 00:00 +0100
    Bug#949369: i915: kernel crash in i915_active_acquire() Ben Caradoc-Davies <ben@transient.nz> - 2020-03-13 00:10 +0100
  Bug#949369: i915: kernel crash in i915_active_acquire() Ben Caradoc-Davies <ben@transient.nz> - 2020-03-13 00:50 +0100

csiph-web