Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235171
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to reference xxxdvd1.iso in sources.list |
| Date | 2021-05-13 21:20 +0200 |
| Message-ID | <Cep2h-6WZ-1@gated-at.bofh.it> (permalink) |
| References | <Centv-5Xx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
Andrew M.A. Cater wrote:
> In practice, queuing up a few mount/umount/eject commands and then runnng
> the apt-get install commands or whatever by using an up arrow command to
> repeat wasn't a problem.
How did you work around the tray loading bug ?
The Linux kernel lost the ability to wait for the CD-ROM drive to become
ready after a new medium was loaded. Symptom is e.g. that mount lets the
drive load the tray, but then immediately errors out by:
mount: no medium found on /dev/sr0
The regression was probably introduced in 2008 to kernel 2.4 by commit
210ba1d1724f ("[SCSI] sr: update to follow tray status correctly"). Since
then the user has to do the waiting and let most software know when it is ok
to try reading from the drive.
A workaround is to use a burn program to load the tray. Such programs wait
independently of the kernel until the drive is ready before they begin to
further inquire its state. Like
xorriso -outdev /dev/sr0 ; mount /dev/sr0 /mnt/cdrom
Have a nice day :)
Thomas
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-12 21:50 +0200
Re: How to reference xxxdvd1.iso in sources.list Richard Owlett <rowlett@cloud85.net> - 2021-05-13 11:40 +0200
Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 12:00 +0200
Re: How to reference xxxdvd1.iso in sources.list "Thomas Schmitt" <scdbackup@gmx.net> - 2021-05-13 12:50 +0200
Re: How to reference xxxdvd1.iso in sources.list Richard Owlett <rowlett@cloud85.net> - 2021-05-13 13:50 +0200
Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 15:40 +0200
Re: How to reference xxxdvd1.iso in sources.list David Wright <deblis@lionunicorn.co.uk> - 2021-05-13 17:10 +0200
Re: How to reference xxxdvd1.iso in sources.list Richard Owlett <rowlett@cloud85.net> - 2021-05-13 17:10 +0200
Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 17:20 +0200
Re: How to reference xxxdvd1.iso in sources.list "Andrew M.A. Cater" <amacater@einval.com> - 2021-05-13 17:50 +0200
Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 19:00 +0200
Re: How to reference xxxdvd1.iso in sources.list "Andrew M.A. Cater" <amacater@einval.com> - 2021-05-13 19:40 +0200
Re: How to reference xxxdvd1.iso in sources.list "Thomas Schmitt" <scdbackup@gmx.net> - 2021-05-13 21:20 +0200
Re: How to reference xxxdvd1.iso in sources.list <tomas@tuxteam.de> - 2021-05-13 21:20 +0200
csiph-web