-
Notifications
You must be signed in to change notification settings - Fork 575
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
"python chipsec_util.py config show MMIO_BARS" errors out and acts like the Windows kernel driver isn't loaded, despite kernel-requiring functionality working #1262
Comments
And possibly related to this, here's some more commands that don't work because of it seeming to think the kernel driver isn't loaded and then using 0xFFs for the VID/DID. Here they're literally supposed to just be parsing files of disk, so there really shouldn't be any call for using the kernel driver...
|
Confirmed the same inability to parse the files off disk in 1.7.1 too |
Any thoughts on why Chipsec 1.7.2 on Linux would succeed in parsing the SPI flash dump (python chipsec_util.py spidesc .\myflash.bin) on the same machine where 1.7.2 fails from within Windows? |
There could be a number of reasons. Is it possible to forward a verbose log file (-vv) to chipsec@intel.com? |
I'll just attach here. Here's the linux log... And here's the Windows Log... |
It doesn't appear that the CHIPSEC Windows driver is loading. Do any of the steps from the Install in Windows page help? |
Also, if you don't need the driver to load, you can use the -n or --no_driver switch. |
For the spidesc issue, it was failing for me as well on chipsec 1.7.1 under Windows. I found out that the method SPIDescCommand.requires_driver located on the file chipsec\utilcmd\spidesc_cmd.py was set to return False, so the driver would not be loaded. Once I changed it to true everything started working as expected. I haven't tried the decode command, but a quick look at the code also shows that DecodeCommand.requires_driver is set to return False. Could a quick fix for both issues be to set the requires_driver function to return True? |
I think you're probably missing a regression test for "python chipsec_util.py config show MMIO_BARS" and that it probably broke at some point.
I can run commands like "python chipsec_util.py spi dump foo.bin" or "python chipsec_util.py reg read BC" which work, and show the chipsec_hlpr.sys is loaded, but once I run "python chipsec_util.py config show MMIO_BARS" I see "ERROR: chipsec kernel driver is not loaded (in native API mode?)". See below.
The text was updated successfully, but these errors were encountered: