Author Topic: Help! I Can't Get My Z To Del From Sd Card  (Read 3537 times)

dcbpe

  • Newbie
  • *
  • Posts: 14
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« 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...

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Help! I Can't Get My Z To Del From Sd Card
« Reply #1 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.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« Reply #2 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.
SL-C3100

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« Reply #3 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
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Ling

  • Sr. Member
  • ****
  • Posts: 350
    • View Profile
    • http://
Help! I Can't Get My Z To Del From Sd Card
« Reply #4 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.
SL-C3200 w/ pdaXii13 5.3
SL-C860 w/ OZ GPE 3.4.1
Accessories: 4GB Microdrive, 4GB Transcend SD, Linksys WFC12 CF 802.11b, Ambicom CF Modem, Socket Bluetooth

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Help! I Can't Get My Z To Del From Sd Card
« Reply #5 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]
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.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

dcbpe

  • Newbie
  • *
  • Posts: 14
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« Reply #6 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...

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« Reply #7 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.
« Last Edit: February 24, 2007, 03:03:40 am by tml »
SL-C3100

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« Reply #8 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")
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Help! I Can't Get My Z To Del From Sd Card
« Reply #9 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
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....