* [Adeos-main] Kernel 2.6.20.2
@ 2007-03-12 18:00 Ze Manel
2007-03-12 20:34 ` Gilles Chanteperdrix
2007-03-12 21:31 ` trem
0 siblings, 2 replies; 8+ messages in thread
From: Ze Manel @ 2007-03-12 18:00 UTC (permalink / raw)
To: adeos-main
I'm now trying to compile the kernel with the corresponding adeos patch:
"adeos-ipipe-2.6.20-i386-1.7-03.patch"
I did "patch -p1 <adeos-ipipe-2.6.20-i386-1.7-03.patch" and all went
well with no errors.
After that I did "make menuconfig" and just saved the .config. the
problem is that I'm quite sure I should have changed something in the
config file BUT I DON'T KNOW WHAT, since I can't find the information
for that...
Where is the documentation?
when I try to compile the kernel, there is a problem in the link of
something, it doesn't find some symbols:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/i386/mach-generic/built-in.o(.text+0x4f): In function
`send_IPI_allbutself':
: undefined reference to `smp_processor_id_hw'
arch/i386/mach-generic/built-in.o(.text+0x50d): In function
`send_IPI_allbutself':
: undefined reference to `smp_processor_id_hw'
arch/i386/mach-generic/built-in.o(.text+0x7eb): In function
`send_IPI_allbutself':
: undefined reference to `smp_processor_id_hw'
arch/i386/mach-generic/built-in.o(.text+0xaf2): In function
`clustered_apic_check':
: undefined reference to `smp_processor_id_hw'
arch/i386/mach-generic/built-in.o(.text+0xbc3): In function `target_cpus':
: undefined reference to `smp_processor_id_hw'
arch/i386/mach-generic/built-in.o(.text+0xc6b): more undefined
references to `smp_processor_id_hw' follow
make: *** [.tmp_vmlinux1] Error 1
Can you help me?
Thanks.
Is the RTAI path equal to the adeos one? RTAI has quite better
documentation, I only don't know if the patch is completly equal or
diferent.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 18:00 [Adeos-main] Kernel 2.6.20.2 Ze Manel
@ 2007-03-12 20:34 ` Gilles Chanteperdrix
2007-03-12 22:02 ` Ze Manel
2007-03-12 21:31 ` trem
1 sibling, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-12 20:34 UTC (permalink / raw)
To: Ze Manel; +Cc: adeos-main
Ze Manel wrote:
> I'm now trying to compile the kernel with the corresponding adeos patch:
> "adeos-ipipe-2.6.20-i386-1.7-03.patch"
This is the second time we receive this mail, if people do not answer
you, it is simply because they are busy, so please do not irritate them
by posting your mail a second time.
>
> I did "patch -p1 <adeos-ipipe-2.6.20-i386-1.7-03.patch" and all went
> well with no errors.
> After that I did "make menuconfig" and just saved the .config. the
> problem is that I'm quite sure I should have changed something in the
> config file BUT I DON'T KNOW WHAT, since I can't find the information
> for that...
> Where is the documentation?
Every option is documented in make menuconfig. Select the option for
which you want to read the documentation with the up and down keys, then
press the 'H' key.
>
> when I try to compile the kernel, there is a problem in the link of
> something, it doesn't find some symbols:
>
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CHK include/linux/compile.h
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/i386/mach-generic/built-in.o(.text+0x4f): In function
> `send_IPI_allbutself':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0x50d): In function
> `send_IPI_allbutself':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0x7eb): In function
> `send_IPI_allbutself':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0xaf2): In function
> `clustered_apic_check':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0xbc3): In function `target_cpus':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0xc6b): more undefined
> references to `smp_processor_id_hw' follow
> make: *** [.tmp_vmlinux1] Error 1
>
>
> Can you help me?
You likely enabled an option that nobody else enabled, so you should
send us your .config in order to allow us to reproduce the problem.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 20:34 ` Gilles Chanteperdrix
@ 2007-03-12 22:02 ` Ze Manel
2007-03-12 22:37 ` Gilles Chanteperdrix
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Ze Manel @ 2007-03-12 22:02 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: adeos-main
[-- Attachment #1.1: Type: text/plain, Size: 2906 bytes --]
Sorry I didn't post it a second time, I patched kernel 2.6.20 and got the
error and then got the 2.6.20.2 (the latest stable version) I thought it
could have something to do, and got the same error, it was not a repost,
more like a clarification of the problem, or an update on the problem.
Sorry if it didn't seem so.
My .config is attached
Thanks for the help
On 12/03/07, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
>
> Ze Manel wrote:
> > I'm now trying to compile the kernel with the corresponding adeos patch:
> > "adeos-ipipe-2.6.20-i386-1.7-03.patch"
>
> This is the second time we receive this mail, if people do not answer
> you, it is simply because they are busy, so please do not irritate them
> by posting your mail a second time.
>
> >
> > I did "patch -p1 <adeos-ipipe-2.6.20-i386-1.7-03.patch" and all went
> > well with no errors.
> > After that I did "make menuconfig" and just saved the .config. the
> > problem is that I'm quite sure I should have changed something in the
> > config file BUT I DON'T KNOW WHAT, since I can't find the information
> > for that...
> > Where is the documentation?
>
> Every option is documented in make menuconfig. Select the option for
> which you want to read the documentation with the up and down keys, then
> press the 'H' key.
>
> >
> > when I try to compile the kernel, there is a problem in the link of
> > something, it doesn't find some symbols:
> >
> > CHK include/linux/version.h
> > CHK include/linux/utsrelease.h
> > CHK include/linux/compile.h
> > GEN .version
> > CHK include/linux/compile.h
> > UPD include/linux/compile.h
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > arch/i386/mach-generic/built-in.o(.text+0x4f): In function
> > `send_IPI_allbutself':
> > : undefined reference to `smp_processor_id_hw'
> > arch/i386/mach-generic/built-in.o(.text+0x50d): In function
> > `send_IPI_allbutself':
> > : undefined reference to `smp_processor_id_hw'
> > arch/i386/mach-generic/built-in.o(.text+0x7eb): In function
> > `send_IPI_allbutself':
> > : undefined reference to `smp_processor_id_hw'
> > arch/i386/mach-generic/built-in.o(.text+0xaf2): In function
> > `clustered_apic_check':
> > : undefined reference to `smp_processor_id_hw'
> > arch/i386/mach-generic/built-in.o(.text+0xbc3): In function
> `target_cpus':
> > : undefined reference to `smp_processor_id_hw'
> > arch/i386/mach-generic/built-in.o(.text+0xc6b): more undefined
> > references to `smp_processor_id_hw' follow
> > make: *** [.tmp_vmlinux1] Error 1
> >
> >
> > Can you help me?
>
> You likely enabled an option that nobody else enabled, so you should
> send us your .config in order to allow us to reproduce the problem.
>
> --
>
>
> Gilles Chanteperdrix.
>
--
<img> http://www.deec.uc.pt/common/img/deezoom.gif </img>
[-- Attachment #1.2: Type: text/html, Size: 4209 bytes --]
[-- Attachment #2: .config --]
[-- Type: application/xml, Size: 33984 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 22:02 ` Ze Manel
@ 2007-03-12 22:37 ` Gilles Chanteperdrix
2007-03-12 22:47 ` Philippe Gerum
2007-03-12 23:04 ` Philippe Gerum
2 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-12 22:37 UTC (permalink / raw)
To: Ze Manel; +Cc: adeos-main
Ze Manel wrote:
> Sorry I didn't post it a second time, I patched kernel 2.6.20 and got the
> error and then got the 2.6.20.2 (the latest stable version) I thought it
> could have something to do, and got the same error, it was not a repost,
> more like a clarification of the problem, or an update on the problem.
> Sorry if it didn't seem so.
>
> My .config is attached
> Thanks for the help
In the menu "Processor type and features/Subarchitecture Type", select
"PC-compatible" instead of "Generic architecture (Summit, bigsmp,
eS7000, default)".
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 22:02 ` Ze Manel
2007-03-12 22:37 ` Gilles Chanteperdrix
@ 2007-03-12 22:47 ` Philippe Gerum
2007-03-13 0:26 ` Ze Manel
2007-03-12 23:04 ` Philippe Gerum
2 siblings, 1 reply; 8+ messages in thread
From: Philippe Gerum @ 2007-03-12 22:47 UTC (permalink / raw)
To: Ze Manel; +Cc: adeos-main
On Mon, 2007-03-12 at 22:02 +0000, Ze Manel wrote:
> Sorry I didn't post it a second time, I patched kernel 2.6.20 and got
> the error and then got the 2.6.20.2 (the latest stable version) I
> thought it could have something to do, and got the same error, it was
> not a repost, more like a clarification of the problem, or an update
> on the problem.
> Sorry if it didn't seem so.
> My .config is attached
> Thanks for the help
>
Switch on CONFIG_X86_PC instead of CONFIG_X86_GENERICARCH for now
(Processor type and features -> sub-architecture type = PC-Compatible).
This will work around the issue until it is solved in a later Adeos
patch, and might even be more appropriate for your hardware.
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 22:47 ` Philippe Gerum
@ 2007-03-13 0:26 ` Ze Manel
0 siblings, 0 replies; 8+ messages in thread
From: Ze Manel @ 2007-03-13 0:26 UTC (permalink / raw)
To: rpm; +Cc: adeos-main
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
Yes that solve the problem. I compiled the kernel with the adeos patch.
Thank you all.
On 12/03/07, Philippe Gerum <rpm@xenomai.org> wrote:
>
> On Mon, 2007-03-12 at 22:02 +0000, Ze Manel wrote:
> > Sorry I didn't post it a second time, I patched kernel 2.6.20 and got
> > the error and then got the 2.6.20.2 (the latest stable version) I
> > thought it could have something to do, and got the same error, it was
> > not a repost, more like a clarification of the problem, or an update
> > on the problem.
> > Sorry if it didn't seem so.
>
> > My .config is attached
> > Thanks for the help
> >
>
> Switch on CONFIG_X86_PC instead of CONFIG_X86_GENERICARCH for now
> (Processor type and features -> sub-architecture type = PC-Compatible).
> This will work around the issue until it is solved in a later Adeos
> patch, and might even be more appropriate for your hardware.
>
> --
> Philippe.
>
>
>
--
<img> http://www.deec.uc.pt/common/img/deezoom.gif </img>
[-- Attachment #2: Type: text/html, Size: 1423 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 22:02 ` Ze Manel
2007-03-12 22:37 ` Gilles Chanteperdrix
2007-03-12 22:47 ` Philippe Gerum
@ 2007-03-12 23:04 ` Philippe Gerum
2 siblings, 0 replies; 8+ messages in thread
From: Philippe Gerum @ 2007-03-12 23:04 UTC (permalink / raw)
To: Ze Manel; +Cc: adeos-main
On Mon, 2007-03-12 at 22:02 +0000, Ze Manel wrote:
> Sorry I didn't post it a second time, I patched kernel 2.6.20 and got
> the error and then got the 2.6.20.2 (the latest stable version) I
> thought it could have something to do, and got the same error, it was
> not a repost, more like a clarification of the problem, or an update
> on the problem.
> Sorry if it didn't seem so.
This patch fixes the issue.
diff --git a/arch/i386/mach-generic/bigsmp.c b/arch/i386/mach-generic/bigsmp.c
index 8a210fa..5eeefc8 100644
--- a/arch/i386/mach-generic/bigsmp.c
+++ b/arch/i386/mach-generic/bigsmp.c
@@ -14,6 +14,7 @@
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/dmi.h>
+#include <linux/ipipe.h>
#include <asm/mach-bigsmp/mach_apic.h>
#include <asm/mach-bigsmp/mach_apicdef.h>
#include <asm/mach-bigsmp/mach_ipi.h>
diff --git a/arch/i386/mach-generic/default.c b/arch/i386/mach-generic/default.c
index 8685208..bf9ceae 100644
--- a/arch/i386/mach-generic/default.c
+++ b/arch/i386/mach-generic/default.c
@@ -13,6 +13,7 @@
#include <linux/string.h>
#include <linux/smp.h>
#include <linux/init.h>
+#include <linux/ipipe.h>
#include <asm/mach-default/mach_apic.h>
#include <asm/mach-default/mach_ipi.h>
#include <asm/mach-default/mach_mpparse.h>
diff --git a/arch/i386/mach-generic/es7000.c b/arch/i386/mach-generic/es7000.c
index b8963a5..2fb7e7e 100644
--- a/arch/i386/mach-generic/es7000.c
+++ b/arch/i386/mach-generic/es7000.c
@@ -13,6 +13,7 @@
#include <linux/string.h>
#include <linux/smp.h>
#include <linux/init.h>
+#include <linux/ipipe.h>
#include <asm/mach-es7000/mach_apicdef.h>
#include <asm/mach-es7000/mach_apic.h>
#include <asm/mach-es7000/mach_ipi.h>
diff --git a/arch/i386/mach-generic/summit.c b/arch/i386/mach-generic/summit.c
index 74883cc..80f3dfd 100644
--- a/arch/i386/mach-generic/summit.c
+++ b/arch/i386/mach-generic/summit.c
@@ -13,6 +13,7 @@
#include <linux/string.h>
#include <linux/smp.h>
#include <linux/init.h>
+#include <linux/ipipe.h>
#include <asm/mach-summit/mach_apic.h>
#include <asm/mach-summit/mach_apicdef.h>
#include <asm/mach-summit/mach_ipi.h>
--
Philippe.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [Adeos-main] Kernel 2.6.20.2
2007-03-12 18:00 [Adeos-main] Kernel 2.6.20.2 Ze Manel
2007-03-12 20:34 ` Gilles Chanteperdrix
@ 2007-03-12 21:31 ` trem
1 sibling, 0 replies; 8+ messages in thread
From: trem @ 2007-03-12 21:31 UTC (permalink / raw)
To: Ze Manel; +Cc: adeos-main
Hi
I can reproduce the problem. But I don't know why.
I'll try to find the reason ASAP.
trem
Ze Manel wrote:
> I'm now trying to compile the kernel with the corresponding adeos patch:
> "adeos-ipipe-2.6.20-i386-1.7-03.patch"
>
> I did "patch -p1 <adeos-ipipe-2.6.20-i386-1.7-03.patch" and all went
> well with no errors.
> After that I did "make menuconfig" and just saved the .config. the
> problem is that I'm quite sure I should have changed something in the
> config file BUT I DON'T KNOW WHAT, since I can't find the information
> for that...
> Where is the documentation?
>
> when I try to compile the kernel, there is a problem in the link of
> something, it doesn't find some symbols:
>
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CHK include/linux/compile.h
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/i386/mach-generic/built-in.o(.text+0x4f): In function
> `send_IPI_allbutself':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0x50d): In function
> `send_IPI_allbutself':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0x7eb): In function
> `send_IPI_allbutself':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0xaf2): In function
> `clustered_apic_check':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0xbc3): In function `target_cpus':
> : undefined reference to `smp_processor_id_hw'
> arch/i386/mach-generic/built-in.o(.text+0xc6b): more undefined
> references to `smp_processor_id_hw' follow
> make: *** [.tmp_vmlinux1] Error 1
>
>
> Can you help me?
> Thanks.
> Is the RTAI path equal to the adeos one? RTAI has quite better
> documentation, I only don't know if the patch is completly equal or
> diferent.
>
> _______________________________________________
> Adeos-main mailing list
> Adeos-main@domain.hid
> https://mail.gna.org/listinfo/adeos-main
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-03-13 0:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 18:00 [Adeos-main] Kernel 2.6.20.2 Ze Manel
2007-03-12 20:34 ` Gilles Chanteperdrix
2007-03-12 22:02 ` Ze Manel
2007-03-12 22:37 ` Gilles Chanteperdrix
2007-03-12 22:47 ` Philippe Gerum
2007-03-13 0:26 ` Ze Manel
2007-03-12 23:04 ` Philippe Gerum
2007-03-12 21:31 ` trem
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.