Author Topic: SL 5500 SD card problem  (Read 2335 times)

kruithofmc

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
SL 5500 SD card problem
« on: April 02, 2004, 04:55:48 pm »
I have the following problem with my Zaurus:
I recently bought a 256 MB Lexar SD card for installing more programs on Opie. For this I tried to format the card. I created a new partition using fdisk and formatted using mkfs.ext2. everything looks fine but when I try to write to it I get a input output error. when I reformat to vfat the card works fine again... Can anybody give me a clue on what is happening? Bad formatter maybe?

Thanx

Maarten

braindrop

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
SL 5500 SD card problem
« Reply #1 on: April 03, 2004, 12:39:08 am »

BlackCardinal

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • http://www.gelhaus.net
SL 5500 SD card problem
« Reply #2 on: April 03, 2004, 01:16:10 am »
Check ownership and permissions (use ls -l).  Are you trying to write to it as user zaurus?  Does the entries in the long listing look like this?
Code: [Select]
$ ls -l /mnt/card/

drwxr-xr-x    4 zaurus   qpe          1024 Mar 27 03:15 Documents

or like this?
Code: [Select]
$ ls -l /mnt/card/

drwxr-xr-x    4 root     root          1024 Mar 27 03:15 Documents

If they look more like the latter, then you will need to change its ownership by doing something like this as root (while the card is mounted):
Code: [Select]
# chown -R zaurus:qpe /mnt/card/
The -R makes the ownership change recursive through the subdirectories.  You may not really want to make the whole card owned by zaurus, so instead you can pick and choose directories on the card:
Code: [Select]
# chown -R zaurus:qpe /mnt/card/Documents

# chown -R zaurus:qpe /mnt/card/home/zaurus

You can make a directory world-writeable without changing ownership by using chmod:
Code: [Select]
# chmod 777 /mnt/card/Documents
BlackCardinal : http://www.gelhaus.net : Zaurus page

SL-C1000, Cacko ROM v1.23
Lexar SD 512MB, Kingston CF 512MB
Symbol Spectrum24 CF 802.11b

SL-5500 Sharp ROM v3.10
Lexar SD 256MB
Pocketop keyboard, Nutshell 207 leather case

kruithofmc

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
SL 5500 SD card problem
« Reply #3 on: April 06, 2004, 02:54:26 pm »
It was the card, I am now using a panasonic high speed card and everything is working like a charm...