public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can eject mounted zip disk after suspend/resume (2.4.4)
@ 2001-05-01  0:39 Igor Bukanov
  2001-05-01  0:47 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Bukanov @ 2001-05-01  0:39 UTC (permalink / raw)
  To: linux-kernel


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can eject mounted zip disk after suspend/resume (2.4.4)
  2001-05-01  0:39 Can eject mounted zip disk after suspend/resume (2.4.4) Igor Bukanov
@ 2001-05-01  0:47 ` Alan Cox
  2001-05-01 20:16   ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2001-05-01  0:47 UTC (permalink / raw)
  To: Igor Bukanov; +Cc: linux-kernel

> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can eject mounted zip disk after suspend/resume (2.4.4)
  2001-05-01  0:47 ` Alan Cox
@ 2001-05-01 20:16   ` Pavel Machek
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2001-05-01 20:16 UTC (permalink / raw)
  To: Alan Cox; +Cc: Igor Bukanov, linux-kernel

Hi!

> > 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.]

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-03 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-01  0:39 Can eject mounted zip disk after suspend/resume (2.4.4) Igor Bukanov
2001-05-01  0:47 ` Alan Cox
2001-05-01 20:16   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox