Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND

2007-05-19 Thread Petric Frank
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
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND

2007-05-19 Thread Neil Bothwick
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.


signature.asc
Description: PGP signature


Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND

2007-05-19 Thread Petric Frank
Hello Alex,

On Saturday 19 May 2007 12:21, Alex Fansky wrote:
> [EMAIL PROTECTED] linux-2.6.21-gentoo % pwd
> /usr/src/linux-2.6.21-gentoo
> [EMAIL PROTECTED] linux-2.6.21-gentoo % cat .config |grep
> CONFIG_SOFTWARE_SUSPEND [EMAIL PROTECTED] 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
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND

2007-05-19 Thread Alex Fansky
[EMAIL PROTECTED] linux-2.6.21-gentoo % pwd
/usr/src/linux-2.6.21-gentoo
[EMAIL PROTECTED] linux-2.6.21-gentoo % cat .config |grep 
CONFIG_SOFTWARE_SUSPEND
[EMAIL PROTECTED] 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


signature.asc
Description: This is a digitally signed message part.