Re: "attempt to access beyond end of device" on DVD
From: Jacek Poplawski
Date: Tue Dec 11 2012 - 21:46:32 EST
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.
On 12/12/12, Jacek Poplawski <jacekpoplawski@xxxxxxxxx> 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).
>
--
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/