Created attachment 97488 [details] gem_reset_stats dmesg on ILK system Environment: -------------------------- Platform: PNV ILK Kernel:(drm-intel-next-queued)a5c4d7bc187bd13bc11ac06bb4ea3a0d4001aa4d Bug detailed description: ----------------------------- igt/gem_reset_stats/params failed on -nightly(45912bd2d9d3d8f8e78e81bbab25251c6b17c5f8) and -next-queued kernels. this bug unable to reproduce on -fixes branch, We had a bug 75876 for some gem_reset_stats subcases failed before. Gem_reset_stats tests were blocked by bug 76671 in a period before. So we unable to bisect this bug. output on ILK: IGT-Version: 1.6-g43c2ed7 (x86_64) (Linux: 3.14.0_drm-intel-next-queued_a5c4d7_20140416_debug+ x86_64) Test assertion failure function check_params, file gem_reset_stats.c:976: Last errno: 14, Bad address Failed assertion: _test_params(fd, 0xbadbad, 0, 0) == -ENOENT Subtest params: FAIL Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:802: Last errno: 14, Bad address Test requirement: (!((((intel_get_drm_devid(fd)) == 0x0102 || (intel_get_drm_devid(fd)) == 0x0112 || (intel_get_drm_devid(fd)) == 0x0122 || (intel_get_drm_devid(fd)) == 0x0106 || (intel_get_drm_devid(fd)) == 0x0116 || (intel_get_drm_devid(fd)) == 0x0126 || (intel_get_drm_devid(fd)) == 0x010A) || (((intel_get_drm_devid(fd)) == 0x0152 || (intel_get_drm_devid(fd)) == 0x0162 || (intel_get_drm_devid(fd)) == 0x0156 || (intel_get_drm_devid(fd)) == 0x0166 || (intel_get_drm_devid(fd)) == 0x015a || (intel_get_drm_devid(fd)) == 0x016a) || (((intel_get_drm_devid(fd)) == 0x0402 || (intel_get_drm_devid(fd)) == 0x0406 || (intel_get_drm_devid(fd)) == 0x040A || (intel_get_drm_devid(fd)) == 0x040B || (intel_get_drm_devid(fd)) == 0x040E || (intel_get_drm_devid(fd)) == 0x0C02 || (intel_get_drm_devid(fd)) == 0x0C06 || (intel_get_drm_devid(fd)) == 0x0C0A || (intel_get_drm_devid(fd)) == 0x0C0B || (intel_get_drm_devid(fd)) == 0x0C0E || (intel_get_drm_devid(fd)) == 0x0A02 || (intel_get_drm_devid(fd)) == 0x0A06 || (intel_get_drm_devid(fd)) == 0x0A0A || (intel_get_drm_devid(fd)) == 0x0A0B || (intel_get_drm_devid(fd)) == 0x0A0E || (intel_get_drm_devid(fd)) == 0x0D02 || (intel_get_drm_devid(fd)) == 0x0D06 || (intel_get_drm_devid(fd)) == 0x0D0A || (intel_get_drm_devid(fd)) == 0x0D0B || (intel_get_drm_devid(fd)) == 0x0D0E) || ((intel_get_drm_devid(fd)) == 0x0412 || (intel_get_drm_devid(fd)) == 0x0416 || (intel_get_drm_devid(fd)) == 0x041A || (intel_get_drm_devid(fd)) == 0x041B || (intel_get_drm_devid(fd)) == 0x041E || (intel_get_drm_devid(fd)) == 0x0C12 || (intel_get_drm_devid(fd)) == 0x0C16 || (intel_get_drm_devid(fd)) == 0x0C1A || (intel_get_drm_devid(fd)) == 0x0C1B || (intel_get_drm_devid(fd)) == 0x0C1E || (intel_get_drm_devid(fd)) == 0x0A12 || (intel_get_drm_devid(fd)) == 0x0A16 || (intel_get_drm_devid(fd)) == 0x0A1A || (intel_get_drm_devid(fd)) == 0x0A1B || (intel_get_drm_devid(fd)) == 0x0A1E || (intel_get_drm_devid(fd)) == 0x0D12 || (intel_get_drm_devid(fd)) == 0x0D16 || (intel_get_drm_devid(fd)) == 0x0D1A || (intel_get_drm_devid(fd)) == 0x0D1B || (intel_get_drm_devid(fd)) == 0x0D1E) || ((intel_get_drm_devid(fd)) == 0x0422 || (intel_get_drm_devid(fd)) == 0x0426 || (intel_get_drm_devid(fd)) == 0x042A || (intel_get_drm_devid(fd)) == 0x042B || (intel_get_drm_devid(fd)) == 0x042E || (intel_get_drm_devid(fd)) == 0x0C22 || (intel_get_drm_devid(fd)) == 0x0C26 || (intel_get_drm_devid(fd)) == 0x0C2A || (intel_get_drm_devid(fd)) == 0x0C2B || (intel_get_drm_devid(fd)) == 0x0C2E || (intel_get_drm_devid(fd)) == 0x0A22 || (intel_get_drm_devid(fd)) == 0x0A26 || (intel_get_drm_devid(fd)) == 0x0A2A || (intel_get_drm_devid(fd)) == 0x0A2B || (intel_get_drm_devid(fd)) == 0x0A2E || (intel_get_drm_devid(fd)) == 0x0D22 || (intel_get_drm_devid(fd)) == 0x0D26 || (intel_get_drm_devid(fd)) == 0x0D2A || (intel_get_drm_devid(fd)) == 0x0D2B || (intel_get_drm_devid(fd)) == 0x0D2E)) || ((intel_get_drm_devid(fd)) == 0x0f30 || (intel_get_drm_devid(fd)) == 0x0f31 || (intel_get_drm_devid(fd)) == 0x0f32 || (intel_get_drm_devid(fd)) == 0x0f33)) || ((((intel_get_drm_devid(fd)) & 0xff00) != 0x1600) ? 0 : ((((intel_get_drm_devid(fd)) & 0x00f0) >> 4) > 3) ? 0 : (((intel_get_drm_devid(fd)) & 0x000f) == 0x2) ? 1 : (((intel_get_drm_devid(fd)) & 0x000f) == 0x6) ? 1 : (((intel_get_drm_devid(fd)) & 0x000f) == 0xb) ? 1 : (((intel_get_drm_devid(fd)) & 0x000f) == 0xa) ? 1 : (((intel_get_drm_devid(fd)) & 0x000f) == 0xd) ? 1 : (((intel_get_drm_devid(fd)) & 0x000f) == 0xe) ? 1 : 0)))) output on PNV: IGT-Version: 1.6-gcc730c4 (i686) (Linux: 3.14.0_drm-intel-next-queued_a5c4d7_20140416_debug+ i686) Test assertion failure function check_params, file gem_reset_stats.c:976: Last errno: 14, Bad address Failed assertion: _test_params(fd, 0xbadbad, 0, 0) == -ENOENT Subtest params: FAIL Test requirement not met in function __real_main1090, file gem_reset_stats.c:1127: Last errno: 14, Bad address Test requirement: (!(intel_gen(devid) >= 4)) gen 3 doesn't support reset Reproduce steps: ---------------------------- 1. ./gem_reset_stats --run-subtest params
commit 691e6415c891b8b2b082a120b896b443531c4d45 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Apr 9 09:07:36 2014 +0100 drm/i915: Always use kref tracking for all contexts. in drm-intel-fixes fixes this issue.
Fixed on latest -fixes(05adaf1f101f25f40f12c29403e6488f0e45f6b6). Thanks
Closing old verified.
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.