* [Adeos-main] 2.6.9-r9c5 patch problem
@ 2005-03-04 0:52 Nate Villaume
2005-03-04 10:29 ` Philippe Gerum
0 siblings, 1 reply; 4+ messages in thread
From: Nate Villaume @ 2005-03-04 0:52 UTC (permalink / raw)
To: adeos-main
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.
***
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Adeos-main] 2.6.9-r9c5 patch problem
2005-03-04 0:52 [Adeos-main] 2.6.9-r9c5 patch problem Nate Villaume
@ 2005-03-04 10:29 ` Philippe Gerum
2005-03-04 16:20 ` Nate Villaume
0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2005-03-04 10:29 UTC (permalink / raw)
To: Nate Villaume; +Cc: adeos-main
Nate Villaume wrote:
> 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.
>
>
I cannot reproduce this bug using 3.4.3 + Athlon SMP config, but does
the following patch make things any better?
--- include/asm-i386/adeos.h~ 2005-02-28 18:46:46.000000000 +0100
+++ include/asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100
@@ -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
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Adeos-main] 2.6.9-r9c5 patch problem
2005-03-04 10:29 ` Philippe Gerum
@ 2005-03-04 16:20 ` Nate Villaume
2005-03-04 16:34 ` Philippe Gerum
0 siblings, 1 reply; 4+ messages in thread
From: Nate Villaume @ 2005-03-04 16:20 UTC (permalink / raw)
To: Philippe Gerum; +Cc: adeos-main
Yes, that helped tremendously! At least I can build now!
>I cannot reproduce this bug using 3.4.3 + Athlon SMP config, but does the
>following patch make things any better?
>
>--- include/asm-i386/adeos.h~ 2005-02-28 18:46:46.000000000 +0100
>+++ include/asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100
>@@ -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.
***
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Adeos-main] 2.6.9-r9c5 patch problem
2005-03-04 16:20 ` Nate Villaume
@ 2005-03-04 16:34 ` Philippe Gerum
0 siblings, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2005-03-04 16:34 UTC (permalink / raw)
To: Nate Villaume; +Cc: adeos-main
Nate Villaume wrote:
> 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.
>
>> I cannot reproduce this bug using 3.4.3 + Athlon SMP config, but does
>> the following patch make things any better?
>>
>> --- include/asm-i386/adeos.h~ 2005-02-28 18:46:46.000000000 +0100
>> +++ include/asm-i386/adeos.h 2005-03-04 11:23:09.000000000 +0100
>> @@ -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
> Adeos-main@domain.hid
> https://mail.gna.org/listinfo/adeos-main
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-04 16:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 0:52 [Adeos-main] 2.6.9-r9c5 patch problem Nate Villaume
2005-03-04 10:29 ` Philippe Gerum
2005-03-04 16:20 ` Nate Villaume
2005-03-04 16:34 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.