Jump to content

Difference between kernel-source... and kernel...


Guest SpruceMoose
 Share

Recommended Posts

Guest SpruceMoose

Hi,

 

I'm trying to install my kernel source, on a machine without an internet

connection. I found 2 files, I'm wondering which is the correct one to

use, and what's the difference.

 

40780203 May 12 11:28 kernel-2.6.8.1.12mdk-1-1mdk.src.rpm

44834068 May 12 11:32 kernel-source-2.6-2.6.8.1-12mdk.i586.rpm

 

Also, when I boot up, it says I'm on an i686...does that make any

difference?

 

Any help appreciated,

thanks,

SpruceMoose

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

To check which kernel you're running, type the following:

 

uname -r

 

This will then output what is currently active. There doesn't seem to be a kernel source for i686, so I would assume that you would install the kernel source you found already. Make sure it matches your existing kernel! The one that mentions "source" in it is your kernel source. The other, is another kernel version (i586).

Edited by ianw1974
Link to comment
Share on other sites

Guest SpruceMoose

Thanks for your reply.

 

uname -r gives me 2.6.8.1-12.

 

The file that mentions "source" also mentions "i586"...but I think you're right,

that's the one to use regardless...there isn't a version that mentions

i686. If I was using urpmi (which I'm not because that machine isn't connected

to the internet) I would be looking for kernel-source-2.6.8.1xxxxxxx.rpm

 

I'm assuming the i586 file is valid for i686 as well. Anyone have any ideas

what kernel-2.6.8.1.12mdk-1-1mdk.src.rpm is for?

 

Thanks,

SpruceMoose

Link to comment
Share on other sites

That's a source rpm which is part of the rpm package management system. It allows you to rebuild an rpm package if you can't find a prebuilt rpm for your CPU architecture. It can also help resolving dependency problems if, for example, the orignal rpm was built on a computer with some different library versions than you have. To make a new rpm from the source rpm, you run:

 

# rpmbuild --rebuild packagename.src.rpm

 

and that will generate a new rpm named "packagename.rpm" which can be installed.

 

Also, i586 rpms( as well as i386) will run fine on i686.

Edited by pmpatrick
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...