Skip to contentSkip to conversation

2.6.9-r9c5 patch problem

Adeos-main Nate Villaume 2 participants 4 messages Mar 4, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I cannot seem to find a 2.6.x kernel that, once patched with adeos, will compile on my setup. I have this problem with 2.6.7, 2.6.8.1, and 2.6.9 (either patch version r8 or r9c5):

I am compiling with gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) I am on a dual athlon machine.

CC arch/i386/kernel/asm-offsets.s
In file included from include/asm-i386/mach-generic/mach_apicdef.h:5,

                 from include/asm/adeos.h:40,
                 from include/linux/adeos.h:25,
                 from include/linux/sched.h:8,
                 from arch/i386/kernel/asm-offsets.c:7:

include/asm/genapic.h:30: error: syntax error before "bitmap" include/asm/genapic.h:30: warning: function declaration isn't a prototype include/asm/genapic.h:35: error: syntax error before "physid_mask_t"

Any suggestions?

On one attempt, I tried plugging the holes by finding the defines, but then I run into an undefined instance of adp_root....

-Nate

P.S. Philippe, I brought this here because I tried your last suggestion on RTAI's list, but again, to no avail.

-Nathaniel J. Villaume
Jet Propulsion Laboratory
(818) 393 0881

*** All personal and professional opinions presented herein are my ***
*** own and do not, in any way, represent the opinion or policy of JPL. ***

#1 lore raw
Quoted 18 lines · Nate Villaume

Hello,

I cannot seem to find a 2.6.x kernel that, once patched with adeos, will compile on my setup. I have this problem with 2.6.7, 2.6.8.1, and 2.6.9 (either patch version r8 or r9c5):

I am compiling with gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) I am on a dual athlon machine.

CC arch/i386/kernel/asm-offsets.s
In file included from include/asm-i386/mach-generic/mach_apicdef.h:5,

                 from include/asm/adeos.h:40,
                 from include/linux/adeos.h:25,
                 from include/linux/sched.h:8,
                 from arch/i386/kernel/asm-offsets.c:7:

include/asm/genapic.h:30: error: syntax error before "bitmap" include/asm/genapic.h:30: warning: function declaration isn't a prototype include/asm/genapic.h:35: error: syntax error before "physid_mask_t"

Quoted 9 lines

Any suggestions?

On one attempt, I tried plugging the holes by finding the defines, but then I run into an undefined instance of adp_root....

-Nate

P.S. Philippe, I brought this here because I tried your last suggestion on RTAI's list, but again, to no avail.

I cannot reproduce this bug using 3.4.3 + Athlon SMP config, but does the following patch make things any better?

asm-i386/adeos.h renamed from asm-i386/adeos.h~ +1 -0
@@ -37,6 +37,7 @@
 #ifdef CONFIG_SMP
 
 #include <asm/fixmap.h>
+#include <asm/mpspec.h>
 #include <mach_apicdef.h>
 
 #define ADEOS_NR_CPUS          NR_CPUS
Signature · 1 line
Philippe.
#2 lore raw

Yes, that helped tremendously! At least I can build now!

asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100 line 41

Quoted 10 lines

I cannot reproduce this bug using 3.4.3 + Athlon SMP config, but does the following patch make things any better?

asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100 renamed from asm-i386/adeos.h~ 2005-02-28 18:46:46.000000000 +0100 +1 -0
@@ -37,6 +37,7 @@
 #ifdef CONFIG_SMP
 
 #include <asm/fixmap.h>
+#include <asm/mpspec.h>
 #include <mach_apicdef.h>

-Nathaniel J. Villaume
Jet Propulsion Laboratory
(818) 393 0881

*** All personal and professional opinions presented herein are my ***
*** own and do not, in any way, represent the opinion or policy of JPL. ***

#3 lore raw
Quoted 1 line · Nate Villaume

Yes, that helped tremendously! At least I can build now!

Good. Btw, make sure you don't have CONFIG_FRAME_POINTER enabled in SMP mode (UP is ok), there is a random bug caused by a conflict w/ the Linux profiling code I've just fixed in the CVS. The next patch will include this fix.

Quoted 29 lines

asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100 line 41

Quoted 11 lines

I cannot reproduce this bug using 3.4.3 + Athlon SMP config, but does the following patch make things any better?

asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100 renamed from asm-i386/adeos.h~ 2005-02-28 18:46:46.000000000 +0100 +1 -0
@@ -37,6 +37,7 @@
 #ifdef CONFIG_SMP
 
 #include <asm/fixmap.h>
+#include <asm/mpspec.h>
 #include <mach_apicdef.h>

-Nathaniel J. Villaume
Jet Propulsion Laboratory
(818) 393 0881

*** All personal and professional opinions presented herein are my ***
*** own and do not, in any way, represent the opinion or policy of JPL. ***

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Signature · 1 line
Philippe.