maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   EMMC with only 455.5 MB size (https://talk.maemo.org/showthread.php?t=76424)

michaaa62 2011-09-10 21:57

Re: EMMC with only 455.5 MB size
 
Fine!
If you have rootsh now, you could try to really check your device.
To print out the partition table
Code:

sudo gainroot
sfdisk -l

This option is a small 'L' , (may be you don't need these clarifications, but those l and 1 and | look all quite similar in some fonts...)
The common setup includes one large 28 GB FAT32-partition, a 2GB ext3-partition and a 0,75 GB swap partition. Compare your output or post additional warnings of sfdisk here.

erg 2011-09-10 22:07

Re: EMMC with only 455.5 MB size
 
sfdisk -l return nothing, no errors, no data, nothing

michaaa62 2011-09-10 22:44

Re: EMMC with only 455.5 MB size
 
Very strange! Right now, i am stumped, not anyhow, what one expects.

Please try to get some output with
Code:

ls -al /dev/mmcblk*
The star at the end is intentional, it is a regular expression to use every possible extension of the term /dev/mmcblk.

JonWW 2011-09-10 23:05

Re: EMMC with only 455.5 MB size
 
Copy and paste into XTerm:
Code:

df -h|grep ^/dev
and then copy and paste the result back here, you should get something like this
Code:

/dev/mmcblk0p2  2.0G  716.4M    1.2G  37% /home
/dev/mmcblk0p1  27.0G  10.7G  16.3G  40% /home/user/MyDocs
/dev/mmcblk1p1  4.9G    1.2G    3.7G  25% /media/mmc1


Also copy and paste into XTerm:
Code:

sfdisk -lnd|grep ^/dev/mmcblk0
and copy and paste the result back here, you should get something like this
Code:

/dev/mmcblk0p1 : start=      64, size= 56631296, Id= c
/dev/mmcblk0p2 : start= 56631360, size=  4194304, Id=83
/dev/mmcblk0p3 : start= 60825664, size=  1572864, Id=82
/dev/mmcblk0p4 : start=        0, size=        0, Id= 0


tuxsavvy 2011-09-11 00:41

Re: EMMC with only 455.5 MB size
 
I'm still waiting on your output of your `dmesg' erg. dmesg is a command that you have to run within x-terminal. If you are having issues copying and pasting lines of outputted information I suggest you do something like this:
Code:

dmesg >> ~/MyDocs/dmesg.log
What that does is it outputs the output of dmesg into your eMMC directory as a regular file known as dmesg.log. The log file itself isn't that big so hopefully you have around 2MB usable space on your eMMC.

Also here are my output of df -h for your reference (in order to compare):
Code:

Filesystem            Size  Used Avail Use% Mounted on
rootfs                228M  185M  40M  83% /
ubi0:rootfs          228M  185M  40M  83% /
tmpfs                1.0M  104K  920K  11% /tmp
tmpfs                256K  104K  152K  41% /var/run
none                  10M  80K  10M  1% /dev
tmpfs                  64M  4.0K  64M  1% /dev/shm
/dev/mmcblk0p2        2.0G  1.8G  76M  97% /home
/opt/pymaemo/usr/lib/python2.5
                      2.0G  1.8G  76M  97% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
                      2.0G  1.8G  76M  97% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
                      2.0G  1.8G  76M  97% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
                      2.0G  1.8G  76M  97% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
                      2.0G  1.8G  76M  97% /usr/lib/python-support
/dev/mmcblk0p1        27G  24G  2.8G  90% /home/user/MyDocs

Output of my mount:
Code:

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 (rw,noatime,errors=continue,commit=1,data=writeback)
/home/opt on /opt type none (bind,rbind)
nodev on /sys/kernel/debug type debugfs (0)
/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind,rbind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind,rbind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind,rbind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind,rbind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind,rbind)
/dev/mmcblk0p1 on /home/user/MyDocs type ext3 (rw,noauto,nosuid,noatime,nodiratime)

Note how the last line of that output of mount it states the type of my /home/user/MyDocs as ext3, yours should not be ext3 but rather vfat.

I must stress that the output of these are not as useful as a dmesg output which I need you to paste it either here or onto pastebin (but you'll need to paste the link to your pastebin here so that we all can see what is going on).

erg 2011-09-11 08:40

Re: EMMC with only 455.5 MB size
 
First, thanks for time and patience.

ls -al /dev/mmcblk*

ls: /dev/mmcblk*: No such file or directory

--------------------------

df -h|grep ^/dev

No results, no error

sfdisk -lnd|grep ^/dev/mmcblk0

No results, no error

mmcb* simply not exist

JonWW 2011-09-11 09:16

Re: EMMC with only 455.5 MB size
 
Quote:

Originally Posted by erg (Post 1085965)
sfdisk -lnd|grep ^/dev/mmcblk0

No results, no error

Sorry my mistake, run the sfdisk command again but as root, it wont work as user.

erg 2011-09-11 09:23

Re: EMMC with only 455.5 MB size
 
Quote:

Originally Posted by JonWW (Post 1085978)
Sorry my mistake, run the sfdisk command again but as root, it wont work as user.

Yes, as root, no response, no error, nothing

as user, sfdisk: not found

I tested all last options as user and as root

and for tuxsavvy, df -h can see the result at #10

JonWW 2011-09-11 09:55

Re: EMMC with only 455.5 MB size
 
OK
Code:

cat /etc/mtab
and paste results here.

erg 2011-09-11 10:01

Re: EMMC with only 455.5 MB size
 
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
proc / proc proc rw 0 0
sysfs / sys sysfs rw 0 0
tmpfs / tmp tmpfs rw,noatime,size=1024k 0 0
tmpfs /var/run tmpfs rw,nosuid,noatime,size=256k,mode=755 0 0
none /dev tmpfs rw,noatime,size=10240k,mode=755 0 0
devpts /dev/pts devpts rw,gid=5,mode 620 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noatime,size=65536k 0 0
nodev /sys/kernel/debug debugfs 0 0


All times are GMT. The time now is 19:56.

vBulletin® Version 3.8.8