All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
@ 2006-12-08 12:09 Niklaus Giger
  2006-12-08 12:40 ` Wolfgang Grandegger
  0 siblings, 1 reply; 7+ messages in thread
From: Niklaus Giger @ 2006-12-08 12:09 UTC (permalink / raw)
  To: xenomai

Hi

I get an error building the TQM860 image (2.4 based kernel). Last successful 
build was with revision 1920 (didn't build between).
Log is available under 
http://ngiger.dyndns.org:8011/tqm_f/builds/30/step-mk_kernel/1

Best regards

-- 
Niklaus Giger


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
  2006-12-08 12:09 [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860 Niklaus Giger
@ 2006-12-08 12:40 ` Wolfgang Grandegger
  2006-12-08 12:43   ` Jan Kiszka
  2006-12-08 14:10   ` Niklaus Giger
  0 siblings, 2 replies; 7+ messages in thread
From: Wolfgang Grandegger @ 2006-12-08 12:40 UTC (permalink / raw)
  To: niklaus.giger; +Cc: xenomai

Hi Niklaus,

I just compiled my Linux 2.4 kernel for TQM860L with the latest revision 
of Xenomai and I cannot reproduce your problem. In you linker path there 
are no Xenomai objects. How does it come? Do you use --arch=ppc with 
prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).

Wolfgang.

Niklaus Giger wrote:
> Hi
> 
> I get an error building the TQM860 image (2.4 based kernel). Last successful 
> build was with revision 1920 (didn't build between).
> Log is available under 
> http://ngiger.dyndns.org:8011/tqm_f/builds/30/step-mk_kernel/1
> 
> Best regards
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
  2006-12-08 12:40 ` Wolfgang Grandegger
@ 2006-12-08 12:43   ` Jan Kiszka
  2006-12-08 14:30     ` Niklaus Giger
  2006-12-15 20:30     ` Niklaus Giger
  2006-12-08 14:10   ` Niklaus Giger
  1 sibling, 2 replies; 7+ messages in thread
From: Jan Kiszka @ 2006-12-08 12:43 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]

Wolfgang Grandegger wrote:
> Hi Niklaus,
> 
> I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> of Xenomai and I cannot reproduce your problem. In you linker path there
> are no Xenomai objects. How does it come? Do you use --arch=ppc with
> prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
> 

The problem pops up with CONFIG_XENO_OPT_SCALABLE_SCHED.

The definition of xnlogerr is not visible to queue.h, namely to the
inline function getmlq. Here is possible solution at XENO_ASSERT level.

Jan

[-- Attachment #1.2: assert-with-xnarch_logerr.patch --]
[-- Type: text/plain, Size: 628 bytes --]

Index: include/nucleus/assert.h
===================================================================
--- include/nucleus/assert.h	(revision 1930)
+++ include/nucleus/assert.h	(working copy)
@@ -27,7 +27,7 @@
 #define XENO_ASSERT(subsystem,cond,action)  do { \
     if (unlikely(CONFIG_XENO_OPT_DEBUG_##subsystem > 0 && !(cond))) { \
         xnarch_trace_panic_freeze(); \
-        xnlogerr("assertion failed at %s:%d (%s)\n", __FILE__, __LINE__, (#cond)); \
+        xnarch_logerr("assertion failed at %s:%d (%s)\n", __FILE__, __LINE__, (#cond)); \
         xnarch_trace_panic_dump(); \
         action; \
     } \

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
  2006-12-08 12:40 ` Wolfgang Grandegger
  2006-12-08 12:43   ` Jan Kiszka
@ 2006-12-08 14:10   ` Niklaus Giger
  1 sibling, 0 replies; 7+ messages in thread
From: Niklaus Giger @ 2006-12-08 14:10 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai

Am Freitag, 8. Dezember 2006 13:40 schrieb Wolfgang Grandegger:
> Hi Niklaus,
>
> I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> of Xenomai and I cannot reproduce your problem. In you linker path there
> are no Xenomai objects. How does it come? Do you use --arch=ppc with
> prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
As seen in http://ngiger.dyndns.org:8011/tqm_f/builds/30/step-prep_bb/0
Exec in /var/buildbot/slave/tqm_f/xenomai: 
scripts/prepare-kernel.sh --arch=ppc --adeos=ksrc/arch/powerpc/patches/adeos-ipipe-2.4.25-*.patch --linux=/var/buildbot/slave/tqm_f/linux
Then in http://ngiger.dyndns.org:8011/tqm_f/builds/30/step-cfg_kernel/0
/var/buildbot/scripts/configure.sh /var/buildbot/configs/TQM860L_defconfig 
CROSS_COMPILE=powerpc-860-linux-gnu- ARCH=ppc
and finally the build with 
make --jobs=4 uImage modules
The http logs also show all environment variables (e.g. CROSS_COMPILE, PATH).

You can navigate between the different builds and buildsteps on 
http://ngiger.dyndns.org:8011/. I tried to make all steps transparent to the 
observer, to enable them to verify themselves all the build step. If you are 
unable to reach this site please tell me so. I updated my apache2 server and 
since this time the proxy/reverse proxy form 
http://ngiger.dyndns.org/buildbot to http://ngiger.dyndns.org:8011/ does not 
work anymore (but that is another problem I am investigating).

I did not change my Buildbot master setup since December 4. The 
prepare_slave.rb was updated on December 3
I updated today the TQM860L_defconfig to enable more CAN drivers etc, but that 
didn't change the error.

Build 28 (revision 1920) completed without any problem on December 6, and the 
build on December 7 (revision 1930). All these build are full build, meaning 
that all the build directories get removed before starting the 
prepare_kernel.sh

Did you also clean rebuild?

Is there somewhere a missing include?
I see that include/xenomai/nucleus/pod.h has 
#define xnlogerr(fmt,args...)  xnarch_logerr(fmt , ##args
But grep finds xnlogerr in the following object files
kernel/xenomai/nucleus/xeno_nucleus.o.
kernel/xenomai/nucleus/built-in.o.

> Wolfgang.
>
> Niklaus Giger wrote:
> > Hi
> >
> > I get an error building the TQM860 image (2.4 based kernel). Last
> > successful build was with revision 1920 (didn't build between).
> > Log is available under
> > http://ngiger.dyndns.org:8011/tqm_f/builds/30/step-mk_kernel/1
> >
> > Best regards

-- 
Niklaus Giger


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
  2006-12-08 12:43   ` Jan Kiszka
@ 2006-12-08 14:30     ` Niklaus Giger
  2006-12-15 20:30     ` Niklaus Giger
  1 sibling, 0 replies; 7+ messages in thread
From: Niklaus Giger @ 2006-12-08 14:30 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Am Freitag, 8. Dezember 2006 13:43 schrieb Jan Kiszka:
> Wolfgang Grandegger wrote:
> > Hi Niklaus,
> >
> > I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> > of Xenomai and I cannot reproduce your problem. In you linker path there
> > are no Xenomai objects. How does it come? Do you use --arch=ppc with
> > prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
>
> The problem pops up with CONFIG_XENO_OPT_SCALABLE_SCHED.
>
> The definition of xnlogerr is not visible to queue.h, namely to the
> inline function getmlq. Here is possible solution at XENO_ASSERT level.
>
> Jan
Thanks. I applied the patch and the TQM860L compiled cleanly.

Best regards
-- 
Niklaus Giger


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
  2006-12-08 12:43   ` Jan Kiszka
  2006-12-08 14:30     ` Niklaus Giger
@ 2006-12-15 20:30     ` Niklaus Giger
  2006-12-15 23:36       ` Philippe Gerum
  1 sibling, 1 reply; 7+ messages in thread
From: Niklaus Giger @ 2006-12-15 20:30 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Am Freitag, 8. Dezember 2006 13:43 schrieb Jan Kiszka:
> Wolfgang Grandegger wrote:
> > Hi Niklaus,
> >
> > I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> > of Xenomai and I cannot reproduce your problem. In you linker path there
> > are no Xenomai objects. How does it come? Do you use --arch=ppc with
> > prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
>
> The problem pops up with CONFIG_XENO_OPT_SCALABLE_SCHED.
>
> The definition of xnlogerr is not visible to queue.h, namely to the
> inline function getmlq. Here is possible solution at XENO_ASSERT level.
>
> Jan
Why didn't you apply your patch? It solved my problem and I don't see any risk 
why you shouldn't apply it and didn't see any objections on this mailing 
list.

Best regards

-- 
Niklaus Giger


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
  2006-12-15 20:30     ` Niklaus Giger
@ 2006-12-15 23:36       ` Philippe Gerum
  0 siblings, 0 replies; 7+ messages in thread
From: Philippe Gerum @ 2006-12-15 23:36 UTC (permalink / raw)
  To: niklaus.giger; +Cc: Jan Kiszka, xenomai

On Fri, 2006-12-15 at 21:30 +0100, Niklaus Giger wrote:
> Am Freitag, 8. Dezember 2006 13:43 schrieb Jan Kiszka:
> > Wolfgang Grandegger wrote:
> > > Hi Niklaus,
> > >
> > > I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> > > of Xenomai and I cannot reproduce your problem. In you linker path there
> > > are no Xenomai objects. How does it come? Do you use --arch=ppc with
> > > prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
> >
> > The problem pops up with CONFIG_XENO_OPT_SCALABLE_SCHED.
> >
> > The definition of xnlogerr is not visible to queue.h, namely to the
> > inline function getmlq. Here is possible solution at XENO_ASSERT level.
> >
> > Jan
> Why didn't you apply your patch? It solved my problem and I don't see any risk 
> why you shouldn't apply it and didn't see any objections on this mailing 
> list.

A more general change also fixing this issue has been committed to the
trunk.

> 
> Best regards
> 
-- 
Philippe.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-15 23:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-08 12:09 [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860 Niklaus Giger
2006-12-08 12:40 ` Wolfgang Grandegger
2006-12-08 12:43   ` Jan Kiszka
2006-12-08 14:30     ` Niklaus Giger
2006-12-15 20:30     ` Niklaus Giger
2006-12-15 23:36       ` Philippe Gerum
2006-12-08 14:10   ` Niklaus Giger

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.