Author Topic: What controls what a Z does when mounting a CF  (Read 2472 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
What controls what a Z does when mounting a CF
« 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?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
What controls what a Z does when mounting a CF
« Reply #1 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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
What controls what a Z does when mounting a CF
« Reply #2 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...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
What controls what a Z does when mounting a CF
« Reply #3 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).
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
What controls what a Z does when mounting a CF
« Reply #4 on: November 17, 2004, 01:18:00 pm »
No, I'm running Cacko. Installed sudo anyhow, but the result was what I mention above.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze