OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: HearWa on April 03, 2005, 07:45:02 pm
-
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.
-
Launch console app and write
cat /proc/partitions
I think that command will work. You must paste the command output.
You should mount the sd card with
mount /dev/hda1 /mnt/card
where hda1 is the device "linked" with SD card.
-
You should mount the sd card with
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
-
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
-
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!).
-
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.
-
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
-
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.
root@collie:/# cat /etc/fstab | grep mmcda
/dev/mmcda1 /mnt/card auto defaults,sync,noauto,noatime,user,exec,suid 0 0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74387\"][{POST_SNAPBACK}][/a][/div]
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.
-
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74848\"][{POST_SNAPBACK}][/a][/div]
fdisk
Once started it should provide you with on-screen help for the menu.
-
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!
-
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!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75021\"][{POST_SNAPBACK}][/a][/div]
Just create a new (n) primary (p) partition (1).
Then write (w) the changes to the card.
-
It doesn't work. I'll probably just get a new SD card. Thanks for your help.