You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When use configure band for a 20T drive, found an issue that can't configure that band if the setting of 'rangestart' is large, same issue for 'rangelength'. The program shows 'ValueError: Unknown format code 'x' for object of type 'str'.
To Reproduce
Steps to reproduce the behavior:
Build steps
Run steps
Python script and CLI command that's being used.
python3 sed_cli.py --device=/dev/sde --operation=configureband --bandno=3 --rangestart=0x48C400000 --rangelength=0x74706DB0 --lockonreset=true --keymanager=json
Type of drive interface that's being used (SAS/SATA/NVMe). => SATA.
Product type ( Eg: Seagate, Micron). => Seagate
Expected behavior
Band should be configured successfully without error. See Screenshot for the good case.
Screenshots
Desktop (please complete the following information):
OS: [e.g. CentOS 7] => CentOS 7
Python version => Python 3.6.8
Additional context
The Max LBA of this 20T drive is 0x9185FFFFF.
The text was updated successfully, but these errors were encountered:
wangru-stx
added a commit
to wangru-stx/TCGstorageAPI
that referenced
this issue
Sep 24, 2023
Describe the bug
When use configure band for a 20T drive, found an issue that can't configure that band if the setting of 'rangestart' is large, same issue for 'rangelength'. The program shows 'ValueError: Unknown format code 'x' for object of type 'str'.
To Reproduce
Steps to reproduce the behavior:
Build steps
Run steps
Python script and CLI command that's being used.
python3 sed_cli.py --device=/dev/sde --operation=configureband --bandno=3 --rangestart=0x48C400000 --rangelength=0x74706DB0 --lockonreset=true --keymanager=json
Type of drive interface that's being used (SAS/SATA/NVMe). => SATA.
Product type ( Eg: Seagate, Micron). => Seagate
Expected behavior
Band should be configured successfully without error. See Screenshot for the good case.
Screenshots
![image](https://user-images.githubusercontent.com/109335822/179168400-86c5a097-180b-4db6-8278-3fc15d69fc4c.png)
Desktop (please complete the following information):
Additional context
The Max LBA of this 20T drive is 0x9185FFFFF.
The text was updated successfully, but these errors were encountered: