From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: Jacek Poplawski <jacekpoplawski@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: "attempt to access beyond end of device" on DVD
Date: Wed, 12 Dec 2012 01:41:09 +0100 [thread overview]
Message-ID: <20121212014109.38e18eeb@neptune.home> (raw)
In-Reply-To: <CAGDELX7f-Ee-V_M8kbDONRFCTBbZM2H_Q17Bk_12r4xw85Wq4Q@mail.gmail.com>
Hello,
On Mon, 10 December 2012 Jacek Poplawski <jacekpoplawski@gmail.com> wrote:
> few years ago I noticed annoying bug on Linux, when I was copying
> photos from old DVDs I realized that not all files were copied
> correctly, there were errors on last files on DVD, you could say "well
> that happens, DVD are faulty", but that's not the real issue
>
> when the problem appears it happens on each DVD I am trying to copy,
> last files on each disk have errors....
>
> ...until I reboot Linux, then there are no errors at all and full DVD
> is copied correctly.
>
> Now I needed some files from DVDs and I realized the problem still
> exists. After at least three years. I verified that reboot helps and I
> also noticed the problem doesn't exist on Windows 7.
>
> And looks like I wasn't only one who found this:
>
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404472
>
> Problem was reported in 2009 on 2.6.28 and closed in 2012. But I
> noticed it in last days.
>
> my system is:
>
> Linux version 3.6.8-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.2 (GCC)
> ) #1 SMP PREEMPT Mon Nov 26 22:10:40 CET 2012
>
> dmesg:
>
> [ 4017.384169] attempt to access beyond end of device
> [ 4017.384171] sr0: rw=0, want=8511124, limit=8433216
> [ 4017.384174] attempt to access beyond end of device
> [ 4017.384175] sr0: rw=0, want=8510876, limit=8433216
>
> I suspect that people just stopped using CDs and DVDs and that's why
> nobody was looking on this problem, or maybe the first though was
> always "that DVD is broken, trash it".
>
> Is there more information I could give you about this issue? Or could
> you point me to any ways I could debug it? It's fully reproducible on
> my system.
Hm, could it be related to some kind of read-ahead? I vaguely remember
seeing mails about read-ahead and/or end-of-device. Could this be somehow
related?
See:
- https://lkml.org/lkml/2012/12/3/497
- https://lkml.org/lkml/2012/12/3/510
This applies to 3.7-rc but according to the thread it might still
have some interesting things that could be related to what you are seeing.
When it happens, does ejecting and re-inserting the CDs/DVDs also fix the
problem or is a full reboot mandatory?
Bruno
next prev parent reply other threads:[~2012-12-12 0:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-10 0:17 "attempt to access beyond end of device" on DVD Jacek Poplawski
2012-12-12 0:41 ` Bruno Prémont [this message]
2012-12-12 0:47 ` Jacek Poplawski
2012-12-12 1:03 ` Bruno Prémont
2012-12-12 1:38 ` Jacek Poplawski
2012-12-12 2:40 ` Jacek Poplawski
2012-12-12 20:04 ` Bruno Prémont
2012-12-12 20:23 ` Jacek Poplawski
2012-12-12 20:39 ` Bruno Prémont
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=20121212014109.38e18eeb@neptune.home \
--to=bonbons@linux-vserver.org \
--cc=jacekpoplawski@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