2003-02-13 18:39:18

by Dax Kelson

[permalink] [raw]
Subject: modutils that works with 2.4 and 2.5?

Does such a thing exist?

I would like to help out testing 2.5, but I need to still use 2.4 as
well.

Dax




2003-02-13 18:49:19

by John Bradford

[permalink] [raw]
Subject: Re: modutils that works with 2.4 and 2.5?

> Does such a thing exist?
>
> I would like to help out testing 2.5, but I need to still use 2.4 as
> well.

You could always compile 2.5 without modules at all, which would be
the easy way :-)

John.

2003-02-13 22:07:17

by Thomas Molina

[permalink] [raw]
Subject: Re: modutils that works with 2.4 and 2.5?

On 13 Feb 2003, Dax Kelson wrote:

> Does such a thing exist?
>
> I would like to help out testing 2.5, but I need to still use 2.4 as
> well.

go to ftp.kernel.org/pub/linux/kernel/people/rusty/modules and grab the
latest. If you have an rpm-capable system it is packaged as an rpm.


2003-02-14 05:50:37

by Muli Ben-Yehuda

[permalink] [raw]
Subject: Re: modutils that works with 2.4 and 2.5?

On Thu, Feb 13, 2003 at 11:52:23AM -0700, Dax Kelson wrote:
> Does such a thing exist?
>
> I would like to help out testing 2.5, but I need to still use 2.4 as
> well.

Rusty's modutils package maintains the old modutils binaries and falls
back to them if it discovers that you're running a 2.4 system. If
you're installing from source, take a look at the documentation for
how to tell the Makefile to rename your $MODULE_BIN to
$MODULE_BIN.old
--
Muli Ben-Yehuda
http://www.mulix.org
http://syscalltrack.sf.net

2003-02-14 17:58:18

by Dax Kelson

[permalink] [raw]
Subject: Re: modutils that works with 2.4 and 2.5?

On Thu, 2003-02-13 at 23:00, Muli Ben-Yehuda wrote:
> On Thu, Feb 13, 2003 at 11:52:23AM -0700, Dax Kelson wrote:
> > Does such a thing exist?
> >
> > I would like to help out testing 2.5, but I need to still use 2.4 as
> > well.
>
> Rusty's modutils package maintains the old modutils binaries and falls
> back to them if it discovers that you're running a 2.4 system.

Does it do this discovery at install time, or at each boot?



2003-02-14 18:15:29

by Muli Ben-Yehuda

[permalink] [raw]
Subject: Re: modutils that works with 2.4 and 2.5?

On Fri, Feb 14, 2003 at 11:12:03AM -0700, Dax Kelson wrote:
> On Thu, 2003-02-13 at 23:00, Muli Ben-Yehuda wrote:
> > On Thu, Feb 13, 2003 at 11:52:23AM -0700, Dax Kelson wrote:
> > > Does such a thing exist?
> > >
> > > I would like to help out testing 2.5, but I need to still use 2.4 as
> > > well.
> >
> > Rusty's modutils package maintains the old modutils binaries and falls
> > back to them if it discovers that you're running a 2.4 system.
>
> Does it do this discovery at install time, or at each boot?

Each invocation, I suppose. Doesn't make much sense otherwise.

see for example lsmod.c, main() -> try_old_version().
--
Muli Ben-Yehuda
http://www.mulix.org
http://syscalltrack.sf.net

2003-02-14 21:06:00

by Joel Becker

[permalink] [raw]
Subject: Re: modutils that works with 2.4 and 2.5?

On Fri, Feb 14, 2003 at 08:25:16PM +0200, Muli Ben-Yehuda wrote:
> > Does it do this discovery at install time, or at each boot?
>
> Each invocation, I suppose. Doesn't make much sense otherwise.

Each invocation. Note that because Rusty's modutils replaces
insmod.static, it nicely breaks machines that use initrds.

Joel

--

"And yet I fight,
And yet I fight this battle all alone.
No one to cry to;
No place to call home."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: [email protected]
Phone: (650) 506-8127