Skip to contentSkip to conversation

Omap3430 does not resume after suspend

DISCUSSION Shreyas Mahajan 4 participants 8 messages Jan 30, 2009 – Feb 4, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,
I am a newbie with omap3430. As a part of my project, I
suspended my board with 'echo mem > /sys/power/state'.The suspend happens correctly, without giving any failure message. But, when I tried it to resume, it is not resuming.I tried to find some reasons for this, and got the patches for unmasking keyboard interrupt while suspending. But, all patches are for omap2 and omap1 board architecture. Are there any patches to do this thing in omap3430?

Thanks,

#1 lore raw
Quoted 7 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shreyas Mahajan
Sent: Friday, January 30, 2009 2:54 PM
To: [email protected]
Subject: Omap3430 does not resume after suspend

Quoted 9 lines

Hello,
I am a newbie with omap3430. As a part of my
project, I suspended my board with 'echo mem > /sys/power/state'.The suspend happens correctly, without giving any failure message. But, when I tried it to resume, it is not resuming.I tried to find some reasons for this, and got the patches for unmasking keyboard interrupt while suspending. But, all patches are for omap2 and omap1 board architecture.

[sp] Are you following updates in Kevin Hilman's pm branch? With lastest updates you shouldn't see this problem on a minimal config.

Would be good to start from here and add drivers selectively.

Quoted 1 line

Are there any patches to do this thing in omap3430?

[sp] omap2 applies to OMAP3430 as well.

Quoted 9 lines

Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 17 lines · Sanjeev
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shreyas Mahajan
Sent: Friday, January 30, 2009 2:54 PM
To: [email protected]
Subject: Omap3430 does not resume after suspend

Quoted 9 lines

Hello,
I am a newbie with omap3430. As a part of my
project, I suspended my board with 'echo mem > /sys/power/state'.The suspend happens correctly, without giving any failure message. But, when I tried it to resume, it is not resuming.I tried to find some reasons for this, and got the patches for unmasking keyboard interrupt while suspending. But, all patches are for omap2 and omap1 board architecture.

Quoted 18 lines

[sp] Are you following updates in Kevin Hilman's pm branch? With lastest updates you shouldn't see this problem on a minimal config.

Would be good to start from here and add drivers selectively.

Quoted 1 line

Are there any patches to do this thing in omap3430?

[sp] omap2 applies to OMAP3430 as well.

Quoted 9 lines

Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

Thanks for reply.
I went through the Kevin Hilman's PM branch and found the same problem posted by you (@Sanjeev),

'Hangs on a echo mem > /sys/power/state

Quoted 1 line

Goes into suspend, but cannot recover'

So, can you please tell me if this problem is solved?

#3 lore raw
Quoted 46 lines

-----Original Message-----
From: Shreyas Mahajan [mailto:[email protected]]
Sent: Tuesday, February 03, 2009 11:44 AM
To: Premi, Sanjeev; [email protected]
Subject: Re: Omap3430 does not resume after suspend

Quoted 9 lines · Sanjeev
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shreyas Mahajan
Sent: Friday, January 30, 2009 2:54 PM
To: [email protected]
Subject: Omap3430 does not resume after suspend

Quoted 4 lines
Quoted 4 lines

Hello,
I am a newbie with omap3430. As a part of my project, I
suspended my board with 'echo mem > /sys/power/state'.The suspend happens correctly, without giving any failure message.

But, when I

Quoted 1 line
Quoted 1 line

tried it to resume, it is not resuming.I tried to find

some reasons

Quoted 1 line
Quoted 1 line

for this, and got the patches for unmasking keyboard

interrupt while

Quoted 4 lines
Quoted 2 lines

suspending. But, all patches are for omap2 and omap1 board architecture.

[sp] Are you following updates in Kevin Hilman's pm branch? With lastest updates you shouldn't see this problem on a

minimal config.

Quoted 15 lines

Would be good to start from here and add drivers selectively.

Quoted 1 line

Are there any patches to do this thing in omap3430?

[sp] omap2 applies to OMAP3430 as well.

Quoted 8 lines

Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 9 lines

Thanks for reply.
I went through the Kevin Hilman's PM branch and found the same problem posted by you (@Sanjeev),

'Hangs on a echo mem > /sys/power/state

Quoted 1 line

Goes into suspend, but cannot recover'

So, can you please tell me if this problem is solved?

[sp] Have not been able to follow-up in the latest tree for last couple of days, but with minimal driver configuration; this problem is solved. I am in process of finding the 'offending' driver.

#4 lore raw

Hi,
Thanks for constantly tolerating my ignorance. I git-cloned the
latest PM tree available and booted my 3430 LDP board with ldp defconfig configuration. Now the problem regarding hanging of machine after some small interval is solved but when I done 'echo mem

Quoted 1 line

/sys/power/state' it gives error to suspend,

This is log for it,

'/ # echo mem > /sys/power/state
<6>PM: Syncing filesystems ... PM: Syncing filesystems ... done. done.
Freezing user space processes ... Freezing user space processes ... (elapsed 0.00 seconds) (elapsed 0.00 seconds) done. done.
Freezing remaining freezable tasks ... Freezing remaining freezable tasks ... (elapsed 0�)����r$�Powerdomain (core_pwrdm) d1 Powerdomain (per_pwrdm) didn't enter target state 1

             �*43

Could not enter target state in pm_suspendend to debug) �1�ռ���,森�Ѡr��
Restarting tasks ... Restarting tasks ... done.%�������� J$�4%�%Ѵ�*43 done.F�󰯅)������������ J$�4%�%Ѵ�*43
'
I searched similar problems on mailing list, in which suspend log contains exactly which process could not be stopped as reason to suspend failure. But in above log, I could not interpret such a reason.
Could anyone please help me with this?

Quoted 50 lines · Sanjeev
Quoted 50 lines

-----Original Message-----
From: Shreyas Mahajan [mailto:[email protected]]
Sent: Tuesday, February 03, 2009 11:44 AM
To: Premi, Sanjeev; [email protected]
Subject: Re: Omap3430 does not resume after suspend

Quoted 9 lines · Sanjeev
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shreyas Mahajan
Sent: Friday, January 30, 2009 2:54 PM
To: [email protected]
Subject: Omap3430 does not resume after suspend

Quoted 4 lines
Quoted 4 lines

Hello,
I am a newbie with omap3430. As a part of my project, I
suspended my board with 'echo mem > /sys/power/state'.The suspend happens correctly, without giving any failure message.

But, when I

Quoted 1 line
Quoted 1 line

tried it to resume, it is not resuming.I tried to find

some reasons

Quoted 1 line
Quoted 1 line

for this, and got the patches for unmasking keyboard

interrupt while

Quoted 4 lines
Quoted 2 lines

suspending. But, all patches are for omap2 and omap1 board architecture.

[sp] Are you following updates in Kevin Hilman's pm branch? With lastest updates you shouldn't see this problem on a

minimal config.

Quoted 15 lines

Would be good to start from here and add drivers selectively.

Quoted 1 line

Are there any patches to do this thing in omap3430?

[sp] omap2 applies to OMAP3430 as well.

Quoted 8 lines

Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Thanks for reply.
I went through the Kevin Hilman's PM branch and found the same problem posted by you (@Sanjeev),

Quoted 7 lines
Quoted 5 lines

'Hangs on a echo mem > /sys/power/state

Quoted 1 line

Goes into suspend, but cannot recover'

So, can you please tell me if this problem is solved?

[sp] Have not been able to follow-up in the latest tree for last couple of days, but with minimal driver configuration; this problem is solved. I am in process of finding the 'offending' driver.

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

Hi Shreyas,

Quoted 18 lines · Shreyas Mahajan

Hi,
Thanks for constantly tolerating my ignorance. I git-cloned the
latest PM tree available and booted my 3430 LDP board with ldp defconfig configuration. Now the problem regarding hanging of machine after some small interval is solved but when I done 'echo mem

Quoted 1 line

/sys/power/state' it gives error to suspend,

This is log for it,

'/ # echo mem > /sys/power/state
<6>PM: Syncing filesystems ... PM: Syncing filesystems ... done. done.
Freezing user space processes ... Freezing user space processes ... (elapsed 0.00 seconds) (elapsed 0.00 seconds) done. done.
Freezing remaining freezable tasks ... Freezing remaining freezable tasks ... (elapsed 0� )����r$�Powerdomain (core_pwrdm) d1 Powerdomain (per_pwrdm) didn't enter target state 1

            �*43
Quoted 10 lines

Could not enter target state in pm_suspendend to debug)
� 1�ռ���, 森�Ѡr��
Restarting tasks ... Restarting tasks ... done.%�������� J$�4%�% Ѵ�*43 done.F�󰯅)������������ J$�4%�% Ѵ�*43
'
I searched similar problems on mailing list, in which suspend log contains exactly which process could not be stopped as reason to suspend failure. But in above log, I could not interpret such a reason.
Could anyone please help me with this?

Please look into below mail thread on the PM off mode support in l-o list.

http://www.mail-archive.com/[email protected]/msg08968.html

If you are trying it on SDP , use u-boot mentioned in the above link.

use below settings before running echo mem > /sys/power/state for off mode.

echo 1 > /sys/power/clocks_off_while_idle
echo 1 > /sys/power/voltage_off_while_idle
echo 1 > /sys/power/enable_off_mode

I tried it on my SDP with omap_3430sdp_min_defconfig, I am seeing all the domains entering to OFF mode.

thanks
Ramesh Gupta G
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 41 lines · Ramesh Gupta Guntha

