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


Groups > linux.debian.user > #185575 > unrolled thread

DVD won't eject after playing DVD

Started byRob van der Putten <rob@sput.nl>
First post2017-08-20 18:10 +0200
Last post2017-08-25 11:50 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  DVD won't eject after playing DVD Rob van der Putten <rob@sput.nl> - 2017-08-20 18:10 +0200
    Re: DVD won't eject after playing DVD "Thomas Schmitt" <scdbackup@gmx.net> - 2017-08-20 19:40 +0200
      Re: DVD won't eject after playing DVD Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-20 20:30 +0200
        Re: DVD won't eject after playing DVD "Thomas Schmitt" <scdbackup@gmx.net> - 2017-08-20 21:00 +0200
    Re: DVD won't eject after playing DVD Rob van der Putten <rob@sput.nl> - 2017-08-25 11:50 +0200

#185575 — DVD won't eject after playing DVD

FromRob van der Putten <rob@sput.nl>
Date2017-08-20 18:10 +0200
SubjectDVD won't eject after playing DVD
Message-ID<ugAXv-Ka-1@gated-at.bofh.it>
Hi there


An other bit stretch 'weirdness':
After playing a DVD with VLC, the eject button is dysfunctional and I 
have to type 'eject' on the command line to get it to eject.
How do I fix this?


Regards,
Rob

[toc] | [next] | [standalone]


#185587

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2017-08-20 19:40 +0200
Message-ID<ugCmC-1uD-17@gated-at.bofh.it>
In reply to#185575
Hi,

Rob van der Putten wrote:
> An other bit stretch 'weirdness':
> After playing a DVD with VLC, the eject button is dysfunctional and I have
> to type 'eject' on the command line to get it to eject.

This is one of the kernel regressions since 2.6. I already experience it
on kernel 3.16 of Jessie. After the block device layer read from the medium,
the tray is locked. This does not happen if one reads by SCSI commands via
ioctl(SG_IO).

Technically, it must be a forgotten PREVENT ALLOW MEDIA REMOVAL setting.
Burn programs or program "eject" send the necessary revoking command before
sending START/STOP UNIT with Eject bit.

(Didn't you experience its counterpart, the inability to wait for the
 drive to become ready after a read attempt loaded the tray automatically ?)


> How do I fix this?

Bring me a kernel developer who is willing to review proposals about
optical drives and has the standing to get them committed.
Then i'd go looking for the exact cause, if it is not known already.
It is futile to start research as long as intellectual dumplings like
  http://marc.info/?l=linux-scsi&m=135705061804384&w=2
or
  http://marc.info/?l=linux-scsi&m=145666692729714&w=2
are ignored.

As for workarounds, you already found program "eject". (For loading the tray
and waiting long enoug, use a burn program run which inspects the medium.)


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#185593

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2017-08-20 20:30 +0200
Message-ID<ugD90-22z-3@gated-at.bofh.it>
In reply to#185587

[Multipart message — attachments visible in raw view] — view raw

On 2017-08-20 19:30 +0200 "Thomas Schmitt" <scdbackup@gmx.net> wrote:
>It is futile to start research as long as intellectual dumplings like
>  http://marc.info/?l=linux-scsi&m=135705061804384&w=2
>or
>  http://marc.info/?l=linux-scsi&m=145666692729714&w=2
>are ignored.

<http://marc.info/> appears to be down.

-- 
Do not eat animals, respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

[toc] | [prev] | [next] | [standalone]


#185595

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2017-08-20 21:00 +0200
Message-ID<ugDC2-2cd-15@gated-at.bofh.it>
In reply to#185593
Hi,

Mario Castelán Castro wrote:
> http://marc.info/ appears to be down.

Not for me. But there are other archives

  https://www.spinics.net/lists/linux-scsi/msg63706.html
  "[PATCH] [SCSI] sr: Fix multi-drive performance by using per-device mutexes"

I'd just remove the mutexes on SG_IO. I'm using multiple drives via
/dev/sg* since more than a year. sg never had the Big Kernel Lock which
was replaced by a heavy handed mutex in 2010 during a drive-by programming
effort.

  https://www.spinics.net/lists/linux-scsi/msg94638.html
  "sr: Failures to read TAO CD track ends"

Meanwhile at least blkid became fixed to work around the kernel insufficiency.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#185897

FromRob van der Putten <rob@sput.nl>
Date2017-08-25 11:50 +0200
Message-ID<uijpw-2m3-1@gated-at.bofh.it>
In reply to#185575
Hi there


On 20/08/17 17:59, Rob van der Putten wrote:

> An other bit stretch 'weirdness':
> After playing a DVD with VLC, the eject button is dysfunctional and I 
> have to type 'eject' on the command line to get it to eject.

Found an other one;
File type icons are missing in a file listing. ^L fixes this.

> How do I fix this?


Regards,
Rob

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web