LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 01-06-2005, 09:13 AM   #1
lm317t
Member
 
Registered: Jan 2005
Location: Raleigh, NC
Distribution: Debian Etch, Slackware 10.2, Ubuntu 6.10, OpenWRT
Posts: 66

Rep: Reputation: 15
Mandrake rpm kernel vs. standard kernel


Hi,
This is related to my earlier post. What is the difference between a 2.6.3-7mdk kernel that comes with Mandrake as an RPM and the 2.6.3 kernel one might download from kernel.org? In other words does Mandrake do something special to their kernel packages that allows them to boot correctly under their rc scripts for example?

Thanks,
Brian
 
Old 01-06-2005, 10:31 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

i am using a custom kernel
not the one that comes with mandrake
the differnce is that mandrake sets the options which it thinks will be better and the kernel that u get from kernel.org .has no configration i.e u willl have to set the options that u waant to build in the kernel.
the source code will be the same in both case
only configuration is imaportant, i have designed my own kenrel according to my needs

regards
 
Old 01-06-2005, 11:47 AM   #3
Biased turkey
Member
 
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169

Rep: Reputation: 30
I think the kernel you get from Mandrake is already compiled, while the one you get from kernel.org is the source code and must be compiled . That's the reason why there is a separate package on the Mandrake CDs with the kernel-source.
If you compile your kernel from source you can configure it to suit exactly the specific hardware on your system. For example, why would you need an ATI Radeon module in your kernel if you have an Nvidia graphic board ?
On the other hand the precompiled Mandrake kernel includes anything you can imagine so the Mandrake installation will run smoothly and a huge range of peripherals will be detected and configured.
 
Old 01-06-2005, 11:56 AM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
True the Mandrake kernel has a lot of drivers and such configured to be compiled in or as modules, but I think you'll also find it has some patches applied which aren't in the vanilla source of say 2.6.8.1. IIRC they had additions to supermount before they were in the default kernel.
 
Old 01-06-2005, 11:56 AM   #5
lm317t
Member
 
Registered: Jan 2005
Location: Raleigh, NC
Distribution: Debian Etch, Slackware 10.2, Ubuntu 6.10, OpenWRT
Posts: 66

Original Poster
Rep: Reputation: 15
Masand,
The first thing I did was copy the 2.6.3-7mdk .config into the new 2.6.10 kernel source folder. Then I changed 1 network hardware option and saved, compiled it, and it would not mount the root file system. It gives a kernel panic message and locks up. So I changed the 1 hardware option back and recompiled. Still got the same problem. Any ideas?

Thanks for your suggestion though. Its nice to know there are others who have tried the same thing who I can talk to.

Where did you get your kernel from? Did you copy the .config file from the old kernel source folder to the new kernel source or set it up manually? What kernel and version were you originally using?

I have tried this many times going through the standard kernel recompile procedure, that I got out of a new Linux Admin book. I have successfully compiled and used the RPM kernel source that comes with Mandrake many times. Its just this non mandrake kenel thats causing problems.

Thanks
Brian
 
Old 01-06-2005, 12:11 PM   #6
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
u need not copy that config file

instead run "make xconfig"from the kernel source and then
laod the mdk config file there
and then save that and compile ur kernel without changing ur option
it shoud go fine and the source form mandrake and from kenrel.org cannot be differnt since LINUX =kernel from kernel.org

regards
 
Old 01-06-2005, 12:48 PM   #7
lm317t
Member
 
Registered: Jan 2005
Location: Raleigh, NC
Distribution: Debian Etch, Slackware 10.2, Ubuntu 6.10, OpenWRT
Posts: 66

Original Poster
Rep: Reputation: 15
I am getting different opinions on this from Masand and Proud. Thanks guys for your responses. I believe Proud is right about this patch thing. I have done what you are talking about masand. This forum is really a last resort from an ultra extended Linux install for a friend that has turned into WWIII. My next offensive will be changing and cleanly installing from 10.0 to 10.1 unless I can figure out whats going on.

Thanks for the suggestion Biased turkey, I am compiling and installing my kernel from source as per the standard protocol that I see everywhere on the web in forums and Documentation and my trusty Linux admin book. I really have tried all the common sense stuff and I have exhausted all my resources. This forum post is a last resort for me and I believe it uncovers a strange characteristic of Mandrakes kernel.

If anyone can elaborate on the specifics of this difference please do so. I can't find it in Mandrake's Doc's

Thanks all,
Brian

Last edited by lm317t; 01-06-2005 at 01:58 PM.
 
Old 01-06-2005, 01:08 PM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Maybe the Changelog entries from the Maximum info action of the package manager would help point out the changes? Or try any documentation with the sources, in seperate .rpms, or found in /usr/share/doc/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandrake, 500hz usb, kernel rpm?? A.K Mandriva 0 02-01-2005 03:48 AM
Mandrake 9.2 Kernel Source RPM Weirdness pmurnane Linux - Newbie 3 05-04-2004 12:15 PM
Mandrake rpm kernel update problem nickolse Linux - Software 1 12-05-2003 12:01 AM
standard or custom mandrake kernel? apberzerk Mandriva 3 10-26-2003 10:52 PM
Kernel update rpm (Mandrake 9.1) bitpicker Linux - Newbie 2 08-05-2003 11:13 AM


All times are GMT -5. The time now is 01:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration