Bug 101767 - Crash in drm_fb_helper_check_var with 4.11.6
Summary: Crash in drm_fb_helper_check_var with 4.11.6
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-12 16:05 UTC by Dan Aloni
Modified: 2018-01-05 16:33 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features: power/suspend-resume


Attachments

Description Dan Aloni 2017-07-12 16:05:39 UTC
After several successful suspend-resume invocations in the last two weeks, I came back from suspend unsuccessfully, and picked up a kernel crash.

The kernel is one of the standard Fedora 25 kernels.

```
Jul 12 17:50:06 nitrogen kernel: BUG: unable to handle kernel paging request at 0000100000000007
Jul 12 17:50:06 nitrogen kernel: IP: drm_fb_helper_check_var+0x43/0x1f0 [drm_kms_helper]
Jul 12 17:50:06 nitrogen kernel: PGD 0 
Jul 12 17:50:06 nitrogen kernel: 
Jul 12 17:50:06 nitrogen kernel: Oops: 0000 [#1] SMP
Jul 12 17:50:06 nitrogen kernel: Modules linked in: ax88179_178a uas usb_storage rfcomm ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadc
Jul 12 17:50:06 nitrogen kernel:  intel_rapl x86_pkg_temp_thermal intel_powerclamp cdc_acm arc4 coretemp kvm_intel kvm irqbypass iwlmvm crct10dif_pclmul crc32_pclmul mac80211 ghash_clmulni_
Jul 12 17:50:06 nitrogen kernel: CPU: 1 PID: 2396 Comm: Xorg Tainted: G        W  OE   4.11.6-201.fc25.x86_64 #1
Jul 12 17:50:06 nitrogen kernel: Hardware name: LENOVO 20BS003PIV/20BS003PIV, BIOS N14ET38W (1.16 ) 12/07/2016
Jul 12 17:50:06 nitrogen kernel: task: ffff8cb0de078000 task.stack: ffffae27084c4000
Jul 12 17:50:06 nitrogen kernel: RIP: 0010:drm_fb_helper_check_var+0x43/0x1f0 [drm_kms_helper]
Jul 12 17:50:06 nitrogen kernel: RSP: 0018:ffffae27084c7a90 EFLAGS: 00010213
Jul 12 17:50:06 nitrogen kernel: RAX: 0000100000000001 RBX: ffffae27084c7c30 RCX: 0000000000000a00
Jul 12 17:50:06 nitrogen kernel: RDX: 0000000000000001 RSI: 0000000000010001 RDI: ffffae27084c7c30
Jul 12 17:50:06 nitrogen kernel: RBP: ffffae27084c7c00 R08: 00000000000005a0 R09: 0000000000000020
Jul 12 17:50:06 nitrogen kernel: R10: ffffae2700d3fda8 R11: 0000000000000000 R12: ffff8cb11e0ec800
Jul 12 17:50:06 nitrogen kernel: R13: 0000000000000080 R14: 0000000000200001 R15: 0000000000000000
Jul 12 17:50:06 nitrogen kernel: FS:  00007f3df0e0bec0(0000) GS:ffff8cb12dc40000(0000) knlGS:0000000000000000
Jul 12 17:50:06 nitrogen kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 12 17:50:06 nitrogen kernel: CR2: 0000100000000007 CR3: 000000021613f000 CR4: 00000000003406e0
Jul 12 17:50:06 nitrogen kernel: Call Trace:
Jul 12 17:50:06 nitrogen kernel:  ? fb_set_var+0x114/0x460
Jul 12 17:50:06 nitrogen kernel:  ? check_preempt_wakeup+0x192/0x220
Jul 12 17:50:06 nitrogen kernel:  ? update_load_avg+0x5d0/0xa50
Jul 12 17:50:06 nitrogen kernel:  ? update_load_avg+0x5d0/0xa50
Jul 12 17:50:06 nitrogen kernel:  ? check_preempt_curr+0x79/0x90
Jul 12 17:50:06 nitrogen kernel:  ? account_entity_enqueue+0xd8/0x100
Jul 12 17:50:06 nitrogen kernel:  ? __enqueue_entity+0x6c/0x70
Jul 12 17:50:06 nitrogen kernel:  ? enqueue_entity+0x113/0x740
Jul 12 17:50:06 nitrogen kernel:  ? try_to_wake_up+0x59/0x470
Jul 12 17:50:06 nitrogen kernel:  ? set_next_entity+0xd9/0x220
Jul 12 17:50:06 nitrogen kernel:  fbcon_blank+0x30f/0x350
Jul 12 17:50:06 nitrogen kernel:  ? __switch_to+0x227/0x460
Jul 12 17:50:06 nitrogen kernel:  do_unblank_screen+0xd2/0x1a0
Jul 12 17:50:06 nitrogen kernel:  complete_change_console+0x59/0xe0
Jul 12 17:50:06 nitrogen kernel:  vt_ioctl+0x709/0x12a0
Jul 12 17:50:06 nitrogen kernel:  tty_ioctl+0x355/0xc40
Jul 12 17:50:06 nitrogen kernel:  do_vfs_ioctl+0xa3/0x5f0
Jul 12 17:50:06 nitrogen kernel:  ? __do_page_fault+0x266/0x4e0
Jul 12 17:50:06 nitrogen kernel:  SyS_ioctl+0x79/0x90
Jul 12 17:50:06 nitrogen kernel:  entry_SYSCALL_64_fastpath+0x1a/0xa9
Jul 12 17:50:06 nitrogen kernel: RIP: 0033:0x7f3dee6d3637
Jul 12 17:50:06 nitrogen kernel: RSP: 002b:00007fff8ba0cda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jul 12 17:50:06 nitrogen kernel: RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f3dee6d3637
Jul 12 17:50:06 nitrogen kernel: RDX: 0000000000000001 RSI: 0000000000005605 RDI: 000000000000000b
Jul 12 17:50:06 nitrogen kernel: RBP: 000000000084167c R08: 0000000000000000 R09: 00000000ffffffff
Jul 12 17:50:06 nitrogen kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008
Jul 12 17:50:06 nitrogen kernel: R13: 0000000000841720 R14: 0000000000841678 R15: 0000000000841730
Jul 12 17:50:06 nitrogen kernel: Code: 00 00 8b 05 e0 ec c2 d8 65 8b 0d e1 f9 da 3f 39 c1 0f 84 85 01 00 00 48 8b 42 38 44 8b 4f 18 8b 72 70 8b 0f 44 8b 47 04 8b 52 74 <0f> b6 40 06 44 8b 5
Jul 12 17:50:06 nitrogen kernel: RIP: drm_fb_helper_check_var+0x43/0x1f0 [drm_kms_helper] RSP: ffffae27084c7a90
Jul 12 17:50:06 nitrogen kernel: CR2: 0000100000000007
Jul 12 17:50:06 nitrogen kernel: ---[ end trace df9ee4374b70222a ]---
```

```
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
   2560x1440     60.00 +
   1920x1440     60.00  
   1856x1392     60.01  
   1792x1344     60.01  
   2048x1152     60.00  
   1920x1080     60.00  
   1600x1200     60.00  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 620mm x 340mm
   3840x2160     60.00*+  29.98  
   1920x2160     59.99  
   2560x1440     59.95  
   2048x1280     59.92  
   1920x1080     60.00    60.00    50.00    59.94    24.00    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
```
Comment 1 Elizabeth 2017-07-18 16:12:14 UTC
Hello Dan,
Could you please add more HW and SW information, also dmesg with drm.debug=0xe on grub?
Thanks.
Comment 2 Elizabeth 2017-10-20 21:00:06 UTC
Hello Dan, has this repeated again?? Thanks.
Comment 3 Dan Aloni 2017-10-21 09:04:07 UTC
Hi Elizabeth, 

The problem has not reproduced again, also I've upgraded the kernel a few times since then.
Comment 4 Elizabeth 2017-10-25 21:58:57 UTC
(In reply to Dan Aloni from comment #3)
> Hi Elizabeth, 
> 
> The problem has not reproduced again, also I've upgraded the kernel a few
> times since then.
I'll change to resolve then, probably was fixed with some upgrade. Thanks for your time.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.