public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: "Bryan O'Sullivan" <bos@serpentine.com>
Cc: Arjan van de Ven <arjanv@redhat.com>,
	Dave Jones <davej@redhat.com>,
	Edward Angelo Dayao <edward.dayao@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Recent 2.6 kernels can't read an entire ATAPI CD or DVD
Date: Thu, 29 Jul 2004 10:49:29 +0200	[thread overview]
Message-ID: <20040729084928.GR10377@suse.de> (raw)
In-Reply-To: <1091051858.13651.1.camel@camp4.serpentine.com>

On Wed, Jul 28 2004, Bryan O'Sullivan wrote:
> On Wed, 2004-07-28 at 19:05 +0200, Jens Axboe wrote:
> 
> > On this thread, I agree it's
> > probably a kernel issue. Can you check what capacity isosize gives you
> > on the device, and what /proc/ide/hdc/capacity tells you?
> 
> This is a basically unpatched 2.6.7 kernel:
> 
> ~ # uname -a
> Linux abcd.serpentine.com 2.6.7-1.1791-up #1 Sat Jul 10 14:22:15 PDT
> 2004 i686 athlon i386 GNU/Linux
> 
> ~ # isosize /dev/hdc
> 8164939776
> 
> ~ # cat /proc/ide/hdc/capacity
> 15947148

Looks pretty perfect, maybe it's read-ahead screwing it up. Try if
setting hdparm -a0 /dev/hdc makes a difference.

-- 
Jens Axboe


  reply	other threads:[~2004-07-29  8:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28  4:30 Recent 2.6 kernels can't read an entire ATAPI CD or DVD Bryan O'Sullivan
2004-07-28  5:31 ` Jens Axboe
2004-07-28  6:51   ` Edward Angelo Dayao
2004-07-28  6:53     ` Jens Axboe
2004-07-28 14:52       ` Dave Jones
2004-07-28 14:55         ` Arjan van de Ven
2004-07-28 16:33           ` Jens Axboe
2004-07-28 17:05             ` Jens Axboe
2004-07-28 21:57               ` Bryan O'Sullivan
2004-07-29  8:49                 ` Jens Axboe [this message]
2004-07-30  5:49                   ` Robert Love
2004-07-30  5:53                     ` Jens Axboe
2004-07-30  5:57                       ` Robert Love
2004-07-30  6:10                         ` Jens Axboe
2004-07-30  6:26                           ` Prakash K. Cheemplavam
2004-07-30  6:30                             ` Robert Love
2004-07-30  6:39                               ` Jens Axboe
2004-07-30  6:28                           ` Robert Love
2004-07-30  6:38                             ` Jens Axboe
2004-07-30 15:33                               ` Robert Love
2004-08-01  5:29                       ` Bryan O'Sullivan
2004-07-28 16:53         ` Claudio Martins
  -- strict thread matches above, loose matches on Subject: below --
2004-08-01 17:30 Lukas Hejtmanek

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=20040729084928.GR10377@suse.de \
    --to=axboe@suse.de \
    --cc=arjanv@redhat.com \
    --cc=bos@serpentine.com \
    --cc=davej@redhat.com \
    --cc=edward.dayao@gmail.com \
    --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