From: "Justin Mattock" <justinmattock@gmail.com>
To: "Tejun Heo" <htejun@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 05:22:17 +0000 [thread overview]
Message-ID: <dd18b0c30806112222k60e411dfs98e4cc7f64938b5b@mail.gmail.com> (raw)
In-Reply-To: <4850A2F8.3050404@gmail.com>
On Thu, Jun 12, 2008 at 4:15 AM, Tejun Heo <htejun@gmail.com> wrote:
> Hello,
>
> Please do the followings.
>
> 1. apply the attached patch
> 2. turn on device drivers -> SCSI -> SCSI verbose logging
> 3. rebuild the kernel and boot the new kernel.
> 4. run "sysctl -w dev.scsi.logging_level=1"
> 5. run the suspend/resume test w/ dd and report the result.
>
> Thanks.
>
> --
> tejun
>
> ---
> drivers/ata/libata-eh.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> Index: work/drivers/ata/libata-eh.c
> ===================================================================
> --- work.orig/drivers/ata/libata-eh.c
> +++ work/drivers/ata/libata-eh.c
> @@ -2507,6 +2507,9 @@ static int atapi_eh_clear_ua(struct ata_
> return -EIO;
> }
>
> + ata_dev_printk(dev, KERN_WARNING, "XXX: TUR err_mask=0x%x sense_key=0x%x\n",
> + err_mask, sense_key);
> +
> if (!err_mask || sense_key != UNIT_ATTENTION)
> return 0;
>
> @@ -2516,6 +2519,9 @@ static int atapi_eh_clear_ua(struct ata_
> "UNIT ATTENTION (err_mask=0x%x)\n", err_mask);
> return -EIO;
> }
> +
> + ata_dev_printk(dev, KERN_WARNING, "XXX: REQUEST SENSE err_mask=0x%x ASC=0x%x ASCQ=0x%x\n",
> + err_mask, sense_buffer[12], sense_buffer[13]);
> }
>
> ata_dev_printk(dev, KERN_WARNING,
>
>
Alright; I'll let you know what happens.
regards;
--
Justin P. Mattock
next prev parent reply other threads:[~2008-06-12 5:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-04 5:07 Justin Mattock
2008-04-04 8:21 ` 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 [this message]
2008-06-12 6:15 ` Justin Mattock
2008-06-12 6:26 ` Tejun Heo
2008-06-12 6:36 ` Justin Mattock
2008-06-12 6:59 ` Tejun Heo
2008-06-12 7:45 ` 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=dd18b0c30806112222k60e411dfs98e4cc7f64938b5b@mail.gmail.com \
--to=justinmattock@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=htejun@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
all inboxes | Powered by JetHome®