Reply
Thread Tools
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#51
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # rm -rf /and
/home/user # apt-get clean
/home/user # 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)
/dev/mmcblk0p2 on /home type ext3 (noatime,nodiratime,errors=continue,commit=1,data= writeback)
/home/opt on /opt type none (bind)
nodev on /sys/kernel/debug type debugfs (0)
/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,exec,nosuid,noatime,nodiratime,ut f8,uid=29999,shortname=mixed,dmask=000,fmask=0000, rodir)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,exec,nosuid,noatime,nodiratime,ut f8,uid=29999,shortname=mixed,dmask=000,fmask=0000, rodir)
/home/user # df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 233104 151028 77792 66% /
ubi0:rootfs 233104 151028 77792 66% /
tmpfs 1024 76 948 7% /tmp
tmpfs 256 96 160 38% /var/run
none 10240 80 10160 1% /dev
tmpfs 65536 4 65532 0% /dev/shm
/dev/mmcblk0p2 2064208 718568 1240784 37% /home
/home/opt 2064208 718568 1240784 37% /opt
/opt/pymaemo/usr/lib/python2.5
2064208 718568 1240784 37% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
2064208 718568 1240784 37% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
2064208 718568 1240784 37% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
2064208 718568 1240784 37% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2064208 718568 1240784 37% /usr/lib/python-support
/dev/mmcblk0p1 28312128 8892224 19419904 31% /home/user/MyDocs
/dev/mmcblk1p1 3871744 8192 3863552 0% /media/mmc1
/home/user # free
total used free shared buffers
Mem: 245540 241980 3560 0 9044
Swap: 786424 22792 763632
Total: 1031964 264772 767192
/home/user # du -kx / | sort -n | tail -n20
6932 /boot
7960 /lib/dsp
8424 /lib/modules/2.6.28.10-power50
8636 /var/log
12184 /usr/share/locale
12544 /lib/modules
14160 /usr/share/microb-engine/chrome
14844 /usr/share/microb-engine
19652 /usr/bin
23352 /usr/lib/locale
24196 /usr/lib/microb-engine
24364 /var/lib/dpkg/info
24392 /lib
30200 /var/lib/dpkg
31432 /var/lib
40580 /var
50928 /usr/share
147536 /usr/lib
225368 /usr
306580
/home/user # du -kx /home | sort -n | tail -n20
36876 /home/opt/usr/share
37456 /home/opt/rovio/angrybirds
37460 /home/opt/rovio
38460 /home/opt/usr
48812 /home/opt/sunjre/lib
48868 /home/opt/lib
49108 /home/opt/sunjre
60068 /home/system/lib
65424 /home/opt/var/lib/apt/lists
65444 /home/opt/var/lib/apt
65448 /home/opt/var/lib
72984 /home/user/.sword/modules/texts/ztext
72988 /home/user/.sword/modules/texts
72992 /home/user/.sword/modules
74776 /home/user/.sword
81992 /home/opt/var
125612 /home/system
193688 /home/user
384864 /home/opt
705564 /home
/home/user #
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#52
Excellent! That looks much better. We have cleared ~70MB from your rootfs (feel free to refer to post #32 for an explanation what rootfs means), which means your apt and dpkg should work fine again. Your SD card is full and I would still like to know what is in your /home/system (there should be only 3 things in /home: lost+found, opt and user), but your phone should work as it is. I would recommend one update as per post #16 and forget about Android. It is not for the feint-hearted.
 
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#53
Originally Posted by pichlo View Post
I don't know much about Nitroid (nor have I much interest in finding out), but from the little I know, I understand it is a 3 step process. You need to install multiboot, then you need to install a Nitroid kernel and lastly you need to download a Nitroid image and mount it in a specific folder under root. If I remember correctly, that folder was /and. Feel free to correct me if I am talking BS.

We have had a few people running out of root space because they, instead of mounting Nitroid under /and, tried to copy it there and, not surprisingly, it did not fit.

Now, about your space issue. There are two storage media on our N900. You can think of them as two hard disks. One is small, only 256MB. It is split into smaller parts, containing the bootloader, kernel and, most pertinently to your case, the 227MB root space. This is the first entry you see when you run df. It is vital system space, containing system files and some not-so-well behaved (see below) user applications. Because it contains the root of your file system, it is usually called "rootfs".

The second storage medium (or "hard disk" if you want) is 32GB, split into 3 parts. The first part is the 27GB space formatted as FAT and exported in mass storage mode. It is mounted under /home/user/MyDocs, usually referred to as "MyDocs" and used for documents, images, music etc. It is this part that has 20GB free in your case.

The next part of your 32GB medium is a 2GB space reserved for your applications. The 227MB rootfs mentioned above is just not enough so well written applications should install here. This space is mounted under /home and also (simplified as I am already too verbose) under /opt. Because of that, this partition is often referred to as "optfs".

All user files - contacts, SMS and calls history, saved games, in a word everything that does not go to MyDocs is kept here, more specifically somewhere under /home/user. It is also here that apt and dpkg use for a cache. Your dpkg output suggests that you have run out of this "optfs" space. If that happens, you can no longer create new files - including tracker databases, meaning Media Player list will appear empty even though you have tons of music files and 20GB free in MyDocs.

Keep in mind that I am only guessing since the information you provide is very patchy, to the point of nearly non-existent. Please provide the output of michaaa62's commands in post #28 to give us a better picture.
how can I get back my images and audio clips to show? they do exist as you just mentioned but not showing.
 
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#54
Originally Posted by pichlo View Post
Excellent! That looks much better. We have cleared ~70MB from your rootfs (feel free to refer to post #32 for an explanation what rootfs means), which means your apt and dpkg should work fine again. Your SD card is full and I would still like to know what is in your /home/system (there should be only 3 things in /home: lost+found, opt and user), but your phone should work as it is. I would recommend one update as per post #16 and forget about Android. It is not for the feint-hearted.
I love the n900 as it is and would like to get rid of the android but I cant, I've tried all ways but all is in vain. any ideas?
 
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#55
Hopefully I wont have to flash my phone
 
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#56
from your post #32 "All user files - contacts, SMS and calls history, saved games, in a word everything that does not go to MyDocs is kept here, more specifically somewhere under /home/user. It is also here that apt and dpkg use for a cache. Your dpkg output suggests that you have run out of this "optfs" space. If that happens, you can no longer create new files - including tracker databases, meaning Media Player list will appear empty even though you have tons of music files and 20GB free in MyDocs."

how can I get my audio and image files to show?
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#57
Originally Posted by viqtah View Post
how can I get back my images and audio clips to show? they do exist as you just mentioned but not showing.
They should appear automatically as soon as tracker has had a chance to finish its job. It could not do it until now because of no space in rootfs. If nothing happens in an hour then restart tracker manually but you should not need to.

Originally Posted by viqtah View Post
I love the n900 as it is and would like to get rid of the android but I cant, I've tried all ways but all is in vain. any ideas?
You've removed most of it already by running 'rm -rf /and'. Then there is the installer and the kernel. I don't know enough about Nitroid to give you an authoritative answer. I would just go with post #43 but post #47 says it's not that simple. You can definitely remove the installer by
Code:
sudo gainroot
apt-get purge nitroid-installer
and leave the kernel be, or follow the link in post #47 to find out more.

Originally Posted by viqtah View Post
Hopefully I wont have to flash my phone
Hopefully not but that depends on what else have you done to it that we don't know.
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#58
I already removed the installer, the kernel remains still. I entered the code to manually restart tracker and I gat my fingers crossed. waiting for a miracle
 
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#59
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ tracker-processes -r
Found 142 pids...
Setting database locations
Checking database directories exist
Checking database version
Checking database files exist
Removing all database files
Removing database:'/home/user/.local/share/tracker/data/common.db'
Removing database:'/var/tmp/tracker-user/cache.db'
Removing database:'/home/user/.cache/tracker/file-meta.db'
Removing database:'/home/user/.cache/tracker/file-contents.db'
Removing database:'/home/user/.cache/tracker/email-meta.db'
Removing database:'/home/user/.cache/tracker/email-contents.db'
Setting index database locations
Checking index directories exist
Checking index files exist
Removing all database index files
Removing database index:'/home/user/.cache/tracker/file-index.db'
Removing database index:'/home/user/.cache/tracker/email-index.db'
~ $
 
Posts: 33 | Thanked: 0 times | Joined on Aug 2013 @ ABU DHABI - UNITED ARAB EMIRATES
#60
Originally Posted by pichlo View Post
They should appear automatically as soon as tracker has had a chance to finish its job. It could not do it until now because of no space in rootfs. If nothing happens in an hour then restart tracker manually but you should not need to.



You've removed most of it already by running 'rm -rf /and'. Then there is the installer and the kernel. I don't know enough about Nitroid to give you an authoritative answer. I would just go with post #43 but post #47 says it's not that simple. You can definitely remove the installer by
Code:
sudo gainroot
apt-get purge nitroid-installer
and leave the kernel be, or follow the link in post #47 to find out more.



Hopefully not but that depends on what else have you done to it that we don't know.

finally my files are back. thanks for the help. I still have alot to learn though.
 
Reply


 
Forum Jump


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