OESF Portables Forum
General Forums => General Discussion => Topic started by: orthogonal 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.
-
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.
-
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?
-
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.
-
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.