[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.6.10-rc2 and mol



Hi, 

I recently updated to kernel 2.6.10-rc2 and now mol refuses to work. I
use mol-modules-source from unstable and during compilation I get lots
of warnings like

  CC [M]  /usr/src/modules/mol/src/kmod/Linux/../build/_dev.o
In file included from /usr/src/modules/mol/src/kmod/build/kernel_vars.h:34,
                 from /usr/src/modules/mol/src/kmod/build/_dev.c:25:
/usr/src/modules/mol/src/kmod/build/alloc.h: In function `tophys_mol':
/usr/src/modules/mol/src/kmod/build/alloc.h:61: warning: implicit declaration of function `virt_to_phys'
/usr/src/modules/mol/src/kmod/build/alloc.h: In function `map_phys_range':
/usr/src/modules/mol/src/kmod/build/alloc.h:68: warning: implicit declaration of function `phys_to_virt'
/usr/src/modules/mol/src/kmod/build/alloc.h:68: warning: assignment makes pointer from integer without a cast
/usr/src/modules/mol/src/kmod/build/_dev.c: In function `arch_handle_ioctl':
/usr/src/modules/mol/src/kmod/build/_dev.c:184: warning: implicit declaration of function `ioremap'
/usr/src/modules/mol/src/kmod/build/_dev.c:184: warning: assignment makes pointer from integer without a cast
/usr/src/modules/mol/src/kmod/build/_dev.c:186: warning: implicit declaration of function `iounmap'

starting mol gives me
wolfi@halley:~ $ startmol -X
Mac-on-Linux 0.9.70 [Nov 18 2004 17:41]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Loading Mac-on-Linux kernel module:
insmod /lib/modules/2.6.10-rc2-wjq/misc/mol.ko
FATAL: Error inserting mol (/lib/modules/2.6.10-rc2-wjq/misc/mol.ko): Unknown symbol in module, or unknown parameter (see dmesg)
====================================================================
  Failed to load the Mac-on-Linux kernel module -- please install
  mol-modules-source and build your own, or find a binary package
  providing mol-modules for your running kernel.
====================================================================

dmesg tells me:

mol: Unknown symbol virt_to_phys
mol: Unknown symbol phys_to_virt
mol: Unknown symbol virt_to_phys
mol: Unknown symbol phys_to_virt

Since I don't know a proper way to fix this, I wanted to ask if there is
a fix for this already.

With best regards,

Wolfi

Attachment: signature.asc
Description: Digital signature


Reply to: