public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Andersen <andersen@codepoet.org>
To: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Cc: linux-kernel@vger.kernel.org, axboe@suse.de, andre@linux-ide.org
Subject: Re: Linux 2.4.18: short dd read from IDE cdrom
Date: Tue, 3 Sep 2002 01:35:25 -0600	[thread overview]
Message-ID: <20020903073525.GA13386@codepoet.org> (raw)
In-Reply-To: <200209030719.g837JCJ24173@sprite.physics.adelaide.edu.au>

On Tue Sep 03, 2002 at 04:49:12PM +0930, Jonathan Woithe wrote:
> Hi all
> 
> Yesterday I reported a problem to lkml I observed with `dd' and ide cds:
> > For a number of years now I have duplicated cds using
> >   dd if=/dev/cdrom of=foo.iso
> >   cdrecord ... foo.iso
> > :
> > Today I tried the same trick under 2.4.18 and struck a problem: the kernel
> > would not read the complete CD image. ...
> 
> After further testing, it seems that turning off dma using "hdparm -d 0
> /dev/hdc" allows things to work as expected - the full disk can be read and
> the resulting image is intact.  It appears therefore that the problem may

Interesting.  When DMA is enabled does running 
    blockdev --setra 0 /dev/cdrom
make any difference?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

  reply	other threads:[~2002-09-03  7:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-02  5:27 Linux 2.4.18: short dd read from IDE cdrom Jonathan Woithe
2002-09-03  7:19 ` Jonathan Woithe
2002-09-03  7:35   ` Erik Andersen [this message]
2002-09-05  0:39     ` Jonathan Woithe

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=20020903073525.GA13386@codepoet.org \
    --to=andersen@codepoet.org \
    --cc=andre@linux-ide.org \
    --cc=axboe@suse.de \
    --cc=jwoithe@physics.adelaide.edu.au \
    --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