Comments (3)
This seems doable - It seems we just need to write 'x' to /proc/sysrq-trigger?
Aside from that, is there a way of determining if kernel lockdown is currently enabled so we can try disabling it before attempting to write?
from flashrom.
It seems we just need to write 'x' to /proc/sysrq-trigger?
On ubuntu at least, cat /proc/sys/kernel/sysrq returns 176, which does not allow SysRq+x by default. So the additional step of for eg. "echo "1" > /proc/sys/kernel/sysrq" is needed before SysRq+x. Overall, I think flashrom should not get into lifting lockdown. That should be left to the user and the distro. Besides, all distros may not even allow this. (That is the main point of lockdown afterall). The error message should be helpful though.
is there a way of determining if kernel lockdown is currently enabled
I am not aware, but yes, this is all that should be done I think. Detect lockdown and change the error message.
from flashrom.
I have the same problem with latest flashrom (v1.2). That error message is shown, but it's a bit confusing. Realized that was related to kernel lockdown. The code should be changed to display a more detailed description about this.
Also, would like to use flashrom without needing to turning off Secure Boot.
from flashrom.
Related Issues (20)
- Compling with enabled all devices supported doesn-t work HOT 1
- make install fail, can't find man8/flashrom.8 HOT 1
- Plase add support for MX66U2G45G HOT 1
- Enable power cycle and permanent write protection commands HOT 1
- AMD FP4 write/read protect issue HOT 1
- Please add support for spi-nor mx66u2g45 HOT 1
- Difficulties getting a consistent read from chip HOT 1
- Programmer dirtyjtag_spi can never be enabled HOT 1
- Add 25D40 BoyaMicro HOT 1
- Flashrom Serprog comport issue HOT 1
- no programmer support HOT 1
- W25Q128JV-IQ CS pin not going to 0 HOT 1
- Missing USB programmer support when building on arm64 HOT 1
- Any Update for supported device lists HOT 1
- Erase and Write problem with a SST25VF512. HOT 1
- Feedback on "new" documentation website <www.flashrom.org> HOT 1
- Add support for STLinkV3-Mini HOT 1
- Support GigaDevice GD25LB128D HOT 1
- Read error trying to read a FM25Q128A rom HOT 1
- [Feature Request] Add support for flash Winbond W25N01GV HOT 1
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 flashrom.