OESF Portables Forum

General Forums => General Discussion => Topic started by: kruithofmc on April 02, 2004, 04:55:48 pm

Title: SL 5500 SD card problem
Post by: kruithofmc 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
Title: SL 5500 SD card problem
Post by: braindrop on April 03, 2004, 12:39:08 am
did you follow the steps here?: http://zaurususergroup.com/index.php?name=...iewtopic&t=1566 (http://zaurususergroup.com/index.php?name=PNphpBB2&file=viewtopic&t=1566)
Title: SL 5500 SD card problem
Post by: BlackCardinal 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
Title: SL 5500 SD card problem
Post by: kruithofmc 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...