Re: "attempt to access beyond end of device" on DVD

From: Bruno PrÃmont
Date: Wed Dec 12 2012 - 15:39:20 EST


On Wed, 12 December 2012 Jacek Poplawski wrote:
> On 12/12/12, Bruno PrÃmont wrote:
> > On Wed, 12 December 2012 Jacek Poplawski wrote:
> >> OK, I was wrong previously.
> >>
> >> I don't need to reload sr_mod, I only need to remount DVD.
> >>
> >> The reason I was wrong is I was suspecting that DVD remounts itself
> >> after eject, but looks like it doesn't. Also it means that the problem
> >> is different than 3 years ago, because I am sure I was remounting DVD
> >> by hand and now I use some automount feature of Arch Linux / GNOME3.
> >
> > What kind of filesystem do you have on your CD/DVDs?
>
> I backup files with k3b with default settings, so it is iso9660.
>
> However I don't fully understand how this automount works, I am afraid
> this problem it may be related to this mechanism. When I insert first
> DVD it's mounted and when I remove DVD and put another one it's still
> mounted as before, so maybe driver is confused and still thinks the
> size of the DVD is like the first one.

Usually you have to unmount CD/DVD to be able to eject it (otherwise tray
is locked).
I never used automount myself so I can't tell, tough I would expect it to
catch "eject" request, unmount and then eject the disc.

Bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/