Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
version 2.6.24-gentoo-r5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mcmaster
n00b
n00b


Joined: 19 Oct 2009
Posts: 6

PostPosted: Mon Oct 19, 2009 3:50 pm    Post subject: version 2.6.24-gentoo-r5 Reply with quote

Hi All,

I've got something weird going on on my system. I supposedly have gentoo-r5 kernel, but I only have the source for gentoo-r7. Does anyone know why or where I can get source for gentoo-r5?

# uname -a
Linux localhost 2.6.24-gentoo-r5 #1 SMP Thu Jun 26 18:36:15 UTC 2008 i686 Intel(R) XEON(TM) CPU 2.20GHz GenuineIntel GNU/Linux

My /usr/src however only has version r7:

# ls /usr/src/
linux linux-2.6.24-gentoo-r7

The reason I care is because I can't get vbox to work. I get the following error:

Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:158: *** Error: /usr/src/linux (version 2.6.24-gentoo-r7) does not match the current kernel (version 2.6.24-gentoo-r5). Stop.


Any ideas/suggestions/comments?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6208
Location: Dallas area

PostPosted: Mon Oct 19, 2009 3:52 pm    Post subject: Reply with quote

what does
Code:
eselect kernel list

return
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
mcmaster
n00b
n00b


Joined: 19 Oct 2009
Posts: 6

PostPosted: Mon Oct 19, 2009 3:53 pm    Post subject: Reply with quote

Available kernel symlink targets:
[1] linux-2.6.24-gentoo-r7 *
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6208
Location: Dallas area

PostPosted: Mon Oct 19, 2009 3:55 pm    Post subject: Reply with quote

what does "ls -l /usr/src" return
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
mcmaster
n00b
n00b


Joined: 19 Oct 2009
Posts: 6

PostPosted: Mon Oct 19, 2009 3:56 pm    Post subject: Reply with quote

That was in the original post, but here you go:

ls -l /usr/src
total 4
lrwxrwxrwx 1 root root 22 Apr 2 2009 linux -> linux-2.6.24-gentoo-r7
drwxr-xr-x 21 root root 4096 Oct 19 10:12 linux-2.6.24-gentoo-r7
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6208
Location: Dallas area

PostPosted: Mon Oct 19, 2009 3:58 pm    Post subject: Reply with quote

It seems you no longer have the r5 sources, so you will have to rebuild the linux kernel.

I have no idea if you moved the .config file from r5 to r7,
if not you'll have to configure it before you compile it.


Note: sorry I glossed over seeing the directories in the original post
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
mcmaster
n00b
n00b


Joined: 19 Oct 2009
Posts: 6

PostPosted: Mon Oct 19, 2009 3:59 pm    Post subject: Reply with quote

That's my question: where do I get gentoo-r5?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6208
Location: Dallas area

PostPosted: Mon Oct 19, 2009 4:03 pm    Post subject: Reply with quote

You can get the ebuild from http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/gentoo-sources/?hideattic=0

under the "dead files" area

Why not rebuild the kernel with the latest r7 revision?

Even if you pull the old sources down, you won't have the .config file for it.
So if you do have to rebuild you'll still have to configure it.
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
mcmaster
n00b
n00b


Joined: 19 Oct 2009
Posts: 6

PostPosted: Mon Oct 19, 2009 4:07 pm    Post subject: Reply with quote

Just going with the least amount of effort as time is of the essence. If I have to rebuild later, then we'll cross that bridge when we get to it.

Thanks for your quick replies!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6208
Location: Dallas area

PostPosted: Mon Oct 19, 2009 4:09 pm    Post subject: Reply with quote

Good luck
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
LesCoke
n00b
n00b


Joined: 02 Jun 2008
Posts: 48
Location: Denton, Tx

PostPosted: Mon Oct 19, 2009 5:51 pm    Post subject: Reply with quote

If his R5 kernel had /proc/config.gz support, the .config can be extracted using zcat.
Back to top
View user's profile Send private message
mcmaster
n00b
n00b


Joined: 19 Oct 2009
Posts: 6

PostPosted: Mon Oct 19, 2009 8:04 pm    Post subject: Reply with quote

Ended up re-compiling the kernel, but running great on gentoo-r7 now. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum