From owner-freebsd-current@FreeBSD.ORG Thu Feb 25 20:17:36 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 D68B21065670 for ; Thu, 25 Feb 2010 20:17:36 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id 614E98FC19 for ; Thu, 25 Feb 2010 20:17:35 +0000 (UTC) Received: by fxm23 with SMTP id 23so569990fxm.3 for ; Thu, 25 Feb 2010 12:17:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9KaWO3FuCKs9Orp1a5hoX6eBGiGi4NiiqWndBVK7UK0=; b=fDgb9FdOXFfMiLpzbZlwsptBSakRzxMmqrIMvl+SbSXmHh5QW8/sMU/P3wKu8805q9 4VnD25E75ffxXw6/vtCsGh1EsI/mnQpZer6duLHM4UJuIzZEVqzhqRnRCnSkNZ7JQc+L 1VlBRA7m5pZfDF88ExyEtmZBMzGCQB/d6T4Us= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=sZLR9gIE2KX3l2sZAVQ5GGc0yeHk2c5a/PQ9EPy0Pk4lFHfAwUjKBqPy0DS5K5LThy Sgj8pclXDBdOycv/HbjBD4pbx3A7VaQDQbQKulFMcnzxVgWKUwUnqCV+ROgJSdtngIiB mVTKpFqb/V1uPjfYaAsOWeoNxrN9msGCPU0NA= Received: by 10.223.100.129 with SMTP id y1mr47990fan.15.1267129047333; Thu, 25 Feb 2010 12:17:27 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 14sm4693185fxm.13.2010.02.25.12.17.26 (version=SSLv3 cipher=RC4-MD5); Thu, 25 Feb 2010 12:17:26 -0800 (PST) Sender: Alexander Motin Message-ID: <4B86DAD4.1050607@FreeBSD.org> Date: Thu, 25 Feb 2010 22:17:24 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Claude Buisson References: <1267114982.00223400.1267102202@10.7.7.3> In-Reply-To: <1267114982.00223400.1267102202@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 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 20:17:36 -0000 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? -- Alexander Motin