Hi everyone,
I was referring the link : http://processors.wiki.ti.com/index.php/DM814x_AM387x_PM_Suspend_resume_overview which guides us how to suspend DM8148.
When I was going through the guide there was a command which will send our system in the suspend mode :
$ echo -n "mem" > /sys/power/state
But when I did this I got the below log on my console :
root@dm814x-evm:/home/bist# echo -n "mem" > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ...
Freezing of tasks failed after 20.01 seconds (1 tasks refusing to freeze, wq_busy=0):
khubd D c0397f48 0 18 2 0x00080000
Backtrace:
[<c0397c68>] (schedule+0x0/0x324) from [<c0398254>] (schedule_timeout+0x158/0x190)
r9:00000000 r8:00000000 r7:00000001 r6:0000e0cd r5:0000000b
r4:0000e0d8
[<c03980fc>] (schedule_timeout+0x0/0x190) from [<c03982b4>] (schedule_timeout_uninterruptible+0x28/0x2c)
r6:00000005 r5:c487c800 r4:00000064
[<c039828c>] (schedule_timeout_uninterruptible+0x0/0x2c) from [<c007496c>] (msleep+0x1c/0x28)
[<c0074950>] (msleep+0x0/0x28) from [<c026666c>] (hub_power_on+0x64/0x6c)
[<c0266608>] (hub_power_on+0x0/0x6c) from [<c0269170>] (hub_thread+0x2dc/0xcd4)
r7:c487c800 r6:00000000 r5:00000000 r4:c487c82c
[<c0268e94>] (hub_thread+0x0/0xcd4) from [<c008117c>] (kthread+0x8c/0x94)
[<c00810f0>] (kthread+0x0/0x94) from [<c006d024>] (do_exit+0x0/0x5e4)
r7:00000013 r6:c006d024 r5:c00810f0 r4:c4825f18
Restarting tasks ... done.
So can anyone please explain me why I got this backtrace? Any help will be appreciated.
Please let me know if you need more information.
Thanks,
Krunal