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)
-   -   Problem wtih mounting partition (https://talk.maemo.org/showthread.php?t=71874)

pitti 2011-04-07 06:56

Problem wtih mounting partition
 
Hello,

I would to partition my internal flash, to copy the system to the internal flash.

I use this instuction:
http://wiki.maemo.org/Partitioning_a_flash_card

My problem is to mount the ext2 partition.
If I enter the code

Code:

insmod /mnt/initfs/lib/modules/$(uname -r)/mbcache.ko
I became the error:

Code:

insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists:File exists
What can I do?

sat2050 2011-04-07 07:25

Re: Problem wtih mounting partition
 
are you using a modified kernel

onion 2011-04-07 07:27

Re: Problem wtih mounting partition
 
What does lsmod tell you ? Is the module already loaded?

pitti 2011-04-07 09:20

Re: Problem wtih mounting partition
 
lsmod says:

Code:

Module                  Size  Used by
ext3 107784 1 - Live 0xbf07c000
jbd 52168 1 ext3, Live 0xbf06e000
g_file_storage 27656 0 - Live 0xbf066000
cx3110x 56200 0 - Live 0xbf057000
umac 258788 1 cx3110x, Live 0xbf016000 (P)
ext2 51176 0 - Live 0xbf008000
mbcache 7108 2 ext3,ext2, Live 0xbf005000
omap_rng 2956 0 - Live 0xbf003000
rng_core 4292 1 omap_rng, Live 0xbf000000

how I see, if module is loaded?

9000 2011-04-07 09:26

Re: Problem wtih mounting partition
 
Code:

mbcache 7108 2 ext3,ext2, Live 0xbf005000
Loaded.

pitti 2011-04-07 10:08

Re: Problem wtih mounting partition
 
And what must I do now?

sat2050 2011-04-07 10:42

Re: Problem wtih mounting partition
 
Quote:

Originally Posted by pitti (Post 983527)
And what must I do now?

Just ignore the two insmod commands
Code:

insmod /mnt/initfs/lib/modules/$(uname -r)/mbcache.ko
insmod /mnt/initfs/lib/modules/$(uname -r)/ext2.ko

and directly execute mount /dev/mmcblk0p2 /media/mmc2

pitti 2011-04-07 11:04

Re: Problem wtih mounting partition
 
But when I do this, I get the answer:

Code:

mount: mounting /dev/mmcblk0p2 on /media/mmc2 faild

sat2050 2011-04-07 11:19

Re: Problem wtih mounting partition
 
can you post some more info about the error?

pitti 2011-04-07 11:43

Re: Problem wtih mounting partition
 
How I can do this?

This is all, that I became.


All times are GMT. The time now is 03:38.

vBulletin® Version 3.8.8