← Back to team overview

tiomap-dev team mailing list archive

[Bug 989547] Re: Panda: suspend resume fails

 

Tested the suspend-resume with the same image on 4460, and I wasn't able
to reproduce the issues with USB.

However I got the following issues:
1 - With pvr-omap4 (SGX) I had the same issue as described by bug 916135
2 - Without pvr-omap4 (just using fbdev) I got the following messages with my monitor:
...
[  131.013793] omapdss OVERLAY error: overlay 2 horizontally not inside the display area (1629 + 64 >= 1024)
[  131.023864] omapdss APPLY error: failed to enable overlay 2: check_settings failed
[  131.032531] omapdss OVERLAY error: overlay 2 horizontally not inside the display area (1623 + 64 >= 1024)
[  131.042602] omapdss APPLY error: failed to enable overlay 2: check_settings failed
[  131.051208] omapdss OVERLAY error: overlay 2 horizontally not inside the display area (1610 + 64 >= 1024)
...
And nothing was happening on the screen. After switching to the console's virtual terminal and X11, it got back to work as expected.

Then on both cases I got the following warnings, which is probably
harmless:

[  108.794189] ------------[ cut here ]------------
[  108.794219] WARNING: at /build/buildd/linux-linaro-lt-omap-3.4-3.4.0/drivers/video/omap2/dss/dispc.c:376 dispc_runtime_get+0x2f/0x44()
[  108.794219] Modules linked in: arc4 wl12xx wlcore mac80211 bnep cfg80211 rfcomm ppdev lp parport gator wlcore_sdio btwilink bluetooth usbhid hid
[  108.794281] [<c0011011>] (unwind_backtrace+0x1/0x90) from [<c002b409>] (warn_slowpath_common+0x39/0x50)
[  108.794311] [<c002b409>] (warn_slowpath_common+0x39/0x50) from [<c002b435>] (warn_slowpath_null+0x15/0x16)
[  108.794311] [<c002b435>] (warn_slowpath_null+0x15/0x16) from [<c02718ab>] (dispc_runtime_get+0x2f/0x44)
[  108.794342] [<c02718ab>] (dispc_runtime_get+0x2f/0x44) from [<c027eb25>] (hdmi_runtime_resume+0xd/0x24)
[  108.794372] [<c027eb25>] (hdmi_runtime_resume+0xd/0x24) from [<c02bb5c3>] (pm_generic_runtime_resume+0x19/0x22)
[  108.794372] [<c02bb5c3>] (pm_generic_runtime_resume+0x19/0x22) from [<c0027fe3>] (_od_resume_noirq+0x37/0x40)
[  108.794403] [<c0027fe3>] (_od_resume_noirq+0x37/0x40) from [<c02bc1f3>] (dpm_run_callback.isra.5+0x1f/0x48)
[  108.794403] [<c02bc1f3>] (dpm_run_callback.isra.5+0x1f/0x48) from [<c02bc603>] (dpm_resume_noirq+0x5f/0x114)
[  108.794433] [<c02bc603>] (dpm_resume_noirq+0x5f/0x114) from [<c02bc81f>] (dpm_resume_start+0xf/0x18)
[  108.794464] [<c02bc81f>] (dpm_resume_start+0xf/0x18) from [<c0052583>] (suspend_enter+0xb3/0xcc)
[  108.794464] [<c0052583>] (suspend_enter+0xb3/0xcc) from [<c0052643>] (suspend_devices_and_enter+0xa7/0x148)
[  108.794494] [<c0052643>] (suspend_devices_and_enter+0xa7/0x148) from [<c005273f>] (enter_state+0x5b/0xa8)
[  108.794494] [<c005273f>] (enter_state+0x5b/0xa8) from [<c005279f>] (pm_suspend+0x13/0x54)
[  108.794525] [<c005279f>] (pm_suspend+0x13/0x54) from [<c0051cfd>] (state_store+0x5d/0x84)
[  108.794525] [<c0051cfd>] (state_store+0x5d/0x84) from [<c024b5b1>] (kobj_attr_store+0x9/0x10)
[  108.794555] [<c024b5b1>] (kobj_attr_store+0x9/0x10) from [<c00fbd55>] (sysfs_write_file+0x55/0x80)
[  108.794555] [<c00fbd55>] (sysfs_write_file+0x55/0x80) from [<c00bb309>] (vfs_write+0x63/0x106)
[  108.794586] [<c00bb309>] (vfs_write+0x63/0x106) from [<c00bb52b>] (sys_write+0x2d/0x4e)
[  108.794586] [<c00bb52b>] (sys_write+0x2d/0x4e) from [<c000c101>] (ret_fast_syscall+0x1/0x52)
[  108.794616] ---[ end trace 0da3e76b87a358c3 ]---
[  108.796020] PM: noirq resume of devices complete after 2.196 msecs
[  108.797454] PM: early resume of devices complete after 1.098 msecs
[  109.347198] ------------[ cut here ]------------
[  109.347229] WARNING: at /build/buildd/linux-linaro-lt-omap-3.4-3.4.0/drivers/video/omap2/dss/hdmi.c:141 hdmi_runtime_get+0x2d/0x40()
[  109.347229] Modules linked in: arc4 wl12xx wlcore mac80211 bnep cfg80211 rfcomm ppdev lp parport gator wlcore_sdio btwilink bluetooth usbhid hid
[  109.347290] [<c0011011>] (unwind_backtrace+0x1/0x90) from [<c002b409>] (warn_slowpath_common+0x39/0x50)
[  109.347290] [<c002b409>] (warn_slowpath_common+0x39/0x50) from [<c002b435>] (warn_slowpath_null+0x15/0x16)
[  109.347320] [<c002b435>] (warn_slowpath_null+0x15/0x16) from [<c027eb69>] (hdmi_runtime_get+0x2d/0x40)
[  109.347320] [<c027eb69>] (hdmi_runtime_get+0x2d/0x40) from [<c027ef97>] (hdmi_power_on+0xf/0x1c)
[  109.347351] [<c027ef97>] (hdmi_power_on+0xf/0x1c) from [<c027f2f3>] (omapdss_hdmi_display_enable+0x6b/0xac)
[  109.347351] [<c027f2f3>] (omapdss_hdmi_display_enable+0x6b/0xac) from [<c027f7d5>] (hdmi_panel_resume+0x21/0x4c)
[  109.347381] [<c027f7d5>] (hdmi_panel_resume+0x21/0x4c) from [<c027421f>] (dss_resume_device+0x1b/0x24)
[  109.347412] [<c027421f>] (dss_resume_device+0x1b/0x24) from [<c02b75ed>] (bus_for_each_dev+0x2d/0x4a)
[  109.347412] [<c02b75ed>] (bus_for_each_dev+0x2d/0x4a) from [<c02b91af>] (platform_pm_resume+0x25/0x2e)
[  109.347442] [<c02b91af>] (platform_pm_resume+0x25/0x2e) from [<c02bc1f3>] (dpm_run_callback.isra.5+0x1f/0x48)
[  109.347442] [<c02bc1f3>] (dpm_run_callback.isra.5+0x1f/0x48) from [<c02bcac7>] (device_resume+0x83/0xb0)
[  109.347473] [<c02bcac7>] (device_resume+0x83/0xb0) from [<c02bcda7>] (dpm_resume+0xa7/0x190)
[  109.347473] [<c02bcda7>] (dpm_resume+0xa7/0x190) from [<c02bcf43>] (dpm_resume_end+0xf/0x18)
[  109.347503] [<c02bcf43>] (dpm_resume_end+0xf/0x18) from [<c005265f>] (suspend_devices_and_enter+0xc3/0x148)
[  109.347534] [<c005265f>] (suspend_devices_and_enter+0xc3/0x148) from [<c005273f>] (enter_state+0x5b/0xa8)
[  109.347534] [<c005273f>] (enter_state+0x5b/0xa8) from [<c005279f>] (pm_suspend+0x13/0x54)
[  109.347564] [<c005279f>] (pm_suspend+0x13/0x54) from [<c0051cfd>] (state_store+0x5d/0x84)
[  109.347564] [<c0051cfd>] (state_store+0x5d/0x84) from [<c024b5b1>] (kobj_attr_store+0x9/0x10)
[  109.347595] [<c024b5b1>] (kobj_attr_store+0x9/0x10) from [<c00fbd55>] (sysfs_write_file+0x55/0x80)
[  109.347595] [<c00fbd55>] (sysfs_write_file+0x55/0x80) from [<c00bb309>] (vfs_write+0x63/0x106)
[  109.347625] [<c00bb309>] (vfs_write+0x63/0x106) from [<c00bb52b>] (sys_write+0x2d/0x4e)
[  109.347625] [<c00bb52b>] (sys_write+0x2d/0x4e) from [<c000c101>] (ret_fast_syscall+0x1/0x52)
[  109.347656] ---[ end trace 0da3e76b87a358c4 ]---
[  109.551483] PM: resume of devices complete after 753.651 msecs
[  109.567626] PM: Finishing wakeup.
[  109.567626] Restarting tasks ... done.
[  111.542572] omapdss error: operation stopped when reading edid
[  111.608276] ------------[ cut here ]------------
[  111.608306] WARNING: at /build/buildd/linux-linaro-lt-omap-3.4-3.4.0/drivers/staging/omapdrm/omap_crtc.c:58 omap_crtc_dpms+0x45/0x58()
[  111.608306] Modules linked in: arc4 wl12xx wlcore mac80211 bnep cfg80211 rfcomm ppdev lp parport gator wlcore_sdio btwilink bluetooth usbhid hid
[  111.608367] [<c0011011>] (unwind_backtrace+0x1/0x90) from [<c002b409>] (warn_slowpath_common+0x39/0x50)
[  111.608398] [<c002b409>] (warn_slowpath_common+0x39/0x50) from [<c002b435>] (warn_slowpath_null+0x15/0x16)
[  111.608428] [<c002b435>] (warn_slowpath_null+0x15/0x16) from [<c0364d15>] (omap_crtc_dpms+0x45/0x58)
[  111.608428] [<c0364d15>] (omap_crtc_dpms+0x45/0x58) from [<c02a5a55>] (drm_crtc_helper_set_mode+0x1b1/0x254)
[  111.608459] [<c02a5a55>] (drm_crtc_helper_set_mode+0x1b1/0x254) from [<c02a5fe1>] (drm_crtc_helper_set_config+0x42d/0x5f0)
[  111.608489] [<c02a5fe1>] (drm_crtc_helper_set_config+0x42d/0x5f0) from [<c02a51e5>] (drm_fb_helper_set_par+0x45/0x80)
[  111.608489] [<c02a51e5>] (drm_fb_helper_set_par+0x45/0x80) from [<c02a5359>] (drm_fb_helper_single_fb_probe+0x139/0x190)
[  111.608520] [<c02a5359>] (drm_fb_helper_single_fb_probe+0x139/0x190) from [<c02a5831>] (output_poll_execute+0xc5/0xf8)
[  111.608520] [<c02a5831>] (output_poll_execute+0xc5/0xf8) from [<c003d91d>] (process_one_work+0x1f3/0x386)
[  111.608551] [<c003d91d>] (process_one_work+0x1f3/0x386) from [<c003dca5>] (worker_thread+0xd5/0x180)
[  111.608581] [<c003dca5>] (worker_thread+0xd5/0x180) from [<c0040f21>] (kthread+0x59/0x70)
[  111.608581] [<c0040f21>] (kthread+0x59/0x70) from [<c000cbfd>] (kernel_thread_exit+0x1/0x6)
[  111.608612] ---[ end trace 0da3e76b87a358c5 ]---

Andy, you can find the pre-built image at
http://snapshots.linaro.org/precise/pre-built/lt-panda-x11-base/139/lt-
panda-x11-base-precise_ubuntu-desktop_20120626-139.html if you
need/want.

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to linaro-landing-team-ti.
https://bugs.launchpad.net/bugs/989547

Title:
  Panda: suspend resume fails

Status in Linaro Texas Instruments Landing Team:
  Confirmed
Status in Linaro Ubuntu Evaluation Builds:
  Confirmed

Bug description:
  Description:
  ---------------

  Device not able to resume after entering suspend mode.

  Tested using:
  http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/10/hwpack_linaro-lt-panda-x11-base_20120426-10_armhf_supported.tar.gz
  http://snapshots.linaro.org/precise/images/ubuntu-desktop/119/linaro-precise-ubuntu-desktop-20120426-119.tar.gz

  Reproducible:
  ---------------
  Yes , 5/5

  Steps to reproduce:
  ---------------------
  Follow test case description:
  https://wiki.linaro.org/Platform/QA/TestCases/Ubuntu#Suspend.2BAC8-Resume

  
  Hardware: 
  ----------
  Panda 4430

  Software:
  -----------
  http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/10/hwpack_linaro-lt-panda-x11-base_20120426-10_armhf_supported.tar.gz
  http://snapshots.linaro.org/precise/images/ubuntu-desktop/119/linaro-precise-ubuntu-desktop-20120426-119.tar.gz

  sd card image created:
  sudo linaro-media-create --mmc /dev/sdb --dev panda --hwpack hwpack_linaro-lt-panda-x11-base_20120426-10_armhf_supported.tar.gz --binary linaro-precise-ubuntu-desktop-20120426-119.tar.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/989547/+subscriptions