public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <syrjala@sci.fi>
To: linux-kernel@vger.kernel.org
Subject: Re: ide-cd turning off DMA when verifying DVD-R
Date: Fri, 13 Jan 2006 06:04:13 +0200	[thread overview]
Message-ID: <pan.2006.01.13.04.04.13.412805@sci.fi> (raw)
In-Reply-To: 43C6CB99.50302@rainbow-software.org

On Thu, 12 Jan 2006 22:35:21 +0100, Ondrej Zary wrote:

> Hello,
> I found this problem when burning DVDs using K3b (it uses growisofs to 
> do the work) with LG GSA-4167B drive:
> Burn process completes without any problems, then K3b ejects and reloads 
> the tray, then it calculates MD5 checksum from the image. Then it starts 
> reading the DVD back to calculate MD5 checksum of it. The moment it 
> starts to read, this appears in dmesg:
> 
> hdd: irq timeout: status=0xd0 { Busy }
> ide: failed opcode was: unknown
> hdd: DMA disabled
> hdd: ATAPI reset complete
> 
> And then it slowly reads the DVD in PIO mode. After about a hour, it 
> finishes with success. When I re-enable DMA mode ("hdparm -d1 /dev/hdd") 
> immediately after it was disabled, it works fine in - there are no more 
> errors in the log and the verification completes much sooner. I burnt 10 
> DVDs and it always does exactly this.
> 
> Any ideas why it does this? And why ide-cd disables the DMA?

I think the drive just takes too long to recongize the disc. My 4163B has
the same problem which is why I always close the tray manually or with
eject -t and wait a while before mounting or burning the disc. Of course
that won't help in your case. I guess the real fix would be to
increase some ide-cd timeout.

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/



  reply	other threads:[~2006-01-13  4:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12 21:35 ide-cd turning off DMA when verifying DVD-R Ondrej Zary
2006-01-13  4:04 ` Ville Syrjälä [this message]
     [not found] <5ujmU-1UQ-665@gated-at.bofh.it>
     [not found] ` <5uoqr-Qq-7@gated-at.bofh.it>
2006-01-13  4:40   ` Robert Hancock
2006-01-13  8:30     ` Volker Kuhlmann
2006-01-13  9:19       ` Bartlomiej Zolnierkiewicz
2006-01-13 13:03         ` Ondrej Zary
     [not found]         ` <20060113140618.GB12360@tigershaunt.com>
2006-01-13 14:16           ` Bartlomiej Zolnierkiewicz

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=pan.2006.01.13.04.04.13.412805@sci.fi \
    --to=syrjala@sci.fi \
    --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