public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: axboe@suse.de
Subject: ide-cd turning off DMA when verifying DVD-R
Date: Thu, 12 Jan 2006 22:35:21 +0100	[thread overview]
Message-ID: <43C6CB99.50302@rainbow-software.org> (raw)

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?

Kernel is 2.6.13, the drive is (firmware is the latest version):
/dev/hdd:

  Model=HL-DT-ST DVDRAM GSA-4167B, FwRev=DL12, SerialNo=7076348C2984
  Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
  RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
  BuffType=unknown, BuffSize=0kB, MaxMultSect=0
  (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio3 pio4
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 *udma2
  AdvancedPM=no
  Drive conforms to: device does not report version:

  * signifies the current active mode

-- 
Ondrej Zary

             reply	other threads:[~2006-01-12 21:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12 21:35 Ondrej Zary [this message]
2006-01-13  4:04 ` ide-cd turning off DMA when verifying DVD-R Ville Syrjälä
     [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=43C6CB99.50302@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=axboe@suse.de \
    --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