Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203219

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

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: dd: error reading '/dev/sr0': Input/output error
Date 2018-12-10 10:40 +0100
Message-ID <x3qcF-16d-1@gated-at.bofh.it> (permalink)
References <x3pTj-ZF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 indication yet that the udev event queue is involved.
(I'd also say that udev traditionally makes additional trouble rather than
 preventing some.)

---------------------------------------------------------------------------
Off topic again:
(If dd can read 33 MiB, then it is not a start-up problem.)

The known impatience of Linux with automatic tray loading can be worked
around by pulling in the tray with a burn program (eject -t falls victim
to the kernel impatience).
I use:

  xorriso -outdev /dev/sr0

before trying to read the medium by POSIX i/o like dd(1) or read(2).


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

dd: error reading '/dev/sr0': Input/output error md <mickydean@protonmail.com> - 2018-12-10 07:00 +0100
  Re: dd: error reading '/dev/sr0': Input/output error Gene Heskett <gheskett@shentel.net> - 2018-12-10 07:50 +0100
  Re: dd: error reading '/dev/sr0': Input/output error "Thomas Schmitt" <scdbackup@gmx.net> - 2018-12-10 08:50 +0100
    Re: dd: error reading '/dev/sr0': Input/output error Gene Heskett <gheskett@shentel.net> - 2018-12-10 09:30 +0100
      Re: dd: error reading '/dev/sr0': Input/output error "Thomas Schmitt" <scdbackup@gmx.net> - 2018-12-10 09:50 +0100
        Re: dd: error reading '/dev/sr0': Input/output error Gene Heskett <gheskett@shentel.net> - 2018-12-10 14:00 +0100
    Re: dd: error reading '/dev/sr0': Input/output error Jude DaShiell <jdashiel@panix.com> - 2018-12-10 10:20 +0100
      Re: dd: error reading '/dev/sr0': Input/output error "Thomas Schmitt" <scdbackup@gmx.net> - 2018-12-10 10:40 +0100
        Re: dd: error reading '/dev/sr0': Input/output error Gene Heskett <gheskett@shentel.net> - 2018-12-10 14:30 +0100
      Re: dd: error reading '/dev/sr0': Input/output error Gene Heskett <gheskett@shentel.net> - 2018-12-10 14:10 +0100
  Re: dd: error reading '/dev/sr0': Input/output error Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-12-10 20:50 +0100

csiph-web