MOL and kernel 2.6.10
Stefan Bruda <[email protected]>
| Newsgroups | gmane.linux.gentoo.ppc |
|---|---|
| Message-ID | <[email protected]> |
Hi, and Happy New Year to everybody.
Is there any known issue with mol under 2.6.10? It would seem that the
headers have changed with the latest kernel in a way that is
incompatible with the mol kernel. More precisely, I get the following
errors at built time:
+ Entering Linux
In file included from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:18:
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `tophys_mol':
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:61: warning: implicit declaration of function `virt_to_phys'
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `map_phys_range':
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:68: warning: implicit declaration of function `phys_to_virt'
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:68: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c: In function `get_phys_page':
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:80: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c: In function `dbg_get_linux_page':
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:141: warning: assignment makes pointer from integer without a cast
In file included from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/kernel_vars.h:34,
from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_dev.c:25:
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `tophys_mol':
/var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:61: warning: implicit declaration of function `virt_to_phys'
and it goes on and on for some time in the same spirit. The function
phys_to_virt does exist, but I guess the right header fails to get
included (and I am not quite able to find the reason).
The thing installs but needless to say the kernel module fails to load
as follows:
< titi:2.6.10 > pwd
/usr/lib/mol/0.9.70/modules/2.6.10
insmod ./mol.ko
insmod: error inserting './mol.ko': -1 Unknown symbol in module
and I get in the logs:
Jan 1 18:04:53 titi kernel: mol: Unknown symbol virt_to_phys
Jan 1 18:04:53 titi kernel: mol: Unknown symbol phys_to_virt
Is this a known issue, and most importantly is there any known workaround?
Thanks,
Stefan
--
``There's no use trying, one can't believe impossible things.''
``I daresay you haven't had much practice. When I was your age, I
always did it for half an hour a day. Why, sometimes I believed as
many as six impossible things before breakfast.''
--Lewis Carroll, Through the Looking-Glass
--
[email protected] mailing list