difficulty with SMP/enterprise kernel & MOL

Samuel Rydh mol-general@lists.maconlinux.org
Wed, 30 Jul 2003 18:39:15 +0200


On Wed, Jul 30, 2003 at 11:22:04AM -0500, Isaac wrote:
> On Monday 28 July 2003 06:43 pm, Samuel Rydh wrote:
> 
> > The SMP support code is not in the 0.9.68 version; you need
> > to build the latest MOL version from the developer tree.
> 
> I tried that (the build/install was fine), now I get:
> 
> $ startmol -X
> 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.21-0.24mdkenterprise-smp/mol.o
> /usr/lib/mol/0.9.69/modules/2.4.21-0.24mdkenterprise-smp/mol.o: unresolved 
> symbol hash_table_lock
> 
> I read something in the list archives about applying a patch, but it wasn't 
> clear to me about where to get this patch, or what it's for (the kernel or 
> MOL).

Ah yes, MOL needs access to this symbol. I suggest you build
a new kernel using Ben's kernel tree (which does export
this symbol).

Alternatively, you can edit linux/arch/ppc/kernel/ppc_ksyms.c and
export this symbol.

(Ben: Could you forward the symbol addition fix to Marcello?)


/Samuel