kernel mismatch
Mike 'Lew' Lamar
mol-general@lists.maconlinux.org
Sun, 8 Feb 2004 15:20:38 -0800
I just did a 'yum update' on my system, and I have the following
versions installed:
[root@lola boot]# yum list mol
Looking in Installed Packages:
Name Arch Version
--------------------------------------------------------------------------------
mol ppc 0.9.69-1a
mol-kmods ppc 0.9.69-3.2.4.22.2g
kernel ppc 2.4.22-2g
But, uname gives me this kernel version:
[root@lola boot]# uname -a
Linux lola 2.4.20-8d #1 Sat Mar 15 19:38:12 EST 2003 ppc ppc ppc GNU/Linux
So when I run startmol, I get a kernel module version mismatch.
If I do a listing of the /boot directory, it shows:
[root@lola boot]# l /boot
total 9676
-rw-r--r-- 1 root root 28184 Mar 15 2003 config-2.4.20-8d
-rw-r--r-- 1 root root 29601 Dec 2 21:58 config-2.4.22-2g
-rw-r--r-- 1 root root 723583 Dec 31 12:29 initrd-2.4.20-8d.img
-rw-r--r-- 1 root root 802 Dec 31 12:29 kernel.h
lrwxrwxrwx 1 root root 21 Jan 19 23:32 module-info
-> module-info-2.4.22-2g
-rw-r--r-- 1 root root 15562 Mar 15 2003 module-info-2.4.20-8d
-rw-r--r-- 1 root root 15562 Dec 2 21:58 module-info-2.4.22-2g
lrwxrwxrwx 1 root root 20 Jan 19 23:37 System.map ->
System.map-2.4.20-8d
-rw-r--r-- 1 root root 586591 Mar 15 2003 System.map-2.4.20-8d
-rw-r--r-- 1 root root 642436 Dec 2 21:58 System.map-2.4.22-2g
lrwxrwxrwx 1 root root 17 Jan 19 23:32 vmlinux ->
vmlinux-2.4.22-2g
-rwxr-xr-x 1 root root 3706347 Mar 15 2003 vmlinux-2.4.20-8d
-rwxr-xr-x 1 root root 4122396 Dec 2 21:58 vmlinux-2.4.22-2g
Output from startmol:
[root@lola boot]# startmol -X
Mac-on-Linux 0.9.69 Copyright (C) 1997-2003 Samuel Rydh Starting MOL session 1
====================================================================
No mol-0.9.69 kernel modules corresponding to the running 2.4.20-8d
kernel were found ('startmol --list' displays
installed version). Recompile the mol kernel modules (recommended)
or try starting MOL as root using the '-a' switch. The '-a'
flag can be made default by the 'allow_kver_mismatch: yes' setting.
====================================================================
[root@lola boot]# startmol -X -a
Mac-on-Linux 0.9.69 Copyright (C) 1997-2003 Samuel Rydh
Starting MOL session 1
Loading Mac-on-Linux kernel module:
/usr/lib/mol/0.9.69/modules/2.4.22-2g/mol.o
Warning: kernel-module version mismatch
/usr/lib/mol/0.9.69/modules/2.4.22-2g/mol.o was compiled for
kernel version 2.4.22-2g
while this kernel is version 2.4.20-8d
/usr/lib/mol/0.9.69/modules/2.4.22-2g/mol.o: unresolved symbol
handle_mm_fault_R29dc8dce
/usr/lib/mol/0.9.69/modules/2.4.22-2g/mol.o: unresolved symbol
force_sig_R8e1efc88
/usr/lib/mol/0.9.69/modules/2.4.22-2g/mol.o: unresolved symbol
mem_map_Ra0ff7954/usr/lib/mol/0.9.69/modules/2.4.22-2g/mol.o:
unresolved symbol find_vma_Rcc52bcc6
====================================================================
Failed to load the module - try recompiling the MOL kernel
module. Instructions (and information about common problems)
are available at <http://www.maconlinux.org>.
====================================================================
--
Mike 'Lew' Lamar - Web Designer & Programmer
http://www.abbaroo.com/
"Those who would trade freedom for security deserve neither"
- Ben Franklin