Author Topic: SD Card applet/icon  (Read 2921 times)

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
SD Card applet/icon
« on: August 09, 2004, 05:42:51 am »
The SD icon/applet is no longer appearing when the SD card is mounted.

I can still access the card at /mnt/card, but the icon just doesn't show up.

I've got a 5600 with one of the special kernels, the version given is 2.4.18-rmk7-pxa3-embedix-021129.

The SD icon had shown up until recently; the problem may or may not be related to a cross-lining problem on the SD card's filesystem; I had to re-mkfs, using mkfs-vfat (vfat, which is what the filesystem had been before), but the icon had disappeared before I remade the filesystem.

Thanks.
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
SD Card applet/icon
« Reply #1 on: August 09, 2004, 06:10:32 am »
Don't use the special kernel.  I had the same problem when I tried that kernel.  The speedups that kernel provided were nice but it slowly corrupted my system.  I eventually couldn't even mount my cf card any more.  You will probably have to reformat.

You could try installing qtopia-cardmon.  It's what I use but I can't locate it anywhere right now.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
SD Card applet/icon
« Reply #2 on: August 09, 2004, 12:01:19 pm »
It's more than just the applet: the sysinfo application shows no "storage" information, and the backup application can't read the SD card to verify sufficient space exists for backup.

So is something screwed up in /proc, or what?
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
SD Card applet/icon
« Reply #3 on: August 10, 2004, 01:37:26 am »
I don't think it's possible to screw up proc sence it's not a real filesystem.  Again, sounds exactly like the problem that I had.  Never had it again sence going back to sharp kernel (and sharp rom of course)  By the way, why do you use that kernel?  Running the snes9x emulator?  That's the only reason I wanted to use it.  The speedups were only noticeable in that program.

Have you tried a different SD card to make sure it's not the card that's messed up?  Is it possible your sd card slot is broken?  

Your filesystem could be corupted or a script could be damaged.  Sorry I'm not much help, just some suggestions.  I still think it's the fault of the kernel you are using.  Sharp probably put that workaround in their kernel for a reason.  Reflash the original sharp kernel and format after you back up anything you don't want to lose.

(Anyone else in these forums want to comment on the special kernel?  Has anyone used it for a long enough time without any problems or is it just me?)

Hope that helps.
« Last Edit: August 10, 2004, 01:41:57 am by xamindar »
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
SD Card applet/icon
« Reply #4 on: August 10, 2004, 01:53:05 am »
Ok, I fixed part of the problem.

The SD applet wasn't showing up because /etc/mtab was missing. I restored this by logging in as root and making mtab a symlink to /proc/mounts by doing this:
# ln -s /proc/mounts /etc/mtab


This also allows the "storage" tab on sysinfo to show up correctly.

However, /usr/mnt.rom/card still shows at NotAvailable when I ls it.

I also reflashed the ROM to the Sharp version. The special rom does allow reclocking the processor, but I've never done it. Other than this (which may or may not be related to the special kernel, I had no noticeable problems).

The SD card does have an error as well; at least one sector is unreadable. I have not yet been able to find a way to mark that sector so it's not used; the bad sector makes fsck.vfat fail.
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD