You are not logged in.
Pages: 1
First off, I apologize if this is in the wrong section. I'm relatively new to the arch forums.
Anywho, I recently decided to install Arch on my Asus U43 bamboo laptop with Optimus tech. (I have been using arch for years on my other laptop).
VGA specs:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 310M] (rev a2)
What happens when I start bumblebee:
sudo rc.d start bumblebeed
:: Starting Bumblebee [BUSY]
FATAL: Module bbswitch not found.
[DONE]
What happens when I try to install bbswitch:
Error! echo
Your kernel headers for kernel 3.4.4-3-ARCH cannot be found at
/lib/modules/3.4.4-3-ARCH/build or /lib/modules/3.4.4-3-ARCH/source.
make: *** [build] Error 1
As an interesting note, When I run "glxgears" and "optirun glxgears," there is a clear difference, so long as the bumblebeed daemon is up.
I figure I can just turn bumblebeed on when I need to, but I was really hoping someonw could help me fix my kernel headers or something so that I can install bbswitch and get this thing going like it's supposed to.
Thanks a bunch! Sorry if this is an easy fix!
Last edited by Leios (2012-11-01 23:36:48)
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
Offline
Oops, really sorry. I forgot to mention that I already reinstalled the linux-headers with the same error and tried the dkms packages out of the aur instead of the normal ones.
When trying to install the dkms version of the nvidia driver, I receive a similar error:
Error! echo
Your kernel headers for kernel 3.4.4-3-ARCH cannot be found at
/lib/modules/3.4.4-3-ARCH/build or /lib/modules/3.4.4-3-ARCH/source.
Error! echo
Your kernel headers for kernel 3.4.4-3-ARCH cannot be found at
/lib/modules/3.4.4-3-ARCH/build or /lib/modules/3.4.4-3-ARCH/source.
The suggestions from the AUR said that installing the dkms packages is the easiest fix, but for some reason it is not working. Do I need to roll back my kernel headers to a version that works with bbswitch?
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
Looks like you are using testing. Does the directory "/lib/modules/3.4.4-3-ARCH/build" exist? As a sanity check, does `pacman -Q linux-headers` output anything (specifically linux-headers with the correct version number)? Did you run a system update to see if that fixes anything?
Edit: Forget that. I know what your problem is. You are using testing, and the directory /lib has been moved to /usr/lib. The PKGBUILD will need to be updated to reflect this.
If you are using testing, you should subscribe to the mailing list so you are more aware of issues like this.
Last edited by Pres (2012-07-12 19:53:08)
Offline
pacman -Q linux-headers
linux-headers 3.4.4-2
Also, after Pacman-Syu, the same error exists when trying to build bbswitch.
You were right, though, the file "/lib/modules/3.4.4-3-ARCH/build" does not exist. I am still new to arch, and apologize for the dumb question, but what should the contents of the article look like?
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
Your versions of linux and linux-headers don't match. 3.4.4-2 and 3.4.4-3.
3.4.4-3 is from testing. Do you have the [testing] repository enabled (check in your pacman.conf)? If so, I'd suggest not using it if you are new to Arch. If it's enabled, comment it out and then run `pacman -Syyuu`. If not, go ahead and run that command anyways. Two y's force a refresh of the package databases, and two u's tell pacman to go ahead and downgrade packages if a newer version is installed (this can happen if you enabled [testing] at one point and then commented it out).
Last edited by Pres (2012-07-12 20:02:43)
Offline
you were completely right. I accidentally ticked the "testing" box on install. I reinstalled and everythin works like a charm! I really appreciate it!
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
You could have just run the command I stated above to get rid of the testing repo. No need to reinstall the whole OS to fix a problem... this isn't windows
.
Anyways, glad you got it working.
Offline
i have the same problem, but i never had the testing repository active. and idk how to get the same kernel/header version
Offline
Give some more info. What is the exact error when building bbswitch?
Non-testing linux and linux-headers are on version 3.4.6-1 and a pacman -Syu should get you there.
Offline
Pages: 1