Bug 6360 - eject -t gives spurious error message
eject -t gives spurious error message
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: eject (Show other bugs)
6.0
i386 Linux
low Severity low
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-25 20:38 EDT by jeastmond
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-12 22:14:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description jeastmond 1999-10-25 20:38:35 EDT
I've been using an parallel port HP7200e CD-ReWriter for a
while now with no problems.

One thing I do notice is when I issue the command:

eject -t /dev/pcd0

to close the CD tray it works fine but I get the message:

eject: CD-ROM tray close command failed: Operation not
permitted

I find that I still get the message even if I'm root.

The output from the pcd driver with verbose=2 is as follows.

When the driver module is first loaded I get:

pcd: pcd version 1.07, major 46, nice 0
pcd0: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
pcd0: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
pcd0: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
pcd0: 0x378 is parport0
pcd0: epat: port 0x378, mode 0, ccr 0, test=(256,0,0)
pcd0: epat: port 0x378, mode 1, ccr 40, test=(256,224,448)
pcd0: epat: port 0x378, mode 2, ccr 0, test=(256,0,0)
pcd0: epat: port 0x378, mode 3, ccr 0, test=(256,0,0)
pcd0: epat: port 0x378, mode 4, ccr 0, test=(256,0,0)
pcd0: epat: port 0x378, mode 5, ccr 0, test=(256,0,0)
pcd0: Sharing parport0 at 0x378
pcd0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5
(EPP-32), delay 1
pcd0: Reset (1) signature = 6f 6f 6f 6f 6f (incorrect)
pcd0: Reset (22) signature = 1 1 1 14 eb
pcd0: identify: Read 36 bytes
pcd0: Slave: CD-Writer+ 7200

When I issue eject /dev/pcd0 (giving no error message) I
get:

VFS: Disk change detected on device pcd(46,0)
pcd0: unlock door completion: alt=0x51 stat=0x51 err=0x60
loop=0 phase=3
pcd0: Request sense: Read 16 bytes
pcd0: unlock door: Sense key: 6, ASC: 29, ASQ: 0

When I issue eject -t /dev/pcd0 (giving the error message
decribed above) I get:

VFS: Disk change detected on device pcd(46,0)
pcd0: close tray completion: alt=0x51 stat=0x51 err=0x20
loop=94537
phase=3
pcd0: Request sense: Read 16 bytes
pcd0: close tray: Sense key: 2, ASC: 3a, ASQ: 0
Comment 1 Preston Brown 2000-01-12 22:14:59 EST
I believe this is a linux kernel driver bug, or a hardware bug.  Most CD-ROMS
have shoddy support for tray closing, at best.

Ignore it and be happy. :) Doesn't happen on the vast majority of drives.

Note You need to log in before you can comment on or make changes to this bug.