Unix Technical Forum

multiple 2.4.x kernels - seperate module directories?

This is a discussion on multiple 2.4.x kernels - seperate module directories? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Out of interest, is there an accepted way of having multiple kernels of the same version on a system ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 08:29 AM
Jules
 
Posts: n/a
Default multiple 2.4.x kernels - seperate module directories?


Out of interest, is there an accepted way of having multiple kernels of
the same version on a system with non-shared module directories?

By default modules reside under /lib/modules/xxx where xxx is the kernel
version - there's no obvious way I've seen of tying it to a particular
installed kernel of that version... (say by suffixing the module directory
with a user-supplied tag that's also embedded in the kernel at build time)

I assume the problem will have been addressed in 2.6.x kernels... :-)

cheers

Jules

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 08:29 AM
Davide Bianchi
 
Posts: n/a
Default Re: multiple 2.4.x kernels - seperate module directories?

On 2005-04-22, Jules <julesrichardsonuk@remove.this.yahoo.co.uk> wrote:
> Out of interest, is there an accepted way of having multiple kernels of
> the same version on a system with non-shared module directories?


Change the path where each kernel looks for his modules, but what's the
point in doing so?

Davide

--
Never meddle in the affairs of NT. It is slow to boot and quick to crash.
--Stephen Harris on alt.sysadmin.recovery
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 08:29 AM
John Hasler
 
Posts: n/a
Default Re: multiple 2.4.x kernels - seperate module directories?

Jules writes:
> Out of interest, is there an accepted way of having multiple kernels of
> the same version on a system with non-shared module directories?


> By default modules reside under /lib/modules/xxx where xxx is the kernel
> version - there's no obvious way I've seen of tying it to a particular
> installed kernel of that version...


Why don't you want to give your different kernels different version
numbers?
--
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 08:29 AM
Andreas Janssen
 
Posts: n/a
Default Re: multiple 2.4.x kernels - seperate module directories?

Hello

Jules (<julesrichardsonuk@remove.this.yahoo.co.uk>) wrote:

> Out of interest, is there an accepted way of having multiple kernels
> of the same version on a system with non-shared module directories?
>
> By default modules reside under /lib/modules/xxx where xxx is the
> kernel version - there's no obvious way I've seen of tying it to a
> particular installed kernel of that version... (say by suffixing the
> module directory with a user-supplied tag that's also embedded in the
> kernel at build time)


Edit the Makefile in the Kernel source directory and change the
EXTRAVERSION for each kernel you build.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 08:29 AM
Peter T. Breuer
 
Posts: n/a
Default Re: multiple 2.4.x kernels - seperate module directories?

Jules <julesrichardsonuk@remove.this.yahoo.co.uk> wrote:
> Out of interest, is there an accepted way of having multiple kernels of
> the same version on a system with non-shared module directories?


Sure - give them different EXTRAVERSION names and (thus) different
module directories.

You can't rely on modules compiled differently to work with each other
and differently cmpiled kernels (of the same version). But they might.

If you wnat to take that chance, set EXTRAVERSION the same for all of
them, and they will share.

Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com