Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860

2006-12-15 Thread Niklaus Giger
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

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860

2006-12-15 Thread Philippe Gerum
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.



___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860

2006-12-08 Thread 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
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; \
 } \


signature.asc
Description: OpenPGP digital signature
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860

2006-12-08 Thread Niklaus Giger
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

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core