kernel mismatch

David Paul BELANGER mol-general@lists.maconlinux.org
Fri, 6 Dec 2002 12:25:15 -0500


I am assuming you are using Debian.  I did it a few weeks ago, I hope I
got it right.

You need the packages:
- mol-modules-source
- your kernel headers: kernel-headers-(your kernel version)

instructions are in:
- /usr/share/doc/mol-modules-source/README.Debian
Do:
1) Unpacking the source
2) Then I would suggest that you compile with kernel-package instead of
make.  (you need to install kernel-package).
You install it and it should work.



David


On Fri, Dec 06, 2002 at 05:49:57PM +0100, Sébastien Mengin wrote:
> The point is that I am not sure what I have to do to recompile the mol
> module for my kernel...
> 
> I try recompiling it this morning (the mol module), but without success
> : simply because I do not know really how to manage it.
> 
> In one word: if you remember/know how to do so, it will be very welcome
> ;)
> 
> Sébastien
> 
> Le ven 06 déc 02 à 11:47, David Paul BELANGER a écrit:
> > 
> > I am not sure, but I think the reason is that it will not consider that
> > "2.4.18" matches to "2.4.18-newpmac".  i.e. it includes the
> > suffix as part of the version.
> > 
> > You may want to recompile the mol modules for your kernel.  It's not that
> > difficult and it worked for me.
> > 
> > David
> > 
> > 
> > On Fri, Dec 06, 2002 at 11:17:31AM +0100, Sébastien Mengin wrote:
> > > Hi,
> > > 
> > > I have just installed debian on a G4 here.
> > > 
> > > I got mol & mol-modules right after that and compiled following the
> > > instruction found in the doc but... I must have done something wrong :
> > > mol does not load and returns a kernel mismatch error : "kernel-module
> > > version mismatch /lib/modules/2.4.18-newpmac/misc/mol.o was compiled for
> > > kernel version 2.4.18 while this kernel is version 2.4.18-newpmac".
> > > 
> > > Is there anything to do but recompiling the whole kernel ?
> > > 
> > > Thanks in advance,
> > > 
> > > -- 
> > > Sébastien Mengin
> > > éditions Agone - www.agone.org
> > > _______________________________________________
> > > mol-general mailing list
> > > mol-general@lists.maconlinux.org
> > > http://lists.maconlinux.org/mailman/listinfo/mol-general
> > 
> > -- 
> > 
> > ---
> > 
> > David Bélanger
> > Graduate Student
> > School of Computer Science
> > McGill University
> > Office: MC226
> > 
> > Web page:   http://www.cs.mcgill.ca/~dbelan2/
> > Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
> > 
> > _______________________________________________
> > mol-general mailing list
> > mol-general@lists.maconlinux.org
> > http://lists.maconlinux.org/mailman/listinfo/mol-general
> 
> -- 
> Sébastien Mengin - Editions Agone
> www.agone.org
> _______________________________________________
> mol-general mailing list
> mol-general@lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general

-- 

---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt