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: 106
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROID's: ODROID-X

Re: swapon not implemented

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

enable CONFIG_SWAP on the kernel.
ODROID Project's Hosting
My G+ mostly ODROID
How-to's and Guides
(PM me if you want to suggest a new guide/how-to)
mdrjr
Site Admin
 
Posts: 5891
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROID's: -

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: 106
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROID's: 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
ODROID's: 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
ODROID's: 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?
ODROID Project's Hosting
My G+ mostly ODROID
How-to's and Guides
(PM me if you want to suggest a new guide/how-to)
mdrjr
Site Admin
 
Posts: 5891
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROID's: -


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 1 guest