LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2004, 01:55 AM   #1
WoodShaver
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Need some help with kernel source


[root@a81-84-57-58 build_mod]# rpm -q kernel-source
kernel-source-2.4.21-0.30mdk

[root@a81-84-57-58 build_mod]# uname -r
2.4.21-0.13mdk

as you see they are not the same, i recently installed "kernel-source-2.4.21-0.30mdk"
from the updates but it seems im using 2.4.21-0.13mdk.
How do i change it to 2.4.21-0.30mdk so i can run "./make.sh" so i can install the ati drivers correclty?

Im a begginer so i'd aprreciate some easy steps.
 
Old 05-21-2004, 02:22 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I guess you have two choices: upgrade the kernel or downgrade the source. Just make sure the version numbers match. If you update the source, it does not mean that your running kernel is affected.

As you already know how to install packages, just do the same again with the other package.

The command 'uname -r' gives you the version of the running (installed) kernel.
'rpm -q kernel-source' shows you that the package called 'kernel-source' is installed (leave away the '-source' and it may show you the installed kernel too).
 
Old 05-21-2004, 02:31 AM   #3
WoodShaver
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
i connot find any other package, and also:

[root@a81-84-57-58 build_mod]# rpm -q kernel
package kernel is not installed

what should i do?
 
Old 05-21-2004, 02:41 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Where did you get the kernel source from? Sorry, I am not familiar with Mandrake.

Maye the kernel-package is named different (like in Suse it is often k_<version>).

What I suggest is: got to a mandrake download site, search for the kernel source with the version number that uname -r shows you and install it. I don't know how the 'real' mandrake way is. Do you have a kind of setup tool?
 
Old 05-21-2004, 02:45 AM   #5
WoodShaver
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
yes, i just go to configure pannel, under packaging and select install software, it makes a list of available packages to download. Thats what i did and i selected to install 2.4.21-0.30mdk
automaticaly. very much like a windows update.

Last edited by WoodShaver; 05-21-2004 at 02:47 AM.
 
Old 05-21-2004, 02:49 AM   #6
WoodShaver
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
[root@a81-84-57-58 build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.4.21-0.13mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

this is what i did to try and install the ati drivers, before this it said that i didnt have a kernel or something like that , thats what made me install the kernel source from the updates.
 
Old 05-21-2004, 03:31 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
So you need to update the kernel. Can't you just select the kernel package? When the source is 0.30, I guess the kernel is that too. You make yourself clear that the source is not the kernel, so there must be another package for the kernel binary. And I don't know how this is called in Mandrake ...
 
Old 05-22-2004, 10:14 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Its there. The kernel binary shows up before the source does. I usuall search rpmdrake and find what I want: put in kernel in the search box. You know that if its possible, it'll be done...
 
Old 06-12-2004, 02:11 PM   #9
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
i've upgrade my kernel as u said but i got the folowing msge:

[root@17924882 setlec]# cd /lib/modules/fglrx/build_mod
[root@17924882 build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.4.21-0.13mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
[root@17924882 build_mod]#

a update will resolve this?
cya
 
Old 06-12-2004, 02:34 PM   #10
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
i've looked for update with the mdk update but there is none.... What i'll do?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 01:56 PM
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration