From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754837Ab2LLUjc (ORCPT ); Wed, 12 Dec 2012 15:39:32 -0500 Received: from smtprelay.restena.lu ([158.64.1.62]:36451 "EHLO smtprelay.restena.lu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754076Ab2LLUjb convert rfc822-to-8bit (ORCPT ); Wed, 12 Dec 2012 15:39:31 -0500 Date: Wed, 12 Dec 2012 21:39:09 +0100 From: Bruno =?UTF-8?B?UHLDqW1vbnQ=?= To: Jacek Poplawski Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: "attempt to access beyond end of device" on DVD Message-ID: <20121212213909.2a811c61@neptune.home> In-Reply-To: References: <20121212014109.38e18eeb@neptune.home> <20121212020348.0afa77e2@neptune.home> <20121212210434.5cadf42c@neptune.home> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.12; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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