OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Sd Card Won't Mount, OZ 1.3.2 on an SL-5500
HearWa
post Apr 3 2005, 03:45 PM
Post #1





Group: Members
Posts: 28
Joined: 10-February 05
Member No.: 6,450



What's the general procedure that I should follow when an SD card won't mount? It usto work perfectly on the old Sharp rom.
Go to the top of the page
 
+Quote Post
mimeca
post Apr 4 2005, 09:19 AM
Post #2





Group: Members
Posts: 682
Joined: 12-February 05
From: Valencia
Member No.: 6,460



Launch console app and write
CODE
cat /proc/partitions


I think that command will work. You must paste the command output.

You should mount the sd card with
CODE
mount /dev/hda1 /mnt/card
where hda1 is the device "linked" with SD card.
Go to the top of the page
 
+Quote Post
lardman
post Apr 4 2005, 09:30 AM
Post #3





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
You should mount the sd card with
CODE
mount /dev/hda1 /mnt/card

where hda1 is the device "linked" with SD card.


The above is wrong - use 'mount /dev/mmcda1 /mnt/card' (actually this depends on the kernel you're running).

Which machine, which ROM version, which kernel?


Si
Go to the top of the page
 
+Quote Post
lardman
post Apr 4 2005, 02:36 PM
Post #4





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Ok so I forgot to read the topic title.

Anyway it's obviously a 5500, with ROM version 1.3.2??? I presume you mistyped and mean 3.5.2 (the latest release in other words).

In which case try mounting with:

mount /dev/mmcda1 /mnt/card


Si
Go to the top of the page
 
+Quote Post
HearWa
post Apr 5 2005, 02:48 PM
Post #5





Group: Members
Posts: 28
Joined: 10-February 05
Member No.: 6,450



Every time I insert it I can see mmcda listed in /cat/partitions. When I go to mount it to an empty directory, however, I get this:
Mount: mounting /dev/mmcda1 on /mnt/blah failed: Invalid argument.

When I set the SD card as read-only by the little switch on it, it gives me many of these messages before reporting the same error:
mount: /dev/mmcda1 is write-protected, mounting read only

Does the SD card have a bad partition or something? Like I said, this worked fine on the old Sharp ROM (but there's no way I'm going back now, I heart OZ!).
Go to the top of the page
 
+Quote Post
CoreDump
post Apr 5 2005, 07:12 PM
Post #6





Group: Members
Posts: 715
Joined: 25-July 04
From: .de
Member No.: 4,094



Please post
- the full content of /proc/partitions (use copy and paste),
- the command you've tried to mount the card
- the output of dmesg | grep mmcda right after booting.
- the output of cat /etc/fstab | grep mmcda

Maybe your card has a timing problem with the driver as reported by someone else on this board.
Go to the top of the page
 
+Quote Post
HearWa
post Apr 9 2005, 10:45 AM
Post #7





Group: Members
Posts: 28
Joined: 10-February 05
Member No.: 6,450



root@collie:/# cat /proc/partitions
major minor #blocks name

3 0 125184 hda
3 1 125168 hda1
60 0 123008 mmcda

root@collie:/# dmesg | grep mmcda
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda:<3>SD blk read error 01
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table
mmcda: unknown partition table

root@collie:/# cat /etc/fstab | grep mmcda
/dev/mmcda1 /mnt/card auto defaults,sync,noauto,noatime,user,exec,suid 0 0
Go to the top of the page
 
+Quote Post
CoreDump
post Apr 10 2005, 08:05 AM
Post #8





Group: Members
Posts: 715
Joined: 25-July 04
From: .de
Member No.: 4,094



QUOTE(HearWa @ Apr 9 2005, 06:45 PM)
root@collie:/# cat /proc/partitions
major minor  #blocks  name

  3    0    125184 hda
  3    1    125168 hda1
  60    0    123008 mmcda


Try adding a partition to the card.

QUOTE
root@collie:/# cat /etc/fstab | grep mmcda
/dev/mmcda1    /mnt/card      auto    defaults,sync,noauto,noatime,user,exec,suid 0  0
*


Looks good. The "invalid option" error is a result of the usage of busybox's mount. It doesn't understand "user" IIRC. The "real" mount works as expected.
Go to the top of the page
 
+Quote Post
HearWa
post Apr 12 2005, 02:57 PM
Post #9





Group: Members
Posts: 28
Joined: 10-February 05
Member No.: 6,450



QUOTE(CoreDump @ Apr 10 2005, 08:05 AM)
Try adding a partition to the card.

I've downloaded and installed the SD fdisk utility, but I'm not sure what the executable is named for me to use it in the CLI. What is it named?

Thank you.
Go to the top of the page
 
+Quote Post
CoreDump
post Apr 13 2005, 01:06 AM
Post #10





Group: Members
Posts: 715
Joined: 25-July 04
From: .de
Member No.: 4,094



QUOTE(HearWa @ Apr 12 2005, 10:57 PM)
QUOTE(CoreDump @ Apr 10 2005, 08:05 AM)
Try adding a partition to the card.

I've downloaded and installed the SD fdisk utility, but I'm not sure what the executable is named for me to use it in the CLI. What is it named?

Thank you.
*



fdisk smile.gif
Once started it should provide you with on-screen help for the menu.
Go to the top of the page
 
+Quote Post
HearWa
post Apr 13 2005, 01:21 PM
Post #11





Group: Members
Posts: 28
Joined: 10-February 05
Member No.: 6,450



When I do fdisk /dev/mmcda, it goes:
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

I've tried alot of thing, but nothing has worked yet. What should I do to make a new partition? 'p' shows no partitions on the card!
Go to the top of the page
 
+Quote Post
CoreDump
post Apr 14 2005, 11:18 AM
Post #12





Group: Members
Posts: 715
Joined: 25-July 04
From: .de
Member No.: 4,094



QUOTE(HearWa @ Apr 13 2005, 09:21 PM)
When I do fdisk /dev/mmcda, it goes:
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

I've tried alot of thing, but nothing has worked yet. What should I do to make a new partition? 'p' shows no partitions on the card!
*


Just create a new (n) primary (p) partition (1).
Then write (w) the changes to the card.
Go to the top of the page
 
+Quote Post
HearWa
post Apr 14 2005, 12:26 PM
Post #13





Group: Members
Posts: 28
Joined: 10-February 05
Member No.: 6,450



It doesn't work. I'll probably just get a new SD card. Thanks for your help.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 04:00 AM