Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

From: David Greaves
Date: Mon Jun 04 2007 - 13:23:19 EST


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

The drive, FWIW, is:
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda ATA II family
Device Model: ST320420A
Serial Number: 3CL04RKY
Firmware Version: 3.21
User Capacity: 20,404,101,120 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 4
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Mon Jun 4 18:20:46 2007 BST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/