From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 1 00:25:23 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC32D16A41B for ; Thu, 1 Nov 2007 00:25:22 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.233.200]) by mx1.freebsd.org (Postfix) with ESMTP id 56A3213C4A8 for ; Thu, 1 Nov 2007 00:25:21 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-msk-nat.sw.ru [195.214.232.10]) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id l9VJSDWq002636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 31 Oct 2007 22:28:16 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1InJEa-000FWv-P0 for freebsd-mobile@freebsd.org; Wed, 31 Oct 2007 22:28:12 +0300 From: Vladimir Grebenschikov To: freebsd-mobile In-Reply-To: <1193840099.95027.16.camel@localhost> References: <1193840099.95027.16.camel@localhost> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 31 Oct 2007 22:28:09 +0300 Message-Id: <1193858889.97052.16.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Subject: Re: Potential hardware issue with too often HDD heads parking X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 00:25:23 -0000 =F7 =D3=D2, 31/10/2007 =D7 17:14 +0300, Vladimir Grebenschikov =D0=C9=DB=C5= =D4: > Hi >=20 > Probably does not related to FreeBSD, but anybody may confirm that > FreeBSD laptops are not affected ? >=20 > https://launchpad.net/bug59695.html Looks like FreeBSD notebooks also affected: # smartctl -A /dev/ad0 SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED = WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 086 079 034 Pre-fail Always = - 208994276 3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always = - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always = - 572 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always = - 0 7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always = - 78468856 9 Power_On_Hours 0x0032 098 098 000 Old_age Always = - 257148281948519 10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always = - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always = - 512 187 Unknown_Attribute 0x0032 100 100 000 Old_age Always = - 0 189 Unknown_Attribute 0x003a 092 092 000 Old_age Always = - 8 190 Temperature_Celsius 0x0022 056 046 045 Old_age Always = - 773390380 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always = - 4 192 Power-Off_Retract_Count 0x0032 100 001 000 Old_age Always = - 212 > 193 Load_Cycle_Count 0x0022 001 001 000 Old_age Always = - 435202 194 Temperature_Celsius 0x001a 044 054 000 Old_age Always = - 44 (Lifetime Min/Max 0/17) 195 Hardware_ECC_Recovered 0x0012 065 060 000 Old_age Always = - 208994276 196 Reallocated_Event_Count 0x0010 098 098 000 Old_age Offline = - 252410933020409 197 Current_Pending_Sector 0x003e 100 100 000 Old_age Always = - 0 198 Offline_Uncorrectable 0x0000 100 100 000 Old_age Offline = - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always = - 0 200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline = - 0 202 TA_Increase_Count 0x0000 100 253 000 Old_age Offline = - 0 sysutils/smartmontools was installed to query SMART attributes > > When switching to battery power, /etc/acpi/power.sh issues the command > > hdparm -B 1 to all block devices. This leads to extremely frequent > > load cycles. For example, my new thinkpad has already done well over > > 7000 load cycles -- in only 100 hours. That's at least one unloading > > per minute. Googling for "load unload cycles notebook OR laptop" shows > > that most laptop drives handle up to 600,000 such cycles. As these > > values clearly show, this issue is of high importance and should be > > fixed sooner rather than later. > >=20 > > Please see for yourself how often your drive is load cycling: > > smartctl -d ata -a /dev/sda > > (This command is for an SATA drive; you'll need to install the > > smartmontools package first.) > >=20 > > See also http://paul.luon.net/journal/hacking/BrokenHDDs.html for a > > rather dramatic account of the effects the current default values may > > have. > >=20 > > Just in case the load/unload timeout depends on the specific laptop or > > disk model, here are my system specifications: > > ThinkPad Z60m & Hitachi HTS541080G9SA00 disk (80GB) >=20 >=20 --=20 Vladimir B. Grebenschikov vova@fbsd.ru