Re: [linux-2.4.0-test5] swsusp w/o swap fail...

From: Bernd Petrovitsch
Date: Fri Sep 12 2003 - 17:31:16 EST


On Sat, 2003-09-13 at 00:11, Patrick Mochel wrote:
>
> On Fri, 12 Sep 2003, Daniel Blueman wrote:
>
> > Clearly, software suspend needs a dependency on swapfiles being enabled.
>
> Clearly, since it's expressed that way in the Kconfig file:
>
> config SOFTWARE_SUSPEND
> bool "Software Suspend (EXPERIMENTAL)"
> depends on EXPERIMENTAL && PM && SWAP
>
>
> Did you hand edit the .config file, or were you able to enable
> SOFTWARE_SUSPEND w/o CONFIG_SWAP in one of the configurators?

I had the same problem with a .config copied and `make oldconfig` from a
2.6.0-test4 kernel (and the -test4 compiled and was running).

I don't really know what's the problem, but CONFIG_ACPI_SLEEP=y selects
CONFIG_SOFTWARE_SUSPEND independent if it or CONFIG_SWAP is selected.
And it's somewhat confusing if one cannot turn off
CONFIG_SOFTWARE_SUSPEND (after enabling CONFIG_SWAP) via `make
menuconfig` even it is bool.
So the workaroung was to simply disable CONFIG_SLEEP.

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/