* Re: "attempt to access beyond end of device" on DVD [not found] ` <CAGDELX6CPevOq8EowLu1GUwiS6Yw4vjOz3S2AOewFBbt0pC_dw@mail.gmail.com> @ 2012-12-12 20:04 ` Bruno Prémont 2012-12-12 20:23 ` Jacek Poplawski 0 siblings, 1 reply; 3+ messages in thread From: Bruno Prémont @ 2012-12-12 20:04 UTC (permalink / raw) To: Jacek Poplawski; +Cc: linux-kernel, linux-fsdevel On Wed, 12 December 2012 Jacek Poplawski <jacekpoplawski@gmail.com> 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 <jacekpoplawski@gmail.com> 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). > > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "attempt to access beyond end of device" on DVD 2012-12-12 20:04 ` "attempt to access beyond end of device" on DVD Bruno Prémont @ 2012-12-12 20:23 ` Jacek Poplawski 2012-12-12 20:39 ` Bruno Prémont 0 siblings, 1 reply; 3+ messages in thread From: Jacek Poplawski @ 2012-12-12 20:23 UTC (permalink / raw) To: Bruno Prémont; +Cc: linux-kernel, linux-fsdevel On 12/12/12, Bruno Prémont <bonbons@linux-vserver.org> wrote: > On Wed, 12 December 2012 Jacek Poplawski <jacekpoplawski@gmail.com> 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "attempt to access beyond end of device" on DVD 2012-12-12 20:23 ` Jacek Poplawski @ 2012-12-12 20:39 ` Bruno Prémont 0 siblings, 0 replies; 3+ messages in thread From: Bruno Prémont @ 2012-12-12 20:39 UTC (permalink / raw) To: Jacek Poplawski; +Cc: linux-kernel, linux-fsdevel 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-12 20:39 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CAGDELX7f-Ee-V_M8kbDONRFCTBbZM2H_Q17Bk_12r4xw85Wq4Q@mail.gmail.com> [not found] ` <20121212014109.38e18eeb@neptune.home> [not found] ` <CAGDELX6rtztDzQobfaUNB2iZSyxGL9vzu5mM4sG7bDip=SaBag@mail.gmail.com> [not found] ` <20121212020348.0afa77e2@neptune.home> [not found] ` <CAGDELX6L89ux2TXJLnm5aC2zNdSqQDZws+c5-OA0Xbtkt7Nw5g@mail.gmail.com> [not found] ` <CAGDELX6CPevOq8EowLu1GUwiS6Yw4vjOz3S2AOewFBbt0pC_dw@mail.gmail.com> 2012-12-12 20:04 ` "attempt to access beyond end of device" on DVD Bruno Prémont 2012-12-12 20:23 ` Jacek Poplawski 2012-12-12 20:39 ` Bruno Prémont
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).