From: Jens Axboe <axboe@suse.de>
To: slindber@uiuc.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Problem]: "access beyond end" of DVD-R
Date: Wed, 24 Mar 2004 11:17:17 +0100 [thread overview]
Message-ID: <20040324101717.GL3377@suse.de> (raw)
In-Reply-To: <21ddee39.25333f6f.81c3b00@expms3.cites.uiuc.edu>
On Mon, Mar 22 2004, slindber@uiuc.edu wrote:
> attempt to access beyond end of device
> hdc: rw=0, want=8174536, limit=8123200
> Buffer I/O error on device hdc, logical block 2043633
>
> There are more attempt to "access beyond end of device" messages, but
> they are similar so I've snipped them.
>
> I've had this problem on every kernel I've used (2.4.22 and 2.6.3 from
> gentoo, and 2.6.4-rc1-mm1). I've had it with three different discs,
> ISO, ISO/UDF, and UDF only (the output comes from the last disc). The
> entire disc is readable in Windows.
Does this make a difference for you (2.6 patch)?
===== drivers/ide/ide-cd.c 1.75 vs edited =====
--- 1.75/drivers/ide/ide-cd.c Tue Mar 16 09:39:41 2004
+++ edited/drivers/ide/ide-cd.c Wed Mar 24 11:16:22 2004
@@ -2372,7 +2372,7 @@
/* Now try to get the total cdrom capacity. */
stat = cdrom_get_last_written(cdi, &last_written);
- if (!stat && last_written) {
+ if (!stat && (last_written > toc->capacity)) {
toc->capacity = last_written;
set_capacity(drive->disk, toc->capacity * sectors_per_frame);
}
--
Jens Axboe
next prev parent reply other threads:[~2004-03-24 10:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-22 19:16 [Problem]: "access beyond end" of DVD-R slindber
2004-03-24 10:17 ` Jens Axboe [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-24 19:56 Shawn Lindberg
2004-03-25 22:44 Shawn Lindberg
2004-03-26 8:19 ` Jens Axboe
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=20040324101717.GL3377@suse.de \
--to=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=slindber@uiuc.edu \
/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