From: Pascal Schmidt <der.eremit@email.de>
To: Jens Axboe <axboe@suse.de>
Cc: Con Kolivas <kernel@kolivas.org>,
Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>
Subject: Re: [OT] Who has record no. of DriveReady SeekComplete DataRequest errors?
Date: Sun, 6 Jun 2004 14:11:57 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.58.0406061408090.202@neptune.local> (raw)
In-Reply-To: <20040606092825.GD2733@suse.de>
On Sun, 6 Jun 2004, Jens Axboe wrote:
> Interesting, and 2.6.2 works flawlessly? The only change in 2.6.3 wrt
> ide-cd is the addition of the != 2kB sector size support from Pascal
> Schmidt. A quick guess would be that blocklen isn't set, does this
> change anything for you?
Hmmm, another thing that just occured to me is that maybe some broken
drive might return the raw sector size, despite what the standard says.
> ===== drivers/ide/ide-cd.c 1.83 vs edited =====
> --- 1.83/drivers/ide/ide-cd.c 2004-05-29 19:04:42 +02:00
> +++ edited/drivers/ide/ide-cd.c 2004-06-06 11:27:51 +02:00
> @@ -2205,6 +2205,8 @@
> *capacity = 1 + be32_to_cpu(capbuf.lba);
> *sectors_per_frame =
> be32_to_cpu(capbuf.blocklen) >> SECTOR_BITS;
> + if (*sectors_per_frame == 0)
> + *sectors_per_frame = SECTORS_PER_FRAME;
> }
>
> return stat;
If this turns out to be the cause, maybe we should check that blocklen
isn't 0 and divisible by 512.
--
Ciao,
Pascal
next prev parent reply other threads:[~2004-06-06 12:12 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-05 14:07 Con Kolivas
2004-06-05 14:24 ` Jan Dittmer
2004-06-06 9:28 ` Jens Axboe
2004-06-06 10:38 ` Con Kolivas
2004-06-06 10:58 ` Jens Axboe
2004-06-06 11:05 ` Con Kolivas
2004-06-06 11:10 ` Jens Axboe
2004-06-06 11:37 ` Con Kolivas
2004-06-06 11:51 ` Con Kolivas
2004-06-06 12:11 ` Pascal Schmidt [this message]
2004-06-06 20:39 ` Jens Axboe
2004-06-06 23:06 ` Con Kolivas
2004-06-07 0:21 ` Grant Byers
2004-06-07 7:24 ` Jens Axboe
2004-06-07 9:18 ` Con Kolivas
2004-06-07 9:36 ` Jens Axboe
2004-06-07 9:50 ` Con Kolivas
2004-06-07 9:54 ` Jens Axboe
2004-06-07 10:08 ` Con Kolivas
2004-06-07 10:17 ` Jens Axboe
2004-06-07 10:29 ` Con Kolivas
2004-06-07 10:33 ` Jens Axboe
2004-06-07 16:29 ` Jens Axboe
2004-06-07 17:59 ` Jan Dittmer
2004-06-07 18:06 ` Jens Axboe
2004-06-08 13:50 ` Con Kolivas
2004-06-05 18:01 Steve Lee
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=Pine.LNX.4.58.0406061408090.202@neptune.local \
--to=der.eremit@email.de \
--cc=axboe@suse.de \
--cc=kernel@kolivas.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®