Active Topics

 



Notices


Reply
Thread Tools
Posts: 44 | Thanked: 5 times | Joined on Feb 2013 @ Kenya
#1
Just formatted my n900, but for some reason the internal memory is already full(now left with only 1KB) anyone know why this is and how I can fix it?
This is rather urgent. I'm getting desparate. No way 2 gb just disappears!!

Thanks!!
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#2
Might be an corrupted file system or the like.
To debug, look for the output of those commands. Look out for /home or /opt or /dev/mmcblk0p2. There will be permission issues in the last command, but the do not harm a bit, because only the biggest folders are nessary to look at.
Code:
mount
df
du -kx / | sort -n | tail -n 20

You need rootsh installed for the following command
Code:
sudo gainroot 
sfdisk -l
The last command prints out the partition table to look at.
 

The Following 3 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 44 | Thanked: 5 times | Joined on Feb 2013 @ Kenya
#3
Originally Posted by michaaa62 View Post
Might be an corrupted file system or the like.
To debug, look for the output of those commands. Look out for /home or /opt or /dev/mmcblk0p2. There will be permission issues in the last command, but the do not harm a bit, because only the biggest folders are nessary to look at.
Code:
mount
df
du -kx / | sort -n | tail -n 20

You need rootsh installed for the following command
Code:
sudo gainroot 
sfdisk -l
The last command prints out the partition table to look at.
Thanks for the reply but I need explicit instructions. What any I looking for? What do i do after? I'm a complete newbie to maemo and linux or any thing open source
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#4
For newby, i would recommend to put all the output into your next post for maemo users to take a look at it. Lots of knowledge here.

Explanationof the commands:
'mount' gives the information about the partitions mounted to your system,
'df' shows the free space of the mounted partitions,
'du -kx / | sort -n | tail -n 20' sorts the 20 largest folders of the device to look for strange sizes,
'sudo gainroot' gives the right of 'root' user,
'sfdisk -l' prints out the partion table(s) of the device(s) of the N900
You are looking for references to /dev/mmcblk0p2, for /home and for /opt, aka. /home/opt.
None of the commands do any harm, they help to fetch some information about the device.

There might be more information necessary in the process to debug the issue...

Btw. If you 'formatted' your N900, what exactly did you reference to?
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 44 | Thanked: 5 times | Joined on Feb 2013 @ Kenya
#5
here is the output
$ mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
nodev on /sys/kernel/debug type debugfs (0)
~ $
~ $ df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 233224 214536 14408 94% /
ubi0:rootfs 233224 214536 14408 94% /
tmpfs 1024 112 912 11% /tmp
tmpfs 256 76 180 30% /var/run
none 10240 72 10168 1% /dev
tmpfs 65536 4 65532 0% /dev/shm
~ $
$ du -kx | sort -n | tail -n 20
1632 ./.opera/pstorage/00/02
1684 ./.opera/pstorage/00
1688 ./.opera/pstorage
3276 ./.osso-abook/avatars
3560 ./.osso-abook/db
3620 ./.cache
3820 ./.rtcom-eventlogger
3912 ./.modest/cache/mail/imap/pamela.atieno__stbeehive.oracle.com_993/folders/INBOX
3924 ./.modest/cache/mail/imap/pamela.atieno__stbeehive.oracle.com_993/folders
3936 ./.modest/cache/mail/imap/pamela.atieno__stbeehive.oracle.com_993
4016 ./.opera
4256 ./.modest/cache/mail/imap
4332 ./.modest/cache/mail
4432 ./.modest/cache
4548 ./.modest7920 ./.local/share/sounds
8000 ./.local
8000 ./.local/share
8304 ./.osso-abook
37152 .
still haven't installed rootsh, internet issues*third world problems*
 
Posts: 44 | Thanked: 5 times | Joined on Feb 2013 @ Kenya
#6
Referenced the flashing wiki and used http://skeiron.org/tablets-dev/nokia_N900/ to download the image
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#7
Looks like your internal memory card is broken. There is neither optfs, nor MyDocs partition mounted. Try to check, if the kernel recognizes the card with this command
Code:
lshal | grep volume
Edit:
May be you want to edit your post and make the mail cache folder name unreadable

Last edited by michaaa62; 2013-02-22 at 21:46.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 44 | Thanked: 5 times | Joined on Feb 2013 @ Kenya
#8
Run it and this is what I got. Don't really know what I'm looking at though. Considering that I'm a computer science student, it's embarassing. Any way I could start learning this stuff?
Code:
lshal|grep volume
block.is_volume = false (bool)
udi = '/org/freedesktop/Hal/devices/volume_part3_size_805306368'
block.is_volume = true (bool)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_part3_size_805306368' (string)
volume.block_size = 512 (0x200) (int)
volume.fstype = 'swap' (string)
volume.fsusage = 'other' (string)
volume.fsversion = '2' (string)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.is_mounted_read_only = false (bool)
volume.is_partition = true (bool)
volume.label = '' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount_point = '' (string)
volume.num_blocks = 1572864 (0x180000) (uint64)
volume.partition.flags = {} (string list)
volume.partition.label = '' (string)
volume.partition.media_size = 32015122432 (0x774400000) (uint64)
volume.partition.number = 3 (0x3) (int)
volume.partition.scheme = 'mbr' (string)
volume.partition.start = 31142739968 (0x740408000) (uint64)
volume.partition.type = '0x82' (string)
volume.partition.uuid = '' (string)
volume.size = 805306368 (0x30000000) (uint64)
volume.uuid = '' (string)
udi = '/org/freedesktop/Hal/devices/volume_uuid_F09C_3BD1'
block.is_volume = true (bool)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_F09C_3BD1' (string)
volume.block_size = 512 (0x200) (int)
volume.fstype = 'vfat' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = 'FAT32' (string)
volume.ignore = false (bool)
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.is_mounted_read_only = false (bool)
volume.is_partition = true (bool)
volume.label = '' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush'} (string list)
volume.mount_point = '/home/user/MyDocs' (string)
volume.num_blocks = 56631296 (0x3602000) (uint64)
volume.partition.flags = {} (string list)
volume.partition.label = '' (string)
volume.partition.media_size = 32015122432 (0x774400000) (uint64)
volume.partition.number = 1 (0x1) (int)
volume.partition.scheme = 'mbr' (string)
volume.partition.start = 32768 (0x8000) (uint64)
volume.partition.type = '0x0c' (string)
volume.partition.uuid = '' (string)
volume.size = 28995223552 (0x6c0400000) (uint64)
volume.unmount.valid_options = {'lazy'} (string list)
volume.uuid = 'F09C-3BD1' (string)
udi = '/org/freedesktop/Hal/devices/volume_part2_size_2147483648'
block.is_volume = true (bool)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_part2_size_2147483648' (string)
volume.block_size = 512 (0x200) (int)
volume.fstype = '' (string)
volume.fsusage = '' (string)
volume.fsversion = '' (string)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.is_mounted_read_only = false (bool)
volume.is_partition = true (bool)
volume.label = '' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount_point = '' (string)
volume.num_blocks = 4194304 (0x400000) (uint64)
volume.partition.flags = {} (string list)
volume.partition.label = '' (string)
volume.partition.media_size = 32015122432 (0x774400000) (uint64)
volume.partition.number = 2 (0x2) (int)
volume.partition.scheme = 'mbr' (string)
volume.partition.start = 28995256320 (0x6c0408000) (uint64)
volume.partition.type = '0x83' (string)
volume.partition.uuid = '' (string)
volume.size = 2147483648 (0x80000000) (uint64)
volume.uuid = '' (string)
 
Posts: 44 | Thanked: 5 times | Joined on Feb 2013 @ Kenya
#9
Is it a software or hardware problem?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#10
This looks far better than the combination of fresh flash and no mounted partitions. Still it is too early to tell if software or hardware is borked.

But you need some kind of root enabling packages, be it rootsh, which i prefer, or sudser or openssh.
You need to check the file systems and, may be, repair them, You need to mount partitions and check their content to evaluate the success of the flash of the firmware. Please uninstall some applications in Hildon Application Manager to have space to install any of the suggested root enabling packages.
 

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

Tags
flashing, internal memory


 
Forum Jump


All times are GMT. The time now is 10:54.