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

smbios-token-ctl / Could not manipulate system token #144

Open
rowlap opened this issue Feb 26, 2024 · 0 comments
Open

smbios-token-ctl / Could not manipulate system token #144

rowlap opened this issue Feb 26, 2024 · 0 comments

Comments

@rowlap
Copy link

rowlap commented Feb 26, 2024

smbios-token-ctl bails out with error:

# src/bin/smbios-token-ctl --version
2.4.3

# src/bin/smbios-token-ctl --dump-tokens-csv
ID,Type,Value,Name,Setting
ERROR: Could not manipulate system token.

With --trace output the final error section is

ENTER isActive(<libsmbios_c.Token ID 0x0005>, )
ENTER _errorOnNegativeFN(-1, <_FuncPtr object at 0x7fa756cf1750>, (<libsmbios_c.Token ID 0x0005>,), )
RAN CTYPES FUNCTION: token_obj_is_active
ENTER _obj_strerror(<libsmbios_c.Token ID 0x0005>, )
LEAVE _obj_strerror --> b'Low level SMI call failed.\n\xbe\xc6\x80V\x05'

EXCEPTION: b'Low level SMI call failed.\n\xbe\xc6\x80V\x05'
Traceback (most recent call last):
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/trace_decorator.py", line 103, in trace
    result = func(*args, **kw)
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/_common.py", line 65, in _errorOnNegativeFN
    _doExc(exception_fn, result, func, args, _("function returned negative error code") )
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/_common.py", line 25, in _doExc
    raise exception_fn(r, f, a)
libsmbios_c.smbios_token.TokenManipulationFailure: b'Low level SMI call failed.\n\xbe\xc6\x80V\x05'
LEAVE _errorOnNegativeFN --> 'EXCEPTION RAISED'

EXCEPTION: b'Low level SMI call failed.\n\xbe\xc6\x80V\x05'
Traceback (most recent call last):
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/trace_decorator.py", line 103, in trace
    result = func(*args, **kw)
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/smbios_token.py", line 50, in isActive
    return DLL.token_obj_is_active(self)
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/trace_decorator.py", line 103, in trace
    result = func(*args, **kw)
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/_common.py", line 65, in _errorOnNegativeFN
    _doExc(exception_fn, result, func, args, _("function returned negative error code") )
  File "/tmp/libsmbios-2.4.3/src/bin/../python/libsmbios_c/_common.py", line 25, in _doExc
    raise exception_fn(r, f, a)
libsmbios_c.smbios_token.TokenManipulationFailure: b'Low level SMI call failed.\n\xbe\xc6\x80V\x05'
LEAVE isActive --> 'EXCEPTION RAISED'

ERROR: Could not manipulate system token.

This error is seen on multiple devices and models (OptiPlex / Precision). The interesting thing is that cctk fails to enumerate BIOS settings on the same systems which fail with the above error.

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