Seagate/openSeaChest

Failed to Restore the Max LBA

nick-hayhurst opened this issue · 10 comments

Hi All,

I am attempting to work with a HPA on a Samsung (Dell EMC) ATA (SATA) SSD.

I am using openSeaTools on Ubuntu 22.04.

 Copyright (c) 2014-2023 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_Basics Version: 3.5.2-4_1_1 X86_64
 Build Date: Mar 27 2023
 Today: Wed May 24 20:52:58 2023	User: root

When trying to read the Native Max Address of this drive, it reports "Not Reported", see below Inquiry Log.

/dev/sg6 - MZ7KH480HAHQ0D3 - S47GNA0M816130 - HF58 - ATA
	Model Number: MZ7KH480HAHQ0D3
	Serial Number: REDACTED SERIAL NUMBER
	Firmware Revision: HF58
	World Wide Name: REDACTED WWN
	Drive Capacity (GB/GiB): 480.10/447.13
	Temperature Data:
		Current Temperature (C): 31
		Highest Temperature (C): 55
		Lowest Temperature (C): 15
	Power On Time:  3 years 31 days 9 hours 
	Power On Hours: 27033.00
	MaxLBA: 937703087
	Native MaxLBA: Not Reported
	Logical Sector Size (B): 512
	Physical Sector Size (B): 4096
	Sector Alignment: 0
	Rotation Rate (RPM): SSD
	Form Factor: 2.5"
	Last DST information:
		Time since last DST (hours): 29.00
		DST Status/Result: 0x0
		DST Test run: 0x1
	Long Drive Self Test Time:  29 minutes 
	Interface speed:
		Max Speed (Gb/s): 6.0
		Negotiated Speed (Gb/s): 6.0
	Annualized Workload Rate (TB/yr): 186.18
	Total Bytes Read (TB): 358.50
	Total Bytes Written (TB): 216.03
	Encryption Support: Full Disk Encryption
	Cache Size (MiB): Not Reported
	Percentage Used Endurance Indicator (%): 4.00000
	Read Look-Ahead: Enabled
	Write Cache: Enabled
	SMART Status: Good
	ATA Security Information: Not Supported
	Firmware Download Support: Full, Segmented, Deferred
	Specifications Supported:
		ACS-4
		ACS-3
		ACS-2
		ATA8-ACS
		ATA/ATAPI-7
		ATA/ATAPI-6
		ATA/ATAPI-5
		ATA/ATAPI-4
		ATA-3
		ATA-2
		SATA 3.2
		SATA 3.1
		SATA 3.0
		SATA 2.6
		SATA 2.5
		SATA II: Extensions
		SATA 1.0a
		ATA8-AST
	Features Supported:
		Sanitize
		SATA NCQ
		SATA Software Settings Preservation [Enabled]
		SATA Hardware Feature Control [Enabled]
		HPA
		Power Management
		SMART [Enabled]
		DCO
		48bit Address
		GPL
		SMART Self-Test
		SMART Error Logging
		Write-Read-Verify
		TRIM
		SCT Write Same
		SCT Error Recovery Control
		SCT Feature Control
		SCT Data Tables
		Host Logging
	Adapter Information:
		Adapter Type: PCI
		Vendor ID: 1000h
		Product ID: 0087h
		Revision: 0005h

This clearly states the devices supports the HPA, however it is not reporting the Native Max Address...

I ran the openSeaChest --restoreMaxLBA command which returned the below:

Restoring max LBA
Failed to restore the max LBA!

With verbosity set to 4:

==========================================================================================
 openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
 Copyright (c) 2014-2023 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_Basics Version: 3.5.2-4_1_1 X86_64
 Build Date: Mar 27 2023
 Today: Wed May 24 20:52:58 2023	User: root
==========================================================================================
Sending SCSI Test Unit Ready

  CDB:

        0  1  2  3  4  5  
  0x00 00 00 00 00 00 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 78.85

Test Unit Ready returning: SUCCESS

