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

Alert user if no locking ranges are enabled #6

Open
oom-is opened this issue Oct 21, 2019 · 2 comments
Open

Alert user if no locking ranges are enabled #6

oom-is opened this issue Oct 21, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@oom-is
Copy link
Owner

oom-is commented Oct 21, 2019

per r0m30 (2016-01-26) in DTA #13
If during setup/install the user fails to enable any locking ranges but enables and loads a PBA, sedutil will report that the drive is unlocked even though it is in fact only being unshadowed.

@oom-is oom-is added the enhancement New feature or request label Oct 21, 2019
@oom-is oom-is self-assigned this Oct 21, 2019
@oom-is
Copy link
Owner Author

oom-is commented Oct 28, 2019

It appears that this was fixed in commit 768478e2 to LinuxPBA/UnlockSEDs.cpp - specifically around line 92 r0m30 added code that specifically notes that an Opal drive was "OPAL NOT LOCKED".

The corresponding comment from the commit is "Update PBA - better messages".

Closing this as "fixed/OBE".

@oom-is oom-is closed this as completed Oct 28, 2019
@oom-is
Copy link
Owner Author

oom-is commented Nov 2, 2019

There's more needed for a thorough fix - see also ckamm e4709a5 as a starting point.

Additionally, need to figure out a way to ensure that --query shows status of LockingRange 0 (or something) and highlights it if no locking range is enabled. (Or something? maybe an alternate to
--query that actually provides data for $averageUser ?)
Otherwise one symptom seen is PBA "success" with "not locked" message, then reboot back into PBA...while 1 do.

@oom-is oom-is reopened this Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant