2010-04-02 13:56:59     MMC in ext3

Document created by Aaronwu Employee on Aug 21, 2013
Version 1Show Document
  • View in full screen mode

2010-04-02 13:56:59     MMC in ext3

Miquel Soler i Mir (SPAIN)

Message: 88047   

 

Hello

 

I'm working with TCM-BF537 from bluetechnix and 2009-R1-RC6...

 

I had a problem with the filesystem of MMC card.

 

I make two partiticions using fdisk /dec/mmcblk0

 

I can format to ext2 filesystem  and mount using

 

mke2fs -c /dev/mmcblk0p1;

 

mount /dev/mmcblk0p1 /mntP1

 

The problem is when I try to format to ext3 filesystem

 

root:/dev> mke2fs -c /dev/mmcblk0p1 

mke2fs 1.41.4 (27-Jan-2009)

ext2fs_check_if_mount: No such file or directory while determining whether /dev/mmcblk0p1 is mounted.

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

63872 inodes, 255198 blocks

12759 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=264241152

8 block groups

32768 blocks per group, 32768 fragments per group

7984 inodes per group

Superblock backups stored on blocks:

    32768, 98304, 163840, 229376

 

badblocks: not found

Writing inode tables: done                          

Writing superblocks and filesystem accounting information: done

 

This filesystem will be automatically checked every 28 mounts or

180 days, whichever comes first.  Use tune2fs -c or -i to override.

 

root:/dev> mke2fs -j -c /dev/mmcblk0p2

mke2fs 1.41.4 (27-Jan-2009)

ext2fs_check_if_mount: No such file or directory while determining whether /dev/mmcblk0p2 is mounted.

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

61824 inodes, 247200 blocks

12360 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=255852544

8 block groups

32768 blocks per group, 32768 fragments per group

7728 inodes per group

Superblock backups stored on blocks:

    32768, 98304, 163840, 229376

 

badblocks: not found

Writing inode tables: done                          

Creating journal (4096 blocks): mke2fs: No such file or directory

    while trying to create journal

root:/dev>

 

I can't format to ext3 filesystem.

 

In the kernel I enable the ext3 filesystem, fdisk, e2fsck and mke2fs

 

Can somebody help me

 

Thanks.

 

Miquel Soler i Mir

TranslateQuoteReplyEditDelete

 

 

2010-04-03 03:18:09     Re: MMC in ext3

Andrew Fomushkin (RUSSIAN FEDERATION)

Message: 88073   

 

Try to add symlink /etc/mtab -> /proc/mounts

QuoteReplyEditDelete

 

 

2010-04-03 06:26:39     Re: MMC in ext3

Miquel Soler i Mir (SPAIN)

Message: 88076   

 

Thanks Andrew

 

I use this comand:  "ln -s /proc/mounts /etc/mtab"

 

Now is working. Thanks for help

 

I had one question.

 

Why the format in ext2 was working fine and the format to ext3 need this symlink?

 

Thanks

 

Miquel Soler i Mir

TranslateQuoteReplyEditDelete

 

 

2010-04-05 07:11:13     Re: MMC in ext3

Andrew Fomushkin (RUSSIAN FEDERATION)

Message: 88095   

 

I don't know why format in ext2 working without that. I found that solution when faced with this problem month ago.

QuoteReplyEditDelete

Attachments

    Outcomes