From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTsB7-00025X-Ry for qemu-devel@nongnu.org; Tue, 07 Jun 2011 05:02:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTsB2-0002Bz-BI for qemu-devel@nongnu.org; Tue, 07 Jun 2011 05:02:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTsB1-0002Bv-Rl for qemu-devel@nongnu.org; Tue, 07 Jun 2011 05:02:20 -0400 Message-ID: <4DEDE917.6040700@redhat.com> Date: Tue, 07 Jun 2011 11:02:15 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1307430291.28149.126.camel@das-HP-EliteBook-8530w> <4DEDD4C6.6070102@redhat.com> <4DEDDD43.6000605@redhat.com> In-Reply-To: <4DEDDD43.6000605@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, dave@seddon.ca On 06/07/2011 10:11 AM, Kevin Wolf wrote: > > > SMART is only available in ATA Version 3 Revision 3 or greater. > > > We will try to proceed in spite of this. > > > SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported. > > > Checking for SMART support by trying SMART ENABLE command. > > > SMART ENABLE appeared to work! Continuing. > > > SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled. > > > A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options > > > ------------------------------------------------------- > > > > Here we should perhaps try to improve the ATA emulation. > > But this is scsi-disk - what does smartctl even try here? smartctl has to try anyway because libata shows IDE disks as /dev/sdX. I tried smartctl on a USB drive and it will happily run (and show no SMART support). Paolo