View previous topic :: View next topic |
Author |
Message |
thomas_nj Tux's lil' helper
Joined: 24 Aug 2004 Posts: 87
|
Posted: Tue Feb 08, 2005 4:42 pm Post subject: Why does the ati-driver want kernel 2.4.28-r5 |
|
|
Hello
When I run "emerge --pretend ati-drivers" it telss me that it will download a packet named "sys-kernel/gentoo-sources-2.4.28-r5"
I am using the 2.6.10 kernel so I am a bit worried that it want to get an older version.
/etc/src/linux points to the folder with my kernel so I don't think that it is here the problem is.
Does anyone have an idea on how to make portage use my 2.6.10 kernel instead of that 2.4.28 it is trying to download? |
|
Back to top |
|
|
Mardi n00b
Joined: 17 Apr 2004 Posts: 25 Location: Aarhus, Denmark
|
Posted: Tue Feb 08, 2005 4:52 pm Post subject: |
|
|
Well emerging ati-drivers dont do the same on ant of my machines.
Could it be that you have an old entry in the "world" file? So that you have both gentoo-dev-sources and gentoo-sources
(World file is in /var/lib/portage) |
|
Back to top |
|
|
thomas_nj Tux's lil' helper
Joined: 24 Aug 2004 Posts: 87
|
Posted: Tue Feb 08, 2005 4:58 pm Post subject: |
|
|
How do I see if I have something old? What am I looking for? |
|
Back to top |
|
|
Mardi n00b
Joined: 17 Apr 2004 Posts: 25 Location: Aarhus, Denmark
|
Posted: Tue Feb 08, 2005 5:13 pm Post subject: |
|
|
By old i mean that maybe a 2.4 kernel has found its way to your world file.
The 2.6.10 kernel you currently use could f.ex.
be the gentoo-dev-sources kernel
Then your world file should have an entry
sys-kernel/gentoo-dev-sources
Which lets portage know you use this kernel, and would like updates etc. for it.
If you also have another kernel in your world file then when emerging ati-drivers would update that kernel aswell. This could be gentoo-sources or vanilla-sources.
So look for a line with:
sys-kernel/"some kernel you dont use" |
|
Back to top |
|
|
thomas_nj Tux's lil' helper
Joined: 24 Aug 2004 Posts: 87
|
Posted: Tue Feb 08, 2005 5:19 pm Post subject: |
|
|
Here is what I found in the file:
net-misc/dhcpcd
sys-boot/grub
sys-kernel/linux-headers
sys-libs/glibc
app-editors/vim
I am using the vanilla kernel from www.kernel.org so does this mean that I have to add something to the file? |
|
Back to top |
|
|
Mardi n00b
Joined: 17 Apr 2004 Posts: 25 Location: Aarhus, Denmark
|
Posted: Tue Feb 08, 2005 5:31 pm Post subject: |
|
|
Okay.. so maybe you got the kernel sources without using portage?
That would explain why you dont have a kernel source in your world file.
Try adding
Code: | sys-kernel/development-sources |
To your world file. Thats portages name for the 2.6 vanilla sources. |
|
Back to top |
|
|
thomas_nj Tux's lil' helper
Joined: 24 Aug 2004 Posts: 87
|
Posted: Tue Feb 08, 2005 6:10 pm Post subject: |
|
|
It did not help.
Just to make sure the link /usr/src/linux is made with: "ln -s" right |
|
Back to top |
|
|
Mardi n00b
Joined: 17 Apr 2004 Posts: 25 Location: Aarhus, Denmark
|
Posted: Tue Feb 08, 2005 6:38 pm Post subject: |
|
|
Yes it is: ln -s "kernel dir" linux
Did you get the kernel using portage or by downloading it from kernel.org (your world file suggests manual download)
If the latter then the problem might be that portage dosn't "know" you already have a kernel source when you manually download a package. Maybe you could try emerging the kernel. This will download the vanilla- kernel (maybe a newer version than what you've got) and then register within portage that you actually have a kernel.
Code: | emerge gentoo-sources |
After this you should check that the symlink still points to your current kernel.
If this dosen't help.. i dont know.. You could emerge the kernel sources. set the symlink. emerge ati-drivers. (Hope your not on dial-up ) |
|
Back to top |
|
|
thomas_nj Tux's lil' helper
Joined: 24 Aug 2004 Posts: 87
|
Posted: Wed Feb 09, 2005 6:55 pm Post subject: |
|
|
It helped getting my kernel with portage. Thank you very much for your time |
|
Back to top |
|
|
|