OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: ShiroiKuma on November 17, 2004, 06:24:49 am

Title: What controls what a Z does when mounting a CF
Post by: ShiroiKuma on November 17, 2004, 06:24:49 am
I've seen it reported all around, but apparently no fix. The Z freezes when you use a swap file on the CF and you suspend for a longer period of time than a couple of seconds.

For the SD card there is the sdcontrol where you can specify what the Z does on unmounting and mounting the card, which takes care of the swap file issue.

Is there something like this for the CF, i.e. where you could specify to swapoff on suspend and swapon on power-on?
Title: What controls what a Z does when mounting a CF
Post by: iamasmith on November 17, 2004, 06:30:11 am
You could take a look in /etc/pcmcia at the scripts in there but I would suggest you are better swapping to sd if you can... turning swap off and swap on when suspending is going to cause a very slow suspend and if you have stuff committed to the swap file/partition then it's probably going to fail.

- Andy
Title: What controls what a Z does when mounting a CF
Post by: ShiroiKuma on November 17, 2004, 07:35:43 am
Looks like it.

I tried the Suspend-Resume scripts, which I found at killefiz.de but they seem to have messed up my Z for good. Won't suspend now, no matter what I do.

Am gonna have to restore from a backup. Man...
Title: What controls what a Z does when mounting a CF
Post by: iamasmith on November 17, 2004, 08:02:16 am
You did install the sudo IPK right ? (I'm presuming this is a Sharp ROM and not Cacko).
Title: What controls what a Z does when mounting a CF
Post by: ShiroiKuma on November 17, 2004, 01:18:00 pm
No, I'm running Cacko. Installed sudo anyhow, but the result was what I mention above.