maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   mke2fs /dev/mmcblk1p2 fails and rebooting n810 (https://talk.maemo.org/showthread.php?t=28968)

otherreligion 2009-05-13 16:25

mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Hello everyone,
I just want to start off by saying that i am a newbie to maemo and the n810.

I started playing with the n810 and got app crazy and well i'm sure as you know i ran out of space. I looked into extending the usr home but found that was not a good idea but booting from an SD card it.

So i have a microSD in a miniSD adapter that is a 8GB Class 4 SDHC. put that sucker in and followed this link https://wiki.maemo.org/Booting_from_a_flash_card from there i followed the partitioning steps noted in that article here https://wiki.maemo.org/Partitioning_a_flash_card

In following that article everything goes well except when i do mke2fs /dev/mmcblk1p2
it gets to Writing inode tablet: 7/57 and then it reboots the n810.


Any ideas? if i do this in gpart is does the same. If i format the whole 8gb sd it works with 1 ext2 partition.

Thanks in Advance

penguinbait 2009-05-13 16:54

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by otherreligion (Post 287107)
Hello everyone,
I just want to start off by saying that i am a newbie to maemo and the n810.

I started playing with the n810 and got app crazy and well i'm sure as you know i ran out of space. I looked into extending the usr home but found that was not a good idea but booting from an SD card it.

So i have a microSD in a miniSD adapter that is a 8GB Class 4 SDHC. put that sucker in and followed this link https://wiki.maemo.org/Booting_from_a_flash_card from there i followed the partitioning steps noted in that article here https://wiki.maemo.org/Partitioning_a_flash_card

In following that article everything goes well except when i do mke2fs /dev/mmcblk1p2
it gets to Writing inode tablet: 7/57 and then it reboots the n810.


Any ideas? if i do this in gpart is does the same. If i format the whole 8gb sd it works with 1 ext2 partition.

Thanks in Advance

You can give this a try?

http://talk.maemo.org/showthread.php...=console-tools

otherreligion 2009-05-13 18:57

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
ok i tried that and the same thing happens during the format of the linux partition.

i used pbeasy first and then pb and the same results both times.

To make sure i had everything clean i flashed the device back to factory and formated both of the SD (internal and external)

any other suggestions? is there a log i can post for you?

Thanks again

penguinbait 2009-05-13 19:35

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by otherreligion (Post 287159)
ok i tried that and the same thing happens during the format of the linux partition.

i used pbeasy first and then pb and the same results both times.

To make sure i had everything clean i flashed the device back to factory and formated both of the SD (internal and external)

any other suggestions? is there a log i can post for you?

Thanks again

Is virtual memory disabled?

otherreligion 2009-05-13 19:37

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by penguinbait (Post 287178)
Is virtual memory disabled?

the Extend virtual memory check box is not checked is that all i have to do? i do see available as 128MB

penguinbait 2009-05-13 19:40

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by otherreligion (Post 287182)
the Extend virtual memory check box is not checked is that all i have to do? i do see available as 128MB

should be.

Sometimes applications can have open files on the SD card and then partitioning it becomes a pain.

I would suggest, turn off, pull out sd card, turn on, then plug in card and partition.

see if that helps, other wise is it possible the cards corrupt?

otherreligion 2009-05-13 19:42

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by penguinbait (Post 287184)
should be.

Sometimes applications can have open files on the SD card and then partitioning it becomes a pain.

I would suggest, turn off, pull out sd card, turn on, then plug in card and partition.

see if that helps, other wise is it possible the cards corrupt?

you think the card is corrupt even if i can format it as one partition? do you know of any known issues use an adapter?

thanks again

penguinbait 2009-05-13 19:53

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by otherreligion (Post 287185)
you think the card is corrupt even if i can format it as one partition? do you know of any known issues use an adapter?

thanks again

Hard to say, just because you formatted it as 1 partition, did you fill it with 8gb's of data? Anything is possible

You mean a standard size changer, or what kind of adapter? That should not make a difference

otherreligion 2009-05-13 19:55

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by penguinbait (Post 287190)
Hard to say, just because you formatted it as 1 partition, did you fill it with 8gb's of data? Anything is possible

You mean a standard size changer, or what kind of adapter? That should not make a difference

it;s just on of those microSD to MiniSD adapters. and i did the memory card thing and i still have the same problem.

Is there a log i can send you?

Thanks

penguinbait 2009-05-13 20:07

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by otherreligion (Post 287191)
it;s just on of those microSD to MiniSD adapters. and i did the memory card thing and i still have the same problem.

Is there a log i can send you?

Thanks

To be clear, this is an 810 and you are booting to flash, right?

And you now have console-tools installed

open xterm, and type df -h, paste the output here

otherreligion 2009-05-13 20:45

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock4 4.3M 2.5M 1.8M 58% /mnt/initfs
none 512.0k 76.0k 436.0k 15% /mnt/initfs/tmp
/dev/mtdblock4 249.3M 152.9M 96.3M 61% /
none 512.0k 80.0k 432.0k 16% /tmp
none 1.0M 76.0k 948.0k 7% /dev
tmpfs 1.0M 0 1.0M 0% /dev/shm
/dev/mmcblk0p1 255.7M 0 255.7M 0% /media/mmc2
/dev/mmcblk1p1 255.7M 0 255.7M 0% /media/mmc1
~ $

penguinbait 2009-05-13 20:55

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
Quote:

Originally Posted by otherreligion (Post 287218)
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock4 4.3M 2.5M 1.8M 58% /mnt/initfs
none 512.0k 76.0k 436.0k 15% /mnt/initfs/tmp
/dev/mtdblock4 249.3M 152.9M 96.3M 61% /
none 512.0k 80.0k 432.0k 16% /tmp
none 1.0M 76.0k 948.0k 7% /dev
tmpfs 1.0M 0 1.0M 0% /dev/shm
/dev/mmcblk0p1 255.7M 0 255.7M 0% /media/mmc2
/dev/mmcblk1p1 255.7M 0 255.7M 0% /media/mmc1
~ $

It looks like these are both partitioned. mmcblk0 (mmc2), should be the card we are talking about right?

run as root

fdisk -l /dev/mmcblk0

and


fdisk -l /dev/mmcblk1


What are you doing with your internal card, is this setup as booting also?

otherreligion 2009-05-13 21:53

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
right before i sent you that i started to set up to boot from internal SD (which worked) i just wanted to make sure i wasn't doing anything wrong.

Do you still want me to fdisk both?

penguinbait 2009-05-13 22:14

Re: mke2fs /dev/mmcblk1p2 fails and rebooting n810
 
You have to partition the system from flash. You cannot boot to SD and partition properly, even if your partitioning the other card. At least not with the default kernel

All the FDISK -L does is list the partitions on the cards


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

vBulletin® Version 3.8.8