Re: dd: error reading '/dev/sr0': Input/output error

2018-12-11 Thread md
md wrote: > Using an old PATA-to-USB cable, I attached a 15 year old PATA DVD Drive to > the SATA based computer I've been using. With this drive (/dev/sr1), dd > seems to working fine without having to precede it with dvdbackup -M. Thomas Schmitt wrote: > But aren't those copied sectors still sc

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Thomas Schmitt
Hi, md wrote: > > libdvdread: Attempting to retrieve all CSS keys Pascal Hambourg wrote: > Didn't these messages about CSS keys ring a bell in anybody's mind ? In hindsight, yes. > Check the kernel logs with dmesg. This yielded a nice theory about libdvdcss and not going to jail. md wrote:

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread md
Using an old PATA-to-USB cable, I attached a 15 year old PATA DVD Drive to the SATA based computer I've been using. With this drive (/dev/sr1), dd seems to working fine without having to precede it with dvdbackup -M. In the dvdread README on github, I found this: '. If you attempt to read

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Pascal Hambourg
Le 10/12/2018 à 06:34, md a écrit : MD> sudo dd if=/dev/sr0 of=/sdb1/movie.iso 32596480 bytes (33 MB, 31 MiB) copied, 7.00018 s, 4.7 MB/s dd: error reading '/dev/sr0': Input/output error (...) MD> dvdbackup -M libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ t

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 12:57:46 md wrote: > In the scenarios when dd fails, the amount that dd reads before > failing varies from to movie dvd to movie dvd. At times dd will read > 400MB before failing. > > A few FWIW snippets: > dvdbackup 'fixes' the dd problem > xorriso doesn't 'fix' the dd

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Thomas Schmitt
Hi, md wrote: > [] sr 4:0:0:0: [sr0] tag#20 Sense Key : Illegal Request [current] > [] sr 4:0:0:0: [sr0] tag#20 Add. Sense: Read of scrambled sector without > authentication > [] sr 4:0:0:0: [sr0] tag#20 CDB: Read(10) 28 00 00 3b 23 c0 00 00 40 00 This is probably CSS access restriction. I gues

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread md
In the scenarios when dd fails, the amount that dd reads before failing varies from to movie dvd to movie dvd. At times dd will read 400MB before failing. A few FWIW snippets: dvdbackup 'fixes' the dd problem xorriso doesn't 'fix' the dd problem xorriso has similar problem to dd dvdbackup 'fixes'

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 04:37:10 Thomas Schmitt wrote: > Hi, > > Jude DaShiell wrote: > > Why not prefix that dd command with a sudo udevadm settle command > > and only allow the dd command to run on success case? > > man udevadm says: > > udevadm settle [options] >Watches the udev ev

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 04:11:28 Jude DaShiell wrote: > On Mon, 10 Dec 2018, Thomas Schmitt wrote: > > Date: Mon, 10 Dec 2018 02:45:43 > > From: Thomas Schmitt > > To: debian-user@lists.debian.org > > Cc: mickyd...@protonmail.com > > Subject: Re: dd: error

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 03:44:20 Thomas Schmitt wrote: > Hi, > > Gene Heskett wrote: > > > > Classic slow spinup. > > I wrote: > > > After 33 MiB of reading ? > > > > That much would would also invalidate the dry sliders theory > > There might well be mechanical or optical problems involved. As

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Thomas Schmitt
Hi, Jude DaShiell wrote: > Why not prefix that dd command with a sudo udevadm settle command and > only allow the dd command to run on success case? man udevadm says: udevadm settle [options] Watches the udev event queue, and exits if all current events are handled. We have no i

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Jude DaShiell
On Mon, 10 Dec 2018, Thomas Schmitt wrote: > Date: Mon, 10 Dec 2018 02:45:43 > From: Thomas Schmitt > To: debian-user@lists.debian.org > Cc: mickyd...@protonmail.com > Subject: Re: dd: error reading '/dev/sr0': Input/output error > Resent-Date: Mon, 10 Dec 2018 07:46:

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Thomas Schmitt
Hi, Gene Heskett wrote: > > > Classic slow spinup. I wrote: > > After 33 MiB of reading ? > That much would would also invalidate the dry sliders theory There might well be mechanical or optical problems involved. As said, the failure patterns of drives are variform. Thus my question whether d

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 02:45:43 Thomas Schmitt wrote: > Hi, > > md wrote: > > When copying a dvd to file on the harddrive, I'm getting [...] > > MD> sudo dd if=/dev/sr0 of=/sdb1/movie.iso > > 32596480 bytes (33 MB, 31 MiB) copied, 7.00018 s, 4.7 MB/s > > dd: error reading '/dev/sr0': Input/out

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 02:34:48 md wrote: > >> When copying a dvd to file on the harddrive, I'm getting the > >> message dd: error reading '/dev/sr0': Input/output error > >> If I first run dvdbackup, then Ctrl-C out of it. I can then reissue > >> the dd command and it will finish fine. If I e

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-09 Thread md
>> When copying a dvd to file on the harddrive, I'm getting the message >> dd: error reading '/dev/sr0': Input/output error >> If I first run dvdbackup, then Ctrl-C out of it. I can then reissue >> the dd command and it will finish fine. If I eject the dvd then insert >> another dvd, the same situa

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-09 Thread Thomas Schmitt
Hi, md wrote: > When copying a dvd to file on the harddrive, I'm getting [...] > MD> sudo dd if=/dev/sr0 of=/sdb1/movie.iso > 32596480 bytes (33 MB, 31 MiB) copied, 7.00018 s, 4.7 MB/s > dd: error reading '/dev/sr0': Input/output error Do you see fresh messages in the output of dmesg ? Like De

Re: dd: error reading '/dev/sr0': Input/output error

2018-12-09 Thread Gene Heskett
On Monday 10 December 2018 00:34:58 md wrote: > When copying a dvd to file on the harddrive, I'm getting the message > dd: error reading '/dev/sr0': Input/output error > If I first run dvdbackup, then Ctrl-C out of it. I can then reissue > the dd command and it will finish fine. If I eject the dvd