Swapon not working
ken at linuxfromscratch.org
Fri Oct 31 13:15:52 PDT 2008
On Fri, Oct 31, 2008 at 07:12:44PM +0000, Richard Melville wrote:
> I've managed without a swap partition until now, but I'm trying to
> build open office and the build is failing at the last minute due to
> lack of memory. So now I've made a swap partition of 2 gig and run
> mkswap. I've also amended the fstab. All seems fine until I run swapon
> -a which returns "Function not implemented".
> I've tried making a swap file rather than a partition but I get the same
> output. If I reboot to run the script at boot-time I can see the same
> output. I've tried various sizes of swap -- no difference. Could it be
> a udev problem? I upgraded to udev-124 some time ago but everything
> else works fine. Running "free -m" shows swap but with all zeros, of
> course. Maybe "swapon" is corrupted -- I just don't know. I have no
> /proc/swaps file. When is this generated? I was wondering whether swap
> has to be enabled in the kernel but I can find no reference to it in the
> kernel .config.
> I'd be really grateful for some help as I'm right at the final stage of
> my BLFS build.
zgrep CONFIG_SWAP /proc/config.gz ( or substitute grep and your
.config if you didn't create /proc/config.gz )
das eine Mal als Tragödie, das andere Mal als Farce
More information about the blfs-support