Bug #1669

Drive wont open using button

Added by elekktretterr almost 5 years ago. Updated almost 3 years ago.

Status:In ProgressStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hi,

I have "problem" that started with devfs. When you start the system with a
CD in the drive, you can't then remove the disk by pressing the "open"
button on the drive. The CD is definately not mounted as it is an audio
CD.

I then have to open it by using cdcontrol -f /dev/acd0 and eject.

This isnt urgent by any means, just a little bizarre.

Thanks,
Petr

History

#1 Updated by dillon almost 5 years ago

:Hi,
:
:I have "problem" that started with devfs. When you start the system with a
:CD in the drive, you can't then remove the disk by pressing the "open"
:button on the drive. The CD is definately not mounted as it is an audio
:CD.
:
:I then have to open it by using cdcontrol -f /dev/acd0 and eject.
:
:This isnt urgent by any means, just a little bizarre.
:
:Thanks,
:Petr

The kernel can tell the CD drive not to accept button opens, which
it does when it thinks a program or filesysteme has opened it.
Some of that logic must have gotten messed up somewhere.

-Matt
Matthew Dillon
<>

#2 Updated by phma almost 5 years ago

I am experiencing the same bug.

#3 Updated by elekktretterr over 4 years ago

This is still an issue as of 26th match.

Petr

#4 Updated by alexh almost 3 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee deleted (0)

If anyone still experiences this bug on a nata CD drive (i.e. if you have /dev/acd0), please apply the following patch and report a dmesg with the applied patch.

http://leaf.dragonflybsd.org/~alexh/atapi_cd_lock_debug.patch

Cheers,
Alex

Also available in: Atom PDF