Re: modutils 2.1.121 breaking autoloading of 2.0.x modules?

DAVID BALAZIC (david.balazic@uni-mb.si)
Wed, 27 Jan 1999 14:43:26 +0100 (MET)


From: "Mike A. Harris" <mharris@ican.net>

>On Tue, 19 Jan 1999, DAVID BALAZIC wrote:
>
>>The author/maintainer/somebody-else said that it works OK
>>if compiled with the 2.0.x kernel includes.
>>Or maybe some includes from modutils should be replaced by the kernel ones.
>>
>>Try to search the mail list archive.
>>
>>IIRC it is actually a bug in the modutils , but the responsible person
>>is probably too lazy to fix it :-)
>
>So, will someone who does know how do so?
>
>Can I hear modutils-2.2.0 anyone? ;o)

OK , I found that mail on linux kernel ( dated 4-oct-98 ) :

> [ this was written by me ( David B. ) ]
>mod-utils 2.1.121 and kernel 2.0.36pre12 don't work well together.
>
>Problems :
>- running kerneld 2.1.121 under kernel 2.0.35 :
> doesn't autoload any modules
> if started as "kerneld debug" and I try a "mdir" ( floppy is a module ),
> they it puts something about "k-major-2" on the console , but I guess it should be
> "block-major-2"

[ this is the solution ]

Replace "include/kerneld.h" with the version that is in your linux kernel
and everything should be fine.

Thanks,

Florian La Roche
----------------------end of quote -----------

I believe you must replace the kerneld.h file which comes with the
modutils package ( that is the only way that makes sense :-)

--
David Balazic , student
E-mail   : 1stein@writeme.com     |     living in  sLOVEnija
home page: http://surf.to/stein
Computer: Amiga 1200 + Quantum LPS-340AT
--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/