All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: Joseph Garcia <jpgarcia@execpc.com>,
	<linuxppc-dev@lists.linuxppc.org>, <sleemburg@jvc.nl>
Subject: Re: powerbook hang from post-sleep cdrom access - fix
Date: Thu, 27 Jul 2000 12:32:26 +0200	[thread overview]
Message-ID: <20000727103226.13755@mailhost.mipsys.com> (raw)
In-Reply-To: <397FEEE5.265963BF@execpc.com>


>
>So would this always be done on wake to hdc and hde?  I read Pismos, and
maybe
>iBooks, have their drives at hde.  I'm not sure if they are afflicted by this
>problem.

That's why this should be done from the kernel, I beleive. There, you can
know if the controller is hosting a hard disk, a cdrom or an ATAPI floppy.

>might also need to consider ide-floppy drives, like ls-120 and zip.  I don't
>have one myself, so I don't know if these need it either.  They dont
have much
>for ioctls, just eject.  If they have this problem, an ioctl to
>idefloppy_media_change may be needed.

Yep, probably, I'm not sure about those since I don't have one to test
with. I'm also considering adding code for force a disk access (spin up)
before trying to do the set features on wakeup.

>I'm not concerned about it, but might genuine floppies have the hang problem
>too?
>
>I assume a bay hard drive would error/exit without a problem because they
>can't
>change.


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

  reply	other threads:[~2000-07-27 10:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-27  7:13 powerbook hang from post-sleep cdrom access - fix Joseph Garcia
2000-07-27  7:16 ` Stephan Leemburg
2000-07-27  8:12   ` Joseph Garcia
2000-07-27 10:32     ` Benjamin Herrenschmidt [this message]
2000-07-27 17:46     ` Robert Thompson
2000-07-27  8:59 ` Michael Schmitz
2000-07-27 10:36   ` Benjamin Herrenschmidt
2000-07-27 12:12     ` Michael Schmitz
2000-07-27 13:12       ` Benjamin Herrenschmidt
2000-07-27 19:27         ` Michael Schmitz
2000-07-27 16:10       ` Joseph Garcia
2000-07-27 19:48         ` Michael Schmitz
2000-07-27 20:36           ` Joseph Garcia
2000-07-27 20:50             ` Michael Schmitz
2000-07-27 21:21               ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000727103226.13755@mailhost.mipsys.com \
    --to=bh40@calva.net \
    --cc=jpgarcia@execpc.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=sleemburg@jvc.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.