Mol Freeze (cont.)
Francois Taiani
mol-devel@lists.maconlinux.org
Mon, 27 May 2002 10:29:52 +0200
Hi Samuel,
I've tried to compile the new module version, and here are 2 errors I
encountered:
1) The first problem is due to "cpu/mregs.h" not being found from within
"src/shared/mac_registers.h" (I already had that problem before, but
forgot to report it):
--8<--
ROOT [mol-rsync] # make modules
Making all in Linux
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/shared -D__KERNEL__ -DMODULE
-I../../../src/kmod/include -I../../../src/shared -I-
-I/usr/src/linux/include -g -O2 -Wall -Wall -msoft-float -fno-builtin
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c init.c
In file included from ../../../src/shared/kernel_vars.h:23,
from init.c:23:
../../../src/shared/mac_registers.h:24: cpu/mregs.h: No such file or
directory
-->8--
My work-around is to create a symbolic link :
--8<--
# cd src/shared/
# ln -s ppc/ cpu
-->8--
But I don't know wether it's OK or not.
2) The second problem is more mysterious to me:
--8<--
gcc -DHAVE_CONFIG_H -I. -I. -I../../src/shared -D__KERNEL__ -DMODULE
-I../../src/kmod/include -I../../src/shared -I- -I/usr/src/linux/include
-g -O2 -Wall -Wall -msoft-float -fno-builtin -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c mmu_lvhash.c
mmu_lvhash.c:124: conflicting types for `hash_lv_to_pte'
../../src/kmod/include/mmu.h:76: previous declaration of `hash_lv_to_pte'
make[3]: *** [mmu_lvhash.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [modules_] Error 2
-->8--
I can't really track down these conflicting declarations of
"hash_lv_to_pte". Is this related to your patch ? Or do I miss some
header file in my install ? Or is this related to the above workaround ?
Thanks for your help anyway.
Cheers
Francois
samuel@ibrium.se wrote:
> On Fri, May 24, 2002 at 04:32:00PM +0200, Francois Taiani wrote:
>
>>Hi Samuel,
>>
>>
>>>>I was wondering how I could get more info on the context of these
>>>>freezes. I can attach a gdb process to the mol session, but the info I
>>>>can get from there seems to be quite thin
>>>
>>I'm going to try without any VM, as I did for the first bug, and report
>>you what happen. Moreover it seems the freeze happens more particularly
>>when I save a file in Word (the file is actually saved, but MacOS
>>freezes just after), if I've use the network interface before (though
>>that's not totally reproducible).
>
>
> Could you try the latest version of MOL? I just found
> and fixed a subtle MMU bug. It could very well be at fault here...
>
> BK repository:
> http://mol.bkbits.net:8080/MOL
>
> rsync mirror:
> rsync -rvz zorn.theophys.kth.se::mol /tmp/mol-rsync
>
> Note: The change is to the MOL kernel module so do not forget
> to unload the old one...
>
> Cheers,
>
> /Samuel
>
--
Francois Taiani LAAS-CNRS (http://www.laas.fr)