Subject: port-i386/7345: "eject -l" with empty tray produces confusing error message
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Havard.Eidnes@runit.sintef.no>
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
>Last-Modified:
>Originator: Havard Eidnes
>Organization:
RUNIT AS
>Release: NetBSD-1.4ALPHA 19990407
>Environment:
NetBSD vever.runit.sintef.no 1.4_ALPHA NetBSD 1.4_ALPHA (VEVER) #4: Thu Apr 8 14:34:24 MEST 1999 he@vever.runit.sintef.no:/usr/src/sys/arch/i386/compile/VEVER i386
>Description:
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
vever#
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
>How-To-Repeat:
See above.
>Fix:
Sorry, don't know.
>Audit-Trail:
>Unformatted: