Comments (8)
I got this error too, and tracked the issue down.
iopl()
returns an error EPERM
(Operation not permitted) - even when invoked as root - if the kernel is in "lockdown mode". One of the things that lockdown mode does is disables userspace access to privileged I/O.
You can check if you are in lockdown mode as follows:
$ cat /sys/kernel/security/lockdown
none [integrity] confidentiality
Modern Linux distributions - such as Debian, in my case - will automatically enter lockdown mode (integrity) when the kernel is booted with EFI Secure Boot enabled. To fix the issue I simply disabled Secure Boot and restarted my machine.
from intelmetool.
@eloydegen first of all, your change applies to inteltool not intelmetool. Second, this repository is retired. I am no longer maintaining it, it is there to preserve history. See coreboot/util for upstream. Thanks.
from intelmetool.
@zamaudio I see, my apologies!
from intelmetool.
No idea, I just tried on a system with 4.14.7-300.fc27.x86_64
and iomem=relaxed
and it worked... Maybe Ubuntu has some special kernel patches applied that prevents pci i/o space from being mapped? Can you try running it again and then paste the output of dmesg | tail
.
from intelmetool.
Maybe paste also cat /boot/config-$(uname -r) |grep DEVMEM
from intelmetool.
Nothing notable from dmesg (nothing added after running the intelmetool command; last entries are ALLOWED apparmor entries for chromium and wifi association)
for DEVMEM settings:
root@mysystem:/home/myuser/intelmetool# cat /boot/config-$(uname -r) |grep DEVMEM
CONFIG_DEVMEM=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
CONFIG_STRICT_DEVMEM=y
# CONFIG_IO_STRICT_DEVMEM is not set
from intelmetool.
You can try the mekernel
branch of intelmetool instead. I just updated it so you can build the kernel module and insert it, and then check dmesg for its output.
from intelmetool.
Issue is fixed with this commit: https://review.coreboot.org/c/coreboot/+/63702
@zamaudio can you close this issue?
from intelmetool.
Related Issues (20)
- Unclear output #2 - Dell E6410 HOT 1
- Unclear output #3 Dell Studio XPS 435mt HOT 3
- intelmetool.c:20:10: fatal error: pci/pci.h: No such file or directory HOT 2
- Intel E3815: Hardware unsupported by intelmetool, exiting HOT 6
- Make warnings: variable 'csr' set but not used, pointer from integer without cast HOT 1
- Potentially misleading output on ASUS P6T SE HOT 3
- Sunrise Point-LP: Hardware unsupported HOT 3
- MEI device not found, huh? HOT 3
- timeout error on mei_recv_msg + possible cause / solution HOT 2
- Intel C602 chipset: Hardware unsupported
- Support HM87 Express LPC Controller
- segmentation fault HOT 3
- Bad news, device 944e... ME hardware
- Ambigious Result HOT 1
- Output explanation
- Hardware unsupported by intelmetool, exiting
- Can't find ME PCI device after me_cleaner -s HOT 1
- Repository website is invalid HOT 1
- segfault HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intelmetool.