The Following 2 Users Say Thank You to pierrem For This Useful Post: | ||
![]() |
2013-10-06
, 22:57
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#152
|
Here is my feedback on this new version:
I verified again and the "Enable uSD swaps" was correctly checked.
Clicking on Fresh Swap did the job and refreshed the swap on /dev/mmcblk1p2 as expected.
After rebooting, the /dev/mmcblk0p3 partition was used again
blkid | grep swap dpkg-query -W -f='${Version}\n' upstart cat /etc/default/mount-opts-overwrite cat /etc/default/mount-opts cat /etc/fstab
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2013-10-06
, 23:36
|
Posts: 107 |
Thanked: 173 times |
Joined on Feb 2011
|
#153
|
Hmm .. sorry are having trouble. Thank you for reporting, had you used FlopSwap 0.0.6 with no issues?
The Following 2 Users Say Thank You to pierrem For This Useful Post: | ||
![]() |
2013-10-07
, 16:56
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#154
|
because of a reboot loop caused by the latest system-services package (0.3.8-68-0cssu6) I did not installed this package. So everything is from CSSU 8.2+thumb1 except for system-services which is version 0.3.8-68+0cssu1.
This may be the cause of my issue, and therefore unrelated to FlopSwap new version, but despite several attempt to debug it, I can't find the reason of this reboot loop. So I would understand if you don't want to spend time on this, given my peculiar situation.
The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2013-10-07
, 20:45
|
|
Posts: 34 |
Thanked: 26 times |
Joined on May 2011
|
#155
|
The Following User Says Thank You to Il_Principe For This Useful Post: | ||
![]() |
2013-10-07
, 22:20
|
Posts: 107 |
Thanked: 173 times |
Joined on Feb 2011
|
#156
|
I think your reboot loop maybe covered on the CSSU-Testing thread.
I didn't think it was possible to install upstart without system-services. I am amazed upstart is working without it.
From a quick look your upstart version is showing to FlopSwap as use the "new method" which is failing due to the fact system-services hasn't replaced your "rcS-late" or "mount-opts" files and therefore mount-opts is missing parts that FlopSwap's upstart script "relocateswap" need at boot.
If the script fails it falls back to "swapon -a", which in your odd hybrid upstart setup is only "0p3".
FYI upstart/system-services has been updated in CSSU-Devel to 0.3.8-68+0cssu7 which I have been using to test FlopSwap with. Maybe this version will not have boot loop but fix your FlopSwap issue.
The Following User Says Thank You to pierrem For This Useful Post: | ||
![]() |
2013-10-08
, 15:47
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#157
|
If I choose to disable swap on sd at startup, I can't use it at all also if I press "Fresh Swap" button (it says operation failed).
If I activate swap on sd at startup, all three swaps are activated but I can't use "Fresh swap" and "Swap on device" (another operation failed).
Also if I activate swap with swapon command, the program's buttons don't function.
In all cases it's impossible to check status (calculating then operation failed), but flopswap can show the current swap.
No problem with version 0.6.
blkid | grep swap -- (may need root) dpkg-query -W -f='${Version}\n' upstart cat /etc/default/mount-opts-overwrite cat /etc/default/mount-opts cat /etc/fstab
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2013-10-08
, 18:53
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#158
|
flopswap (0.1.1) unstable; urgency=low * Added Spinbox and QSetting for Swap Used Warning threshold
The Following 4 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2013-10-09
, 05:59
|
Posts: 252 |
Thanked: 221 times |
Joined on Jul 2010
|
#159
|
Ok, my /proc/swaps looks ok:
Filename Type Size Used Priority
/dev/mmcblk1p2 partition 683000 85804 -1
but look at my /proc/partitions:
major minor #blocks name
7 0 3145728 loop0
179 0 15558144 mmcblk0
179 1 14191600 mmcblk0p1
179 2 683008 mmcblk0p2
179 3 683008 mmcblk0p3
179 8 31264768 mmcblk1
179 9 28315648 mmcblk1p1
179 10 2097152 mmcblk1p2
179 11 786432 mmcblk1p3
So my 16GB SD card is now on mmcblk0? And I am swapping to mmcblk1p2? How'd that happen? Where is the swap actually?
Meanwhile Conky correctly reports the intended (SD card) swap size, i.e. 667 MB. Fresh Swap on Flopswap also goes through.
![]() |
2013-10-09
, 07:19
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#160
|
I can't make "device storage" visible in Windows via USB. umount refuses to unmount MyDocs. The SD card is visible.
The camera keeps defaulting to card storage. I tell it to store to device but it goes back, after a reboot I think.
home/user/.config/user-dirs.dirs
After upgrading, verifying that the "Enable uSD swaps" was still checked and then rebooting, the current swap partition was /dev/mmcblk0p3 instead of the /dev/mmcblk1p2 or /dev/mmcblk1p3 partitions used by the previous FlopSwap version.
I verified again and the "Enable uSD swaps" was correctly checked.
Clicking on Fresh Swap did the job and refreshed the swap on /dev/mmcblk1p2 as expected.
After rebooting, the /dev/mmcblk0p3 partition was used again