Date: Thu, 22 Mar 2012 11:30:38 -0400 From: Alex Goncharov <alex-goncharov@comcast.net> To: freebsd-stable@freebsd.org Subject: cdcontrol close: Invalid argument Message-ID: <E1SAjyI-000Ned-1v@hans3>
next in thread | raw e-mail | index | archive | help
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 -- alex-goncharov@comcast.net --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SAjyI-000Ned-1v>