2002-11-20 18:57:24

by Felix Seeger

[permalink] [raw]
Subject: 2.5.48 QM_MODULES: Function not implemented

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I compiled 2.5.48 and now all the files like modules.dep in /lib/modules are
away.

I can't load a module, I get this:
modprobe: Can't open dependencies file /lib/modules/2.5.48/modules.dep ...

depmod: QM_MODULES: Function not implemented

I enabled all option in the module config.


thanks
Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE929y0S0DOrvdnsewRAoHiAJ4kq6cuX/EwWkbnxp4pfTaMrhGVkACeNKI/
PNXxtsjjv3QWWMVJ4qv2umk=
=no98
-----END PGP SIGNATURE-----


2002-11-20 21:39:45

by Nero

[permalink] [raw]
Subject: Re: 2.5.48 QM_MODULES: Function not implemented

Felix Seeger wrote:

> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>
> Hello
>
> I compiled 2.5.48 and now all the files like modules.dep in
> /lib/modules are away.
>
> I can't load a module, I get this: modprobe: Can't open dependencies
> file /lib/modules/2.5.48/modules.dep ...
>
> depmod: QM_MODULES: Function not implemented
>
> I enabled all option in the module config.

You need Rusty's modutils from here:
ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.7.tar.bz2

And a patch to kernel/module.c (so you don't get the "Cannot allocate
memory" message...:
http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=20021120125211.GA446%40apocalipsis




2002-11-20 22:14:07

by Chris Friesen

[permalink] [raw]
Subject: Re: 2.5.48 QM_MODULES: Function not implemented

Nero wrote:
> Felix Seeger wrote:
> > I can't load a module, I get this: modprobe: Can't open dependencies
> > file /lib/modules/2.5.48/modules.dep ...
> >
> > depmod: QM_MODULES: Function not implemented
> >
> > I enabled all option in the module config.
>
> You need Rusty's modutils from here:
> ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.7.tar.bz2


Rusty's stuff will let you load, but you'll still get the depmod error.
It would have been nice to have a version of depmod that does nothing
normally but calls the old version on an older kernel.

Chris



--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: [email protected]

2002-11-20 23:35:17

by Felix Seeger

[permalink] [raw]
Subject: Re: 2.5.48 QM_MODULES: Function not implemented

Am Mittwoch 20 November 2002 23:20 schrieb Chris Friesen:
> Nero wrote:
> > Felix Seeger wrote:
> > > I can't load a module, I get this: modprobe: Can't open dependencies
> > > file /lib/modules/2.5.48/modules.dep ...
> > >
> > > depmod: QM_MODULES: Function not implemented
> > >
> > > I enabled all option in the module config.
> >
> > You need Rusty's modutils from here:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-to
> >ols-0.7.tar.bz2
>
> Rusty's stuff will let you load, but you'll still get the depmod error.
> It would have been nice to have a version of depmod that does nothing
> normally but calls the old version on an older kernel.
>
> Chris

Maybe it is normal but this doesn't fix the depmod problem even with the new
kernel, I have modprobe, rmod and so back but the package doesn't include
depmod.

I am running debian unstable, many install scripts uses parameters that are
not provided by this version (I think -l and -r).
Maybe this is only for debian so I have to wait for a patched package...

Is it a bug that all modules are in the same dir without subdirs ? It is hard
to find them.

thanks
have fun
Felix

2002-11-21 16:17:06

by Chris Friesen

[permalink] [raw]
Subject: Re: 2.5.48 QM_MODULES: Function not implemented

Felix Seeger wrote:

> Maybe it is normal but this doesn't fix the depmod problem even with the new
> kernel, I have modprobe, rmod and so back but the package doesn't include
> depmod.

Yep. Tnere is no depmod. Bang on Rusty to fix things.

> I am running debian unstable, many install scripts uses parameters that are
> not provided by this version (I think -l and -r).
> Maybe this is only for debian so I have to wait for a patched package...

Rusty didn't include them.

> Is it a bug that all modules are in the same dir without subdirs ? It is hard
> to find them.

See Rusty.


There is a certain trend here....not that modules didn't need fixing,
but this is pretty serious functionality breakage.


Chris




--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: [email protected]