Active Topics

 


Reply
Thread Tools
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#1
I've searched the threads and found that it's most likely due to FAT corruption while the USB cable was connected to my computer.

I tried michaaa62 "http://talk.maemo.org/showthread.php?t=71702"
solution and got a Invalid argument error message.

HTML Code:
fsck -af /dev/mmcblk0p1

fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Cluster size is zero.

mount /dev/mmcblk0p1 /home/user/MyDocs

mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed:
Invalid argument
Another thread recommended installing the system update but that didn't help.

Additionally when connected to my windows laptop, it recognizes the N900 as Removal Disk G and H but I can't explore.

Please help, this is the first time I've used rootsh

Last edited by fidel; 2011-12-11 at 16:03. Reason: SOLVED
 

The Following User Says Thank You to fidel For This Useful Post:
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#2
I think maybe you should use /usr/sbin/mmc-mount instead of mount, that way it applies all of the proper mounting options.

Last edited by stlpaul; 2011-12-07 at 22:13.
 

The Following User Says Thank You to stlpaul For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#3
Originally Posted by stlpaul View Post
I think maybe you should use /usr/sbin/mmc-mount instead of mount, that way it applies all of the proper mounting options.
So I should type?:
HTML Code:
mount /usr/sbin/mmc-mount
 

The Following User Says Thank You to fidel For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#4
ooks like you also have a deeper problem.
"Cluster size is zero" does not sound good, i.e. your space on your first partition is zero or not available at all.

Here is my output (with -n instead -af, just checking, no changes):
$ sudo fsck /dev/mmcblk0p1 -n
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk0p1: 21384 files, 442377/442377 clusters

Check partitions with
sfdisk - l

Did you reboot?
Sorry for not being helpful, but I do not know more at this stage.

--edit
Oh, and mounting should work with your commandor even
moumt /dev/mmcblk0p1
or
mount /home/user/MyDocs
as they are in /etc/fstab. I use these and have no problems.
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#5
Originally Posted by peterleinchen View Post
ooks like you also have a deeper problem.
"Cluster size is zero" does not sound good, i.e. your space on your first partition is zero or not available at all.

Here is my output (with -n instead -af, just checking, no changes):
$ sudo fsck /dev/mmcblk0p1 -n
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk0p1: 21384 files, 442377/442377 clusters

Check partitions with
sfdisk - l

Did you reboot?
Sorry for not being helpful, but I do not know more at this stage.

--edit
Oh, and mounting should work with your commandor even
moumt /dev/mmcblk0p1
or
mount /home/user/MyDocs
as they are in /etc/fstab. I use these and have no problems.
Here's my output:
HTML Code:
$ fsck /dev/mmcblk0p1 -n

fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Cluster size is zero.

$ sfdisk - l 

Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, block of 1024 bytes, counting from 0

Device Boot Start	End	#cyls	#blocks	Id	System
/dev/mmcblk0p1	1	884864	884864	28315648	cW95 FAT32 (LBA)
/dev/mmcblk0p2	884865	950400	65536	2097152	83	Linux
/dev/mmcblk0p3	950401	974976	24576	786432	82	Linux swap / Solaris
/dev/mmcblk0p4	0	-	0	0	0	Empty
Should I now try:
HTML Code:
mount /dev/mmcblk0p1
mount /home/user/MyDocs
 

The Following User Says Thank You to fidel For This Useful Post:
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#6
install backupmenu...it can fsck our device....if problem still persist then download Gparted Live CD to fixed any corrupted device....
remember Gparted Live CD need backupmenu (mass storage mode) to fixed your problem...
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 

The Following 2 Users Say Thank You to pusak gaoq For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#7
Originally Posted by pusak gaoq View Post
install backupmenu...it can fsck our device....if problem still persist then download Gparted Live CD to fixed any corrupted device....
remember Gparted Live CD need backupmenu (mass storage mode) to fixed your problem...
Thank you.
I ran fsck (rootsh) in the code above. Is (backupmenu) a different version? I'm not familiar with fsck so I will execute exactly what you say.

If that fails, and I need to make a Gparted Live CD what do I need to execute?

Sorry for all the questions. This is the first time I've "gone under the hood"
 

The Following User Says Thank You to fidel For This Useful Post:
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#8
Originally Posted by fidel View Post
Thank you.
I ran fsck (rootsh) in the code above. Is (backupmenu) a different version? I'm not familiar with fsck so I will execute exactly what you say.

If that fails, and I need to make a Gparted Live CD what do I need to execute?

Sorry for all the questions. This is the first time I've "gone under the hood"
install backupmenu into your device & reboot your device with your keyboard slider open...this will boot backupmenu....now ignore any error on backupmenu startup....
once backupmenu is open look at and option to fsck your device....it will fsck all partition on your device...if there a problem it will be show in its log....
fsck your device a few times to makes sure it can fix any error....after fcsk then use option quit & reboot...remember to close your keyboard to reboot like normal...
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 

The Following 2 Users Say Thank You to pusak gaoq For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#9
But be prepared that 'fsck'ing that way may lead to a bricked device, as it did for me once. So backup is important!
But I really had file system problems with unreadable files and NFS stale files and so on. Your problem looks more like a partitioning problem to me (but I do not have any more advices for you).

Last edited by peterleinchen; 2011-12-08 at 22:47.
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 28 | Thanked: 21 times | Joined on Sep 2010
#10
Originally Posted by pusak gaoq View Post
install backupmenu into your device & reboot your device with your keyboard slider open...this will boot backupmenu....now ignore any error on backupmenu startup....
once backupmenu is open look at and option to fsck your device....it will fsck all partition on your device...if there a problem it will be show in its log....
fsck your device a few times to makes sure it can fix any error....after fcsk then use option quit & reboot...remember to close your keyboard to reboot like normal...
Thank You
I tried many times, but (backupmenu) fsck failed.
HTML Code:
checking mydocs...
errors may have been encountered: code : 8
fsck.ext2: Bad magic number in super-block
while trying to open /dev/mmcblk0p1
	press any key to continue
After work tomorrow, I'll download Gparted Live CD to my windows laptop. Then I'll run backupmenu (mass storage mode) and connect it to my laptop.
 

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


 
Forum Jump


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