Swapon failed: Function not implemented

Problem description

Memory swap command causes this error:

debarm:/etc# swapon /dev/mmcblk0p4                                              
swapon: /dev/mmcblk0p4: swapon failed: Function not implemented                 

Solution

The Linux Kernel is not configured to support the memory swap.

Follow this article:

and enable the memory swap in:

General setup  --->
    [*] Support for paging of anonymous memory (swap)    

Enable the swap partition on the microSD adding these lines in /etc/fstab

#Enable the swap memory
/dev/mmcblk0p4 none swap sw 0 0

Create a Linux swap partition on microSD