swapon not implemented

Moderators: odroid, mdrjr

swapon not implemented

Unread postby sboyce » Mon Mar 25, 2013 11:43 pm

root@G3VBV:~# swapon -a
swapon: /swapfile: swapon failed: Function not implemented
root@G3VBV:~# swapon /swapfile
swapon: /swapfile: swapon failed: Function not implemented

I tried a reboot but swap was not picked up.
sboyce
 
Posts: 129
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-X

Re: swapon not implemented

Unread postby mdrjr » Tue Mar 26, 2013 12:20 am

enable CONFIG_SWAP on the kernel.
mdrjr
Site Admin
 
Posts: 8649
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: swapon not implemented

Unread postby sboyce » Tue Mar 26, 2013 12:59 am

Thanks,
Pretty obvious now you have mentioned it.
Grown to be too accustomed to it being turned on.
sboyce
 
Posts: 129
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-X

Re: swapon not implemented

Unread postby mindforger » Wed Mar 27, 2013 2:10 am

linaro is working on a flash-optimized swap methodes at the moment, i've read several discusions about that, is it already in the kernel ? or will default linux swap be used (killing the flash memory after a while)
mindforger
 
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X

Re: swapon not implemented

Unread postby toma » Fri Feb 14, 2014 7:46 am

Is there anywhere a good tutorial about how to change the kernel and activate SWAP?
toma
 
Posts: 11
Joined: Thu Feb 28, 2013 3:56 pm
languages_spoken: english, german
ODROIDs: Odroid-X

Re: swapon not implemented

Unread postby mdrjr » Fri Feb 14, 2014 10:31 am

You just won the Grave Digger trophy of the year!

Ressurecting a 1 year old thread!

Isn't it included by default on newer kernels?
mdrjr
Site Admin
 
Posts: 8649
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 2 guests