Reply
Thread Tools
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#151
Additionally you might post the output of
Code:
fsck -af /dev/mmcblk1p1
 

The Following User Says Thank You to michaaa62 For This Useful Post:
willi6868's Avatar
Posts: 548 | Thanked: 562 times | Joined on Aug 2011 @ Germany
#152
Ohu dam*

here is the output:

Code:
 ~ $ root ls /dev/mmc* sfdisk -l


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# fsck -af /dev/mcblklpl
fsck 1.41.3.maemo0 (12-Oct-2008)
fsck.ext2: No such file or directory while trying to open /dev/mcblklpl
/dev/mcblklpl:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

Nokia-N900:~#
What does superblock mean?

But my N900 is recognizing the card in stock filebrwoser but it only tells that it doesn't support the format and that the memory card is damaged? !
__________________
Nokia N80 -> Nokia N900 -> Nokia N9 -> Jolla Phone & Jolla Tablet -> Sony Xperia XA2 (SFOS)
 
Posts: 404 | Thanked: 186 times | Joined on Oct 2010 @ Dehradun,India
#153
Originally Posted by willi6868 View Post
Ohu dam*

here is the output:

Code:
 ~ $ root ls /dev/mmc* sfdisk -l


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# fsck -af /dev/mcblklpl
fsck 1.41.3.maemo0 (12-Oct-2008)
fsck.ext2: No such file or directory while trying to open /dev/mcblklpl
/dev/mcblklpl:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

Nokia-N900:~#
What does superblock mean?

But my N900 is recognizing the card in stock filebrwoser but it only tells that it doesn't support the format and that the memory card is damaged? !
it's mmcblk1p1

mmcblk 1(one and not L) p 1(one and not L)

also correct command would be
fsck.vfat -af /dev/mmcblk1p1
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#154
Thanks for the clarification, raaj13.
Nevertheless, please use plain fsck to have the most relevant output of the command. The shell will choose automatically which of the file system specific commands to use. An error here might tell another story than an error for fsck.vfat.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#155
Looking at his output, fsck decided it was ext3 with invalid superblock. That doesn't look right, it should have been vfat. Try the commands I posted but one at a time please (3 lines).

Edit: Oops, missed the l vs 1 mishmash. Try again with proper spelling.

Last edited by pichlo; 2013-06-07 at 17:23.
 
willi6868's Avatar
Posts: 548 | Thanked: 562 times | Joined on Aug 2011 @ Germany
#156
Originally Posted by pichlo View Post
Looking at his output, fsck decided it was ext3 with invalid superblock. That doesn't look right, it should have been vfat. Try the commands I posted but one at a time please (3 lines).

Edit: Oops, missed the l vs 1 mishmash. Try again with proper spelling.
sorry I don' understand what you mean How to use 3 commands at once? using ' l ' ??
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#157
Sorry for the confusion. Three wise lads having a go at you

Just 4 commands please:
Code:
ls /dev/mmc*
sudo gainroot
sfdisk -l
fsck -af /dev/mmcblk1p1
 

The Following User Says Thank You to michaaa62 For This Useful Post:
willi6868's Avatar
Posts: 548 | Thanked: 562 times | Joined on Aug 2011 @ Germany
#158
Thanks for clarification

Here you go:

Code:
~ $ ls /dev/mmc*
/dev/mmcblk0    /dev/mmcblk0p2  /dev/mmcblk1
/dev/mmcblk0p1  /dev/mmcblk0p3
~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # sfdisk -l

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

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/mmcblk0p1          1  884864  884864   28315648    c  W95 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
/home/user # fsck -af /dev/mmcblk1p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
open: No such file or directory
/home/user #
What do you say?!
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#159
Originally Posted by michaaa62 View Post
Three wise lads having a go at you
Not at all! I did say one command at a time. Three separate lines.

Looking at willi's last output, the card is listedi n /dev but not in sfdisk output. That doean't look promising but you can try michaaa's fsck command without the p1, like so:

Code:
root
fsck -af /dev/mmcblk1

Last edited by pichlo; 2013-06-07 at 18:56. Reason: Forgot root
 
willi6868's Avatar
Posts: 548 | Thanked: 562 times | Joined on Aug 2011 @ Germany
#160
Originally Posted by pichlo View Post
Not at all! I did say one command at a time. Three separate lines.

Looking at willi's last output, the card is listedi n /dev but not in sfdisk output. That doean't look promising but you can try michaaa's fsck command without the p1, like so:

Code:
root
fsck -af /dev/mmcblk1
Here is the output:

Code:
~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# fsck -af /dev/mmcblk1
fsck 1.41.3.maemo0 (12-Oct-2008)
fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk1
/dev/mmcblk1: 
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Nokia-N900:~#
So what does superblock mean and should I run this command?
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:41.