Sending SCSI Inquiry

  CDB:

        0  1  2  3  4  5  
  0x00 12 00 00 00 60 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 229.27

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 06 12 45 00 00 02 41 54 41 20 20 20 20 20   ....E...ATA     
  0x10 4D 5A 37 4B 48 34 38 30 48 41 48 51 30 44 33 20   MZ7KH480HAHQ0D3 
  0x20 48 46 35 38 20 20 20 20 20 20 53 34 37 47 4E 41   HF58      S47GNA
  0x30 30 4D 38 31 36 31 33 30 00 00 00 80 1E C0 04 60   0M816130.......`
  0x40 04 C0 0B FD 16 23 00 00 00 00 00 00 00 00 00 00   .....#..........
  0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Report LUNs

  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  
  0x00 A0 00 00 00 00 00 00 00 00 10 00 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 31.34

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00   ................


Report LUNs returning: SUCCESS

Sending SCSI Inquiry, VPD = 00h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 00 00 60 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 208.09

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 00 08 00 80 83 87 89 B0 B1 B2 00 00 00 00   ................
  0x10 4D 5A 37 4B 48 34 38 30 48 41 48 51 30 44 33 20   MZ7KH480HAHQ0D3 
  0x20 48 46 35 38 20 20 20 20 20 20 53 34 37 47 4E 41   HF58      S47GNA
  0x30 30 4D 38 31 36 31 33 30 00 00 00 80 1E C0 04 60   0M816130.......`
  0x40 04 C0 0B FD 16 23 00 00 00 00 00 00 00 00 00 00   .....#..........
  0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Inquiry, VPD = 80h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 80 00 18 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 206.79

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 80 00 14 20 20 20 20 20 20 53 34 37 47 4E 41   ....      S47GNA
  0x10 30 4D 38 31 36 31 33 30                           0M816130


Inquiry returning: SUCCESS

Sending SCSI Inquiry, VPD = 83h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 83 00 60 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 206.94

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 83 00 0C 01 03 00 08 50 02 53 8E 09 84 5E F8   ........P.S...^.
  0x10 30 4D 38 31 36 31 33 30 48 41 48 51 30 44 33 20   0M816130HAHQ0D3 
  0x20 48 46 35 38 20 20 20 20 20 20 53 34 37 47 4E 41   HF58      S47GNA
  0x30 30 4D 38 31 36 31 33 30 00 00 00 80 1E C0 04 60   0M816130.......`
  0x40 04 C0 0B FD 16 23 00 00 00 00 00 00 00 00 00 00   .....#..........
  0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Inquiry, VPD = 89h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 89 02 3C 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 208.01

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 00 89 02 38 00 00 00 00 4C 53 49 20 20 20 20 20   ...8....LSI     
  0x0010 4C 53 49 20 53 41 54 4C 20 20 20 20 20 20 20 20   LSI SATL        
  0x0020 30 30 30 38 34 40 50 01 01 00 00 00 00 00 00 00   00084@P.........
  0x0030 01 00 00 00 00 00 00 00 EC 00 00 00 40 00 FF 3F   ............@..?
  0x0040 37 C8 10 00 00 00 00 00 3F 00 00 00 00 00 00 00   7.......?.......
  0x0050 20 20 20 20 20 20 34 53 47 37 41 4E 4D 30 31 38         4SG7ANM018
  0x0060 31 36 30 33 00 00 00 00 00 00 20 20 20 20 46 48   1603......    FH
  0x0070 38 35 5A 4D 4B 37 34 48 30 38 41 48 51 48 44 30   85ZMK74H08AHQHD0
  0x0080 20 33 20 20 20 20 20 20 20 20 20 20 20 20 20 20    3              
  0x0090 20 20 20 20 20 20 20 20 20 20 10 80 00 40 00 2F             ...@./
  0x00A0 00 40 00 02 00 02 07 00 FF 3F 10 00 3F 00 10 FC   .@.......?..?...
  0x00B0 FB 00 10 BD FF FF FF 0F 00 00 07 00 03 00 78 00   ..............x.
  0x00C0 78 00 78 00 78 00 30 4E 00 00 00 00 00 00 00 00   x.x.x.0N........
  0x00D0 00 00 1F 00 0E 85 66 02 64 10 64 00 FC 0F 5E 00   ......f.d.d...^.
  0x00E0 69 74 01 7C 63 41 69 74 01 BC 63 41 7F 40 00 00   it.|cAit..cA.@..
  0x00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0100 00 00 00 00 B0 36 E4 37 00 00 00 00 00 00 08 00   .....6.7........
  0x0110 03 60 00 00 02 50 8E 53 84 09 F8 5E 00 00 00 00   .`...P.S...^....
  0x0120 00 00 00 00 00 00 00 00 00 00 1E 40 1C 40 00 00   ...........@.@..
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 03 00 01 00   ................
  0x0190 45 44 4C 4C 74 28 29 6D 00 00 00 00 00 00 00 00   EDLLt()m........
  0x01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 00 3D 00 00 00 00 00 00 40   ........=......@
  0x01E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00   ................
  0x01F0 00 00 00 00 00 00 00 00 FF 10 00 00 00 00 00 00   ................
  0x0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0210 00 00 00 14 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0220 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00   ...@............
  0x0230 00 00 00 00 00 00 00 00 00 00 A5 31               ...........1


Inquiry returning: SUCCESS

Sending ATA Identify command
Sending SAT ATA Pass-Through Command:
	Protocol: PIO
	Data Direction: Data In
	Task File Registers:
	[Feature] = 00h
	[Count] = 01h
	[LBA Lo] = 00h
	[LBA Mid] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = A0h
	[Command] = ECh


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  
  0x00 A1 08 0E 00 01 00 00 00 A0 EC 00 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count] = 00h
	[LBA Lo] = 00h
	[LBA Mid] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 221.16

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 40 00 FF 3F 37 C8 10 00 00 00 00 00 3F 00 00 00   @..?7.......?...
  0x0010 00 00 00 00 20 20 20 20 20 20 34 53 47 37 41 4E   ....      4SG7AN
  0x0020 4D 30 31 38 31 36 30 33 00 00 00 00 00 00 20 20   M0181603......  
  0x0030 20 20 46 48 38 35 5A 4D 4B 37 34 48 30 38 41 48     FH85ZMK74H08AH
  0x0040 51 48 44 30 20 33 20 20 20 20 20 20 20 20 20 20   QHD0 3          
  0x0050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80                 ..
  0x0060 00 40 00 2F 00 40 00 02 00 02 07 00 FF 3F 10 00   .@./.@.......?..
  0x0070 3F 00 10 FC FB 00 10 BD FF FF FF 0F 00 00 07 00   ?...............
  0x0080 03 00 78 00 78 00 78 00 78 00 30 4E 00 00 00 00   ..x.x.x.x.0N....
  0x0090 00 00 00 00 00 00 1F 00 0E 85 66 02 64 10 64 00   ..........f.d.d.
  0x00A0 FC 0F 5E 00 69 74 01 7C 63 41 69 74 01 BC 63 41   ..^.it.|cAit..cA
  0x00B0 7F 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00   .@..............
  0x00C0 00 00 00 00 00 00 00 00 B0 36 E4 37 00 00 00 00   .........6.7....
  0x00D0 00 00 08 00 03 60 00 00 02 50 8E 53 84 09 F8 5E   .....`...P.S...^
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1E 40   ...............@
  0x00F0 1C 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00   .@..............
  0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 03 00 01 00 45 44 4C 4C 74 28 29 6D 00 00 00 00   ....EDLLt()m....
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 3D 00 00 00   ............=...
  0x01A0 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00   ...@............
  0x01B0 00 00 01 00 00 00 00 00 00 00 00 00 FF 10 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00   .......@........
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 31   ...............1


Identify returning: SUCCESS

Sending ATA Read Log Ext DMA command - Log 00h, Page 0, Count 1
Sending SAT ATA Pass-Through Command:
	Protocol: UDMA
	Data Direction: Data In
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 01h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 00h
	[Command] = 47h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 15 0E 00 00 00 01 00 00 00 00 00 00 00 47 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 610.84

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 01 00 00 00 00 00 01 00 08 00 00 00 00 00 01 00   ................
  0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0020 01 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00   ................
  0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0060 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0100 10 00 10 00 10 00 10 00 10 00 10 00 10 00 10 00   ................
  0x0110 10 00 10 00 10 00 10 00 10 00 10 00 10 00 10 00   ................
  0x0120 10 00 10 00 10 00 10 00 10 00 10 00 10 00 10 00   ................
  0x0130 10 00 01 00 01 00 10 00 10 00 10 00 10 00 10 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01C0 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Log Ext DMA returning: SUCCESS

Sending ATA Read Log Ext DMA command - Log 30h, Page 0, Count 1
Sending SAT ATA Pass-Through Command:
	Protocol: UDMA
	Data Direction: Data In
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 01h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 30h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 00h
	[Command] = 47h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 15 0E 00 00 00 01 00 30 00 00 00 00 00 47 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 539.12

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 01 00 00 00 00 00 00 00 08 00 01 02 03 04 05 06   ................
  0x0010 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Log Ext DMA returning: SUCCESS

Sending ATA Read Log Ext DMA command - Log 30h, Page 1, Count 1
Sending SAT ATA Pass-Through Command:
	Protocol: UDMA
	Data Direction: Data In
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 01h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 30h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 01h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 00h
	[Command] = 47h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 15 0E 00 00 00 01 00 30 00 01 00 00 00 47 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 538.19

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 40 00 FF 3F 37 C8 10 00 00 00 00 00 3F 00 00 00   @..?7.......?...
  0x0010 00 00 00 00 20 20 20 20 20 20 34 53 47 37 41 4E   ....      4SG7AN
  0x0020 4D 30 31 38 31 36 30 33 00 00 00 00 00 00 20 20   M0181603......  
  0x0030 20 20 46 48 38 35 5A 4D 4B 37 34 48 30 38 41 48     FH85ZMK74H08AH
  0x0040 51 48 44 30 20 33 20 20 20 20 20 20 20 20 20 20   QHD0 3          
  0x0050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80                 ..
  0x0060 00 40 00 2F 00 40 00 02 00 02 07 00 FF 3F 10 00   .@./.@.......?..
  0x0070 3F 00 10 FC FB 00 10 BD FF FF FF 0F 00 00 07 00   ?...............
  0x0080 03 00 78 00 78 00 78 00 78 00 30 4E 00 00 00 00   ..x.x.x.x.0N....
  0x0090 00 00 00 00 00 00 1F 00 0E 85 66 02 64 10 64 00   ..........f.d.d.
  0x00A0 FC 0F 5E 00 69 74 01 7C 63 41 69 74 01 BC 63 41   ..^.it.|cAit..cA
  0x00B0 7F 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00   .@..............
  0x00C0 00 00 00 00 00 00 00 00 B0 36 E4 37 00 00 00 00   .........6.7....
  0x00D0 00 00 08 00 03 60 00 00 02 50 8E 53 84 09 F8 5E   .....`...P.S...^
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1E 40   ...............@
  0x00F0 1C 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00   .@..............
  0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 03 00 01 00 45 44 4C 4C 74 28 29 6D 00 00 00 00   ....EDLLt()m....
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 3D 00 00 00   ............=...
  0x01A0 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00   ...@............
  0x01B0 00 00 01 00 00 00 00 00 00 00 00 00 FF 10 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00   .......@........
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 31   ...............1


