From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: 2.6.22-rc3 hibernate(?) disables SMART on ide Date: Tue, 05 Jun 2007 00:17:57 -0400 Message-ID: <4664E3F5.9080904@rtr.ca> References: <46609290.5030701@dgreaves.com> <46613C53.8010205@gmail.com> <4661E6CA.1080203@dgreaves.com> <46643DE5.3080904@rtr.ca> <46644A71.7060300@dgreaves.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from rtr.ca ([64.26.128.89]:2036 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338AbXFEER7 (ORCPT ); Tue, 5 Jun 2007 00:17:59 -0400 In-Reply-To: <46644A71.7060300@dgreaves.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: David Greaves Cc: Tejun Heo , "'linux-kernel@vger.kernel.org'" , IDE Linux , ballen@gravity.phys.uwm.edu David Greaves wrote: > Mark Lord wrote: >> David Greaves wrote: >>> I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, >>> SMART is >>> disabled when I resume. >> Just a thought: This *may* be fixable at the drive, with "hdparm -K1". > > Thanks Mark, good idea. > Just tried and it didn't help though :( > > in fact, hda gave > cu:~# hdparm -K1 /dev/hda > > /dev/hda: > setting drive keep features to 1 (on) > HDIO_DRIVE_CMD(keepsettings) failed: Input/output error > > and in dmesg: > hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error } > hda: drive_cmd: error=0x04 { DriveStatusError } > ide: failed opcode was: 0xef That's odd. Could you try that again, with the latest (either v7.3 or v7.4) version of hdparm (from sourceforge) ?