Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue seen on Configure Band when setting of ‘rangestart’ is large, same issue for 'rangelength' #37

Open
ouyangweifeng opened this issue Jul 15, 2022 · 0 comments

Comments

@ouyangweifeng
Copy link

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:

  1. Build steps

  2. Run steps

  3. 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

  4. Type of drive interface that's being used (SAS/SATA/NVMe). => SATA.

  5. Product type ( Eg: Seagate, Micron). => Seagate

Expected behavior
Band should be configured successfully without error. See Screenshot for the good case.

Screenshots
image

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.

wangru-stx added a commit to wangru-stx/TCGstorageAPI that referenced this issue Sep 24, 2023
Signed-off-by: Ru Wang <ru.wang@seagate.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant