View Single Post
Posts: 46 | Thanked: 40 times | Joined on Jan 2014 @ Hamburg
#2260
Thx. Strange that fsck received a SIGTERM, I just let the phone sit there till the CPU load is gone. But it happened just once.

Is it save to plugin the Phone to my Computer and have gparted check the filesystem for me?

Could it be that shutdowns are not clean? When I do a shutdown manually while charging the phone switches on again and the loading screen is shown. After that it just switches of. Then if I reboot manually the fcsk finds the above mentioned errors.
No errors in in the log if the phone is not plugged in during shutdown and then bootet.
Why does the phone "think" thumb was newly installed after each reboot? Is the index lost? Could it be that there is some problem with the rights management of folders?

EDIT:
I searched the forums for input so this might help. My etc/profile, etc/default/mount-opts and etc/fstab:

Code:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

export PATH="/usr/bin:/bin"

umask 022
source /etc/osso-af-init/af-defines.sh
Code:
# !!! 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"

# 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"
ext3_opts="data=writeback"
ext4_opts="data=writeback"

# 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
Code:
# 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/mmcblk0p3 none swap sw 0 0i
I read that umask=022 in profile can cause problems. Is that true?

Last edited by sirvival; 2016-12-06 at 17:45.
 

The Following User Says Thank You to sirvival For This Useful Post: