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

From: Jacek Poplawski
Date: Tue Dec 11 2012 - 21:00:08 EST


> 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/