Read Log Ext DMA returning: SUCCESS

Sending ATA Read Log Ext DMA command - Log 30h, Page 3, Count 1
Sending SAT ATA Pass-Through Command:
	Protocol: UDMA
	Data Direction: Data In
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 01h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 30h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 03h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 00h
	[Command] = 47h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 15 0E 00 00 00 01 00 30 00 03 00 00 00 47 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 529.72

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 01 00 03 00 00 00 00 80 8F 59 D0 BB 98 00 00 80   .........Y......
  0x0010 00 00 00 14 0F 00 00 80 01 00 00 00 00 00 00 80   ................
  0x0020 03 00 00 00 00 00 00 80 00 00 00 00 00 00 00 80   ................
  0x0030 00 00 00 00 00 00 00 80 02 50 8E 53 84 09 F8 5E   .........P.S...^
  0x0040 00 00 00 00 00 00 00 80 01 00 00 00 00 00 00 80   ................
  0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Log Ext DMA returning: SUCCESS

Sending ATA Read Log Ext DMA command - Log 04h, Page 0, Count 1
Sending SAT ATA Pass-Through Command:
	Protocol: UDMA
	Data Direction: Data In
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 01h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 04h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 00h
	[Command] = 47h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 15 0E 00 00 00 01 00 04 00 00 00 00 00 47 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 498.72

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 01 00 00 00 00 00 00 00 06 00 01 04 05 06 07 00   ................
  0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Log Ext DMA returning: SUCCESS

