Summary: | [IGT] gem_softpin@noreloc-S4 failed with 'rtcwake failed with 256' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Hector Velazquez <hector.franciscox.velazquez.suriano> | ||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||||
Version: | DRI git | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=102261 | ||||||||
Whiteboard: | ReadyForDev | ||||||||
i915 platform: | GLK | i915 features: | GEM/Other | ||||||
Attachments: |
|
This tests are failing on GLK QA Tests List: igt@gem_softpin@noreloc-S4 ==================================================== Output Sample ==================================================== . . . **** DEBUG **** (gem_softpin:8872) DEBUG: Made a 257x4 KiB hole: 00000000 (gem_softpin:8872) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:8872) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:8872) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:8872) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:8872) igt-aux-DEBUG: Test requirement passed: ret == 0 (gem_softpin:8872) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:771: (gem_softpin:8872) igt-aux-CRITICAL: Failed assertion: ret == 0 (gem_softpin:8872) igt-aux-CRITICAL: rtcwake failed with 256 Check dmesg for further details. (gem_softpin:8872) igt-core-INFO: Stack trace: (gem_softpin:8872) igt-core-INFO: #0 [__igt_fail_assert+0x101] (gem_softpin:8872) igt-core-INFO: #1 [igt_system_suspend_autoresume+0x5ae] (gem_softpin:8872) igt-core-INFO: #2 [<unknown>+0x5ae] (gem_softpin:8872) igt-core-INFO: #3 [<unknown>+0x5ae] **** END **** . . . This is my configuration: ====================================== Graphic stack ====================================== Component: drm tag: libdrm-2.4.81-57-g1dd84e0 commit: 1dd84e01a972b1759839a7326009be24ab3e6de2 Component: cairo tag: 1.15.6-42-gdccbed7 commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f Component: intel-gpu-tools tag: intel-gpu-tools-1.19-357-g1e99f8b commit: 1e99f8b8d2563d7f5c4e82932bab15abc5eacaef Component: piglit tag: piglit-v1 commit: 5aa6eea37f44f818632a3dad4c1a7478085bd56d ====================================== Software ====================================== kernel version : 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+ hostname : GLK-1-GLKRVP1DDR405 architecture : x86_64 os version : Ubuntu 16.10 os codename : yakkety kernel driver : i915 bios revision : 62.30 bios release date : 08/22/2017 ksc : 1.41 hardware acceleration : disabled swap partition : enabled on (/dev/sda3) ====================================== Graphic drivers ====================================== libdrm : 2.4.83 cairo : 1.15.9 intel-gpu-tools (tag) : intel-gpu-tools-1.19-357-g1e99f8b intel-gpu-tools (commit) : 1e99f8b ====================================== Hardware ====================================== platform : Geminilake motherboard model : Geminilake motherboard id : GLKRVP1DDR4(05) form factor : Hand Held manufacturer : IntelCorp. cpu family : Other cpu family id : 6 cpu information : Genuine Intel(R) CPU @ 1.10GHz gpu card : Intel Corporation Device 3185 (rev 03) (prog-if 00 [VGA controller]) memory ram : 7.64 GB max memory ram : 16 GB cpu thread : 2 cpu core : 2 cpu model : 122 cpu stepping : 1 socket : Other hard drive : 223GiB (240GB) current cd clock frequency : 316800 kHz maximum cd clock frequency : 316800 kHz displays connected : eDP-1 DP-1 HDMI-A-2 ====================================== Firmware ====================================== dmc fw loaded : yes dmc version : 1.4 guc fw loaded : SUCCESS guc version wanted : 10.56 guc version found : 10.56 ====================================== kernel parameters ====================================== quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot Created attachment 134639 [details]
dmesg
Same error than bug 102261, only this is a different family. [58196.707026] PM: Swap header not found! Could you check if /dev/sda3 is large enough to hold the hibernation image. 2x the size of memory is a good rule of thumb. Also make sure /dev/sda3 is properly inited for swap with # mkswap /dev/sda3 after any swap use on the above device is disabled. This test continue failing on GLK QA all configure related to swap has been verified: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 1 14.4G 0 disk ├─sdb2 8:18 1 7.2G 0 part └─sdb1 8:17 1 7.3G 0 part sda 8:0 0 223.6G 0 disk ├─sda2 8:2 0 39.5G 0 part / ├─sda3 8:3 0 15.9G 0 part [SWAP] └─sda1 8:1 0 512M 0 part /boot/efi $ : sudo swapon NAME TYPE SIZE USED PRIO /dev/sda3 partition 15.9G 0B -2 Tests List: igt@gem_softpin@noreloc-S4 IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+ x86_64) ====================================== output sample ====================================== . . . **** DEBUG **** (gem_softpin:3258) DEBUG: Made a 257x4 KiB hole: 00000000 (gem_softpin:3258) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:3258) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:3258) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:3258) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:3258) igt-aux-DEBUG: Test requirement passed: ret == 0 (gem_softpin:3258) igt-core-INFO: [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Sat Jan 13 06:21:50 2018 (gem_softpin:3258) igt-core-WARNING: [cmd] rtcwake: write error (gem_softpin:3258) igt-aux-WARNING: rtcwake failed with 1 Check dmesg for further details. (gem_softpin:3258) igt-aux-DEBUG: suspend_stats: success: 0 fail: 0 failed_freeze: 0 failed_prepare: 0 failed_suspend: 0 failed_suspend_late: 0 failed_suspend_noirq: 0 failed_resume: 0 failed_resume_early: 0 failed_resume_noirq: 0 failures: last_failed_dev: last_failed_errno: 0 0 last_failed_step: (gem_softpin:3258) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:821: (gem_softpin:3258) igt-aux-CRITICAL: Failed assertion: ret == 0 (gem_softpin:3258) igt-aux-CRITICAL: error: 1 != 0 (gem_softpin:3258) igt-core-INFO: Stack trace: (gem_softpin:3258) igt-core-INFO: #0 [__igt_fail_assert+0x101] (gem_softpin:3258) igt-core-INFO: #1 [igt_system_suspend_autoresume+0x544] (gem_softpin:3258) igt-core-INFO: #2 [<unknown>+0x544] **** END **** . . . (In reply to Hector Velazquez from comment #5) > This test continue failing on GLK QA > > all configure related to swap has been verified: Yet it is still failing to a configuration (well presuming the dmesg hasn't changed since you haven't reattached it) error. Please paste `swapon -s` This tests has executed success on GLK QA Tests List: igt@gem_softpin@noreloc-S4 IGT-Version: 1.21-gdd61508 (x86_64) (Linux: 4.16.0-rc1-drm-tip-ww8-commit-337c900+ x86_64) $ : lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111.8G 0 disk ├─sda1 8:1 0 1.9G 0 part /boot/efi ├─sda2 8:2 0 7.6G 0 part [SWAP] └─sda3 8:3 0 99.4G 0 part / sdb 8:16 1 7.5G 0 disk ├─sdb1 8:17 1 5.1G 0 part └─sdb2 8:18 1 2.4G 0 part $ : sudo p /dev/sda2 mkswap: error: /dev/sda2 is mounted; will not make swapspace $ : swapon -s Filename Type Size Used Priority /dev/sda2 partition 8000508 0 -2 Output: . . . $ : time sudo -E ./gem_softpin --r noreloc-S4 --d IGT-Version: 1.21-gdd61508 (x86_64) (Linux: 4.16.0-rc1-drm-tip-ww8-commit-337c900+ x86_64) (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_softpin:5088) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_softpin:5088) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (gem_softpin:5088) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_softpin:5088) ioctl-wrappers-DEBUG: Test requirement passed: dir >= 0 (gem_softpin:5088) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (gem_softpin:5088) DEBUG: Test requirement passed: gem_has_softpin(fd) (gem_softpin:5088) DEBUG: Test requirement passed: gem_can_store_dword(fd, 0) (gem_softpin:5088) igt-core-DEBUG: Starting subtest: noreloc-S4 (gem_softpin:5088) DEBUG: Made a 257x4 KiB hole: 00000000 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 04:46:50 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 04:49:04 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 04:51:13 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 04:53:28 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 04:55:42 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 04:57:56 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 05:00:11 2018 (gem_softpin:5088) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (gem_softpin:5088) igt-aux-DEBUG: Test requirement passed: ret == 0 [cmd] rtcwake: wakeup from "disk" using /dev/rtc0 at Mon Feb 19 05:02:22 2018 Subtest noreloc-S4: SUCCESS (69.366s) (gem_softpin:5088) igt-core-DEBUG: Exiting with status code 0 (gem_softpin:5088) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'. . . . . . This issue still fails but with a different issue being worked on bug 103375. Closing. |
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.
Created attachment 134638 [details] output