Bug 66533

Summary: [Bisected]igt/debugfs_reader i915 sysfs path not found
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Chris Wilson <chris>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high CC: sachinbhutanicse, xunx.fang, yangweix.shui
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2013-07-03 06:19:15 UTC
System Environment:
--------------------------
Arch:           x86_64
Platform:       ILK/SNB/IVB/HSW
Kernel:         drm-intel-next-queued ef86ddced720fddc3835558447a7f594d3609c73

Bug detailed description:
-----------------------------
It  happens on ironlake sandybridge ivybridge and haswell with drm-intel-next-queued and drm-intel-fixes kernel.
Following cases also have this issue:
igt/debugfs_emon_crash
igt/test_rte_check
igt/ZZ_hangman

Bisect shows:6fd652ac1db1b572af6cc4a040ca357707503f5b is the first bad commit.
commit 6fd652ac1db1b572af6cc4a040ca357707503f5b
Author:     Mika Kuoppala <mika.kuoppala@linux.intel.com>
AuthorDate: Thu Jun 27 16:54:43 2013 +0300
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Mon Jul 1 18:54:53 2013 +0200

    tests: add i915_sfs_path

    To access 'error_state' through sysfs.

    Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>


output:
i915 sysfs path not found.

Reproduce steps:
----------------------------
1. ./debugfs_reader
Comment 1 Chris Wilson 2013-07-03 07:18:37 UTC
commit e50ae9596c544c3cca0f32c5eba94c655a1ebcd2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Jul 3 08:00:13 2013 +0100

    tests/hangman: Be lenient towards a non-existent sysfs error state
    
    As /sys/class/drm/cardX/error is a new interface for 3.11, we need to be
    quiet when it does not exist or else we upset the automated tests.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66533
Comment 2 lu hua 2013-07-04 05:37:43 UTC
Verified.Fixed.
Comment 3 Gordon Jin 2014-01-03 01:33:42 UTC
(give the credit to Chris)
Comment 4 Elizabeth 2017-10-06 14:45:19 UTC
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.