Sending ATA Read Log Ext DMA command - Log 04h, Page 1, Count 1
Sending SAT ATA Pass-Through Command:
	Protocol: UDMA
	Data Direction: Data In
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 01h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 04h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 01h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 00h
	[Command] = 47h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 15 0E 00 00 00 01 00 04 00 01 00 00 00 47 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 00h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 00h
	[Status] = 00h

Command Time (us): 497.17

	  Data Buffer being returned:

          0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x0000 01 00 01 00 00 00 00 00 32 00 00 00 00 00 00 C0   ........2.......
  0x0010 99 69 00 00 00 00 00 C0 AB BE 2E 3D 62 00 00 C0   .i.........=b...
  0x0020 2D FB C5 06 05 00 00 C0 84 39 60 07 A3 00 00 C0   -........9`.....
  0x0030 EB 2C 81 90 00 00 00 C0 A0 25 26 00 00 00 00 C0   .,.......%&.....
  0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Log Ext DMA returning: SUCCESS

Sending SCSI Inquiry, VPD = B1h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 B1 00 40 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 204.83

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 B1 00 3C 00 01 00 03 00 00 00 00 00 00 00 00   ...<............
  0x10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Read Capacity 10 command

  CDB:

        0  1  2  3  4  5  6  7  8  9  
  0x00 25 00 00 00 00 00 00 00 00 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 29.94

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  
  0x00 37 E4 36 AF 00 00 02 00                           7.6.....


Read Capacity 10 returning: SUCCESS

Sending SCSI Read Capacity 16 command

  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 9E 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 

Sending command with send_IO
SG IO Issued as Indirect IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (us): 207.77

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 00 00 37 E4 36 AF 00 00 02 00 00 03 C0 00   ....7.6.........
  0x10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Capacity 16 returning: SUCCESS


/dev/sg6 - MZ7KH480HAHQ0D3 - S47GNA0M816130 - HF58 - ATA
Restoring max LBA
Sending ATA Read Native Max Address Ext
Sending SAT ATA Pass-Through Command:
	Protocol: NON-Data
	Data Direction: No Data
	Task File Registers:
	[FeatureExt] = 00h
	[Feature] = 00h
	[CountExt] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[DeviceHead] = 40h
	[Command] = 27h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 85 07 20 00 00 00 00 00 00 00 00 00 00 40 27 00 

Sending command with send_IO
SG IO Issued as Indirect IO
SG Masked Status = 01h - Check Condition
SG Driver Status = 08h - Driver Sense Data Available

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 72 0B 00 00 00 00 00 0E 09 0C 01 04 00 00 00 00 
  0x10 00 00 00 00 40 51 


Sense Key: Bh = Aborted Command
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
	Return Task File Registers:
	[Error] = 04h
	[Count Ext] = 00h
	[Count] = 00h
	[LBA Lo Ext] = 00h
	[LBA Lo] = 00h
	[LBA Mid Ext] = 00h
	[LBA Mid] = 00h
	[LBA Hi Ext] = 00h
	[LBA Hi] = 00h
	[Device] = 40h
	[Status] = 51h

Command Time (us): 74.10

Read Native Max Address Ext returning: ABORTED

Failed to restore the max LBA!

Looking at the closing command result, which appears to be showing as "ABORTED".

Any ideas? :)

nick-hayhurst,
Thanks for the infomation. I'm going to have another engineer look at the information and the FDE spec to see about the native MaxLBA being not reported. I have a feeling the aborted command is do the FDE setting. We will try to get back to you late next week.
:)

Loos like the command is failing as the drive fails to report native Max LBA.
If you see at the very last command issued, then you can clearly see that this is where the tool try to get max native lba by issuing Read Max Address Ext.


Sending ATA Read Native Max Address Ext
Sending SAT ATA Pass-Through Command:
Protocol: NON-Data
Data Direction: No Data
Task File Registers:
[FeatureExt] = 00h
[Feature] = 00h
[CountExt] = 00h
[Count] = 00h
[LBA Lo Ext] = 00h
[LBA Lo] = 00h
[LBA Mid Ext] = 00h
[LBA Mid] = 00h
[LBA Hi Ext] = 00h
[LBA Hi] = 00h
[DeviceHead] = 40h
[Command] = 27h

CDB:

    0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  

0x00 85 07 20 00 00 00 00 00 00 00 00 00 00 40 27 00


This command failed and returned command aborted


Sending command with send_IO
SG IO Issued as Indirect IO
SG Masked Status = 01h - Check Condition
SG Driver Status = 08h - Driver Sense Data Available

Sense Data Buffer:

    0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  

0x00 72 0B 00 00 00 00 00 0E 09 0C 01 04 00 00 00 00
0x10 00 00 00 00 40 51

Sense Key: Bh = Aborted Command
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Return Task File Registers:
[Error] = 04h
[Count Ext] = 00h
[Count] = 00h
[LBA Lo Ext] = 00h
[LBA Lo] = 00h
[LBA Mid Ext] = 00h
[LBA Mid] = 00h
[LBA Hi Ext] = 00h
[LBA Hi] = 00h
[Device] = 40h
[Status] = 51h

Command Time (us): 74.10

Read Native Max Address Ext returning: ABORTED

Failed to restore the max LBA!


At this point we don't know what was the original max lba of the drive and thus we can not reset the drives max lba to the original one.

The failure of Read Max Address Ext (which is unexpected) is the main reason of the observed issue.
Can you let us now how the drive is connected to the system. Previously we have witnessed some command failure if a drive is connected through USB.

nick-hayhurst,
Looking through the FDE/TCG specs, DCO, Max Adrress will command abort until you disable the encryption and security features of the device.

Loos like the command is failing as the drive fails to report native Max LBA. If you see at the very last command issued, then you can clearly see that this is where the tool try to get max native lba by issuing Read Max Address Ext.

Sending ATA Read Native Max Address Ext Sending SAT ATA Pass-Through Command: Protocol: NON-Data Data Direction: No Data Task File Registers: [FeatureExt] = 00h [Feature] = 00h [CountExt] = 00h [Count] = 00h [LBA Lo Ext] = 00h [LBA Lo] = 00h [LBA Mid Ext] = 00h [LBA Mid] = 00h [LBA Hi Ext] = 00h [LBA Hi] = 00h [DeviceHead] = 40h [Command] = 27h

CDB:

    0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  

0x00 85 07 20 00 00 00 00 00 00 00 00 00 00 40 27 00

This command failed and returned command aborted

Sending command with send_IO SG IO Issued as Indirect IO SG Masked Status = 01h - Check Condition SG Driver Status = 08h - Driver Sense Data Available

Sense Data Buffer:

    0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  

0x00 72 0B 00 00 00 00 00 0E 09 0C 01 04 00 00 00 00 0x10 00 00 00 00 40 51

Sense Key: Bh = Aborted Command ASC & ASCQ: 0h - 0h = No Additional Sense Information FRU: 0h = No Additional Information Return Task File Registers: [Error] = 04h [Count Ext] = 00h [Count] = 00h [LBA Lo Ext] = 00h [LBA Lo] = 00h [LBA Mid Ext] = 00h [LBA Mid] = 00h [LBA Hi Ext] = 00h [LBA Hi] = 00h [Device] = 40h [Status] = 51h

Command Time (us): 74.10

Read Native Max Address Ext returning: ABORTED

Failed to restore the max LBA!

At this point we don't know what was the original max lba of the drive and thus we can not reset the drives max lba to the original one.

The failure of Read Max Address Ext (which is unexpected) is the main reason of the observed issue. Can you let us now how the drive is connected to the system. Previously we have witnessed some command failure if a drive is connected through USB.

Hi! Thanks for the response!

I am connected by a SAS HBA (LSI) - other devices of similar types don't show this issue when tested or when issuing Read Max Address.

Let me know if you need more information!

nick-hayhurst, Looking through the FDE/TCG specs, DCO, Max Adrress will command abort until you disable the encryption and security features of the device.

Interesting!

Is there a way to do so within openSeaChest?

Thanks so much!

nick-hayhurst, Looking through the FDE/TCG specs, DCO, Max Adrress will command abort until you disable the encryption and security features of the device.

Interesting!

Is there a way to do so within openSeaChest?

Thanks so much!

I doubt you can do it within openSeaChest. You probably need to do it in bios.

Well, SeaChest_Security has --revert method and --revertSP method. But those will revert the drive back to factory settings, at the same time all data on the device will be lost. Also you will need the PSID/admin password and your device must support those methods. Once all security is disabled, then you should be able to set the max address of the drive. There are other tools out on GitHub that would get you more functionality for the security and would have more options to access user lBA's.

I'm catching up on this issue.
I'm not sure exactly why this command would be aborted either, but I suspect it's due to some other feature being active.
I suspect it's some other security thing as @Swiss3003 and @DebabrataSTX mentioned earlier.
The commit I pushed does add detection of the HPA security feature to the -i option which may help track this a little further, but I didn't see the bits for this feature reported in the identify data, so I doubt it is the cause but it might help for other devices that run into a similar issue.

It seems that the command is failing because the drive is not reporting the native Max LBA (Logical Block Address). The tool attempts to get the max native LBA by issuing the "Read Max Address Ext" command, but this command fails and returns "command aborted."

The last command issued is:

Sending ATA Read Native Max Address Ext
Sending SAT ATA Pass-Through Command:
Protocol: NON-Data
Data Direction: No Data
Task File Registers:
[FeatureExt] = 00h
[Feature] = 00h
[CountExt] = 00h
[Count] = 00h
[LBA Lo Ext] = 00h
[LBA Lo] = 00h
[LBA Mid Ext] = 00h
[LBA Mid] = 00h
[LBA Hi Ext] = 00h
[LBA Hi] = 00h
[DeviceHead] = 40h
[Command] = 27h

This command fails and returns "command aborted." The sense data indicates an aborted command with no additional sense information.

The failure to get the Max LBA is causing the observed issue, and it's mentioned that the drive is connected via a SAS HBA (LSI). Other devices of similar types don't exhibit this issue when tested.

In summary, the problem seems to be specific to this drive and its connection via the SAS HBA, as other similar devices connected in the same way do not encounter this problem

The latest release (v23.12) has had some updates to the -i to help with determining the state of the HPA security feature. It is possible that this command is having an interaction with that feature and getting blocked, but I am not certain.

If you can try this new build and share the verbose logs, I will take a look and see if this may help determine what is going on.