Suspend fails on quickstart / oneiric when using the HDMI daughter board

Bug #882723 reported by Tom Gall on 2011-10-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Medium
Unassigned

Bug Description

imx53 quickstart board. hwpack dated 1026, ubuntu-desktop 1024-1.

When selecting suspect from the pull down menu (upper right hand corner) the board does not suspend. The display does blank as if the process starts however from the serial cons it's obviously not the case.

Tom Gall (tom-gall) wrote :
Download full text (19.0 KiB)

From dmesg

[ 3334.049960] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro,commit=0
[ 3346.234705] usb 2-1.3: unlink qh8-0e01/d86e1540 start 4 [1/2 us]
[ 3346.925896] PM: Syncing filesystems ... done.
[ 3347.134295] PM: Preparing system for mem sleep
[ 3347.139737] mmc0: card f774 removed
[ 3480.463801] INFO: task mmcqd/0:649 blocked for more than 120 seconds.
[ 3480.470288] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3480.478849] mmcqd/0 D 805c803c 0 649 2 0x00000000
[ 3480.478915] [<805c803c>] (__schedule+0x460/0x4c4) from [<805c817c>] (schedule+0x80/0x84)
[ 3480.478947] [<805c817c>] (schedule+0x80/0x84) from [<80461680>] (__mmc_claim_host+0xc8/0x)
[ 3480.478978] [<80461680>] (__mmc_claim_host+0xc8/0x16c) from [<8046c698>] (mmc_blk_issue_r)
[ 3480.479003] [<8046c698>] (mmc_blk_issue_rq+0x44/0x214) from [<8046d590>] (mmc_queue_threa)
[ 3480.479032] [<8046d590>] (mmc_queue_thread+0xa8/0x10c) from [<80054c98>] (kthread+0xa4/0x)
[ 3480.479064] [<80054c98>] (kthread+0xa4/0xb0) from [<8000ead0>] (kernel_thread_exit+0x0/0x)
[ 3480.479082] no locks held by mmcqd/0/649.
[ 3480.479097] INFO: task jbd2/mmcblk0p3-:820 blocked for more than 120 seconds.
[ 3480.487533] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3480.495622] jbd2/mmcblk0p3- D 805c803c 0 820 2 0x00000000
[ 3480.495661] [<805c803c>] (__schedule+0x460/0x4c4) from [<805c817c>] (schedule+0x80/0x84)
[ 3480.495681] [<805c817c>] (schedule+0x80/0x84) from [<805c81e8>] (io_schedule+0x68/0xa0)
[ 3480.495707] [<805c81e8>] (io_schedule+0x68/0xa0) from [<800b8698>] (sleep_on_page+0x18/0x)
[ 3480.495731] [<800b8698>] (sleep_on_page+0x18/0x20) from [<805c8ac4>] (__wait_on_bit+0x64/)
[ 3480.495752] [<805c8ac4>] (__wait_on_bit+0x64/0xb0) from [<800b8918>] (wait_on_page_bit+0x)
[ 3480.495775] [<800b8918>] (wait_on_page_bit+0xa0/0xb0) from [<800b8f7c>] (filemap_fdatawai)
[ 3480.495798] [<800b8f7c>] (filemap_fdatawait_range+0x78/0x150) from [<800b90d4>] (filemap_)
[ 3480.495829] [<800b90d4>] (filemap_fdatawait+0x80/0x88) from [<801b770c>] (journal_finish_)
[ 3480.495855] [<801b770c>] (journal_finish_inode_data_buffers+0x68/0x164) from [<801b81f4>])
[ 3480.495886] [<801b81f4>] (jbd2_journal_commit_transaction+0x99c/0x13d0) from [<801bd7d0>])
[ 3480.495910] [<801bd7d0>] (kjournald2+0xbc/0x218) from [<80054c98>] (kthread+0xa4/0xb0)
[ 3480.495936] [<80054c98>] (kthread+0xa4/0xb0) from [<8000ead0>] (kernel_thread_exit+0x0/0x)
[ 3480.495951] no locks held by jbd2/mmcblk0p3-/820.
[ 3480.495970] INFO: task flush-179:0:1125 blocked for more than 120 seconds.
[ 3480.502874] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3480.513203] flush-179:0 D 805c803c 0 1125 2 0x00000000 ...

Tom Gall (tom-gall) on 2011-10-27
tags: added: linaro-ubunto lt-quickstart suspend-resume
tags: added: linaro-ubuntu
removed: linaro-ubunto
Tom Gall (tom-gall) wrote :

continues to fail on 11.11 RC1

root@linaro-ubuntu-desktop:~# [ 2160.371622] INFO: task mmcqd/0:649 blocked for.
[ 2160.378107] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2160.386603] INFO: task rs:main Q:Reg:1083 blocked for more than 120 seconds.
[ 2160.394838] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2160.403582] INFO: task pm-suspend:2556 blocked for more than 120 seconds.
[ 2160.410401] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2280.421623] INFO: task mmcqd/0:649 blocked for more than 120 seconds.
[ 2280.428108] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2280.436606] INFO: task jbd2/mmcblk0p3-:815 blocked for more than 120 seconds.
[ 2280.445129] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2280.453537] INFO: task rs:main Q:Reg:1083 blocked for more than 120 seconds.
[ 2280.460614] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2280.471056] INFO: task pm-suspend:2556 blocked for more than 120 seconds.
[ 2280.480760] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2400.481622] INFO: task mmcqd/0:649 blocked for more than 120 seconds.
[ 2400.488108] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2400.496607] INFO: task jbd2/mmcblk0p3-:815 blocked for more than 120 seconds.
[ 2400.504931] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.
[ 2400.513328] INFO: task rs:main Q:Reg:1083 blocked for more than 120 seconds.
[ 2400.520404] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this.

Eric Miao (eric.y.miao) on 2011-11-22
Changed in linaro-landing-team-freescale:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Haitao Zhang (minipanda)
milestone: none → 2011.11
assignee: Haitao Zhang (minipanda) → Ying-Chun Liu (paulliu)
Changed in linaro-ubuntu:
status: New → Confirmed
importance: Undecided → Medium
Eric Miao (eric.y.miao) wrote :

There are 3 issues with this bug.

1. CONFIG_MMC_UNSAFE_RESUME shall be turned on to allow suspend/resume to work for rootfs on SD card
2. mxc_spdif suspend/resume functions are generating un-necessary kernel warnings
3. soc-audio device could be probed without working codecs, and resume will fail with unbalanced locks

Patches will follow this comment.

Eric Miao (eric.y.miao) on 2011-11-23
Changed in linaro-landing-team-freescale:
status: Triaged → Fix Committed
Ying-Chun Liu (paulliu) wrote :

I got this bootlog using the new kernel.

It OOPS.

Ricardo Salveti (rsalveti) wrote :

Tested with hwpack_linaro-lt-mx5_20111123-1_armel_supported.tar.gz and it works fine when I'm not using the HDMI daughter card, but it fails to come back from suspend if I'm using the daughter board.

Another interesting behavior is that even if you restart the board when suspending with the daughter board, the monitor will not even start at the next boot (needs a full power cycle to get it to work again).

summary: - Suspend fails on quickstart / oneiric
+ Suspend fails on quickstart / oneiric when using the HDMI daughter board
Eric Miao (eric.y.miao) wrote :

As the bug happens when using HDMI daughter card, change it back to open and target for next month.

Changed in linaro-landing-team-freescale:
milestone: 2011.11 → 2011.12
status: Fix Committed → Triaged
Eric Miao (eric.y.miao) on 2011-12-16
Changed in linaro-landing-team-freescale:
milestone: 2011.12 → 2012-01
Fathi Boudra (fboudra) on 2013-03-29
Changed in linaro-ubuntu:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers