Am Dienstag, 10. September 2013, 20:17:53 schrieb Michael Haberler:
> Jan,
> 
> Am 10.09.2013 um 17:13 schrieb Jan Binder <wh...@herr-der-mails.de>:
> > Am Montag, 9. September 2013, 17:04:36 schrieb Michael Haberler:
> >> Jan,
> >> 
> >> Am 09.09.2013 um 14:51 schrieb Jan Binder <wh...@herr-der-mails.de>:
> >>> Hi,
> >>> I have been running my mill on the rtos-integration-preview3 and
> >>> rtos-integration-preview3-merged-into-master branches on Debian Jessie
> >>> for
> >>> some time with the xenomai kernel 3.5.7 from the machinekit.net
> >>> repository
> >>> and they work.
> >>> 
> >>> Now I built the unified-build-candidate-3 branch and all 129 tests from
> >>> runtests pass.
> >>> 
> >>> When I start latencyhistogram, it complains about the rtapi module and
> >>> rip-
> >> 
> >>> environment, even though I sourced scripts/rip-environment :
> >> I tried to reproduce, build and run log here (xenomai-user):
> >> http://static.mah.priv.at/public/screenlog.txt, latency-test comes up
> >> fine
> >> without problems (sourcing scripts/rip-environment does not start
> >> realtime
> >> or anything else, it just sets up environment variables)
> >> 
> >> this looks to me like like a path issue, sure the right rip-environment
> >> was
> >> sourced? what does /var/log/linuxcnc.log say?
> >> 
> >> if everything else fails - sometimes build leftovers from previous builds
> >> create issues; in that case do a 'git clean -xdf' in the linuxcnc
> >> directory
> >> which will wipe anything not in the git repo (i.e. like after a git
> >> clone)
> >> - take care to save your configs before doing that! then rebuild
> >> 
> >> if that doesnt help, please post src/config.log, the make log, and
> >> /var/log/linuxcnc.log to say pastebin.com
> >> 
> >> - Michael
> > 
> > Ok, even after a clean rebuild things do not work as expected.
> > latency-test works,
> > latency-histogram only works when running "realtime start" and
> 
> same here, reproduced on an amd64/xenomai-3.5.7 - it turns out
> latencyhistogram is written such that it assumes RTAI as realtime platform
> 
> that is fixable but it's not your issue it seems (for now just do a
> 'realtime start' before running latencyhistogram and 'realtime stop'
> thereafter)
> 
> file here: https://github.com/zultron/linuxcnc/issues/60

Ok, so that is out of the way. 
> --
> 
> I am unsure as of yet if the issues are related; it looks a bit like a
> shared library confusion ontop
> 
> could you please try this:
> 
> NOT run latencyhistogram, and make sure realtime is off:
> 
> $ sudo dmesg -c  # clear kernel message buffer
> $ realtime stop
> $ export DEBUG=5
> $ linuxcnc [yourconfig.ini]
> 
> and post /var/log/linuxcnc.log output which should now contain much more
> detail also the output of dmesg after the run please.
> 
> thanks
> 
> Michael

Log is at
http://intern.sfz-bw.de/~jan.binder/linuxcnc-debug/DEBUG5-linuxcnc.log

dmesg output is:
[337796.926426] io[25044]: segfault at 0 ip 000000000040303f sp 
00007fff67911ad8 error 4 in io[400000+b000]
[337796.930129] halui[25046]: segfault at 8f000000 ip 000000000040481d sp 
00007fff838f2900 error 4 in halui[400000+e000]
[337797.150082] hal_manualtoolc[25061]: segfault at 0 ip 00007fa18889a37e sp 
00007fffcb750350 error 4 in _hal.so[7fa188897000+6000]
[337804.180056] milltask[25072]: segfault at 0 ip 0000000000412f9d sp 
00007fffc7cdbae8 error 4 in milltask[400000+5f000]

Jan

> > linuxcnc still throws errors after selecting my config that works with the
> > other Xenomai branches mentioned before.
> > 
> > I have put all available info here:
> > http://intern.sfz-bw.de/~jan.binder/linuxcnc-debug/
> > 
> > screen-buildlog.txt contains the screen hardcopy of a complete build +
> > latency-test + latency-histogram + linuxcnc run
> > 
> > The other files are the corresponding log files and from what I can see,
> > something crashes badly and some component is not found.
> > 
> > So yes, that could very well be an issue with other changes not related to
> > realtime integration.
> > 
> > Jan
> > 
> >>> NOTE: 'rtapi' module must be loaded
> >>> Invalid argument
> >>> For a RIP linuxcnc build, source rip-environment in this shell
> >>> 
> >>> After running "realtime start" latencyhistogram works, though.
> >>> What does not work un the Unified Build is my machine config, it prints
> >>> tens of 'rtapi' module must be loaded errors.
> >>> 
> >>> Where do I start debugging this further?
> >>> 
> >>> Regards,
> >>> Jan Binder
> >>> 
> >>> Am Dienstag, 3. September 2013, 08:26:24 schrieb Michael Haberler:
> >>>> We're happy to announce the "Unified Build" branch for general testing.
> >>>> This branch has been in limited preview for a while, and numerous
> >>>> positive reports have come in, so we think it is good to go for wider
> >>>> evaluation.
> >>>> 
> >>>> We consider this a merge candidate for the 2.6 release.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to