public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND
@ 2007-05-19 10:21 Alex Fansky
  2007-05-19 11:16 ` Petric Frank
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Fansky @ 2007-05-19 10:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

diablo@diablo linux-2.6.21-gentoo % pwd
/usr/src/linux-2.6.21-gentoo
diablo@diablo linux-2.6.21-gentoo % cat .config |grep CONFIG_SOFTWARE_SUSPEND
diablo@diablo linux-2.6.21-gentoo %    

Is it normal? I know that swsup2 patches are in the suspend-sources kernel. 
But according to the documentation software suspend v1 should be supported in 
the gentoo-sources.

I moved .config from previous versions of kernel using "make oldconfig". 
-- 
Alex V. Fansky
Minsk, BSU

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND
  2007-05-19 10:21 [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND Alex Fansky
@ 2007-05-19 11:16 ` Petric Frank
  2007-05-19 14:40   ` Neil Bothwick
  2007-05-19 20:12   ` [gentoo-user] [SOLVED] " Alex Fansky
  0 siblings, 2 replies; 5+ messages in thread
From: Petric Frank @ 2007-05-19 11:16 UTC (permalink / raw
  To: gentoo-user

Hello Alex,

On Saturday 19 May 2007 12:21, Alex Fansky wrote:
> diablo@diablo linux-2.6.21-gentoo % pwd
> /usr/src/linux-2.6.21-gentoo
> diablo@diablo linux-2.6.21-gentoo % cat .config |grep
> CONFIG_SOFTWARE_SUSPEND diablo@diablo linux-2.6.21-gentoo %
>
> Is it normal? I know that swsup2 patches are in the suspend-sources kernel.
> But according to the documentation software suspend v1 should be supported
> in the gentoo-sources.

Using gentoo-sources i got the same problem. You are using SMP, right ?
Then you have to enable CONFIG_HOTPLUG_CPU to get CONFIG_SOFTWARE_SUSPEND 
selectable.

It took me some digging that those two are dependend when doing SMP.

regards
   Petric
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND
  2007-05-19 11:16 ` Petric Frank
@ 2007-05-19 14:40   ` Neil Bothwick
  2007-05-19 17:39     ` Petric Frank
  2007-05-19 20:12   ` [gentoo-user] [SOLVED] " Alex Fansky
  1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2007-05-19 14:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

On Sat, 19 May 2007 13:16:56 +0200, Petric Frank wrote:

> Using gentoo-sources i got the same problem. You are using SMP, right ?
> Then you have to enable CONFIG_HOTPLUG_CPU to get
> CONFIG_SOFTWARE_SUSPEND selectable.
> 
> It took me some digging that those two are dependend when doing SMP.

It's not that hard to find

make menuconfig
/suspend

Symbol: SOFTWARE_SUSPEND [=n]
  Prompt: Software Suspend
    Defined at kernel/power/Kconfig:80
    Depends on: PM && SWAP && (X86 && (!SMP || SUSPEND_SMP) || (FRV || PPC32) && !SMP)
    Location:
      -> Power management options
        -> Power Management support (PM [=y])

 :)


-- 
Neil Bothwick

K: (n., adj.) a binary thousand, which isn't a decimal thousand or even
really a binary thousand (which is eight), but is the binary number
closest to a decimal thousand. This has proven so completely confusing
that is has become a standard.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND
  2007-05-19 14:40   ` Neil Bothwick
@ 2007-05-19 17:39     ` Petric Frank
  0 siblings, 0 replies; 5+ messages in thread
From: Petric Frank @ 2007-05-19 17:39 UTC (permalink / raw
  To: gentoo-user

Hello Neil,

On Saturday 19 May 2007 16:40, Neil Bothwick wrote:
> On Sat, 19 May 2007 13:16:56 +0200, Petric Frank wrote:
> > Using gentoo-sources i got the same problem. You are using SMP, right ?
> > Then you have to enable CONFIG_HOTPLUG_CPU to get
> > CONFIG_SOFTWARE_SUSPEND selectable.
> >
> > It took me some digging that those two are dependend when doing SMP.
>
> It's not that hard to find
>
> make menuconfig
> /suspend
>
> Symbol: SOFTWARE_SUSPEND [=n]
>   Prompt: Software Suspend
>     Defined at kernel/power/Kconfig:80
>     Depends on: PM && SWAP && (X86 && (!SMP || SUSPEND_SMP) || (FRV ||
> PPC32) && !SMP) Location:
>       -> Power management options
>         -> Power Management support (PM [=y])
>
>  :)

So - can you show me the link to CONFIG_HOTPLUG_CPU here ?

It's not in the rule above. First i tried to find SUSPEND_SMP, but no chance.

regards
  Petric
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [SOLVED] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND
  2007-05-19 11:16 ` Petric Frank
  2007-05-19 14:40   ` Neil Bothwick
@ 2007-05-19 20:12   ` Alex Fansky
  1 sibling, 0 replies; 5+ messages in thread
From: Alex Fansky @ 2007-05-19 20:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

В сообщении от Saturday 19 May 2007 14:16:56 Petric Frank написал(а):
> Hello Alex,
>
> On Saturday 19 May 2007 12:21, Alex Fansky wrote:
> > diablo@diablo linux-2.6.21-gentoo % pwd
> > /usr/src/linux-2.6.21-gentoo
> > diablo@diablo linux-2.6.21-gentoo % cat .config |grep
> > CONFIG_SOFTWARE_SUSPEND diablo@diablo linux-2.6.21-gentoo %
> >
> > Is it normal? I know that swsup2 patches are in the suspend-sources
> > kernel. But according to the documentation software suspend v1 should be
> > supported in the gentoo-sources.
>
> Using gentoo-sources i got the same problem. You are using SMP, right ?
> Then you have to enable CONFIG_HOTPLUG_CPU to get CONFIG_SOFTWARE_SUSPEND
> selectable.
>
> It took me some digging that those two are dependend when doing SMP.
>
> regards
>    Petric

Really. Enabling CONFIG_HOTPLUG_CPU helped. Thank you very much.

-- 
Alex V. Fansky
Minsk, BSU

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-19 20:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-19 10:21 [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND Alex Fansky
2007-05-19 11:16 ` Petric Frank
2007-05-19 14:40   ` Neil Bothwick
2007-05-19 17:39     ` Petric Frank
2007-05-19 20:12   ` [gentoo-user] [SOLVED] " Alex Fansky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox