On Fri, 20 Jul 2007 00:17:14 +0100
Alan Cox <[EMAIL PROTECTED]> wrote:
> Are their host protected areas on the two disks ?
I don't know, but hdparm returns this:
/dev/sda:
ATA device, with non-removable media
Model Number: ST3802110A
Serial Number: 5LR2DA69
Firmware Revision: 3.AAE
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
LBA48 user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 1
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
***
/dev/sdb:
ATA device, with non-removable media
Model Number: ST3802110A
Serial Number: 5LR3ZQ6A
Firmware Revision: 3.AAE
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
LBA48 user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 1
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
***
Both HDs are identical. How can I determine if it's a Host
Protected Area?
SMART information, if needed:
[EMAIL PROTECTED] ~$ sudo ide-smart /dev/sda
Id= 1 Status=15 {Prefailure Online } Value=100 Threshold= 6 Passed
Id= 3 Status= 3 {Prefailure Online } Value= 99 Threshold= 0 Passed
Id= 4 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id= 5 Status=51 {Prefailure Online } Value=100 Threshold= 36 Passed
Id= 7 Status=15 {Prefailure Online } Value= 85 Threshold= 30 Passed
Id= 9 Status=50 {Advisory Online } Value= 93 Threshold= 0 Passed
Id= 10 Status=19 {Prefailure Online } Value=100 Threshold= 97 Passed
Id= 12 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id=187 Status=50 {Advisory Online } Value= 1 Threshold= 0 Passed
Id=189 Status=58 {Advisory Online } Value=100 Threshold= 0 Passed
Id=190 Status=34 {Advisory Online } Value= 66 Threshold= 45 Passed
Id=194 Status=34 {Advisory Online } Value= 34 Threshold= 0 Passed
Id=195 Status=26 {Advisory Online } Value= 69 Threshold= 0 Passed
Id=197 Status=18 {Advisory Online } Value=100 Threshold= 0 Passed
Id=198 Status=16 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=199 Status=62 {Advisory Online } Value=200 Threshold= 0 Passed
Id=200 Status= 0 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=202 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed
OffLineStatus=130 {Completed}, AutoOffLine=Yes, OffLineTimeout=7 minutes
OffLineCapability=91 {Immediate Auto SuspendOnCmd}
SmartRevision=10, CheckSum=177, SmartCapability=3 {SaveOnStandBy AutoSave}
[EMAIL PROTECTED] ~$ sudo ide-smart /dev/sdb
Id= 1 Status=15 {Prefailure Online } Value=104 Threshold= 6 Passed
Id= 3 Status= 3 {Prefailure Online } Value= 99 Threshold= 0 Passed
Id= 4 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id= 5 Status=51 {Prefailure Online } Value=100 Threshold= 36 Passed
Id= 7 Status=15 {Prefailure Online } Value= 84 Threshold= 30 Passed
Id= 9 Status=50 {Advisory Online } Value= 94 Threshold= 0 Passed
Id= 10 Status=19 {Prefailure Online } Value=100 Threshold= 97 Passed
Id= 12 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id=187 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed
Id=189 Status=58 {Advisory Online } Value=100 Threshold= 0 Passed
Id=190 Status=34 {Advisory Online } Value= 66 Threshold= 45 Passed
Id=194 Status=34 {Advisory Online } Value= 34 Threshold= 0 Passed
Id=195 Status=26 {Advisory Online } Value= 66 Threshold= 0 Passed
Id=197 Status=18 {Advisory Online } Value=100 Threshold= 0 Passed
Id=198 Status=16 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=199 Status=62 {Advisory Online } Value=200 Threshold= 0 Passed
Id=200 Status= 0 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=202 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed
OffLineStatus=130 {Completed}, AutoOffLine=Yes, OffLineTimeout=7 minutes
OffLineCapability=91 {Immediate Auto SuspendOnCmd}
SmartRevision=10, CheckSum=193, SmartCapability=3 {SaveOnStandBy AutoSave}
Thank you very much.
--
Linux 2.6.22: Holy Dancing Manatees, Batman!
http://www.lastfm.pt/user/danielfraga
http://u-br.net
Dave Matthews Band - "When the World Ends" (Everyday)
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html