Bug 103957 - [IGT] After pm_rpm@basic-[rte/pci-d3-states] terminal doesn't work anymore
Summary: [IGT] After pm_rpm@basic-[rte/pci-d3-states] terminal doesn't work anymore
Status: CLOSED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: low normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 16:15 UTC by Ricardo Perez
Modified: 2018-02-13 16:28 UTC (History)
2 users (show)

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


Attachments
Kernel Log (305.33 KB, text/plain)
2017-11-28 16:15 UTC, Ricardo Perez
no flags Details

Description Ricardo Perez 2017-11-28 16:15:08 UTC
Created attachment 135775 [details]
Kernel Log

After run pm_rpm@basic-[rte/pci-d3-states] on CNL, the test passes but the terminal doesn't work anymore. After the test, the system is up and running, fully functional and accessible through SSH connection. However, the keyboard attached to the system is unresponsive, it can't be possible to switch between terminals using the keyboard. 

The video is still showing the last state of the terminal before the suspend. If the tests (pm_rpm@basic-[rte/pci-d3-states] are executed through SSH, the test shows success execution and you're able to continue using the system via SSH only.

Test Output:

IGT-Version: 1.20-g88d6550 (x86_64) (Linux: 4.14.0-drm-tip-ww46-commit-06718a2+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest basic-pci-d3-state: SUCCESS (4.990s)

Result: The test passes, and the system terminal is no longer available. Keyboard unresponsive, video show the last frame.

Expected Result: The test should pass and the system should be working as before. (fully functional).
Comment 1 Elizabeth 2017-12-18 22:41:42 UTC
From a chat on IRC with mupuf, there are some tests that disable the console, so this is a expected behavior, though one should be able to get it back after the test. It's probably that igt unbinds the fbcon.

It could be worthy to try to recover console by binding/unbinding fbcon, more information about it: https://www.kernel.org/doc/Documentation/fb/fbcon.txt
Comment 2 Hector Velazquez 2017-12-19 19:52:16 UTC
This tests continue failing on CFL QA

the tests disabling local terminal when finish, 
only can access from remote terminal...

pm_rpm@basic-rte 
pm_rpm@basic-pci-d3-state

====================================================
Full outputs 
====================================================
IGT-Version: 1.20-gfda6c10 (x86_64) (Linux: 4.15.0-rc4-drm-tip-ww51-commit-cd7e144+ x86_64)
Test requirement not met in function drm_open_driver, file drmtest.c:371:
Test requirement: !(fd<0)
No known gpu found for chipset flags 0x1 (intel)
Last errno: 2, No such file or directory
Subtest basic-rte: SKIP
(pm_rpm:1444) igt-core-DEBUG: Exiting with status code 77

IGT-Version: 1.20-gfda6c10 (x86_64) (Linux: 4.15.0-rc4-drm-tip-ww51-commit-cd7e144+ x86_64)
Test requirement not met in function drm_open_driver, file drmtest.c:371:
Test requirement: !(fd<0)
No known gpu found for chipset flags 0x1 (intel)
Last errno: 2, No such file or directory
(pm_rpm:1453) igt-core-WARNING: Unknown subtest: basic-pci-d3-states
IGT-Version: 1.20-gfda6c10 (x86_64) (Linux: 4.15.0-rc4-drm-tip-ww51-commit-cd7e144+ x86_64)
Test requirement not met in function drm_open_driver, file drmtest.c:371:
Test requirement: !(fd<0)
No known gpu found for chipset flags 0x1 (intel)
Last errno: 2, No such file or directory
Subtest basic-pci-d3-state: SKIP
(pm_rpm:1456) igt-core-DEBUG: Exiting with status code 77

This is my configuration:
======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.88-42-g831036a
    commit: 831036a6f62005da9fb4a75fe043bd96ce672d27

Component: cairo
    tag: 1.15.8-73-g903b0de
    commit: 903b0de539844c144c63ea57c30e84a23360c290

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-236-gfda6c10
    commit: fda6c109954db928c249befefa4734f430dc948f

Component: piglit
    tag: piglit-v1
    commit: 2f60e31adb1bcd017828d56f1f22f476e7925ee5
Comment 3 Elizabeth 2017-12-20 16:09:55 UTC
(In reply to Hector Velazquez from comment #2)
> This tests continue failing on CFL QA
> 
> the tests disabling local terminal when finish, 
> only can access from remote terminal...
As mentioned in comment 1, this is expected, please try the fbcon bind/unbind.
Comment 4 Elizabeth 2018-02-02 21:56:07 UTC
Reducing priority since is expected.
Comment 5 Elizabeth 2018-02-12 21:53:18 UTC
To bind console again use:

echo 1 > /sys/class/vtconsole/vtcon1/bind


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.