-
Notifications
You must be signed in to change notification settings - Fork 30
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
mmap bar1: Operation not permitted #10
Comments
I have the same problem with Ubuntu 18.04 desktop x64 |
This is an issue with the kernel's CONFIG_STRICT_DEVMEM setting. "Recently" (since 4.16) it started defaulting to "on" which enables a whole host of restrictions on /dev/mem: a program can only If you can reboot, setting I'm considering a feature request/pull request to the upstream kernel for some sort of driver-level interface to the debug registers, which would allow operation with strict_devmem, as well as precluding the need to disable the IOMMU, since the driver would be the thing doing all the DMA transfers (the current implementation "cheats" by mapping a giant buffer and getting the physical address for the card to DMA to; an IOMMU blocks that because userland RAM is not intended for DMA) |
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
upgrade bootloaders (both bios and uefi) to set iomem=relaxed - marcan/lsirec#10 (comment) Also add flash script for BTRFS H310 users (P16 firmware)
I have all the necessary files:
However when attempting to execute lsirec to make a backup, I'm getting the following error:
For reference I've included an output of
lspci -Dvvnn
below for information about my device:My machine is running Ubuntu 20.04.1 LTS and Kernel is Linux 5.4.0-56-generic if that helps.
The text was updated successfully, but these errors were encountered: