Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

Discuss and suggest new grsecurity features

Error: 2.6.24.2 + grsecurity-2.1.11-2.6.24.2-200802151749

Postby toldim » Mon Feb 18, 2008 4:44 am

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
toldim
 
Posts: 3
Joined: Mon Feb 18, 2008 3:24 am

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

Postby djGrrr » Mon Feb 18, 2008 9:43 am

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
djGrrr
 
Posts: 13
Joined: Fri Dec 29, 2006 11:16 am

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

Postby PaX Team » Mon Feb 18, 2008 10:13 am

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).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

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

Postby djGrrr » Mon Feb 18, 2008 11:27 am

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
djGrrr
 
Posts: 13
Joined: Fri Dec 29, 2006 11:16 am

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

Postby toldim » Tue Feb 19, 2008 8:44 am

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
toldim
 
Posts: 3
Joined: Mon Feb 18, 2008 3:24 am

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

Postby toldim » Wed Feb 20, 2008 4:45 am

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 !
toldim
 
Posts: 3
Joined: Mon Feb 18, 2008 3:24 am


Return to grsecurity development