OESF Portables Forum

General Forums => General Discussion => Topic started by: dcbpe on February 16, 2007, 11:27:48 pm

Title: Help! I Can't Get My Z To Del From Sd Card
Post by: dcbpe on February 16, 2007, 11:27:48 pm
I have a 5600, which has no modifications.  Just an out of the box Z.

I used to use my Z often, transfering and deleting files from the SD card all the time, then I got a laptop and the Z somewhat took a back seat.  In the interim, something happened that makes me incapable of deleting files from the SD card.  The card is not locked, and I'm not someone that tinkers with terminal or anything like that..I play Q word game a lot, and take some meeting notes.

I have no idea what I could have done to cause this...does anyone have any ideas on how to fix this?

Thanks in advance...
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: Antikx on February 17, 2007, 12:56:48 am
my 2 cents.
-SD card could be at end of life.
-file system on card could be corrupt.
-card is too full

I'll help you test these if you suspect any of them.
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: tml on February 17, 2007, 04:59:20 am
Maybe it was mounted read-only? Try mount on the command line to find out. Forwhatever reason this happens sometimes with my card. I then have to remount it.
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: craigtyson on February 18, 2007, 08:11:04 am
Do you use the SD card on your laptop?  If so there could be a corruption on the card if you have written files to it there and removed it without using eject (Windows caches file writes to speed things up but that means you cna never be sure when its finished)

Whatever the cause Id give this a go from your Z

start terminal

umount /dev/mmcda1
fsck -a -f vfat /dev/mmcda1
mount /dev/mmcda1

Should clean up the card assuming its not a hardware problem
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: Ling on February 18, 2007, 08:45:26 am
It would be nice to start collecting stuff like this in a troubleshooting wiki for self-help.
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: Antikx on February 18, 2007, 09:00:07 am
Quote
It would be nice to start collecting stuff like this in a troubleshooting wiki for self-help.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=154582\")
Agreed.
I created a slap page in the ty wiki: [a href=\"http://www.tyrannozaurus.com/?q=wiki/AntikxSlap]http://www.tyrannozaurus.com/?q=wiki/AntikxSlap[/url]
...and am slowly throwing info in there to sort out afterwards. (the term Slap came from a Palm app that did something similar)
My opinion is that I may not have time to organize it right now, but it will be easier to organize info from my slap page then by search through forums.
If anyone would like a page like this, please PM me and I'll be happy to set one up for you with an easy to get to URL.
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: dcbpe on February 23, 2007, 11:41:20 pm
Thank you all for your input....

Antikx...the SD works fine in my digital camera, which is the only other device I have that takes an SD.   It's a 64 MB card, with one 32KB file on it.  I suppose the card could be corrupt, but it does work in the camera.  Maybe the camera messed it up?

craigtyson...I don't have an SD reader on my laptop.  None of those commands worked

  "umount..." returned "operation not permitted"
  "fsck..." returned "fsck.auto not found" "Error 2 while executing"
  "mount..." returned "permission denied.  Are you root?"

tml...I suppose it could have been, but I wouldn't know how to do that.  When I typed mount at the command line, the following returned:

   /dev/root on / type jffs2 (ro)
   /proc on /proc type proc (rw)
   /dev/ram1 on /dev type minix (rw)
   /dev/mtdblock3 on /home type jffs2 (rw,noatime)
   none on /dev/shm type tmpfs (rw)
   none on /dev/pts type devpts (rw)
   /dev/mmcda1 on /usr/mnt.rom/card type vfat (ro)

I'm assuming the (ro)'s and (rw)'s stand for read-only and read-write; I'm also assuming that that represents a list of things that are "mounted" on my Z.

I'm thinking I should just buy another SD cardand see if it works...
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: tml on February 24, 2007, 12:13:51 am
Quote
/dev/mmcda1 on /usr/mnt.rom/card type vfat (ro)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155121\"][{POST_SNAPBACK}][/a][/div]

so try something like (see mount --help)
Code: [Select]
sudo mount /dev/mmcda1 /usr/mnt.rom/card -o remount
I assume ejecting & reinserting doesn't work? And the card isn't set to ro hardware-wise? (See the small switch on the side of the card.)

edit:
BTW the other commands you tried didn't work because you issued them as normal user. You must be superuser to do that. In order to become root type "su" first.
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: speculatrix on February 25, 2007, 06:04:01 pm
did you ever reformat card on the PC in windows? if so, look for the standard problem of partitioning (search this forum for "flash partition")
Title: Help! I Can't Get My Z To Del From Sd Card
Post by: craigtyson on February 25, 2007, 07:17:35 pm
Quote
Thank you all for your input....

Antikx...the SD works fine in my digital camera, which is the only other device I have that takes an SD.   It's a 64 MB card, with one 32KB file on it.  I suppose the card could be corrupt, but it does work in the camera.  Maybe the camera messed it up?

craigtyson...I don't have an SD reader on my laptop.  None of those commands worked

  "umount..." returned "operation not permitted"
  "fsck..." returned "fsck.auto not found" "Error 2 while executing"
  "mount..." returned "permission denied.  Are you root?"

tml...I suppose it could have been, but I wouldn't know how to do that.  When I typed mount at the command line, the following returned:

   /dev/root on / type jffs2 (ro)
   /proc on /proc type proc (rw)
   /dev/ram1 on /dev type minix (rw)
   /dev/mtdblock3 on /home type jffs2 (rw,noatime)
   none on /dev/shm type tmpfs (rw)
   none on /dev/pts type devpts (rw)
   /dev/mmcda1 on /usr/mnt.rom/card type vfat (ro)

I'm assuming the (ro)'s and (rw)'s stand for read-only and read-write; I'm also assuming that that represents a list of things that are "mounted" on my Z.

I'm thinking I should just buy another SD cardand see if it works...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155121\"][{POST_SNAPBACK}][/a][/div]


Yup forgot I was SU ed

Use SU before the above

if prompted for a password then try the unlock code setup in your security icon.

The error  "fsck..." returned "fsck.auto not found" "Error 2 while executing"
My error the -f should be a -t

fsck -a -t vfat /dev/mmcda1

Regards