linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Justin Mattock <justinmattock@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: macbook pro dvd playback after suspend Buffer I/O error
Date: Thu, 12 Jun 2008 15:26:52 +0900	[thread overview]
Message-ID: <4850C1AC.4090809@gmail.com> (raw)
In-Reply-To: <dd18b0c30806112315x70dee219oa6738de3e22d4939@mail.gmail.com>

Justin Mattock wrote:
> O.K. applied the patch and did what you have described,(except for
> sysctl -w / ended up inserting dev.scsi.logging_level=1 in
> /etc/sysctl.conf)
> This is what dd reported:(same as before)
> dd: reading `/dev/sr0':Input/output error
> 41+1 records in
> 41+1 records out
> 43122688 bytes (43 MB) copied, 41.0967 seconds, 1.0 MB/s
> 
> Attached is dmesg of using dd on the first suspend, and playing a dvd
> on the second.

Ah.. okay.  The drive was becoming ready and the read commands were
retried too fast.  The drive I tested on was fast enough to deliver the
data but yours wasn't.  Hmmm.... This is difficult.  This also poses
problems to live cd distros, I think.  We probably need to make sr wait
for device readiness.  Maybe it's best to put TUR waiting in read error
handling.  I'll think about it.

Thanks.

-- 
tejun

  reply	other threads:[~2008-06-12  6:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dd18b0c30804032207u36bd1f43l358e9949f0c94f79@mail.gmail.com>
2008-04-04  8:21 ` macbook pro dvd playback after suspend Buffer I/O error Andrew Morton
2008-04-04 15:05   ` Justin Mattock
2008-06-11  2:00   ` Tejun Heo
2008-06-11  7:45     ` Justin Mattock
2008-06-11 18:31       ` Justin Mattock
2008-06-11 21:51         ` Tejun Heo
2008-06-11 22:27           ` Justin Mattock
2008-06-12  1:18             ` Tejun Heo
2008-06-12  2:10               ` Justin Mattock
2008-06-12  2:13                 ` Justin Mattock
2008-06-12  4:15                   ` Tejun Heo
2008-06-12  5:22                     ` Justin Mattock
2008-06-12  6:15                       ` Justin Mattock
2008-06-12  6:26                         ` Tejun Heo [this message]
2008-06-12  6:36                           ` Justin Mattock
2008-06-12  6:59                             ` Tejun Heo
2008-06-12  7:45                               ` Justin Mattock
2008-04-04 19:02 Justin Mattock

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=4850C1AC.4090809@gmail.com \
    --to=htejun@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=justinmattock@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).