Subject: port-i386/7345: "eject -l" with empty tray produces confusing error message
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/08/1999 15:00:33
>Number:         7345
>Category:       port-i386
>Synopsis:       eject -l with empty tray causes confusing error message
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr  8 06:05:00 1999
>Originator:     Havard Eidnes
>Release:        NetBSD-1.4ALPHA 19990407
NetBSD 1.4_ALPHA NetBSD 1.4_ALPHA (VEVER) #4: Thu Apr  8 14:34:24 MEST 1999 i386

	doing "eject -l" with an empty CD-ROM drive (just to close the
tray) produces the following rather confusing error message:

vever# eject -l cdrom
eject: ioctl: CDIOCCLOSE: /dev/rcd0d: Operation not supported by device

Of course the driver supported retracting the tray and closing the
door.  I don't think it should complain so bitterly and cryptically,
though, that there is no media in the tray.

At the same time this message is logged in the kernel log:

cd0(pciide0:1:1): not ready, data = 00 00 00 00 3a 00 00 00 00 00

	See above.
	Sorry, don't know.