Bug 98101 - kernel BUG at drivers/gpu/drm/drm_vma_manager.c:209!
Summary: kernel BUG at drivers/gpu/drm/drm_vma_manager.c:209!
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 19:52 UTC by Apostolos B.
Modified: 2015-05-13 08:00 UTC (History)
0 users

See Also:
Kernel Version: 4.01
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (78.99 KB, text/plain)
2015-05-13 07:56 UTC, Apostolos B.
Details

Description Apostolos B. 2015-05-11 19:52:17 UTC
May 11 22:42:14 mainland kernel: ------------[ cut here ]------------
May 11 22:42:14 mainland kernel: WARNING: CPU: 1 PID: 413 at include/linux/kref.h:47 drm_gem_object_lookup+0xa2/0xc0 [drm]()
May 11 22:42:14 mainland kernel: Modules linked in: mousedev hid_logitech_hidpp w83627ehf hwmon_vid hid_logitech_dj hid_generic nls_iso8859_1 nls_cp437 usbhid vfat hid fat coretemp intel_rapl iosf_mbi x86_pkg_temp_thermal intel_power
May 11 22:42:14 mainland kernel:  xhci_pci i8042 serio ext4 crc16 mbcache jbd2 ehci_hcd xhci_hcd usbcore sr_mod cdrom usb_common sd_mod ahci libahci libata scsi_mod radeon hwmon i2c_algo_bit drm_kms_helper ttm drm i2c_core
May 11 22:42:14 mainland kernel: CPU: 1 PID: 413 Comm: Xorg Not tainted 4.0.1-1-ARCH #1
May 11 22:42:14 mainland kernel: Hardware name:                  /DZ77BH-55K, BIOS BHZ7710H.86A.0094.2012.1101.1115 11/01/2012
May 11 22:42:14 mainland kernel:  0000000000000000 000000005e6ff2ac ffff88030e583cb8 ffffffff8156de97
May 11 22:42:14 mainland kernel:  0000000000000000 0000000000000000 ffff88030e583cf8 ffffffff81074d7a
May 11 22:42:14 mainland kernel:  ffff8803018efdf0 ffff8800d90ed2c0 ffff88030ec0ec60 000000000000009d
May 11 22:42:14 mainland kernel: Call Trace:
May 11 22:42:14 mainland kernel:  [<ffffffff8156de97>] dump_stack+0x4c/0x6e
May 11 22:42:14 mainland kernel:  [<ffffffff81074d7a>] warn_slowpath_common+0x8a/0xc0
May 11 22:42:14 mainland kernel:  [<ffffffff81074eaa>] warn_slowpath_null+0x1a/0x20
May 11 22:42:14 mainland kernel:  [<ffffffffa001a4f2>] drm_gem_object_lookup+0xa2/0xc0 [drm]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b3fd>] radeon_gem_busy_ioctl+0x3d/0x130 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa001bcab>] drm_ioctl+0x1db/0x640 [drm]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b3c0>] ? radeon_gem_mmap_ioctl+0x20/0x20 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff81191cc2>] ? unmap_region+0xe2/0x130
May 11 22:42:14 mainland kernel:  [<ffffffffa00d404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff811e8f26>] do_vfs_ioctl+0x2c6/0x4d0
May 11 22:42:14 mainland kernel:  [<ffffffff811f3762>] ? __fget+0x72/0xb0
May 11 22:42:14 mainland kernel:  [<ffffffff811e91b1>] SyS_ioctl+0x81/0xa0
May 11 22:42:14 mainland kernel:  [<ffffffff815737c9>] system_call_fastpath+0x12/0x17
May 11 22:42:14 mainland kernel: ---[ end trace ff4430287afe68e0 ]---
May 11 22:42:14 mainland kernel: ------------[ cut here ]------------
May 11 22:42:14 mainland kernel: WARNING: CPU: 1 PID: 413 at include/drm/ttm/ttm_bo_driver.h:855 radeon_bo_wait+0x101/0x110 [radeon]()
May 11 22:42:14 mainland kernel: Modules linked in: mousedev hid_logitech_hidpp w83627ehf hwmon_vid hid_logitech_dj hid_generic nls_iso8859_1 nls_cp437 usbhid vfat hid fat coretemp intel_rapl iosf_mbi x86_pkg_temp_thermal intel_power
May 11 22:42:14 mainland kernel:  xhci_pci i8042 serio ext4 crc16 mbcache jbd2 ehci_hcd xhci_hcd usbcore sr_mod cdrom usb_common sd_mod ahci libahci libata scsi_mod radeon hwmon i2c_algo_bit drm_kms_helper ttm drm i2c_core
May 11 22:42:14 mainland kernel: CPU: 1 PID: 413 Comm: Xorg Tainted: G        W       4.0.1-1-ARCH #1
May 11 22:42:14 mainland kernel: Hardware name:                  /DZ77BH-55K, BIOS BHZ7710H.86A.0094.2012.1101.1115 11/01/2012
May 11 22:42:14 mainland kernel:  0000000000000000 000000005e6ff2ac ffff88030e583cb8 ffffffff8156de97
May 11 22:42:14 mainland kernel:  0000000000000000 0000000000000000 ffff88030e583cf8 ffffffff81074d7a
May 11 22:42:14 mainland kernel:  ffff8803018efdf0 ffff8800d90ed000 0000000000000001 ffff8800d90ed068
May 11 22:42:14 mainland kernel: Call Trace:
May 11 22:42:14 mainland kernel:  [<ffffffff8156de97>] dump_stack+0x4c/0x6e
May 11 22:42:14 mainland kernel:  [<ffffffff81074d7a>] warn_slowpath_common+0x8a/0xc0
May 11 22:42:14 mainland kernel:  [<ffffffff81074eaa>] warn_slowpath_null+0x1a/0x20
May 11 22:42:14 mainland kernel:  [<ffffffffa00f6241>] radeon_bo_wait+0x101/0x110 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b41e>] radeon_gem_busy_ioctl+0x5e/0x130 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa001bcab>] drm_ioctl+0x1db/0x640 [drm]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b3c0>] ? radeon_gem_mmap_ioctl+0x20/0x20 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff81191cc2>] ? unmap_region+0xe2/0x130
May 11 22:42:14 mainland kernel:  [<ffffffffa00d404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff811e8f26>] do_vfs_ioctl+0x2c6/0x4d0
May 11 22:42:14 mainland kernel:  [<ffffffff811f3762>] ? __fget+0x72/0xb0
May 11 22:42:14 mainland kernel:  [<ffffffff811e91b1>] SyS_ioctl+0x81/0xa0
May 11 22:42:14 mainland kernel:  [<ffffffff815737c9>] system_call_fastpath+0x12/0x17
May 11 22:42:14 mainland kernel: ---[ end trace ff4430287afe68e1 ]---
May 11 22:42:14 mainland kernel: ------------[ cut here ]------------
May 11 22:42:14 mainland kernel: WARNING: CPU: 1 PID: 413 at include/drm/ttm/ttm_bo_driver.h:855 radeon_bo_wait+0x101/0x110 [radeon]()
May 11 22:42:14 mainland kernel: Modules linked in: mousedev hid_logitech_hidpp w83627ehf hwmon_vid hid_logitech_dj hid_generic nls_iso8859_1 nls_cp437 usbhid vfat hid fat coretemp intel_rapl iosf_mbi x86_pkg_temp_thermal intel_power
May 11 22:42:14 mainland kernel:  xhci_pci i8042 serio ext4 crc16 mbcache jbd2 ehci_hcd xhci_hcd usbcore sr_mod cdrom usb_common sd_mod ahci libahci libata scsi_mod radeon hwmon i2c_algo_bit drm_kms_helper ttm drm i2c_core
May 11 22:42:14 mainland kernel: CPU: 1 PID: 413 Comm: Xorg Tainted: G        W       4.0.1-1-ARCH #1
May 11 22:42:14 mainland kernel: Hardware name:                  /DZ77BH-55K, BIOS BHZ7710H.86A.0094.2012.1101.1115 11/01/2012
May 11 22:42:14 mainland kernel:  0000000000000000 000000005e6ff2ac ffff88030e583cb8 ffffffff8156de97
May 11 22:42:14 mainland kernel:  0000000000000000 0000000000000000 ffff88030e583cf8 ffffffff81074d7a
May 11 22:42:14 mainland kernel:  00000000fffffff0 ffff88030183e000 0000000000000001 ffff88030183e068
May 11 22:42:14 mainland kernel: Call Trace:
May 11 22:42:14 mainland kernel:  [<ffffffff8156de97>] dump_stack+0x4c/0x6e
May 11 22:42:14 mainland kernel:  [<ffffffff81074d7a>] warn_slowpath_common+0x8a/0xc0
May 11 22:42:14 mainland kernel:  [<ffffffff81074eaa>] warn_slowpath_null+0x1a/0x20
May 11 22:42:14 mainland kernel:  [<ffffffffa00f6241>] radeon_bo_wait+0x101/0x110 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b41e>] radeon_gem_busy_ioctl+0x5e/0x130 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa001bcab>] drm_ioctl+0x1db/0x640 [drm]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b3c0>] ? radeon_gem_mmap_ioctl+0x20/0x20 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff81191cc2>] ? unmap_region+0xe2/0x130
May 11 22:42:14 mainland kernel:  [<ffffffffa00d404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff811e8f26>] do_vfs_ioctl+0x2c6/0x4d0
May 11 22:42:14 mainland kernel:  [<ffffffff811f3762>] ? __fget+0x72/0xb0
May 11 22:42:14 mainland kernel:  [<ffffffff811e91b1>] SyS_ioctl+0x81/0xa0
May 11 22:42:14 mainland kernel:  [<ffffffff815737c9>] system_call_fastpath+0x12/0x17
May 11 22:42:14 mainland kernel: ---[ end trace ff4430287afe68e2 ]---
May 11 22:42:14 mainland kernel: ------------[ cut here ]------------
May 11 22:42:14 mainland kernel: WARNING: CPU: 1 PID: 413 at include/drm/ttm/ttm_bo_driver.h:855 radeon_bo_wait+0x101/0x110 [radeon]()
May 11 22:42:14 mainland kernel: Modules linked in: mousedev hid_logitech_hidpp w83627ehf hwmon_vid hid_logitech_dj hid_generic nls_iso8859_1 nls_cp437 usbhid vfat hid fat coretemp intel_rapl iosf_mbi x86_pkg_temp_thermal intel_power
May 11 22:42:14 mainland kernel:  xhci_pci i8042 serio ext4 crc16 mbcache jbd2 ehci_hcd xhci_hcd usbcore sr_mod cdrom usb_common sd_mod ahci libahci libata scsi_mod radeon hwmon i2c_algo_bit drm_kms_helper ttm drm i2c_core
May 11 22:42:14 mainland kernel: CPU: 1 PID: 413 Comm: Xorg Tainted: G        W       4.0.1-1-ARCH #1
May 11 22:42:14 mainland kernel: Hardware name:                  /DZ77BH-55K, BIOS BHZ7710H.86A.0094.2012.1101.1115 11/01/2012
May 11 22:42:14 mainland kernel:  0000000000000000 000000005e6ff2ac ffff88030e583cb8 ffffffff8156de97
May 11 22:42:14 mainland kernel:  0000000000000000 0000000000000000 ffff88030e583cf8 ffffffff81074d7a
May 11 22:42:14 mainland kernel:  00000000fffffff0 ffff8802b8670400 0000000000000001 ffff8802b8670468
May 11 22:42:14 mainland kernel: Call Trace:
May 11 22:42:14 mainland kernel:  [<ffffffff8156de97>] dump_stack+0x4c/0x6e
May 11 22:42:14 mainland kernel:  [<ffffffff81074d7a>] warn_slowpath_common+0x8a/0xc0
May 11 22:42:14 mainland kernel:  [<ffffffff81074eaa>] warn_slowpath_null+0x1a/0x20
May 11 22:42:14 mainland kernel:  [<ffffffffa00f6241>] radeon_bo_wait+0x101/0x110 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b41e>] radeon_gem_busy_ioctl+0x5e/0x130 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffffa001bcab>] drm_ioctl+0x1db/0x640 [drm]
May 11 22:42:14 mainland kernel:  [<ffffffffa010b3c0>] ? radeon_gem_mmap_ioctl+0x20/0x20 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff81191cc2>] ? unmap_region+0xe2/0x130
May 11 22:42:14 mainland kernel:  [<ffffffffa00d404c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
May 11 22:42:14 mainland kernel:  [<ffffffff811e8f26>] do_vfs_ioctl+0x2c6/0x4d0
May 11 22:42:14 mainland kernel:  [<ffffffff811f3762>] ? __fget+0x72/0xb0
May 11 22:42:14 mainland kernel:  [<ffffffff811e91b1>] SyS_ioctl+0x81/0xa0
May 11 22:42:14 mainland kernel:  [<ffffffff815737c9>] system_call_fastpath+0x12/0x17
May 11 22:42:14 mainland kernel: ---[ end trace ff4430287afe68e3 ]---
May 11 22:42:14 mainland kernel: ------------[ cut here ]------------
May 11 22:42:14 mainland kernel: kernel BUG at drivers/gpu/drm/drm_vma_manager.c:209!


 glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.5.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.5.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:


Freezes the system and requires hard reset.
Comment 1 Michel Dänzer 2015-05-13 07:13:13 UTC
Please attach the full dmesg output.

Can you reproduce this problem by doing something in particular, or is it random? Is it a regression, i.e. didn't it happen with an older kernel version?
Comment 2 Apostolos B. 2015-05-13 07:56:46 UTC
Created attachment 176601 [details]
dmesg
Comment 3 Apostolos B. 2015-05-13 08:00:30 UTC
I had similar crashes requiring a hard reset but the log messages were different. This is the first time i see something like that. And also it points at where the bug is. 

Cant reproduce it. Its random.

Note You need to log in before you can comment on or make changes to this bug.