#Swapon failed: Function not implemented

##Problem description

Memory swap command causes this error:

<pre class="minicom">
debarm:/etc# swapon /dev/mmcblk0p4                                              
swapon: /dev/mmcblk0p4: swapon failed: Function not implemented                 
</pre>

##Solution

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

Follow this article: 

* [Kernel compiling](/compile_linux_4_4)


and enable the memory swap in:

<pre class="minicom">
General setup  --->
	[*] Support for paging of anonymous memory (swap)    
</pre>

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

<pre class="minicom">
#Enable the swap memory
/dev/mmcblk0p4 none swap sw 0 0
</pre>

Create a Linux swap partition on microSD

