From owner-freebsd-current@FreeBSD.ORG Thu Feb 25 23:15:01 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46C1D106566B; Thu, 25 Feb 2010 23:15:01 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp21.orange.fr (smtp21.orange.fr [80.12.242.46]) by mx1.freebsd.org (Postfix) with ESMTP id D859C8FC0A; Thu, 25 Feb 2010 23:15:00 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2128.orange.fr (SMTP Server) with ESMTP id 3100A20007E2; Fri, 26 Feb 2010 00:14:55 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2128.orange.fr (SMTP Server) with ESMTP id 2406F2000833; Fri, 26 Feb 2010 00:14:55 +0100 (CET) Received: from localhost (AToulouse-553-1-167-141.w92-156.abo.wanadoo.fr [92.156.111.141]) by mwinf2128.orange.fr (SMTP Server) with ESMTP id 45F7920007E2; Fri, 26 Feb 2010 00:14:54 +0100 (CET) X-ME-UUID: 20100225231454286.45F7920007E2@mwinf2128.orange.fr Message-ID: <4B87046C.80308@orange.fr> Date: Fri, 26 Feb 2010 00:14:52 +0100 From: Claude Buisson User-Agent: Thunderbird 2.0.0.23 (X11/20091001) MIME-Version: 1.0 To: Alexander Motin References: <1267114982.00223400.1267102202@10.7.7.3> <4B86DAD4.1050607@FreeBSD.org> In-Reply-To: <4B86DAD4.1050607@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: ATA CDROM no more detected with ATA_CAM under VMWare WS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 23:15:01 -0000 Alexander Motin wrote: > Claude Buisson wrote: >> Updating a -CURRENT system from Jan 10 to Feb 21, under VMWare WS 5.5.9, >> the >> virtual ATA CDROM is no more detected. >> This is with an ATA_CAM kernel. >> >> The CDROM is detected with a non ATA_CAM kernel. >> >> ata1: reset tp1 mask=01 ostat0=50 ostat1=ff >> ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb >> ata1: reset tp2 stat0=00 stat1=00 devices=0x10000 >> (aprobe0:ata1:0:0:0): SIGNATURE: eb14 >> (aprobe0:ata1:0:0:0): Spinning up device >> (aprobe0:ata1:0:0:0): ATA status error >> (aprobe0:ata1:0:0:0): SETFEATURES SPIN-UP. ACB: ef 07 00 00 00 40 00 00 >> 00 00 00 00 >> (aprobe0:ata1:0:0:0): CAM status: ATA Status Error >> (aprobe0:ata1:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) >> (aprobe0:ata1:0:0:0): RES: 51 04 00 00 00 00 00 00 00 00 00 >> (aprobe0:ata1:0:0:0): Retrying command > > Seems device reports Response Incomplete bit set in IDENTIFY PACKET > DEVICE command result, which makes CAM try to power it up. Could you > comment ATA_RESP_INCOMPLETE check in ata_xpt.c and show me result of > `camcontrol identify cd0 -v` output after it? > Here it is: root@zaza# camcontrol identify cd0 -v pass1: Raw identify data: 0: 85c4 0000 0000 0000 0000 0000 0000 0000 8: 0000 0000 3130 3030 3030 3030 3030 3030 16: 3030 3030 3030 3031 0000 0040 0000 3030 24: 3030 3030 3031 564d 7761 7265 2056 6972 32: 7475 616c 2049 4445 2043 4452 4f4d 2044 40: 7269 7665 2020 2020 2020 2020 2020 0000 48: 0000 0f00 0000 0200 0200 0006 0000 0000 56: 0000 0000 0000 0000 0000 0000 0007 0007 64: 0003 0078 0078 0078 0078 0000 0000 0000 72: 0000 0004 0009 0000 0000 0000 0000 0000 80: 001e 0017 4218 4000 4000 4218 4000 4000 88: 0407 0000 0000 0000 0000 0000 0000 0000 96: 0000 0000 0000 0000 0000 0000 0000 0000 104: 0000 0000 0000 0000 0000 0000 0000 0000 112: 0000 0000 0000 0000 0000 0000 0000 0000 120: 0000 0000 0000 0000 0000 0000 0000 0000 128: 0000 0000 0000 0000 0000 0000 0000 0000 136: 0000 0000 0000 0000 0000 0000 0000 0000 144: 0000 0000 0000 0000 0000 0000 0000 0000 152: 0000 0000 0000 0000 0000 0000 0000 0000 160: 0000 0000 0000 0000 0000 0000 0000 0000 168: 0000 0000 0000 0000 0000 0000 0000 0000 176: 0000 0000 0000 0000 0000 0000 0000 0000 184: 0000 0000 0000 0000 0000 0000 0000 0000 192: 0000 0000 0000 0000 0000 0000 0000 0000 200: 0000 0000 0000 0000 0000 0000 0000 0000 208: 0000 0000 0000 0000 0000 0000 0000 0000 216: 0000 0000 0000 0000 0000 0000 0000 0000 224: 0000 0000 0000 0000 0000 0000 0000 0000 232: 0000 0000 0000 0000 0000 0000 0000 0000 240: 0000 0000 0000 0000 0000 0000 0000 0000 248: 0000 0000 0000 0000 0000 0000 0000 0000 pass1: ATAPI-4 device pass1: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) protocol ATA/ATAPI-4 device model VMware Virtual IDE CDROM Drive firmware revision 00000001 serial number 10000000000000000001 cylinders 0 heads 0 sectors/track 0 sector size logical 512, physical 512, offset 0 LBA supported LBA48 not supported PIO supported PIO4 DMA supported WDMA2 UDMA2 Feature Support Enable Value Vendor read ahead no no write cache no no flush cache no no overlap no Tagged Command Queuing (TCQ) no no SMART no no microcode download no no security no no power management yes yes advanced power management no no 0/0x00 automatic acoustic management no no 0/0x00 0/0x00 media status notification no no power-up in Standby no no write-read-verify no no 0/0x0 unload no no free-fall no no data set management (TRIM) no dmesg say: cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present The VMWare virtual device being connected at boot the the physical device Hope this help, Claude Buisson