-
Notifications
You must be signed in to change notification settings - Fork 487
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
"Could not acquire EC lock" on Ubuntu 18.04 LTS #472
Comments
same issue for me |
Same problem as describes @linkwh (and @MonteyMontey). Tested on Ubuntu 16.04, 16.10 and 17.10 (everything OK), 18.04 not working with |
Same issue on 18.04 with UX430UQ. |
Disabled Secure Boot is already functional on my NTB (UX430UA). |
Mine is an Asus computer (UX410UA), juste like @stefanocirici and @Gele-CZ NBFC ran juste fine on Ubuntu 17.10 with secure boot enabled. |
In can confirm that it runs fine on Ubuntu 18.04 without Secure Boot disabled. Any idea on how to make it work with Secure Boot enabled? |
@hirschmann could you please take a look at our problem? I would like to keep secure boot enabled. |
I don't have much spare time right now, but I'll try to reproduce this issue on the weekend. |
I've deleted the file and enabled Secure boot. On restart:
Without the This is my journal (only errors are shown):
|
Thanks for your fast response 👍 The problem is caused by these "kernel lockdown" patches: In particular:
The ECLinux plugin uses
The ECSysLinux plugin uses The good news: The bad news: |
I'm new to Mint 19 and can't get the #414 script from @jgoclawski to work? mandree's method works for me (kernel.sysrq=16), but I'm unsure if my lift_kernel_lockdown.service is booting properly, and none of the boot managers I've searched for seem to be available for M19 at the minute. I'm fresh to Linux from Windows, so I don't even know if the syntax in the two files is correct for Mint? Another thought is that they might be plaintext files, although I C&Ped a genuine .sh to try and avoid that. It's not as easy to me as just creating a .bat and throwing it into Startup. Help appreciated! [edit] Oh, and NBFC is loaded and enabled at boot, as per systemctl status and is-enabled. |
BUT... lift_kernel_lockdown wasn't recognised with systemctl is-enabled, so I copied NBFC.service to another directory, filled it with the script and renamed it, and then made sure it was executable via Permissions before moving it back. And that's done it! Good work @jgoclawski |
This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed |
For me, disabling secure boot worked. |
have you tried adding the following kernel flag? |
After having built and installed the software (1.5.2 and 1.5.3 beta) as explained on this website :
NBFC ran just fine on the same computer with Ubuntu 17.10.
Step 1 : start the service & check that the service is running
$ sudo systemctl start nbfc
$ sudo systemctl status nbfc
● nbfc.service - NoteBook FanControl service
Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-04-30 16:35:48 CEST; 11min ago
Step 2 : read only mode works
$ nbfc.exe start -r
$ nbfc.exe status
Service enabled : True
Read-only : True
Selected config name : Asus Zenbook UX310UA
Temperature : 34
Fan display name : Fan #1
Auto control enabled : True
Critical mode enabled : False
Current fan speed : 0.00
Target fan speed : 0.00
Fan speed steps : 8
Step 3 : enabled mode does not work
$ nbfc.exe start -e
EC initialization failed: Could not acquire EC lock
$ nbfc.exe config -a "Asus Zenbook UX310UA"
EC initialization failed: Could not acquire EC lock
Additional info
mono-complete 4.6.2.7+dfsg-1ubuntu1 amd64
Linux 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: