[Intel-gfx] i915 driver failure

Daniel Vetter daniel at ffwll.ch
Mon Dec 1 01:10:17 PST 2014


On Sun, Nov 30, 2014 at 11:14:26PM +0100, Alexey Orishko wrote:
> Hi all,
> 
> I hope I'm sending this to the correct mailing list (if not, please,
> suggest a proper one).
> 
> I'm using kernel 3.17.4 32-bit (custom build) and during boot I got a
> crash in i915 driver. It happens on the motherboard with old BIOS,
> newer BIOS version works ok.
> Anyway, I assume driver shall not crash regardless of BIOS version.
> 
> Here it is a copy of kernel log:

Can you please boot with drm.debug=0xe and then grab the entire boot dmesg
(up to the backtrace).

Thanks, Daniel

> 
> Nov 28 13:47:05 kernel: [    0.264801] Non-volatile memory driver v1.3
> Nov 28 13:47:05 kernel: [    0.264988] [drm] Initialized drm 1.1.0 20060810
> Nov 28 13:47:05 kernel: [    0.265695] pci 0000:00:00.0: Intel GMA3150 Chipset
> Nov 28 13:47:05 kernel: [    0.265816] pci 0000:00:00.0: detected gtt
> size: 524288K total, 262144K mappable
> Nov 28 13:47:05 kernel: [    0.265958] pci 0000:00:00.0: detected
> 8192K stolen memory
> Nov 28 13:47:05 kernel: [    0.266148] [drm] Memory usable by graphics
> device = 512M
> Nov 28 13:47:05 kernel: [    0.266239] [drm] Replacing VGA console driver
> Nov 28 13:47:05 kernel: [    0.266983] Console: switching to colour
> dummy device 80x25
> Nov 28 13:47:05 kernel: [    0.273080] i915 0000:00:02.0: irq 27 for MSI/MSI-X
> Nov 28 13:47:05 kernel: [    0.273101] [drm] Supports vblank timestamp
> caching Rev 2 (21.10.2013).
> Nov 28 13:47:05 kernel: [    0.273112] [drm] Driver supports precise
> vblank timestamp query.
> Nov 28 13:47:05 kernel: [    0.273252] vgaarb: device changed decodes:
> PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
> Nov 28 13:47:05 kernel: [    0.273578] [drm] Skipping LVDS
> initialization for Supermicro X7SPA-H
> Nov 28 13:47:05 kernel: [    0.275328] [drm] initialized overlay support
> Nov 28 13:47:05 kernel: [    0.304391] fbcon: inteldrmfb (fb0) is primary device
> Nov 28 13:47:05 kernel: [    0.335118] ------------[ cut here ]------------
> Nov 28 13:47:05 kernel: [    0.335130] WARNING: CPU: 1 PID: 1 at
> drivers/gpu/drm/i915/intel_display.c:1218
> assert_panel_unlocked+0x8d/0xa0()
> Nov 28 13:47:05 kernel: [    0.335132] panel assertion failure, pipe B
> regs locked
> Nov 28 13:47:05 kernel: [    0.335135] Modules linked in:
> Nov 28 13:47:05 kernel: [    0.335140] CPU: 1 PID: 1 Comm: swapper/0
> Not tainted 3.17.4-sm1118 #1
> Nov 28 13:47:05 kernel: [    0.335142] Hardware name: Supermicro
> X7SPA-H/X7SPA-H, BIOS 1.0     12/31/2009
> Nov 28 13:47:05 kernel: [    0.335150]  000004c2 c14cdf11 f60879a0
> c103af9a c15ea970 f60879b8 00000001 c15ea398
> Nov 28 13:47:05 kernel: [    0.335156]  000004c2 c130522d c130522d
> f6378000 00061180 00000042 f5858800 c103afe4
> Nov 28 13:47:05 kernel: [    0.335162]  00000009 f60879a0 c15ea970
> f60879b8 c130522d c15ea398 000004c2 c15ea970
> Nov 28 13:47:05 kernel: [    0.335163] Call Trace:
> Nov 28 13:47:05 kernel: [    0.335171]  [<c14cdf11>] ? dump_stack+0x3e/0x4e
> Nov 28 13:47:05 kernel: [    0.335177]  [<c103af9a>] ?
> warn_slowpath_common+0x7a/0x90
> Nov 28 13:47:05 kernel: [    0.335182]  [<c130522d>] ?
> assert_panel_unlocked+0x8d/0xa0
> Nov 28 13:47:05 kernel: [    0.335186]  [<c130522d>] ?
> assert_panel_unlocked+0x8d/0xa0
> Nov 28 13:47:05 kernel: [    0.335191]  [<c103afe4>] ?
> warn_slowpath_fmt+0x34/0x40
> Nov 28 13:47:05 kernel: [    0.335195]  [<c130522d>] ?
> assert_panel_unlocked+0x8d/0xa0
> Nov 28 13:47:05 kernel: [    0.335200]  [<c130efef>] ?
> i9xx_crtc_enable+0x24f/0x450
> Nov 28 13:47:05 kernel: [    0.335204]  [<c130bb1b>] ?
> __intel_set_mode+0x78b/0x14e0
> Nov 28 13:47:05 kernel: [    0.335209]  [<c13136ee>] ? intel_set_mode+0x1e/0x40
> Nov 28 13:47:05 kernel: [    0.335213]  [<c13144bb>] ?
> intel_crtc_set_config+0x86b/0xcb0
> Nov 28 13:47:05 kernel: [    0.335220]  [<c12bbf7a>] ?
> drm_mode_set_config_internal+0x4a/0xb0
> Nov 28 13:47:05 kernel: [    0.335225]  [<c12adc32>] ?
> restore_fbdev_mode+0xa2/0xd0
> Nov 28 13:47:05 kernel: [    0.335230]  [<c12adc75>] ?
> drm_fb_helper_restore_fbdev_mode_unlocked+0x15/0x30
> Nov 28 13:47:05 kernel: [    0.335234]  [<c12afa0f>] ?
> drm_fb_helper_set_par+0x1f/0x60
> Nov 28 13:47:05 kernel: [    0.335239]  [<c131e44d>] ?
> intel_fbdev_set_par+0xd/0x40
> Nov 28 13:47:05 kernel: [    0.335244]  [<c124566a>] ? fbcon_init+0x4ca/0x510
> Nov 28 13:47:05 kernel: [    0.335249]  [<c111dd88>] ? kernfs_add_one+0xd8/0x130
> Nov 28 13:47:05 kernel: [    0.335255]  [<c1291c26>] ? visual_init+0x96/0xf0
> Nov 28 13:47:05 kernel: [    0.335259]  [<c1293c26>] ?
> do_bind_con_driver+0x106/0x310
> Nov 28 13:47:05 kernel: [    0.335264]  [<c1294346>] ?
> do_take_over_console+0x106/0x1a0
> Nov 28 13:47:05 kernel: [    0.335269]  [<c124570f>] ?
> do_fbcon_takeover+0x5f/0xd0
> Nov 28 13:47:05 kernel: [    0.335274]  [<c104fb66>] ?
> notifier_call_chain+0x46/0x60
> Nov 28 13:47:05 kernel: [    0.335278]  [<c104fdc8>] ?
> __blocking_notifier_call_chain+0x38/0x50
> Nov 28 13:47:05 kernel: [    0.335282]  [<c104fdf8>] ?
> blocking_notifier_call_chain+0x18/0x20
> Nov 28 13:47:05 kernel: [    0.335287]  [<c124cf92>] ?
> register_framebuffer+0x1b2/0x2c0
> Nov 28 13:47:05 kernel: [    0.335293]  [<c12af86c>] ?
> drm_fb_helper_initial_config+0x33c/0x4c0
> Nov 28 13:47:05 kernel: [    0.335297]  [<c131eb07>] ?
> intel_fbdev_init+0x1b7/0x540
> Nov 28 13:47:05 kernel: [    0.335303]  [<c1340c69>] ?
> i915_driver_load+0xf29/0xfb0
> Nov 28 13:47:05 kernel: [    0.335307]  [<c133dc30>] ?
> i915_emit_breadcrumb+0xc0/0xc0
> Nov 28 13:47:05 kernel: [    0.335311]  [<c1401630>] ?
> usbhid_quirks_exit+0x70/0x70
> Nov 28 13:47:05 kernel: [    0.335316]  [<c1048bcb>] ?
> call_usermodehelper_exec+0x8b/0x130
> Nov 28 13:47:05 kernel: [    0.335322]  [<c1207388>] ?
> kobject_uevent_env+0xe8/0x4f0
> Nov 28 13:47:05 kernel: [    0.335326]  [<c1207150>] ? kobj_ns_drop+0x40/0x40
> Nov 28 13:47:05 kernel: [    0.335330]  [<c1346f13>] ? device_add+0x173/0x530
> Nov 28 13:47:05 kernel: [    0.335335]  [<c12b7656>] ?
> drm_minor_register+0x76/0xd0
> Nov 28 13:47:05 kernel: [    0.335340]  [<c122f535>] ?
> do_pci_enable_device+0xb5/0xe0
> Nov 28 13:47:05 kernel: [    0.335344]  [<c12b7736>] ?
> drm_dev_register+0x86/0xd0
> Nov 28 13:47:05 kernel: [    0.335348]  [<c12b9024>] ?
> drm_get_pci_dev+0x94/0x1b0
> Nov 28 13:47:05 kernel: [    0.335353]  [<c1231465>] ?
> pci_device_probe+0x65/0xc0
> Nov 28 13:47:05 kernel: [    0.335357]  [<c111fc1e>] ?
> sysfs_create_link+0x1e/0x40
> Nov 28 13:47:05 kernel: [    0.335362]  [<c134933c>] ?
> driver_probe_device+0x5c/0x210
> Nov 28 13:47:05 kernel: [    0.335366]  [<c12313a9>] ?
> pci_match_device+0xb9/0xe0
> Nov 28 13:47:05 kernel: [    0.335370]  [<c1349520>] ? __device_attach+0x30/0x30
> Nov 28 13:47:05 kernel: [    0.335373]  [<c1349591>] ? __driver_attach+0x71/0x80
> Nov 28 13:47:05 kernel: [    0.335377]  [<c1347c8f>] ?
> bus_for_each_dev+0x3f/0x70
> Nov 28 13:47:05 kernel: [    0.335381]  [<c1348f77>] ? driver_attach+0x17/0x20
> Nov 28 13:47:05 kernel: [    0.335385]  [<c1349520>] ? __device_attach+0x30/0x30
> Nov 28 13:47:05 kernel: [    0.335388]  [<c1348c8f>] ?
> bus_add_driver+0x12f/0x1e0
> Nov 28 13:47:05 kernel: [    0.335394]  [<c169e2b1>] ? drm_core_init+0xde/0xde
> Nov 28 13:47:05 kernel: [    0.335398]  [<c13498b2>] ? driver_register+0x52/0xe0
> Nov 28 13:47:05 kernel: [    0.335402]  [<c100041e>] ?
> do_one_initcall+0x7e/0x1b0
> Nov 28 13:47:05 kernel: [    0.335407]  [<c169e2b1>] ? drm_core_init+0xde/0xde
> Nov 28 13:47:05 kernel: [    0.335411]  [<c104e9c2>] ? parameq+0x12/0x70
> Nov 28 13:47:05 kernel: [    0.335416]  [<c167a53c>] ?
> repair_env_string+0xf/0x4d
> Nov 28 13:47:05 kernel: [    0.335420]  [<c104ec4a>] ? parse_args+0x22a/0x380
> Nov 28 13:47:05 kernel: [    0.335424]  [<c167ac33>] ?
> kernel_init_freeable+0xee/0x184
> Nov 28 13:47:05 kernel: [    0.335428]  [<c167a52d>] ?
> initcall_blacklist+0x81/0x81
> Nov 28 13:47:05 kernel: [    0.335433]  [<c14c9b99>] ? kernel_init+0x9/0xe0
> Nov 28 13:47:05 kernel: [    0.335438]  [<c14d2926>] ?
> ret_from_kernel_thread+0x6/0x30
> Nov 28 13:47:05 kernel: [    0.335442]  [<c14d2941>] ?
> ret_from_kernel_thread+0x21/0x30
> Nov 28 13:47:05 kernel: [    0.335446]  [<c14c9b90>] ? rest_init+0x60/0x60
> Nov 28 13:47:05 kernel: [    0.335456] ---[ end trace aaf48740e5d6dcc0 ]---
> Nov 28 13:47:05 kernel: [    0.336160] [drm:intel_pipe_config_compare]
> *ERROR* mismatch in adjusted_mode.crtc_hdisplay (expected 1280, found
> 1024)
> Nov 28 13:47:05 kernel: [    0.336161] ------------[ cut here ]------------
> Nov 28 13:47:05 kernel: [    0.336167] WARNING: CPU: 1 PID: 1 at
> drivers/gpu/drm/i915/intel_display.c:10659
> check_crtc_state+0x703/0xed0()
> Nov 28 13:47:05 kernel: [    0.336168] pipe state doesn't match!
> Nov 28 13:47:05 kernel: [    0.336169] Modules linked in:
> Nov 28 13:47:05 kernel: [    0.336173] CPU: 1 PID: 1 Comm: swapper/0
> Tainted: G        W      3.17.4-sm1118 #1
> Nov 28 13:47:05 kernel: [    0.336175] Hardware name: Supermicro
> X7SPA-H/X7SPA-H, BIOS 1.0     12/31/2009
> Nov 28 13:47:05 kernel: [    0.336181]  000029a3 c14cdf11 f6087788
> c103af9a c15d408e f60877a0 00000001 c15ea398
> Nov 28 13:47:05 kernel: [    0.336187]  000029a3 c13060f3 c13060f3
> f6193034 f6193000 00000001 f58589e4 c103afe4
> Nov 28 13:47:05 kernel: [    0.336193]  00000009 f6087788 c15d408e
> f60877a0 c13060f3 c15ea398 000029a3 c15d408e
> Nov 28 13:47:05 kernel: [    0.336194] Call Trace:
> Nov 28 13:47:05 kernel: [    0.336199]  [<c14cdf11>] ? dump_stack+0x3e/0x4e
> Nov 28 13:47:05 kernel: [    0.336203]  [<c103af9a>] ?
> warn_slowpath_common+0x7a/0x90
> Nov 28 13:47:05 kernel: [    0.336208]  [<c13060f3>] ?
> check_crtc_state+0x703/0xed0
> Nov 28 13:47:05 kernel: [    0.336212]  [<c13060f3>] ?
> check_crtc_state+0x703/0xed0
> Nov 28 13:47:05 kernel: [    0.336216]  [<c103afe4>] ?
> warn_slowpath_fmt+0x34/0x40
> Nov 28 13:47:05 kernel: [    0.336221]  [<c13060f3>] ?
> check_crtc_state+0x703/0xed0
> Nov 28 13:47:05 kernel: [    0.336230]  [<c131312b>] ?
> intel_modeset_check_state+0x25b/0x7a0
> Nov 28 13:47:05 kernel: [    0.336234]  [<c13136fb>] ? intel_set_mode+0x2b/0x40
> Nov 28 13:47:05 kernel: [    0.336238]  [<c13144bb>] ?
> intel_crtc_set_config+0x86b/0xcb0
> Nov 28 13:47:05 kernel: [    0.336244]  [<c12bbf7a>] ?
> drm_mode_set_config_internal+0x4a/0xb0
> Nov 28 13:47:05 kernel: [    0.336249]  [<c12adc32>] ?
> restore_fbdev_mode+0xa2/0xd0
> Nov 28 13:47:05 kernel: [    0.336254]  [<c12adc75>] ?
> drm_fb_helper_restore_fbdev_mode_unlocked+0x15/0x30
> Nov 28 13:47:05 kernel: [    0.336258]  [<c12afa0f>] ?
> drm_fb_helper_set_par+0x1f/0x60
> Nov 28 13:47:05 kernel: [    0.336262]  [<c131e44d>] ?
> intel_fbdev_set_par+0xd/0x40
> Nov 28 13:47:05 kernel: [    0.336267]  [<c124566a>] ? fbcon_init+0x4ca/0x510
> Nov 28 13:47:05 kernel: [    0.336271]  [<c111dd88>] ? kernfs_add_one+0xd8/0x130
> Nov 28 13:47:05 kernel: [    0.336275]  [<c1291c26>] ? visual_init+0x96/0xf0
> Nov 28 13:47:05 kernel: [    0.336280]  [<c1293c26>] ?
> do_bind_con_driver+0x106/0x310
> Nov 28 13:47:05 kernel: [    0.336285]  [<c1294346>] ?
> do_take_over_console+0x106/0x1a0
> Nov 28 13:47:05 kernel: [    0.336289]  [<c124570f>] ?
> do_fbcon_takeover+0x5f/0xd0
> Nov 28 13:47:05 kernel: [    0.336293]  [<c104fb66>] ?
> notifier_call_chain+0x46/0x60
> Nov 28 13:47:05 kernel: [    0.336298]  [<c104fdc8>] ?
> __blocking_notifier_call_chain+0x38/0x50
> Nov 28 13:47:05 kernel: [    0.336302]  [<c104fdf8>] ?
> blocking_notifier_call_chain+0x18/0x20
> Nov 28 13:47:05 kernel: [    0.336307]  [<c124cf92>] ?
> register_framebuffer+0x1b2/0x2c0
> Nov 28 13:47:05 kernel: [    0.336312]  [<c12af86c>] ?
> drm_fb_helper_initial_config+0x33c/0x4c0
> Nov 28 13:47:05 kernel: [    0.336317]  [<c131eb07>] ?
> intel_fbdev_init+0x1b7/0x540
> Nov 28 13:47:05 kernel: [    0.336322]  [<c1340c69>] ?
> i915_driver_load+0xf29/0xfb0
> Nov 28 13:47:05 kernel: [    0.336326]  [<c133dc30>] ?
> i915_emit_breadcrumb+0xc0/0xc0
> Nov 28 13:47:05 kernel: [    0.336330]  [<c1401630>] ?
> usbhid_quirks_exit+0x70/0x70
> Nov 28 13:47:05 kernel: [    0.336334]  [<c1048bcb>] ?
> call_usermodehelper_exec+0x8b/0x130
> Nov 28 13:47:05 kernel: [    0.336339]  [<c1207388>] ?
> kobject_uevent_env+0xe8/0x4f0
> Nov 28 13:47:05 kernel: [    0.336343]  [<c1207150>] ? kobj_ns_drop+0x40/0x40
> Nov 28 13:47:05 kernel: [    0.336347]  [<c1346f13>] ? device_add+0x173/0x530
> Nov 28 13:47:05 kernel: [    0.336351]  [<c12b7656>] ?
> drm_minor_register+0x76/0xd0
> Nov 28 13:47:05 kernel: [    0.336355]  [<c122f535>] ?
> do_pci_enable_device+0xb5/0xe0
> Nov 28 13:47:05 kernel: [    0.336359]  [<c12b7736>] ?
> drm_dev_register+0x86/0xd0
> Nov 28 13:47:05 kernel: [    0.336363]  [<c12b9024>] ?
> drm_get_pci_dev+0x94/0x1b0
> Nov 28 13:47:05 kernel: [    0.336368]  [<c1231465>] ?
> pci_device_probe+0x65/0xc0
> Nov 28 13:47:05 kernel: [    0.336372]  [<c111fc1e>] ?
> sysfs_create_link+0x1e/0x40
> Nov 28 13:47:05 kernel: [    0.336376]  [<c134933c>] ?
> driver_probe_device+0x5c/0x210
> Nov 28 13:47:05 kernel: [    0.336381]  [<c12313a9>] ?
> pci_match_device+0xb9/0xe0
> Nov 28 13:47:05 kernel: [    0.336385]  [<c1349520>] ? __device_attach+0x30/0x30
> Nov 28 13:47:05 kernel: [    0.336388]  [<c1349591>] ? __driver_attach+0x71/0x80
> Nov 28 13:47:05 kernel: [    0.336392]  [<c1347c8f>] ?
> bus_for_each_dev+0x3f/0x70
> Nov 28 13:47:05 kernel: [    0.336396]  [<c1348f77>] ? driver_attach+0x17/0x20
> Nov 28 13:47:05 kernel: [    0.336399]  [<c1349520>] ? __device_attach+0x30/0x30
> Nov 28 13:47:05 kernel: [    0.336403]  [<c1348c8f>] ?
> bus_add_driver+0x12f/0x1e0
> Nov 28 13:47:05 kernel: [    0.336408]  [<c169e2b1>] ? drm_core_init+0xde/0xde
> Nov 28 13:47:05 kernel: [    0.336412]  [<c13498b2>] ? driver_register+0x52/0xe0
> Nov 28 13:47:05 kernel: [    0.336416]  [<c100041e>] ?
> do_one_initcall+0x7e/0x1b0
> Nov 28 13:47:05 kernel: [    0.336420]  [<c169e2b1>] ? drm_core_init+0xde/0xde
> Nov 28 13:47:05 kernel: [    0.336424]  [<c104e9c2>] ? parameq+0x12/0x70
> Nov 28 13:47:05 kernel: [    0.336428]  [<c167a53c>] ?
> repair_env_string+0xf/0x4d
> Nov 28 13:47:05 kernel: [    0.336433]  [<c104ec4a>] ? parse_args+0x22a/0x380
> Nov 28 13:47:05 kernel: [    0.336437]  [<c167ac33>] ?
> kernel_init_freeable+0xee/0x184
> Nov 28 13:47:05 kernel: [    0.336441]  [<c167a52d>] ?
> initcall_blacklist+0x81/0x81
> Nov 28 13:47:05 kernel: [    0.336445]  [<c14c9b99>] ? kernel_init+0x9/0xe0
> Nov 28 13:47:05 kernel: [    0.336450]  [<c14d2926>] ?
> ret_from_kernel_thread+0x6/0x30
> Nov 28 13:47:05 kernel: [    0.336454]  [<c14d2941>] ?
> ret_from_kernel_thread+0x21/0x30
> Nov 28 13:47:05 kernel: [    0.336457]  [<c14c9b90>] ? rest_init+0x60/0x60
> Nov 28 13:47:05 kernel: [    0.336460] ---[ end trace aaf48740e5d6dcc1 ]---
> Nov 28 13:47:05 kernel: [    0.352753] Console: switching to colour
> frame buffer device 160x64
> Nov 28 13:47:05 kernel: [    0.857332] i915 0000:00:02.0: fb0:
> inteldrmfb frame buffer device
> Nov 28 13:47:05 kernel: [    0.861296] i915 0000:00:02.0: registered
> panic notifier
> Nov 28 13:47:05 kernel: [    0.870045] i915: No ACPI video bus found
> Nov 28 13:47:05 kernel: [    0.874077] [drm] Initialized i915 1.6.0
> 20140725 for 0000:00:02.0 on minor 0
> Nov 28 13:47:05 kernel: [    0.882517] brd: module loaded
> Nov 28 13:47:05 kernel: [    0.888817] loop: module loaded
> Nov 28 13:47:05 kernel: [    0.893260] gpio_ich: GPIO from 195 to 255
> on gpio_ich
> Nov 28 13:47:05 kernel: [    0.897627] ahci 0000:00:1f.2: version 3.0
> Nov 28 13:47:05 kernel: [    0.897858] ahci 0000:00:1f.2: irq 28 for MSI/MSI-X
> Nov 28 13:47:05 kernel: [    0.897998] ahci 0000:00:1f.2: SSS flag
> set, parallel bus scan disabled
> Nov 28 13:47:05 kernel: [    0.902247] ahci 0000:00:1f.2: AHCI
> 0001.0200 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
> Nov 28 13:47:05 kernel: [    0.906495] ahci 0000:00:1f.2: flags: 64bit
> ncq sntf stag pm led clo pio slum part ccc ems sxs
> 
> Regards,
> Alexey
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list