Hard drive disappears when the computer resumes from sleep

I have a Windows 7 x64 machine, which has 4 drives in it. One of the drives disappears when the computer resumes from sleep. It is consistently the same drive. It disappears from my computer, and if I go to the disk management console. If I reboot, then it reappears. Any ideas what might cause this and how I might fix it?

Edit 2:

Some more background. This machine used to have XP on it and I had no issues then, all drives worked ok, and machine could sleep/wake with no problems. This issue started when I upgraded to Windows7 x64, and only affects one drive... Sometimes if it only sleeps for a little while the drive is still there, but if it sleeps for 20 mins+ then it always disappears

Edit:

Its a SATA drive, connected to the via onboard controller.

Make and model of the motherboard from SIW:

Motherboard

Property    Value

Manufacturer        http://www.abit.com.tw/
Model               F-I90HD (ATI RS600-SB600)
Version          1.0
Serial Number    

North Bridge        ATI Xpress 1250 (RS600) Revision 00
South Bridge        ATI SB600 Revision 00

CPU Genuine Intel(R) CPU 2160 @ 1.80GHz
CPU Socket  Socket 775 LGA

System Slots    3 PCI

Memory Summary   
Maximum Capacity    2048 MBytes
Maximum Memory Module Size  32 MBytes
Memory Slots    4
Error Correction    None

The disk information for the relevant disk from the storage devices node is:

Disk 1

    Manufacturer     Maxtor
Model    Maxtor 6V300F0
Size     300.0 GB
Firmware Version     VA111630
Serial Number    V60DA53G
Interface    Serial ATA
Standard     ATA/ATAPI-7 | ATA/ATAPI-7 T13 1532D version 0
Transfer Mode (Current / Max)    SATA-300 / SATA-300
Features     S.M.A.R.T., APM (Disabled), 48bit LBA, NCQ, AAM
Temperature  54 C (129 F)
Drive Letter(s)  D:
Controller Buffer Size on Drive  16384 KB
Removable    No
Cache Enabled (Read / Write)     Yes / Yes
SMART Support    Yes
Attribute Name   Attribute Value Worst Value Threshold Value Raw Data
Spin Up Time (03)    187 184 063 000000006083
Start/Stop Count (04)    253 253 000 00000000050E
Reallocated Sector Count (05)    253 253 063 000000000000
Seek Error Rate (07)     253 252 000 000000000000
Seek Time Performance (08)   246 233 187 0000000094FC
Power On Hours Count (09)    181 181 000 000000006297
Spin Retry Count (0A)    253 252 157 000000000000
Calibration Retry Count (0B)     253 252 223 000000000000
Power Cycle Count (0C)   252 252 000 0000000002F5
[unknown] (BD)   100 100 000 000000000000
Airflow Temperature (BE)     046 031 000 000036290036
Emergency Retract Cycle Count (C0)   253 253 000 000000000000
Load/unload cycle count (C1)     253 253 000 000000000000
HDA Temperature (C2)     053 253 000 000000000036
ECC On The Fly Count (C3)    253 251 000 0000000018EC
Reallocation event count (C4)    253 253 000 000000000000
Current pending sector count (C5)    253 252 000 000000000000
Off-line uncorrectable sector count (C6)     134 134 000 000000000077
Ultra ATA CRC Error Rate (C7)    001 001 000 00000000397D
Multi Zone Error Rate (C8)   253 252 000 000000000000
Off Track Errors (C9)    253 252 000 000000000001
Data Address Mark Errors (CA)    253 251 000 000000000000
ECC Errors (CB)  253 252 180 000000000000
Soft ECC Correction (CC)     253 252 000 000000000000
Thermal Asperity Rate (CD)   253 252 000 000000000000
Spin High Current (CF)   253 252 000 000000000000
Spin Buzz (D0)   253 252 000 000000000000
Vibration During Write (D2)  253 252 000 000000000000
Vibration During Read (D3)   253 252 000 000000000000
Shock During Write (D4)  253 001 000 000000000000

and the information from the devices->disk drives node for the drive:

Property    Value
Device ID   IDE\DISKMAXTOR_6V300F0__________________________VA111630\533DDAC6301.0.0
Status  0x0180200a Started
Problem 0x00000000 (0)
Service disk
Capabilities    0x00000000
Config Flags    0x00000000
Class   DiskDrive
Manufacturer    (Standard disk drives)
Hardware IDs    IDE\DiskMaxtor_6V300F0__________________________VA111630
    IDE\Maxtor_6V300F0__________________________VA111630
    IDE\DiskMaxtor_6V300F0__________________________
    Maxtor_6V300F0__________________________VA111630
    GenDisk
Compatible IDs  GenDisk
Class GUID  {4d36e967-e325-11ce-bfc1-08002be10318}
Location    Channel 1, Target 0, Lun 0
Enumerator name IDE
Description Disk drive
Friendly name   Maxtor 6V300F0 ATA Device
Driver  {4d36e967-e325-11ce-bfc1-08002be10318}\0001
Physical Object Name    \Device\IDE\IdeDeviceP1T0L0-1
UI number   0x00000000
Install State   0x00000000
Device Address  0x00000000

Device Configuration File   disk.inf
InfPath disk.inf
InfSection  disk_install
InfSectionExt   .NT
ProviderName    Microsoft
DriverDateData  00 80 8C A3 C5 94 C6 01
DriverDate  6-21-2006
DriverVersion   6.1.7600.16385
MatchingDeviceId    gendisk
DriverDesc  Disk drive

Class   DiskDrive
ClassDesc   @%SystemRoot%\System32\StorProp.dll,-17000
    Disk drives
IconPath    %SystemRoot%\System32\imageres.dll,-32
Installer32 StorProp.Dll,DiskClassInstaller
NoInstallClass  1
SilentInstall   1
UpperFilters    PartMgr

Been seeing this with a number of drives - 1TB satas - when resuming for s3 sleep.

Check to see if your drive supports s3 sleep mode: Please first check if your secondary drive support S3 in Windows 7:

Step 1:

  1. Click the Start button, then in the "Start Search" box, type CMD but DO NOT press Enter yet.
  2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".
  3. In the open window, type the following command and press Enter:

Powercfg /devicequery s3_supported

Step 2: Disable write caching on the secondary drive

  1. Click the Start button, then in the "Start Search" box, type DEVMGMT.MSC but DO NOT press Enter yet.
  2. Right click "Disk drivers/your secondary drive" and choose properties.
  3. In Policies tab, uncheck the option "Enable write caching on the device".

Some have fixed this by installing the Intel Matrix storage drivers

Others by forcing the drive from AHCI to IDE mode (bios setting)


Take a look at http://support.microsoft.com/kb/977178 which deals with resume problems with disks >1Tb in size. The KB refers to STOP messages rather than the drive disappearing, but then you would expect a STOP if the missing drive was the system drive.