Hi Shreyas,

Quoted 18 lines · Shreyas Mahajan

Hi,
Thanks for constantly tolerating my ignorance. I git-cloned the
latest PM tree available and booted my 3430 LDP board with ldp defconfig configuration. Now the problem regarding hanging of machine after some small interval is solved but when I done 'echo mem

Quoted 1 line

/sys/power/state' it gives error to suspend,

This is log for it,

'/ # echo mem > /sys/power/state
<6>PM: Syncing filesystems ... PM: Syncing filesystems ... done. done.
Freezing user space processes ... Freezing user space processes ... (elapsed 0.00 seconds) (elapsed 0.00 seconds) done. done.
Freezing remaining freezable tasks ... Freezing remaining freezable tasks ... (elapsed 0� )����r$�Powerdomain (core_pwrdm) d1 Powerdomain (per_pwrdm) didn't enter target state 1

            �*43
Quoted 10 lines

Could not enter target state in pm_suspendend to debug)
� 1�ռ���, 森�Ѡr��
Restarting tasks ... Restarting tasks ... done.%�������� J$�4%�% Ѵ�*43 done.F�󰯅)������������ J$�4%�% Ѵ�*43
'
I searched similar problems on mailing list, in which suspend log contains exactly which process could not be stopped as reason to suspend failure. But in above log, I could not interpret such a reason.
Could anyone please help me with this?

Please look into below mail thread on the PM off mode support in l-o list.

http://www.mail-archive.com/[email protected]/msg08968.html

If you are trying it on SDP , use u-boot mentioned in the above link.

use below settings before running echo mem > /sys/power/state for off mode.

Quoted 8 lines

echo 1 > /sys/power/clocks_off_while_idle
echo 1 > /sys/power/voltage_off_while_idle
echo 1 > /sys/power/enable_off_mode

I tried it on my SDP with omap_3430sdp_min_defconfig, I am seeing all the domains entering to OFF mode.

In addition to above, I suggest you turn of CONFIG_DEBUG_LL as well as that will clutter up your serial console with garbage during suspend/resume.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

---------- Forwarded message ----------
From: Shreyas Mahajan <[email protected]>
Date: Wed, Feb 4, 2009 at 12:59 PM
Subject: Re: Omap3430 does not resume after suspend
To: Kevin Hilman <[email protected]>

But the problem is I am using 3430 ldp board, and sdp board is not available to me.
I used omap_ldp_defconfig and got error while attempting 'echo mem> /sys/power/state'
How can I do it on LDP board? Does this work for LDP board?
Thanks,
Shreyas.

Quoted 52 lines · Kevin Hilman
Quoted 41 lines · Ramesh Gupta Guntha

Hi Shreyas,

Quoted 18 lines · Shreyas Mahajan

Hi,
Thanks for constantly tolerating my ignorance. I git-cloned the
latest PM tree available and booted my 3430 LDP board with ldp defconfig configuration. Now the problem regarding hanging of machine after some small interval is solved but when I done 'echo mem

Quoted 1 line

/sys/power/state' it gives error to suspend,

This is log for it,

'/ # echo mem > /sys/power/state
<6>PM: Syncing filesystems ... PM: Syncing filesystems ... done. done.
Freezing user space processes ... Freezing user space processes ... (elapsed 0.00 seconds) (elapsed 0.00 seconds) done. done.
Freezing remaining freezable tasks ... Freezing remaining freezable tasks ... (elapsed 0� )����r$�Powerdomain (core_pwrdm) d1 Powerdomain (per_pwrdm) didn't enter target state 1

            �*43
Quoted 10 lines

Could not enter target state in pm_suspendend to debug)
� 1�ռ���, 森�Ѡr��
Restarting tasks ... Restarting tasks ... done.%�������� J$�4%�% Ѵ�*43 done.F�󰯅)������������ J$�4%�% Ѵ�*43
'
I searched similar problems on mailing list, in which suspend log contains exactly which process could not be stopped as reason to suspend failure. But in above log, I could not interpret such a reason.
Could anyone please help me with this?

Please look into below mail thread on the PM off mode support in l-o list.

http://www.mail-archive.com/[email protected]/msg08968.html

If you are trying it on SDP , use u-boot mentioned in the above link.

use below settings before running echo mem > /sys/power/state for off mode.

Quoted 8 lines

echo 1 > /sys/power/clocks_off_while_idle
echo 1 > /sys/power/voltage_off_while_idle
echo 1 > /sys/power/enable_off_mode

I tried it on my SDP with omap_3430sdp_min_defconfig, I am seeing all the domains entering to OFF mode.

Quoted 6 lines

In addition to above, I suggest you turn of CONFIG_DEBUG_LL as well as that will clutter up your serial console with garbage during suspend/resume.

Kevin

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html