Problem with IA64 - kernel-2.6.19.2.

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Problem with IA64 - kernel-2.6.19.2.

Postby JensSthlm » Tue Feb 05, 2008 4:29 am

Hello,

I have i big problem with my IA64 server. I have install gsecurity on HP ProLiant DL380 G4 and HP ProLiant DL365 server with same kernel and OS version.
My OS is RedHat ES 5. Hardware: rx2660, 2x36GB + 3x146GB SASdisk, 8GB RAM.

I can make the ny kernel with out the gsec. patch.

But not with the patch I get this.
Debug info:
Putting child 0x6000000000071900 (arch/ia64/kernel/iosapic.o) PID 9841 on the chain.
Live child 0x6000000000071900 (arch/ia64/kernel/iosapic.o) PID 9841
CC arch/ia64/kernel/iosapic.o
Reaping winning child 0x6000000000071900 PID 9841
Removing child 0x6000000000071900 PID 9841 from chain.
Successfully remade target file `arch/ia64/kernel/iosapic.o'.
Considering target file `arch/ia64/kernel/module.o'.
File `arch/ia64/kernel/module.o' does not exist.
Looking for an implicit rule for `arch/ia64/kernel/module.o'.
Trying pattern rule with stem `module.o'.
Trying implicit prerequisite `arch/ia64/kernel/module.o_shipped'.
Trying pattern rule with stem `module'.
Trying implicit prerequisite `arch/ia64/kernel/module.c'.
Trying rule prerequisite `FORCE'.
Found an implicit rule for `arch/ia64/kernel/module.o'.
Considering target file `arch/ia64/kernel/module.c'.
Looking for an implicit rule for `arch/ia64/kernel/module.c'.
Trying pattern rule with stem `module.c'.
Trying implicit prerequisite `arch/ia64/kernel/module.c_shipped'.
No implicit rule found for `arch/ia64/kernel/module.c'.
Finished prerequisites of target file `arch/ia64/kernel/module.c'.
No need to remake target `arch/ia64/kernel/module.c'.
Pruning file `FORCE'.
Finished prerequisites of target file `arch/ia64/kernel/module.o'.
Must remake target `arch/ia64/kernel/module.o'.
Putting child 0x6000000000071e50 (arch/ia64/kernel/module.o) PID 9851 on the chain.
Live child 0x6000000000071e50 (arch/ia64/kernel/module.o) PID 9851
CC arch/ia64/kernel/module.o
arch/ia64/kernel/module.c: In function ‘in_init’:
arch/ia64/kernel/module.c:516: error: ‘value’ undeclared (first use in this function)
arch/ia64/kernel/module.c:516: error: (Each undeclared identifier is reported only once
arch/ia64/kernel/module.c:516: error: for each function it appears in.)
arch/ia64/kernel/module.c: In function ‘in_core’:
arch/ia64/kernel/module.c:534: error: ‘value’ undeclared (first use in this function)
Reaping losing child 0x6000000000071e50 PID 9851
make[1]: *** [arch/ia64/kernel/module.o] Error 1
Removing child 0x6000000000071e50 PID 9851 from chain.
Reaping losing child 0x60000000000a8600 PID 9406
make: *** [arch/ia64/kernel] Error 2
Removing child 0x60000000000a8600 PID 9406 from chain.

I have try both with a modify config, tune on the gsecurity. Same error.


Best regards
Jens Skoglund
Goverment Offfice of Sweden.
IT Service
JensSthlm
 
Posts: 12
Joined: Tue Feb 05, 2008 3:42 am

Re: Problem with IA64 - kernel-2.6.19.2.

Postby PaX Team » Tue Feb 05, 2008 7:56 pm

JensSthlm wrote:CC arch/ia64/kernel/module.o
arch/ia64/kernel/module.c: In function ‘in_init’:
arch/ia64/kernel/module.c:516: error: ‘value’ undeclared (first use in this function)
arch/ia64/kernel/module.c:516: error: (Each undeclared identifier is reported only once
arch/ia64/kernel/module.c:516: error: for each function it appears in.)
arch/ia64/kernel/module.c: In function ‘in_core’:
arch/ia64/kernel/module.c:534: error: ‘value’ undeclared (first use in this function)
the following fix should apply to 2.6.23 as well (modulo whitespace):
Code: Select all
--- linux-2.6.24-pax/arch/ia64/kernel/module.c  2008-01-25 15:28:01.000000000 +0100
+++ linux-2.6.24-pax/arch/ia64/kernel/module.c  2008-02-05 14:16:50.000000000 +0100
@@ -531,7 +531,7 @@
 static inline int
 in_core (const struct module *mod, uint64_t addr)
 {
-       return in_core_rx(mod, value) || in_core_rw(mod, value);
+       return in_core_rx(mod, addr) || in_core_rw(mod, addr);
 }

 static inline int
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support