Re: MOL and kernel 2.6.10

Stephane Lentz <[email protected]>
Newsgroups gmane.linux.gentoo.ppc
Message-ID <[email protected]>
On Sat, Jan 01, 2005 at 06:34:42PM -0500, Stefan Bruda wrote:
> 
> 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 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?
> 

Yes, apparently since the 2.610rcs :   

Debian bug report and fix : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287267

Google posts : 
http://groups.google.fr/groups?q=%22Unknown+symbol+virt_to_phys%22&hl=fr&lr=&selm=3fI2q-5kl-9%40gated-at.bofh.it&rnum=1
http://lists.debian.org/debian-powerpc/2004/12/msg00521.html

Happy New Year, 

SL/

--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.