From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTrLO-0001yo-Cg for qemu-devel@nongnu.org; Tue, 07 Jun 2011 04:08:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTrLN-0001qR-Ej for qemu-devel@nongnu.org; Tue, 07 Jun 2011 04:08:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTrLN-0001qL-7O for qemu-devel@nongnu.org; Tue, 07 Jun 2011 04:08:57 -0400 Message-ID: <4DEDDD43.6000605@redhat.com> Date: Tue, 07 Jun 2011 10:11:47 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1307430291.28149.126.camel@das-HP-EliteBook-8530w> <4DEDD4C6.6070102@redhat.com> In-Reply-To: <4DEDD4C6.6070102@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Paolo Bonzini Cc: qemu-devel@nongnu.org, dave@seddon.ca Am 07.06.2011 09:35, schrieb Paolo Bonzini: > On 06/07/2011 09:04 AM, Dave Seddon wrote: >> Here's an example of the nasty/QEMU output of smartmontools: >> ------------------------------------------------------- >> # smartctl -d sat --all /dev/sg0 >> smartctl version 5.38 [i686-spcdn-linux-gnu] Copyright (C) 2002-8 Bruc= e Allen >> Home page is http://smartmontools.sourceforge.net/ >> >> =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D >> Device Model: [No Information Found] >> Serial Number: [No Information Found] >> Firmware Version: =EF=BF=BD=1D" >> Device is: Not in smartctl database [for details use: -P showal= l] >> ATA Version is: 1 >> ATA Standard is: Exact ATA specification draft version not indicated >> Local Time is: Tue Jun 7 16:57:08 2011 UTC >> 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 sh= ow if SMART supported. >> Checking for SMART support by trying SMART ENABLE c= ommand. >> SMART ENABLE appeared to work! Continuing. >> SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't sh= ow if SMART is enabled. >> A mandatory SMART command failed: exiting. To continue, add one or mor= e '-T permissive' options >> ------------------------------------------------------- >=20 > Here we should perhaps try to improve the ATA emulation. But this is scsi-disk - what does smartctl even try here? Kevin