Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Intel Rank Margin Tool Error on Tigerlake UP3

fosterlux
Beginner
431 Views

While running the Rank Margin Tool on a Tigerlake UP3 system I get the following error:

Shell> fs0:
FS0:\> cd fs0:\chipsec
FS0:\chipsec\> python RMT_Extractor.py
Total TestCycles...
3
Current Execution Cycle...
1
Extracting BDAT
Bdat extracted successfully...
not memhal
Unable to import memory HAL
Error reading the BDAT header
Traceback (most recent call last):
File "RMT_Extractor.py", line 201, in <module>
main()
File "RMT_Extractor.py", line 169, in main
extract_BDAT_DATA(BDAT_address,"BDAT_buffer.bin")
File "RMT_Extractor.py", line 81, in extract_BDAT_DATA
BDAT_size=unpack_from("I", BDAT_head,-4)[0]
UnboundLocalError: local variable 'BDAT_head' referenced before assignment
FS0:\chipsec\> if EXIST fs0:\results\end.txt then
FS0:\chipsec\> reset -c

 

 

I have configured the BIOS settings as indicated in the setup guide. Is this tool supported on this platform? I have run into other issues where I cannot configure overclocking or timing settings on this platform because they are not supported.

0 Kudos
1 Reply
fosterlux
Beginner
430 Views

Additional information: after this failure, the size of the bdat.dat seems to be very small:

 

[root@SDX6330 ~]# ls -la x
drwxr-x--- 7 root root 16384 Jan 1 1970 .
drwxr-x--- 4 root root 1024 Jan 1 01:22 ..
drwxr-x--- 6 root root 16384 Jan 1 01:36 EFI
drwxr-x--- 2 root root 16384 Nov 25 16:25 System Volume Information
-rwxr-x--- 1 root root 48 Jan 1 00:33 bdat.dat
drwxr-x--- 14 root root 16384 Jan 1 00:33 chipsec
drwxr-x--- 17 root root 16384 Mar 26 2026 old
drwxr-x--- 2 root root 16384 Mar 23 2026 results
-rwxr-x--- 1 root root 324 Oct 27 2023 startup.nsh
-rwxr-x--- 1 root root 42 Mar 25 2026 userInput.json

0 Kudos
Reply