Subject: cd changers
To: None <current-users@netbsd.org>
From: Tom Javen <tomja@InnoTrac.fi>
List: current-users
Date: 01/17/1999 20:15:56
How do other cd changers handle the case when you try to load an empty
cdrom (i.e no cdrom)?

( i386 , current around 1.1.99, cdrom Alps 4X4 with position 2 empty)

linda:# chio -f /dev/rcd0d cdlu load 0
linda:# chio -f /dev/rcd0d cdlu load 1
linda:# chio -f /dev/rcd0d cdlu load 2
chio: /dev/rcd0d: CDIOCLOADUNLOAD: Input/output error
linda:# tail /var/log/messages
Jan 17 19:47:18 linda /netbsd: cd0(pciide0:0:1):  Check Condition on CDB:
0xa6 00 00 00 03 00 00 00 02 00 00 00
Jan 17 19:47:18 linda /netbsd:     SENSE KEY:  Not Ready
Jan 17 19:47:18 linda /netbsd:      ASC/ASCQ:  Logical Unit Not Ready,
Cause Not Reportable
Jan 17 19:47:18 linda /netbsd: 
linda:# chio -f /dev/rcd0d cdlu load 0
chio: /dev/rcd0d: open: Input/output error
linda:# chio -f /dev/rcd0d cdlu unload 2
chio: /dev/rcd0d: open: Input/output error
linda:# chio -f /dev/rcd0d cdlu abort   
chio: /dev/rcd0d: open: Input/output error
linda:# 

when I manually select some other slot from the front panel , it starts to
work again.


Tom

-- 
=============================+===========================
Tom Javen                    |   Innotrac Diagnostics Oy
email tom.javen@innotrac.fi  |   Finland
gsm   +358-40-5860532        |   phone +358-2-2410025
                             |   fax   +358-2-2410024
=============================+===========================