wrong mol-kmods after compile
Ken Grunke
mol-general@lists.maconlinux.org
Fri, 24 Jan 2003 21:54:48 -0600
I had MOL 0.9.60 running fine on a PM7500/200 with YDL 2.2, then as
part of my newbie learning curve "upgrade" decided to go for 0.9.65
following Jamie Maynard's detailed instructions. No problem, got it
going without a hitch, worked great.
So I got bold and went for a kernel upgrade from 2.4.18-0.9a, the
original from the CD. I chose the PowerMac Kernel-ow-scsi-2.4 BenH
from ppckernel.org (2.4.20-ben1).
Again, no problem--I followed instructions to the letter, and on the
first reboot had no errors or failures.
I knew I had to recompile the mol-kmods for the new kernel, so back
to Jamie's tutorial. After deleting both mol 0.9.65 and the kmods, I
rebuilt mol-kmods-0.9.65-1.src.rpm with the current running kernel
being the new BenH. Copied the new file into my Downloads directory
where mol-0.9.65-1.ppc.rpm was, and did the install, which completed
with no apparent errors for mol or mol-kmods. Terminal results after
startmol --loadonly:
No mol-0.9.65 kernel modules corresponding to the running
2.4.20-ben1-noav kernel were found
startmol --list says
--------------------------------------------------------------
Running kernel: 2.4.20-ben1-noav
--------------------------------------------------------------
Available modules:
2.4.18-0.9a in /usr/lib/mol/0.9.65
--------------------------------------------------------------
/usr/lib/mol/0.9.65/modules/2.4.18-0.9a/ contains:
ethertap.o
mol.o
molsymglue.o
sheep.o
tun.o
find / -name 2.4.20-ben1* gives no results.
On a lark, I renamed /usr/lib/2.4.28-0.9a to /2.4.20-ben1-noav to see
what would happen. On startmol --loadonly I got:
Mac-on-Linux 0.9.65 Copyright (C) 1997-2002 Samuel Rydh
Config dir: /etc/mol
Data dir: /usr/share/mol/0.9.65
Loading Mac-on-Linux kernel module:
/usr/lib/mol/0.9.65/modules/2.4.20-ben1-noav/mol.o
/usr/lib/mol/0.9.65/modules/2.4.20-ben1-noav/mol.o: unresolved symbol
force_sig_R6e307233
/usr/lib/mol/0.9.65/modules/2.4.20-ben1-noav/mol.o: unresolved symbol
mem_map_R75a3fcbf
/usr/lib/mol/0.9.65/modules/2.4.20-ben1-noav/mol.o: unresolved symbol
find_vma_R927f84b0
====================================================================
So I guess that didn't work.
In /usr/share/mol/0.9.65/ are:
/config
/graphics
/images
/nvram
/oftrees
/pci_roms
/syms
/vmodes
file:startboing
Seems to me that the install went well, except that the newly
compiled modules don't exist.
All visible indications in the terminal told me that mol-kmods-0.9.65
was sucessfully rebuilt, but where did they go? And why is the old
module directory under /usr/lib/mol/0.9.65?
I don't know what to do next--should I try a different kernel?
Ken