From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruno =?UTF-8?B?UHLDqW1vbnQ=?= Subject: Re: "attempt to access beyond end of device" on DVD Date: Wed, 12 Dec 2012 21:04:34 +0100 Message-ID: <20121212210434.5cadf42c@neptune.home> References: <20121212014109.38e18eeb@neptune.home> <20121212020348.0afa77e2@neptune.home> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Jacek Poplawski Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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? [CCing linux-fsdevel as it seems like it may be a isofs or udf issue] Bruno > On 12/12/12, Jacek Poplawski wrote: > >> Did you check if unbinding drivers or unloading their modules has the > >> same effect as rebooting? That might help narrowing the area of code to > >> look at. > > > > You were right. > > I unmounted the DVD, then removed module sr_mod, reloaded it, inserted > > DVD again and copied missing files, now they are OK. > > > > > >> While at it, please tell us how your CD/DVD drive is connected and which > >> controller it's connected to (relevant dmesg parts). > > > > [ 0.893465] ata5.00: ATAPI: Optiarc DVD RW AD-7203S, 1.05, max UDMA/100 > > [ 0.906796] ata5.00: configured for UDMA/100 > > (...) > > [ 1.232096] scsi 4:0:0:0: CD-ROM Optiarc DVD RW > > AD-7203S 1.05 PQ: 0 ANSI: 5 > > (...) > > [ 897.871546] sr0: scsi3-mmc drive: 125x/125x writer dvd-ram cd/rw > > xa/form2 cdda tray > > [ 897.871726] sr 4:0:0:0: Attached scsi CD-ROM sr0 > > > > I don't have other devices to test (and haven't tried loop device). > >