OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: knobby on December 14, 2004, 09:40:20 am

Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: knobby on December 14, 2004, 09:40:20 am
Apologies if this is a dumb question but have had no success discussing this with Sharp support. It would be appear randomly after the battery runs down on my SL5500 I'm required to reinitialise and reload all data and any applications (this is not helped by the SL5500 appalling battery life). I've sent the unit off to Sharp in the past who insist they can find nothing wrong. Various upgrades have not helped the problem. Would appreciate any insights orwhether this is something that I just have to live with.


Rod
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: lardman on December 14, 2004, 10:36:15 am
Assuming you're running a standard Sharp ROM, then yes, this is the normal behaviour.

This occurs because the writable filesystem on the 5500 (where you save documents and install programs) is contained in a RAM disk. If the power fails (battery flat), the contents of the RAM (and RAM disk) are lost.

To get around this problem, either keep the battery charged ;-) or install a better ROM, such as OZ, which allows write access to the flashROM. This will allow you to install and save stuff to the flash memory and it won't be lost if the battery goes flat.


Si
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: knobby on December 14, 2004, 10:48:18 am
Ok, thanks will look in to OpenZaurus.
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: chrget on December 14, 2004, 02:43:15 pm
Quote
To get around this problem, either keep the battery charged ;-) or install a better ROM, such as OZ, which allows write access to the flashROM. This will allow you to install and save stuff to the flash memory and it won't be lost if the battery goes flat.
Or, of course, do it the way it's designed: do regular backups to a CF or SD card  

Best regards,
Chris.
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: knobby on December 14, 2004, 06:44:14 pm
Ok fair point, I'll consider myself suitably chastened
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: lardman on December 15, 2004, 05:43:50 am
Quote
Ok fair point, I'll consider myself suitably chastened

:-D, I do think it's a bit of a pain that it loses its state when the power fails, however this is the same as the early WinCE machines, and things like the Psions.

That said, I'd seriously recommend you go for something with a writable flashROM, then install your apps there and to a storage card. That way, you don't lose anything if the power does go.


Si
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: chrget on December 16, 2004, 03:48:32 am
Quote
That said, I'd seriously recommend you go for something with a writable flashROM, then install your apps there and to a storage card. That way, you don't lose anything if the power does go.
That's something I personally consider a matter of taste -- while it is nice to be able to simply write to the flash, it also carries a certain amount of risk: nothing worse than doing something stupid to it (or have some software run amok and do it for you    )  while you're on the road and miles away from your desktop to fix it, leaving you (in the worst case) with a hi-tech brick in your pocket

With the Sharp approach, this is never a problem: you curse, grumble, hit reset and restore your latest backup from SD. And doing backups and restores is (IMHO) sufficiently painless on the Z for it to do so on a regular basis (i.e. even several times daily, if need be).

But, as I said, it's really a matter of taste.

Best regards,
Chris.
Title: Loss Of All Data After Sl5500 Battery Depletion
Post by: lardman on December 16, 2004, 05:29:37 am
I see your point.

In which case, you could run OZ3.5.2 with GPE (probably also works with Opie, but it's not set up by default), which lets you run as a normal user (who can't delete many things other than ~/*), then su to root to possibly do more damage ;-)


Si