Dear All,

I meet a problem when I use hdparm on SATA drive with Sil3114 SATA
controller.The kernel I use is 2.6.11, I have already patched the
2.6.11-libata-dev1.patch file into kernel 2.6.11, smart mointer tools
work well with the patched kernel 2.6.11 and I also can run "hdpram -S"

or "hdparm -y" to set the SATA drive go to standby mode, but when I run

"hdparm -C" to get the power mode status of SATA drive, wrong result
returns, the returned result is always standby evenif the SATA drive is

active. Is there anyone meet the same problem? The log I get is as
follow:


# ./hdparm -C /dev/sda


/dev/sda:
drive state is: standby
#
# ./hdparm -C /dev/sda


/dev/sda:
drive state is: standby
# ./hdparm -C /dev/sda


/dev/sda:
drive state is: standby


# ./hdparm -S 60 /dev/sda


/dev/sda:
setting standby to 60 (5 minutes)
# ./hdparm -C /dev/sda


/dev/sda:
drive state is: standby
# ./hdparm -C /dev/sda


/dev/sda:
drive state is: standby
# ./hdparm -C /dev/sda


/dev/sda:
drive state is: standby
#


# ./smartctl -i -d ata /dev/sda
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4
Bruce Allen
Home page is http://smartmontools.sourceforge.net/


=== START OF INFORMATION SECTION ===
Device Model: ST380011AS
Serial Number: 4MR38NQT
Firmware Version: 3.00
User Capacity: 80,026,361,856 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: ATA/ATAPI-6 T13 1410D revision 2
Local Time is: Thu Feb 7 12:12:18 2036 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

################################################## ########
Is there anyone meet this before?