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

"chipset" command causes Segmentation fault on Intel Xeon-Silver 4410Y platform #13

Open
LitoneShi opened this issue Jan 24, 2024 · 0 comments

Comments

@LitoneShi
Copy link

Hi, I've met Segmentation fault when I was trying to use "chipset" command on Intel Xeon-Silver 4410Y platform. And I was forced to quit platbox_cli command line. It appears to be interrupted and I can't get all of the output. I've tried to use other commands like read bytes from physical address and It worked.
Here are some logs with Debug mode enabled. Why does this happen and how to solve it? Is there any way I can help? Thks :)

root@Litone:/Platbox-main/compiled# ./platbox_cli cli
/dev/KernetixDriver0 opened successfully: 3
>>> debug
-> Debug: enabled
>>> chipset
-> One dword read from 00:00:00 offset 00000000h: 09a28086h
-> One dword read from 00:1f:00 offset 00000000h: 1b818086h
-> One dword read from 00:00:00 offset 00000040h: 00920010h
-> One dword read from 00:00:00 offset 00000044h: 00000000h
-> One dword read from 00:00:00 offset 00000048h: 00000000h
-> One dword read from 00:00:00 offset 0000004ch: 00000000h
-> One word read from 00:00:00 offset 00000050h: 0000h
-> One dword read from 00:00:00 offset 00000054h: 00000000h
-> One dword read from 00:00:00 offset 00000058h: 00000000h
-> One dword read from 00:00:00 offset 0000005ch: 00000000h
-> One dword read from 00:00:00 offset 00000060h: 00000000h
-> One dword read from 00:00:00 offset 00000064h: 00000000h
-> One dword read from 00:00:00 offset 00000068h: 00000000h
-> One dword read from 00:00:00 offset 0000006ch: 00000000h
-> One dword read from 00:00:00 offset 00000070h: 00000000h
-> One dword read from 00:00:00 offset 00000074h: 00000000h
-> One dword read from 00:00:00 offset 00000078h: 00000000h
-> One dword read from 00:00:00 offset 0000007ch: 00000028h
-> One byte read from 00:00:00 offset 00000088h: 00h
-> One dword read from 00:00:00 offset 00000090h: 80000000h
-> One dword read from 00:00:00 offset 00000094h: 00000000h
-> One dword read from 00:00:00 offset 00000098h: 8c000000h
-> One dword read from 00:00:00 offset 0000009ch: 00000000h
-> One dword read from 00:00:00 offset 000000a0h: 00000000h
-> One dword read from 00:00:00 offset 000000a4h: 00000000h
-> One dword read from 00:00:00 offset 000000a8h: 78000000h
-> One dword read from 00:00:00 offset 000000ach: 7ff00000h
-> One dword read from 00:00:00 offset 000000b0h: 00000000h
-> One dword read from 00:00:00 offset 000000b4h: 00000000h
-> One dword read from 00:00:00 offset 000000b8h: 00000000h
-> One dword read from 00:00:00 offset 000000bch: 00000000h
-> MSR:[000001f2]: 78000006
-> MSR:[000001f3]: f8000c00
-> IA32_SMRR_PHYSBASE_MSR: 78000006
-> IA32_SMRR_PHYSMASK_MSR: f8000c00
-> SMRAM base: 78000000
-> SMRAM size: 07fff400
-> SMRAM limit: 7ffff3ff
-> One dword read from 00:1f:02 offset 00000040h: ffffffffh
-> One dword read from 00:1f:02 offset 00000048h: ffffffffh
-> One dword read from 00:1f:02 offset 00000044h: ffffffffh
-> One dword read from 00:1f:05 offset 00000010h: fe010000h
read_spi_interface_bar0_mmio -> fe010000
-> One dword read from 00:1f:05 offset 000000d8h: 0000ffcfh
-> One dword read from 00:1f:05 offset 000000dch: 100008aah
-> Successfully mapped physaddr fe010000 to 0x7fc8804e2000
-----------------------------------------
ProcessorType: 00
SteppingID: 08
ModelNumber: 0f
ExtendedModel: 08
FamilyCode: 06
ExtendedFamily: 00
-----------------------------------------
+] Processor
 -> VID: 09a2
 -> DID: 0000
+] PCH
 -> VID: 8086
 -> DID: 1b81
-----------------------------------------
 -> SMRR SMRAM Base: 78000000 - Limit: 07fff400
-> MSR:[000002e7]: 0
-> LT_MEMORY_LOCK_MSR (2E7h): 0000000000000000
    -> UNLOCKED
-> MSR:[0000003a]: 100005
-> MSR_FEATURE_CONTROL (3Ah): 0000000000100005
    -> LOCKED
    -> SMRR Enabled: TRUE
Segmentation fault
root@Litone:/Platbox-main/compiled#
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