powerbook hang from post-sleep cdrom access - fix

Michael Schmitz schmitz at opal.biophys.uni-duesseldorf.de
Fri Jul 28 05:48:05 EST 2000


> > Aye. Can you be more specific about 'do whatever needs to be done'? Can I
> > just send the disk a read command to wake it up? Send a reset
> > command?? Will a reset command hurt if I always send a drive reset
> > there?
>
> My expirience is that just reading the drive causes a problem, much like
> userspace trying to read it.  there is also the door locking feature that I
> suppose could be done explicitly on wakeup if mounted.  I dont know what else a
> "media change" ctl entails, but it seems to do enough to get the cdrom back to
> where it left off.

OK, that seems to mean wherever we can safely send the drive a reset
command after sleep, we should do that. Now under what conditions will a
reset command mess up things beyond recovery? Is it possible to sleep the
machine while the IDE drive has a request under service?

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list