2.6.18 patch problems
Posted: Sun Sep 24, 2006 2:43 am
Hello there,
I just tested the last grsecurity-2.1.9-2.6.18-200609222230.patch with my previous .config settings, and it compiles and runs seemingly well, except that I have no log at all on my system! Both klog and syslog don't seem to work, and log files remain empty. Neither do I get grsec-generated logs (such as when time is set) displayed on console after bootup (whereas I get some during bootup). Log system works fine with a not patched 2.6.18 kernel.
So I wanted to try a kernel with no grsec option enabled, but I ran into another problem : kernel fails to compile.
CC arch/i386/kernel/ldt.o
In file included from arch/i386/kernel/ldt.c:21:
include/asm/mmu_context.h: In function 'switch_mm':
include/asm/mmu_context.h:54: error: 'mm_context_t' has no member named 'user_cs_base'
include/asm/mmu_context.h:54: error: 'mm_context_t' has no member named 'user_cs_base'
include/asm/mmu_context.h:55: error: 'mm_context_t' has no member named 'user_cs_limit'
include/asm/mmu_context.h:55: error: 'mm_context_t' has no member named 'user_cs_limit'
make[2]: *** [arch/i386/kernel/ldt.o] Erreur 1
make[1]: *** [arch/i386/kernel] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.18 »
make: *** [debian/stamp-build-kernel] Erreur 2
.config available at http://andrea.via.ecp.fr/config-2.6.18-grsec_amy
I just tested the last grsecurity-2.1.9-2.6.18-200609222230.patch with my previous .config settings, and it compiles and runs seemingly well, except that I have no log at all on my system! Both klog and syslog don't seem to work, and log files remain empty. Neither do I get grsec-generated logs (such as when time is set) displayed on console after bootup (whereas I get some during bootup). Log system works fine with a not patched 2.6.18 kernel.
So I wanted to try a kernel with no grsec option enabled, but I ran into another problem : kernel fails to compile.
CC arch/i386/kernel/ldt.o
In file included from arch/i386/kernel/ldt.c:21:
include/asm/mmu_context.h: In function 'switch_mm':
include/asm/mmu_context.h:54: error: 'mm_context_t' has no member named 'user_cs_base'
include/asm/mmu_context.h:54: error: 'mm_context_t' has no member named 'user_cs_base'
include/asm/mmu_context.h:55: error: 'mm_context_t' has no member named 'user_cs_limit'
include/asm/mmu_context.h:55: error: 'mm_context_t' has no member named 'user_cs_limit'
make[2]: *** [arch/i386/kernel/ldt.o] Erreur 1
make[1]: *** [arch/i386/kernel] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.18 »
make: *** [debian/stamp-build-kernel] Erreur 2
.config available at http://andrea.via.ecp.fr/config-2.6.18-grsec_amy