On one of my FreeBSD 9 machines, 'cdcontrol eject' works fine but
'cdcontrol close' fails.  Any ideas on the cause? (I have never seen
anything like this on other machines, in any FreeBSD release.)

Starting from the closed tray and seeing a successful physical eject:

----------------------------------------
dmesg > /tmp/d1; id -u; uname -r; for c in close eject close; do
cmd="cdcontrol $c"; echo == $cmd; $cmd && echo 'OK' || echo 'not OK';
done; dmesg > /tmp/d2; diff /tmp/d1 /tmp/d2
0
9.0-STABLE
== cdcontrol close
cdcontrol: Invalid argument
not OK
== cdcontrol eject
OK
== cdcontrol close
cdcontrol: Invalid argument
not OK
618a619,626
> (cd0:ata0:0:0:0): START STOP UNIT. CDB: 1b 0 0 0 3 0
> (cd0:ata0:0:0:0): CAM status: SCSI Status Error
> (cd0:ata0:0:0:0): SCSI status: Check Condition
> (cd0:ata0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
> (cd0:ata0:0:0:0): START STOP UNIT. CDB: 1b 0 0 0 3 0
> (cd0:ata0:0:0:0): CAM status: SCSI Status Error
> (cd0:ata0:0:0:0): SCSI status: Check Condition
> (cd0:ata0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
----------------------------------------

-- Alex -- [email protected] --
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to