The device, \Device\Harddisk2\D, - 'something or other'
The 'something or other' could be 'has a bad block' or has timed out or several other problems.
I'm on a quest to match up these events (errors in event viewer) with the actual physical hard drive.
Now you can usually tell when one dies completely because it's the one you can't get to, but in the meantime it would be nice to know which one the error applies to. This should be easy, but strangely it isn't.
I've been told with great authority that the 'D' means partition D, but it does not. No one knows what that stands for. Not even microsoft as far as I can tell and it doesn't always include it.
The 'Harddisk2' or whatever number it gives should be straightforward, but it isn't.
I've been told that it's the order in Drive Management, but it is not.
I.ve been told that it's the boot order in the BIOS, but that's not the case either.
Likewise it's not the order given in Device Manager (that 'might' work with just IDE, but not with Sata)
I've been sent to look in the registry at HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP which is interesting, but not helpful. They are in there, but listed as SCSI ports and certainly not in the order used by Events.
Suggestions found via google have included 'don't look in the event viewer' 
Others have said that you can tell from HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\IDE. However despite their confidence I have doubts since that includes all the hard drives, CDroms, DVDroms etc that have ever been connected. If that were it then the event ought to say device 10 or something.
I've just found
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\PCIIDE\IDEChannel and that looks promising, but I've yet to find anyone who knows what it means. You'd think this would be a fairly basic bit of info you could find anywhere.