maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce][Fremantle] FlopSwap - Swap GUI Management (https://talk.maemo.org/showthread.php?t=87985)

chill 2013-10-16 22:51

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Quote:

Originally Posted by sixwheeledbeast (Post 1379524)
https://wiki.maemo.org/Easy_Debian#C....2C_xfs.2C_etc.

Can't see how is related, FlopSwap only reads swap spaces.

Code:

home/user/.config/user-dirs.dirs
missing?

Which exact version of FlopSwap are you using, if 0.1.0 the changes are minor to 0.1.1.
In all off the above you haven't said if FlopSwap works

I don't mind helping if you have further questions to above but can we keep this thread on-topic, thanks :)

Sorry; I thought by reporting seemingly loosely related observations I could perhaps help pinpoint the problem again as here and rule out the possibility that it was solely my system's problem.

I am still using the good ol' 0.6.0. Flopswap does switch swap. I was wondering if any of the above could possibly affect Flopswap or if Flopswap was causing it (unlikely).

At any rate thanks much for Flopswap. Swapping to SD card is essential for good system performance.

possibly unrelated issues below:

The Easy Debian page didn't really explain the dm-0/loop0 change to me, but ok.

My home/user/.config/user-dirs.dirs is there. But after booting the camera storage folder defaults to the SD card.

$ cat /home/user/.config/user-dirs.dirs
XDG_DOCUMENTS_DIR="$HOME/MyDocs/.documents"
XDG_MUSIC_DIR="$HOME/MyDocs/.sounds"
XDG_PICTURES_DIR="$HOME/MyDocs/.images"
XDG_VIDEOS_DIR="$HOME/MyDocs/.videos"
NOKIA_CAMERA_DIR="$HOME/MyDocs/DCIM"
NOKIA_MMC_CAMERA_DIR="/media/mmc1/DCIM"

My /media/mmc1 is on /dev/mmcblk1p1. Maybe that explains why camera wants to store there by default. But that used to not happen before the reflash/reinstall (of KP52 and then CSSU).

Android_808 2013-10-17 08:59

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
i'm on a quick break @ work at the moment so can't check back through thread. have you made sure all cssu files are correctly installed. i recall there being some issues a while back with one of the scripts leaving a *.dpkg-dist file related to boot/upstart I had to manually update. it was documented earlier in thread.

sixwheeledbeast 2013-10-21 19:55

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Right I am back from holiday now.
Taking some time to wade through all the stuff that's happened (maemo, RL ...etc)
I now need to debug the issue that fw190 is reporting.
Does anybody have version 0.1.1 working?
I have tested this on CSSU Stable and CSSU thumb+devel with no issues.

handaxe 2013-10-22 00:44

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Quote:

Originally Posted by sixwheeledbeast (Post 1381727)
Does anybody have version 0.1.1 working?
I have tested this on CSSU Stable and CSSU thumb+devel with no issues.

cssu thumb (testing) - all is well with o.1.1, thank you.

whayong 2013-10-22 04:15

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Same here, CSSU Thumb Testing with 0.1.1 and working.

sixwheeledbeast 2013-10-22 06:59

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Ah I was starting to think something was completely wrong. :)

Good, thank you for the feedback. Any chance I can have your output of
Code:

blkid | grep swap
dpkg-query -W -f='${Version}\n' upstart
cat /etc/default/mount-opts-overwrite
cat /etc/default/mount-opts
cat /etc/fstab

to compare?

saponga 2013-10-22 07:37

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
1 Attachment(s)
Quote:

Originally Posted by sixwheeledbeast (Post 1381769)
Ah I was starting to think something was completely wrong. :)

Good, thank you for the feedback. Any chance I can have your output of
Code:

blkid | grep swap
dpkg-query -W -f='${Version}\n' upstart
cat /etc/default/mount-opts-overwrite
cat /etc/default/mount-opts
cat /etc/fstab

to compare?

Everything is fine here too. Thanks.

handaxe 2013-10-22 10:07

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Quote:

Originally Posted by sixwheeledbeast (Post 1381769)
Code:

blkid | grep *
dpk€efault/mount-opts-overwrite
cat /etc/default/mount-opts
cat /etc/fstab

to compare?

My output matches saponga's with the following that was omitted:
Code:

/home/user # cat /etc/fstab
# This file was generated by script /etc/event.d/rcS-late
# !!! Do not edit this file. It will be overwritten in next device startup !!!
# If you want static /etc/fstab add genfstab="0" to file /etc/default/mount-opts-overwrite
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
/dev/mmcblk0p2 /home ext3 noatime,nodiratime,errors=continue,commit=1,data=writeback 0 2
/home/opt /opt none bind 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir 0 2
/dev/mmcblk1p2 none swap sw 0 0
/dev/mmcblk1p3 none swap sw 0 0
/dev/mmcblk0p3 none swap sw 0 0


sixwheeledbeast 2013-10-22 12:01

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Thank you. So it appears fw190 issue is due to "swap_sd=0" in mount-ops-overwrite. FlopSwap should overwrite this as swap_sd="1".

Code:

sed -i -e "s@swap_sd=\"0\"@swap_sd=\"1\"@" /etc/default/mount-opts-overwrite
if [ $? -ne 0 ] ;
 then
echo "swap_sd=\"1\"" >> /etc/default/mount-opts-overwrite
echo "Added swap_sd 1 EOF"

Edit:-
Another reminder that updating from 0.0.6 to 0.1.x will need a reboot.

chill 2013-11-11 04:37

Re: [Announce][Fremantle] FlopSwap - Swap GUI Management
 
Could you clarify what "Enable uSD swaps" in Settings does (v0.1.1)? And maybe enter that in the Quick guide.

I thought it was the same as Enable Swap on Startup (or something like that) from v0.6.0, but it says Enable uSD Swaps is "Required for Swap Switching to function". I seem to be able to switch swap even with the option turned off, so why is it required?


All times are GMT. The time now is 07:25.

vBulletin® Version 3.8.8