Skip to contentSkip to conversation

Can eject mounted zip disk after suspend/resume (2.4.4)

DISCUSSION Igor Bukanov 3 participants 3 messages May 1, 2001 – May 3, 2001

lore
Share & tools
lore
#0 lore raw

If I hit an eject button on internal IDE IOMEGA zip drive after resume/suspend to memory on my Dell Inspiron 7500 notebook, then the disk will be ejected even if it is mounted. This behavior happens ONLY if I suspend my system with the mounted zip. Could I fix this somehow?

I tried to use both ide-floppy and ide-scsi drivers to access the disk with no difference.

My settings for 2.4.4 kernel APM options are
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

Regards, Igor

#1 lore raw
Quoted 4 lines

If I hit an eject button on internal IDE IOMEGA zip drive after resume/suspend to memory on my Dell Inspiron 7500 notebook, then the disk will be ejected even if it is mounted. This behavior happens ONLY if I suspend my system with the mounted zip. Could I fix this somehow?

Its an Inspiron bios bug - they fail to preserve the locked stat of the zip drive across a suspend. Its not the worst bug in the world. In theory the scsi/ide layer could use a PM notifier to check the locked stat is right and force the drive into the right state. I'd take patches for it but lets say its not high on my 'urgent problem' list

#2 lore raw
In reply to Igor Bukanov

Hi!

Quoted 10 lines
Quoted 4 lines

If I hit an eject button on internal IDE IOMEGA zip drive after resume/suspend to memory on my Dell Inspiron 7500 notebook, then the disk will be ejected even if it is mounted. This behavior happens ONLY if I suspend my system with the mounted zip. Could I fix this somehow?

Its an Inspiron bios bug - they fail to preserve the locked stat of the zip drive across a suspend. Its not the worst bug in the world. In theory the scsi/ide layer could use a PM notifier to check the locked stat is right and force the drive into the right state. I'd take patches for it but lets say its not high on my 'urgent problem' list

That would not work. If someone pressed eject while resuming....

[Fact that zips like to remember button presses might make this pretty bad.]

Signature · 2 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.