kernel module mismatch?

Tamas Hevizi mol-general@lists.maconlinux.org
Mon, 24 Mar 2003 11:31:52 -0800


 Ken

I actually had the same config running on my Powerbook G4 before I upgraded to YDL3.0.

from the log it seems you are doing all the right things but to be sure:

- rpm mol --erase                             #erase current versions
- rpm mol-kmods --erase                     
- rpm mol-kmods.x.x.x.rpm --rebuild           #build new versions  (substitute the right name)
- rpm mol.x.x.x.rpm --rebuild

The x.x.x is whatever is the latest build you downloaded. make sure you have the source files in an RPM package.

I found that rebuilding the source is a better choice than installing the binary because of the kernel incompatibilities.

Tamas


On Monday, March 24, 2003, at 11:21AM, Ken Grunke <kenspin@mwt.net> wrote:

>After upgrading from version 0.9.65 to 0.9.68 using  Jamie Maynard's 
>step-by-step guide, I get this::
>
>[root@dsl-193 /]# startmol --test
>Mac-on-Linux 0.9.68 Copyright (C) 1997-2003 Samuel Rydh
>Starting MOL session 0
>The MOL kernel module version 0.9.65 does not match the binary.
>Please unload the kernel module (rmmod mol) and try again
>
>When I look back at the terminal output for the k-mods rebuild, 
>there's no indication of errors other than in the last few lines--a 
>warning about my hostname:
>
>Processing files: mol-kmods-0.9.68-1
>Finding  Provides: (using /usr/lib/rpm/find-provides)...
>Finding  Requires: (using /usr/lib/rpm/find-requires)...
>Provides: mol-kernel-modules
>PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 
>rpmlib(CompressedFileNames) <= 3.0.4-1
>Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 
>rpmlib(CompressedFileNames) <= 3.0.4-1
>warning: Could not canonicalize hostname: dsl-193
>Wrote: /usr/src/rpm/RPMS/ppc/mol-kmods-0.9.68-1.ppc.rpm
>Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.43696
>+ umask 022
>+ cd /usr/src/rpm/BUILD
>+ cd mol-kmods-0.9.68
>+ rm -rf /var/tmp/mol-kmods-root
>+ exit 0
>Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.73331
>+ umask 022
>+ cd /usr/src/rpm/BUILD
>+ rm -rf mol-kmods-0.9.68
>+ exit 0
>
>Why is version 0.9.65 indicated even though I made sure to remove it 
>before upgrading?
>I'm running kernel 2.4.18-0.9a on an oldworld PowerMac 7500/200. 
>MOL 0.9.65 worked fine, should I stay with it?
>Or is my kernel too old for the new MOL?
>Not sure what to do, thanks for any help in advance!
>
>Ken
>_______________________________________________
>mol-general mailing list
>mol-general@lists.maconlinux.org
>http://lists.maconlinux.org/mailman/listinfo/mol-general
>
>