-
Notifications
You must be signed in to change notification settings - Fork 182
machinekit not ready for Xenomai3, jessie, beagleboard X15 #598
Comments
On 04/29/2015 05:56 AM, Michael Haberler wrote:
Excuse me. As of 25 April 2015, Debian 8 is the "latest stable release." |
oops, updated |
Packaging-related differences:
Kernels:
|
libwebsockets - that was an API change we needed, I need to check if the jessie version already has it re CURVE: oops - #204 is a really important todo item IMO, we have no authentication on the zeromq sockets right now (!) - we really should have the option in case we find somebody to work on it, that issue is not going away (I didnt know until now libsodium is not included anymore? maybe I missed something) re x86/amd64 kernels: I think 3.16 is ok, yes: http://download.gna.org/adeos/patches/v3.x/x86/ re RT_PREEMPT: Xenomai3 can run over RT_PREEMPT as well, I have no experience with that yet |
libwebsockets: just checked - unfortunately the jessie version is still useless for us, https://github.com/warmcat/libwebsockets/commits/v1.21-chrome26-firefox18 |
Buildbot:
Dovetail Automata package repository:
|
On 04/29/2015 09:38 AM, Michael Haberler wrote:
If someone wants to work on it, I'll pick up the package again. What #204 neglects an important question: what is the infrastructure for IMO there's still a way to go before any kind of implementation can
Upstream distro packages never had CURVE support. The only change for |
I'll take your comment on #204 over there to keep this focused on the 'next iteration' issues. But I hope we have agreement that authentication is a must-have prerequisite, even if not implemented as of now. The situation now is worse than the LinuxCNC approach (which is: unencrypted TCP and a compiled-in default password which everybody can read in the repo). re prerequisites packages which are not available upstream:
the question at hand now is - how do we deal with the situation?
In the case of zeromq and libwebsockets, I do not see a sensible way for the last option. And: if we decide to change course now, then we have been addressing the wrong problem in terms of packaging so far - we should have worked with the upstream maintainers right away. I guess we need to make a decision how to proceed. |
This discussion illustrates our severe manpower limitation. Practically, to "work with the people doing the debian packages" means dividing John's time even more (although I suspect him of having at least one clone already, given how much he's doing!). Further, I suspect any forceful expression of need on our part would elicit the reasonable suggestion that we become co-maintainers of the debian packages in question. They have their manpower problems too. I can hope for the best, that nudging package maintainers will do the trick, but planning for the worst, I think we have to "stay on course." We will always face the problem that one package or another may diverge from our expectations. As for authentication, I consider it irresponsible in this day and age not to build it into our architecture from the get-go even if what we are limited in what we can implement today. Just my 2-cents worth. @zultron I'm unclear about parts of your Buildbot synopsis:
|
I agree that we should've been working with Debian maintainers. Also agree with these:
So, I'll pick up the packages since we all feel it's important to have security, and on the assumption that we're going to start work on #204 soon, and the hope that we can start working with upstream packagers. @RunningLight, by 'ARM builder' I mean the ARM board (Wandboard) that's doing the ARM builds. It's been flakey, needs constant attention, and after spending several hours just now replacing the rootfs sdcard (mostly repairing packages after a hang in the update), I don't think it's going to be any better. I'd like to remove it and do builds under qemu, but that may be too much work in the short-term (although I have resolved the Jessie-qemu problem). As for test slaves, you're right, they're all VMs, except for BBB, and for now will stay that way. I have ideas for a different scheme that I probably shouldn't have mentioned. |
@zultron - thanks, I really appreciate it! |
with a bit of luck we might have the libzmq/czmq package issue solved for us. If I read this correctly, rsyslog uses zeromq plugins, and has a similar prerequisite issue like us . I'll inquire with the author if this has any upside for us. |
@zultron, as for the ARM builder, I'm experimenting with my own Wandboard Quad, an Odroid-C1, and a CuBox-i4Pro. They all have Gigabit ethernet ports, so an nfs*-mounted rootfs should have decent benefit, and the Wandboard and the CuBox-i include a SATA port. I'd like to finish getting some performance numbers, but any or all can be contributed to the Buildbot whether as remote slave from here or local slave at your location. *note added: or iSCSI |
zmq* and debian - studying who is doing what here: libzmq: http://zeromq.org/distro:debian says a Alessandro Ghedini maintains debian libzmq3 https://packages.debian.org/jessie/libzmq3-dev says the maintainer is László Böszörményi, for stable this lists 4.0.5+dfsg-2 (John: I assume this is the one we could use modulo the missing curve support?) this looks like a change in maintainers to me, I have no idea what the practices are but looks like László is the man to talk to - does it make sense approaching László and suggesting a jessie-backports or unstable libzmq+curve package (or maybe a different package - libzmq3-sodium; unsure)? czmq: http://zeromq.org/distro:debian says Alessandro Ghedini and Gergely Nagy manage this http://anonscm.debian.org/cgit/collab-maint/czmq.git/ has last change in Nov 2014, but API version 2.2 pyzmq: current debian maintainer: Julian Taylor, jessie lists 14.4.0-1 |
re libwebsockets & debian: I've filed an issue: warmcat/libwebsockets#285 |
@zultron I've also got two quad-core ARM boards (CuBox and Wandboard) I'd be happy to setup as build slaves. Throw the buildbot configs online somewhere and I'll see about setting one up to test. |
(The packaging plan above is now updated to reflect the fixed Debian Jessie |
wow, I'm really relieved that the zeromq situation is clearing up, modulo czmq. Thanks, John - great move on the debian bug report! |
I'm confused wrt jessie install-from-source - is this now possible with the dovetail automata packages and the stock jessie package stream, or not yet? I tried an x86 jessie install, mutated the website instructions /wheezy/jessie/ and got stuck here:
is the wheezy install as per website still what we recommend to do, or is it jessie and we have just not updated the website yet? |
The Dovetail Automata Jessie packages are super stale tests (and were never announced for either testing or GA). Don't use them, and please remove I'll have time to push out a new repo for testing in a few days, and will call for testing then. Thanks! |
@zultron Is your deb-testing repo still worth testing our revised procedure on? |
FYI, I just built MK in Jessie against your deb-testing repo ala the newly revised http://machinekit.io/docs/building-from-source page (changed as necessary for your repo and for jessie). I had no problems...until, that is, I tried to start the sim/axis-mm configuration from Axis and ran into tcl awfulness. In the process of trying to sort tcl/tk 8.5 vs tcl/tk 8.6 I realize there's a disagreement between the informative message from Starting with a fresh VM, I got to:
and then, at the end of
At this point, versions tcl8.5, tcl8.5-dev, tcl8.6, tk8.5, tk8.5-dev, and tk8.6 are all installed, but I don't seem to be able to find the right incantation to satisfy the configure gods at this point. Forgive my poor attention span (Washington Capitals are playing Game 7 against the New York Rangers as I write this!). Perhaps you've resolved this in email exchanges in the past but I can't find it. |
@RunningLight, I don't have any Jessie repo online that I think might work. Remove |
@zultron Ok, I know you're working on the real deal so this is just for fun using deb-testing.
Back to a virgin build on a virgin jessie-amd64 VM: It builds fine (modulo the pub-key business, which I know you'll take care of when you publicly release a jessie repo). Invoking Meanwhile, I see the following reported on the command line from which I invoked
Granted, I did not consider that this may be an artifact of some recent change to the repo and not the result of building on jessie. I'll try the same on wheezy tomorrow. Oh, yeah, the Washington Capitals were eliminated from the Stanley Cup Playoffs by the New York Rangers tonight in the first Overtime period of Game 7. |
(Updated issue: added 3.18.12 + Xenomai-3 and RTAI kernel candidate) |
Ok, I've got a new No |
On 5/17/2015 3:41 PM, John Morris wrote:
Yes, for some time now.
There's a 3.14 kernel with Xenomai patches (untested AFAIK), but it's Charles Steinkuehler |
On 05/17/2015 04:40 PM, cdsteinkuehler wrote:
Ok, so RCN is handling armhf-architecture Xenomai and kernel packages. Wow, looks like I don't need to build any MK deps for armhf, just MK Hey, sorry for being out of the loop. |
to all, Please have a look here: installing packages instructions where you can then choose Specific instructions (if needed) for platforms (beaglboard X15, zed board and whatnot) can be added to the table. when the linked document has been "done" then one should return to choosing an appropriate kernel. No differences here (AFAIK) so no need to differentiate between your input would be highly appreciates, and PR's to the working branch are of course perfectly possible. |
" assure the only package installed from sid is libczmq-dev BUT NOTHING ELSE" The "Please have a look here: installing packages instructions where you can then choose wheezy or jessie at this section and let me know what's missing." There is not yet an installation candidate as a package in Jessie for rt-preempt, so the kernel installation instructions will not work for Jessie, just Wheezy. Self build is simple, but we don't want to get into kernel building tutorials. The apt instructions for Jessie look fine. |
I've references the last 3 comments re. installation instructions here machinekit/machinekit-docs#38 (comment) so we can split this as a separate issue |
@zultron @cdsteinkuehler (or whoever is interested) since Michael is pretty busy, travelling etc, could one of you review these instructions for installing for Jessie. |
Looks bang on Bas :) I would suggest however creating a file within /etc/apt/preferences.d I used your file contents in a file called /etc/apt/preferences.d/machinekit-jessie BTW you can update the rt-preempt kernel patches tested to include 4.1.7-rt8, I have just built it regards |
Von: Philippe Gerum rpm@xenomai.org Eventually, http://xenomai.org/downloads/xenomai/stable/latest/xenomai-3.0.tar.bz2 Thanks to everyone involved. Philippe. |
I'm building the rt-preempt kernel on a pristine jessie installation (my new J1900 motherboard) as per instructions from @ArcEye . |
I just tried manually dist-upgrading the 2015-12-27 BB SD image by Robert to jessie while the process takes long and is not totally free of hicccups it resulted in a BB jessie install which installs and runs the current machinekit packages fine (only axis_mm tried) I would think we're now good to actually create a jessie-based BB SD image - no stumbling blocks found! (not recommended - I'm doing this manually for now because I'm trying to cook up a minimal SD image which has ROS-comm installed so we can experiment with the ROS/machinekit integration - see #689 ) |
a further datapoint: I flashed a mmc with (lxqt-4gb) (BeagleBone Black/Green 4GB eMMC) added
and got a running Xenomai jessie platform |
@mhaberler See #842 (comment); I believe @kinsamanka has Jessie packages in packagecloud.io and possibly deb.mah.priv.at. deb.da.com is deprecated. |
Finally, a machinekit beaglebone jessie SD card: I have prepared a jessie machinekit configuration for @RobertCNelson 's omage-image-builder here: https://github.com/mhaberler/omap-image-builder/commits/machinekit-jessie (plus tentative changes to publish on http://rcn-ee.us/rootfs/bb.org/testing/ - Robert - please review, not sure I hit the right file) It has no more references to deb.dovetail-automata.com and uses the deb.machinekit.io repo. The resulting img (4GB SD card) file is here: http://static.mah.priv.at/public/bone-debian-8.3-machinekit-armhf-2016-03-28-4gb.img.xz works fine for me - feedback welcome! Time for the ROS digerati to consider what should be added to this image for the determined: commands to rebuild the image (needs arm host):
(As a precursor for building the Altera DE0-Nano images, I wanted to start from a jessie SD image - should not be far from here). |
@mhaberler and merged. ;) |
stop the presses: this image is broken, HDMI does not work, fix in progess and available: the new BB jessie image is now up at: https://rcn-ee.net/rootfs/bb.org/testing/2016-04-03/machinekit/bone-debian-8.4-machinekit-armhf-2016-04-03-4gb.img.xz It'd be good to have some initial reports on go/no-go before we announce on the list thanks, Robert! |
A revised machinekit jessie image is up for testing at http://static.mah.priv.at/public/bb-jessie-test/ - works fine for me including HMDI built from: https://github.com/mhaberler/omap-image-builder/commits/mk-jessie-pr please test & report - thanks! ps: we tried using the "4.4.6-bone-rt-r8" rt-preempt kernel for this release. It turned out that the performance difference is just enough to make it problematic on the BB. We therefore remained with 3.8.13-xenomai-r78. |
On 4/8/2016 4:28 AM, Michael Haberler wrote:
Initial tests are significantly better than the first Jessie image I I can launch a real-machine configuration, but one strangeness is when If needed, the EggBot config I tested can run without any hardware Also, window dragging is very sluggish (especially so while the CPU is I'm on to see if I can get the image properly moving motors. Charles Steinkuehler |
systemd-udevd: reproduced, no cape, config Mendelmax-CRAMPS here is a log of could that be the pinmuxing? maybe we can trigger this somehow earlier like during boot |
I'm only now noticing that between wheezy and jessie the beaglebone image switched to lxqt (we still use lxde) I guess we're supposed to track that for minimum surprise? |
So the lxde developers are behind lxqt.. At the time, i also thought, great since the sgx drivers work with qt, we'd finally have 3d support.. But now, we also need wayland for sgx .;) Regards, |
not sure I can read between the lines - clear commands please ;) lxde or lxqt? I'm out of my depth deciding this - I dont track these projects |
On 4/9/2016 12:54 PM, Michael Haberler wrote:
All of the stuff in your udev.log file happens pretty quickly, in less I suspect, however it has something to do with loading the cape, since Charles Steinkuehler |
On 4/9/2016 3:27 PM, Michael Haberler wrote:
I would try to match Robert's Jessie omap-builder configuration as Charles Steinkuehler |
On 4/9/2016 12:01 PM, Charles Steinkuehler wrote:
Other than what I already reported, everything works well enough to Charles Steinkuehler |
Historical? Stretch is mainstream now, Xenomai3 was never followed. |
we have several major release changes ahead in supporting components and platforms:
there were some offlist discussions on the topic. To summarize the key issues:
resulting feature matrix and options:
Based on the above, for a major transition there was some preference for:
the missing capemgr seems not to be a showstopper, but we must assure all required device trees are compiled in. We might need a bit of soul searching so we have all candidates rounded up.
so much for the wouldnt it be nice if.. feature list.
the intent of this issue: collect all aspects on how to get there
The text was updated successfully, but these errors were encountered: