From owner-freebsd-stable@FreeBSD.ORG Thu Mar 22 15:31:49 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CC0E1065670 for ; Thu, 22 Mar 2012 15:31:49 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id CE3298FC1F for ; Thu, 22 Mar 2012 15:31:47 +0000 (UTC) Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta14.westchester.pa.mail.comcast.net with comcast id ofBQ1i00G1uE5Es5EfWfar; Thu, 22 Mar 2012 15:30:39 +0000 Received: from hans3 ([66.30.197.229]) by omta16.westchester.pa.mail.comcast.net with comcast id ofWf1i00h4xSlmi3cfWfxJ; Thu, 22 Mar 2012 15:30:39 +0000 Received: from algo by hans3 with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SAjyI-000Ned-1v for freebsd-stable@freebsd.org; Thu, 22 Mar 2012 11:30:38 -0400 From: Alex Goncharov To: freebsd-stable@freebsd.org Message-Id: Sender: Alex Goncharov Date: Thu, 22 Mar 2012 11:30:38 -0400 Subject: cdcontrol close: Invalid argument X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 15:31:49 -0000 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 --