Page 1 of 1

Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

PostPosted: Mon Feb 18, 2008 4:44 am
by toldim
CC arch/x86/kernel/efi_32.o
arch/x86/kernel/efi_32.c: In function ‘efi_call_phys_prelog’:
arch/x86/kernel/efi_32.c:82: error: implicit declaration of function ‘__local_flush_tlb’
arch/x86/kernel/efi_32.c:84: warning: assignment makes pointer from integer without a cast
make[1]: *** [arch/x86/kernel/efi_32.o] Error 1
make: *** [arch/x86/kernel] Error 2

My kernel konfig: http://morpheus.mediahosting.hu/server1.html

Re: Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

PostPosted: Mon Feb 18, 2008 9:43 am
by djGrrr
i got similar issues with efi_32 when compiling with grsec patch, i didn't bother testing if the vanilla kernel would do the same, i just disabled efi_32 and the kernel compiled fine

Re: Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

PostPosted: Mon Feb 18, 2008 10:13 am
by PaX Team
toldim wrote:CC arch/x86/kernel/efi_32.o
arch/x86/kernel/efi_32.c: In function ‘efi_call_phys_prelog’:
arch/x86/kernel/efi_32.c:82: error: implicit declaration of function ‘__local_flush_tlb’
fixed in test28. have you actually got a box that boots with EFI? 'cos i had to rewrite this code quite heavily years ago and found noone who could test it for me ever since (especially when mixed with PAE).

Re: Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

PostPosted: Mon Feb 18, 2008 11:27 am
by djGrrr
well, my new pc can probably boot with efi, but i'm only running linux on my old pc with a 1ghz celeron cpu, so it obviously doesn't support efi :P

Re: Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

PostPosted: Tue Feb 19, 2008 8:44 am
by toldim
PaX Team wrote:
toldim wrote:CC arch/x86/kernel/efi_32.o
arch/x86/kernel/efi_32.c: In function ‘efi_call_phys_prelog’:
arch/x86/kernel/efi_32.c:82: error: implicit declaration of function ‘__local_flush_tlb’
fixed in test28. have you actually got a box that boots with EFI? 'cos i had to rewrite this code quite heavily years ago and found noone who could test it for me ever since (especially when mixed with PAE).


Sorry, I haven't got EFI compatible box, I turned on this option for test. I tried test28 and test30 patch too, but a new error has occured.

LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o: In function `load_elf_binary':
binfmt_elf.c:(.text+0x32d3a): undefined reference to `pax_set_initial_flags'
make: *** [.tmp_vmlinux1] Error 1

Re: Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

PostPosted: Wed Feb 20, 2008 4:45 am
by toldim
toldim wrote:I tried test28 and test30 patch too, but a new error has occured.

LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o: In function `load_elf_binary':
binfmt_elf.c:(.text+0x32d3a): undefined reference to `pax_set_initial_flags'
make: *** [.tmp_vmlinux1] Error 1


I tried the new patch (grsecurity-2.1.11-2.6.24.2-200802192340.patch), and it's work fine. Many thx for help !