LinuxQuestions.org
Review your favorite Linux distribution.
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 06-20-2004, 03:06 PM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Question New Kernel Compile, Slack=1hour, Mandrake=2 days and counting


Hi all,
Here's the picture. Having recently discovered the pleasures os Slack, I installed it, upgraded it and compiled a new kernel for it with just a couple of problems that were quickly cured by visiting these forums, and were mostly, or rather all, caused by finger trouble.
So, I thought I would install a new kernel from scratch for Mandy. I used exactly the same procedure as for Slack. On the same box, and choosing the same options in the configuration. The .config file for Slack and Mandy are identical in size, structure and content, but no matter how many times I try and compile the kernel om Mandy, it fails with different errors each time. For instance, on one occassion it failed to install the modules in /lib/modules/2.6.5, on another it was succesfull, but failed to boot the box, while on yet another it filed on boot-up complaining of no emu10k1 module. This has continued for 2 days now, and each failure is different to the last on Mandy, while on Slack I have had none of these problems. So, what is it about Mandy that stops a successfull kernel compile, and is there a way around it, or alternatively, can I use the kernel that I compiled for Slack, and which works well to boot either Distro, or even better, multiple Disrtros?
 
Old 06-20-2004, 03:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Bad idea ... Mandreck, DeadRat, SuSE ... all make heavy use
of modifications to the kernel. Mdk does it's filesystems using
supermount and stuff that aren't part of the normal kernel
tree, so you're pretty much BOUND to fail if you don't get
the latest kernel from mandrake but try with the stock one.


Cheers,
Tink
 
Old 06-21-2004, 10:37 AM   #3
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Sorry, but I'm missing your point, which by the way isn't very helpfull. It strikes me that even Mandy must start with a vanilla kernel before fscking it up. After all, from what I understand, the differences in Mandys kernel are applied patches that anyone could do. So I really need to know if there is something strange about the way Mandy boots and runs scripts etc that is causing me so many problems with this.
I would also like to get my second question answered, namely, is it possible to have say a kernel in a pooled location that is can be made available to several distos and pointed to at boot time.
 
Old 06-21-2004, 10:57 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you boot multiple Linux distributions, using a single /boot partition to store kernels is certainly possible but you also need to copy the modules to their proper locations (relative to each distribution installed on the computer) in order for the kernel to work for all installed distros. So yes, it is possible but I don't know if I would recommend it. I haven't tried it so if you do, please let us know how it went.

It would probably be of use if you could specify the exact errors you encounter, either when building a new kernel or when booting it. Do you copy the new kernel to /boot and update the bootloader manually or do you use some sort of tool that your distribution provides?


Håkan
 
  


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
4 days and counting tomank Linux - Newbie 7 04-06-2004 10:22 AM
slack 9.0 kernel compile trace1918 Slackware 1 04-20-2003 06:50 PM
slack 9.0. Where do I compile the kernel? Schizo265 Slackware 3 03-28-2003 07:09 AM
Compile 2.4.19 kernel on slack 8.1 DaOne Slackware 17 02-08-2003 08:15 PM
300 days up and counting! dnar General 2 12-02-2002 08:12 AM

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

All times are GMT -5. The time now is 08:56 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
Open Source Consulting | Domain Registration