You are not logged in.

#1 2014-02-11 15:28:15

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

[Solved] Linux Headers for Kernal 3.12.6-1

I'm trying to install V-Box and I'm using custom kernel 3.12.6-1 because the newer versions are not working properly on my machine, so to load v-box modules I need Linux-headers package for the current kernel and I searched a lot for the package but I didn't find it.

Any suggestions?

Thank you!

Last edited by Walid_wah (2014-02-13 08:09:12)

Offline

#2 2014-02-11 15:44:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Linux Headers for Kernal 3.12.6-1

If you are using a custom kernel then the official linux-headers package from 3.12.6-1 is not going to work.  You need the headers from your specific kernel that you have built.  The Arch PKGBUILD for 'linux' actually builds three packages which include the kernel itself, the headers, and the docs.  If you really built a custom kernel yourself and you used the Arch Build System, then you should have made this package as well.  If you built a kernel in the traditional way, the makefile should have installed these files for you.

Offline

#3 2014-02-11 15:53:48

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [Solved] Linux Headers for Kernal 3.12.6-1

Actually what I did is just downgrading from 3.12.9-1 to 3.12.6-1  after having a problem with 3.12.9-1 (using pacman -U on the 3.12.6-1 cache package), so I didn't build it with PKGBUILD.

Offline

#4 2014-02-11 15:56:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] Linux Headers for Kernal 3.12.6-1

So not a custom kernel, just an old one.

pacman -U the corresponding headers package as well.

Hang on, scratch that - just get the corresponding vilrtualbox-host-modules package.

Last edited by tomk (2014-02-11 15:58:24)

Offline

#5 2014-02-11 16:31:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Linux Headers for Kernal 3.12.6-1

3.12.6-1-ARCH is not that old, so you should be able to find all these things in the Arch Rollback Machine.  See the wiki for more info.

Offline

#6 2014-02-12 08:10:49

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [Solved] Linux Headers for Kernal 3.12.6-1

Still getting modprobe: ERROR: could not insert 'vboxdrv': Exec format error

Where can I find the whole kernel package to build it and pick the herders package from it?
I believe that upgrading will solve the problem, but I can't update or even fall back! sad

Offline

#7 2014-02-12 09:29:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] Linux Headers for Kernal 3.12.6-1

You need to fix your underlying problem first - then you can worry about vbox.

Offline

#8 2014-02-13 08:03:44

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [Solved] Linux Headers for Kernal 3.12.6-1

I fixed  Updating kernel issue and then I reinstalled VBox after clearing the cache packages, and the issue has been solved.

Thank you all!

Offline

Board footer

Powered by FluxBB