View Single Post
Posts: 116 | Thanked: 44 times | Joined on Nov 2010 @ Chennai, India
#4121
Originally Posted by manojkumaru View Post
I have a got this problem, 'Memory read-only. Cannot write to the device'.

The problem is like i have created partitions, but with wrong block size.

I have the 8GB appln install space eMMC. With that, my partition table appeared to be
Device Boot Start End
/dev/mmcblk0p1 2 688258
/dev/mmcblk0p2 688258 950401
/dev/mmcblk0p3 950402 974977

Instead of usual

Device Boot Start End
/dev/mmcblk0p1 2 884865
/dev/mmcblk0p2 884866 950401
/dev/mmcblk0p3 950402 974977.


So I carried out a partitioning like

n
p
1
First cylinder: 2
Last cylinder: 600000

n
e
First cylinder: 600001
Last cylinder: 688258
n
First cylinder: 600001
Last cylinder: 688258
t

Is there a problem due to this? And i now cannot copy any files into the eMMc or even move within. Shows memory read only or input/output error- when done from xterm.

And also when tried to untar the NITDroid archive, the same result.

Any suggestions friends?
And following code gives the following results:
Code:
root
umount /dev/mmcblk0p1
fsck -a /dev/mmcblk0p1

fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 22552772096:Invalid argument
mounting it back again fails too.
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs/
mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed!
Device or resource busy
Anyone has an idea what the problem is?
 

The Following User Says Thank You to manojkumaru For This Useful Post: