-
Notifications
You must be signed in to change notification settings - Fork 24
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
Crash on Macbook Air -08 "Could not map GMA950/GMA965 memory" #8
Comments
This is most likely a change in the kernel, since I haven't made any significant changes in the last few months. (Not that there aren't any that should be made, but I'm too lazy.) Thanks for the bug report - I'll get on it in a few days most likely. |
Yeah, a kernel change is my suspicion too as it crashes in the same way in the original version of pommed. |
Possibly related (from dmesg): |
The error is generated on line 138 in the file gma950_backlight.c the offending line: The error from mmap, "Resource temporarily unavailable", I think is EAGAIN, which according to the manpage (http://man7.org/linux/man-pages/man2/mmap.2.html) has two causes:
|
Ok, tried it now and it works fine, what I did was essentially blank gma950_backlight.c (http://pastebin.com/J2CRqMzG). |
The error message reported above happened even when pommed was started manually, rather than from systemd on boot, right? (The bug reported by rekoil would be related if not, so just making sure.) |
bytebox: Yes it happens every time no matter how it is started, so not a systemd issue. |
This came back to bite me on 1.47.
So instead of messing with the sourcecode of pommed-light, I find that I no longer need it. *FN-keys can be switched to function-keys (F1-F12) by adding this line to /etc/modprobe.d/hid_apple.conf:
|
I'm back to using Pommed-light since I found the long term support kernel (version 3.14.51) dont have such severe sleeping problems with the Macbook Air. I've tested it and it works on my system. |
I had the same issue on a first-gen Macbook Air with kernel 4.5.0 and the patch seems to fix it. |
Debug output: http://pastebin.com/1xwMwe59
The relevant error:
E: mmap failed: Resource temporarily unavailable
E: Could not map GMA950/GMA965 memory
E: LCD backlight probe failed, check debug output
Running on Linux 3.8.11, (Arch Linux with systemd).
It used to work a few months ago when I last used linux on this machine, but I could not say which version.
Also tried the pommed arch packages pommed and pommed-git, but they give the same error.
The text was updated successfully, but these errors were encountered: