Hi - related to this, is there any public documentation on the vendor
specific use of higher LBAs as used by Seagate? I am investigating the
situation where ex factory (USB) drives are not recognised by our embedded
application (which uses standard ATA DISK IDENTIFY etc to find out disk
parameters and format and access it). This is fairly rare and so far I have
not got my hands on such a disk: our customers report that after
“formatting” the drives on a PC it then becomes accessible to our product,
suggesting that there may be some vendor unique magic that is known to the
Windows device drivers or tools that needs to execute on the drives before
they are usuable.
A similar problem is (again rare) reports of disks becoming inaccessible in
use with our hardware until attached to a PC again, suggesting that the
drives can enter some persistent state that makes them non responsive to
standard commands, even after powering down and up again. I am concerned in
case there is the possibility of drives entering some diagnostic mode that
needs vendor unique magic to exit. Again I have yet to get my hands on such
a hung up disk.
If such information is not public, perhaps there are some ad hoc standards
between manufacturers that I have missed for use of higher LBAs.
This may not be the correct forum, but since the HPA is being discussed,
perhaps it is relevant.
Any hints appreciated. Thanks, Mike
>>>>
----- Original Message -----
From: Gary G. Little
To: Windows System Software Devs Interest List
Sent: Thursday, February 17, 2011 9:13 PM
Subject: Re: [ntdev] Using HPAs
Hmmm … I must have snorted my ice cream when I wrote that last. I was
indeed referring to the stuff that we were doing for Seagate, but agree that
the HPA is not involved in that. Given a controller such as an LSI, you can
even do this using IOCTL_SCSI_MINIPORT, but there you do indeed need info
from the controller OEM to use that interface.
Gary G. Little
----- Original Message -----
From: “Philip D Barila”
To: “Windows System Software Devs Interest List”
Sent: Thursday, February 17, 2011 1:46:39 PM
Subject: RE: [ntdev] Using HPAs
I’m not sure what you mean by the statement: These are not accessible
through the regular OS. The reserved LBAs are not accessible through
standard commands. FULL STOP. That is, unless you reset the HPA using the
appropriate commands. You can do the entire “Read current HPA settingâ€/â€reset
HPAâ€/â€update your recovery dataâ€/â€Restore the HPA†from a single user-mode
application. You need to have appropriate privilege, of course. Look up
the various flavors of ATA/SCSI_PASS_THROUGH for a means of executing the
appropriate ATA/SCSI commands to perform the steps other than “update your
recovery dataâ€. How you perform that step depends on how the “recovery
data†is formatted.
Not sure what you mean by “it is possible in Linuxâ€, either. It’s just as
possible in Linux as in Windows.
Phil
Philip D. Barila (303) 776-1264