View Single Post
Posts: 32 | Thanked: 12 times | Joined on Jan 2010
#192
I am experiencing the same result with fw190 although flopswap correctly sets swap_sd="1".
I used to have flopswap install with 1.2GB swaps. A few days ago I decided to flash my n900 because of reboots I couldn't solve. I made swaps of 1GB this time. That's the only difference I can think of. Can you please help me get flopswap running normally again?

Code:
/home/user # blkid | grep swap
/dev/mmcblk1p2: TYPE="swap" LABEL="sdswap1" UUID="2c50fce7-3cf6-436d-bbcd-f8e8eb86a2c6"
/dev/mmcblk1p3: TYPE="swap" LABEL="sdswap2" UUID="381b9bcb-84a7-40f1-b949-4ae7a0550d49"
/dev/mmcblk0p3: TYPE="swap" UUID="a9c6b09e-4e9e-46e3-974d-462c9f03d3ac"
/home/user # dpkg-query -W -f='${Version}\n' upstart
0.3.8-68+0cssu7
/home/user # cat /etc/default/mount-opts-overwrite
swap_sd="1"
/home/user # cat /etc/default/mount-opts
# !!! Do not edit this file. It can be overwritten in next update !!!
# !!! Instead create and edit file /etc/default/mount-opts-overwrite !!!

# Options for mounting all filesystems
common_opts="noatime,nodiratime"

# Options for mounting root's filesystems (/, /home)
root_opts="errors=continue,commit=1,data=writeback"

# Options for mounting user's filesystems (MyDocs, SD cards, ...)
user_opts="noauto,nodev,exec,nosuid"

# Options for swap partitions
swap_opts=""

# Options for different filesystems
vfat_opts="utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir"
ntfs_opts="nls=utf8,uid=29999,umask=0000"

# Renerate fstab at boot time in /etc/event.d/rcS-late
genfstab="1"

# When generating fstab add also swap partitions from SD card (if exists)
swap_sd="0"

# Call fsck -p for /home at boot time in /etc/event.d/rcS-late
home_fsck="1"

# Call fsck -p for user's partitions (MyDocs, SD cards, ...)
user_fsck="1"

# Include overwrite file
if [ -f /etc/default/mount-opts-overwrite ]; then
. /etc/default/mount-opts-overwrite
fi
/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
/home/user #

Last edited by taxaza; 2013-12-30 at 02:03.