Skip to content

WIP doc changes prior to making stretch release 'official'#500

Closed
jepler wants to merge 2 commits into
LinuxCNC:masterfrom
jepler:make-stretch-official
Closed

WIP doc changes prior to making stretch release 'official'#500
jepler wants to merge 2 commits into
LinuxCNC:masterfrom
jepler:make-stretch-official

Conversation

@jepler

@jepler jepler commented Oct 1, 2018

Copy link
Copy Markdown
Contributor

@SebKuzminsky and I recently discussed that based on his experience running systems based on the stretch live images with preempt-rt, as well as feedback we've both seen on IRC, he is comfortable making it an official and recommended OS for 2.7. This PR is a place for us to workshop the doc changes and figure out what's missing before we do this. It's absolutely not ready to merge in its current state and before work is done on wlo and buildbot too.

@jepler jepler requested a review from SebKuzminsky October 1, 2018 02:46
@andypugh

andypugh commented Oct 1, 2018

Copy link
Copy Markdown
Collaborator

Will it not work at all with a DVD? I have some machines that seem to refuse to boot from USB (even trying really very hard, and trying all the USB ports). IIIRC the D510MO will only USB boot from back-panel ports, for example. For my most recent LinuxCNC installation I actually went out and bought a £25 USB DVD drive (and that made it very simple)

@KurtJacobson

KurtJacobson commented Oct 1, 2018

Copy link
Copy Markdown
Contributor

@andypugh not exactly sure what problem you are referring too, but I have installed jepler's Debian 9 R10 ISO from a DVD a bunch of times (15+) on various machines with no problems whatsoever.

EDIT: Sorry, I had not read the doc changes. I can confirm that the Debein 9 ISO does indeed work fine from a DVD, both installation and running a live session. I have installed both the R10 and R9 versions from a DVD, and probably earlier versions as well with no problems.

@jepler

jepler commented Oct 1, 2018

Copy link
Copy Markdown
Contributor Author

I haven't tried it with physical optical media. It does boot in qemu when given as the "-cdrom" argument, which is a good sign. Perhaps I shouldn't preemptively delete those sections, but it would be nice if someone verified it works with physical optical media.

@jepler

jepler commented Oct 1, 2018

Copy link
Copy Markdown
Contributor Author

for those just driving by, the latest images can be found at http://www.linuxcnc.org/testing-stretch-rtpreempt/ though this will change when we make the images official.

@KurtJacobson

Copy link
Copy Markdown
Contributor

This comment is made from a Live session running from a DVD with the Debian 9 R11 ISO.

@jepler

jepler commented Oct 1, 2018

Copy link
Copy Markdown
Contributor Author

@KurtJacobson thanks so much for testing! I'll leave the references to using a DVD as install media intact.

@KurtJacobson

Copy link
Copy Markdown
Contributor

@jepler I proceeded to install from the DVD, and It Just Works (TM). I have had trouble with other Linux distros recognizing my non-free WiFi card, but, as usual, your ISO worked seamlessly. It's the best thing since sliced bread :).

The only time I had any trouble installing it was when I did not have an Internet connection, that was probably with R8 or R9. I guess that is one more thing to test.

@jepler jepler changed the title WIP doc changes prior to making stretch release 'offocial' WIP doc changes prior to making stretch release 'official' Oct 3, 2018
@jepler jepler force-pushed the make-stretch-official branch 2 times, most recently from 8e7d9d7 to 29f8d5f Compare October 3, 2018 13:14
@jepler

jepler commented Oct 3, 2018

Copy link
Copy Markdown
Contributor Author

I've heavily updated this PR again. I think everything is right, except the location of the .iso files themselves. Feedback please!

@jepler jepler force-pushed the make-stretch-official branch from 29f8d5f to 0a81a0e Compare October 3, 2018 13:23
The new "verify the image" steps which do not embed the sums in the
docs.

For installing from debian .iso, I chose to replace the 'wheezy'
section, but it could be rehabilitated or replaced with a section
about wheezy+RTAI, since stretch does not have an RTAI option.
@jepler jepler force-pushed the make-stretch-official branch from 0a81a0e to 6b817a9 Compare October 3, 2018 13:31

@SebKuzminsky SebKuzminsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. My only comment is, I would prefer text to be wrapped near 72 columns, to make the diff easier to read. But it's not a show stopper.

@SebKuzminsky

Copy link
Copy Markdown
Collaborator

Oh, and if you push it to the LinuxCNC github repo, the buildbot will build it and show us all the result at http://buildbot.linuxcnc.org/doc/

@andypugh

andypugh commented Oct 5, 2018

Copy link
Copy Markdown
Collaborator

Not a lot to say, other than "go for it" :-)


The https://www.debian.org/CD/faq/#write-usb[Debian FAQ] provides more
information about how to work with USB media, including how to use
win32diskimager to write the image to USB media on Microsoft Windows.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth mentioning https://etcher.io/ here. It is by far the easiest to use tool for writing boot-able images to USB, and is open source and cross platform.

@andypugh

Copy link
Copy Markdown
Collaborator

Just one thing. If this is uspace then then I think that the pncconf "test/tune axis" button will error, due to #159 only being fixed in master.

@jepler

jepler commented Oct 29, 2018

Copy link
Copy Markdown
Contributor Author

@SebKuzminsky is complete breakage of pncconf on this image something you'd want to make a new 2.7 release to address?

@jepler

jepler commented Oct 29, 2018

Copy link
Copy Markdown
Contributor Author

(well, not complete, you just can't test/tune afaik)

@SebKuzminsky

Copy link
Copy Markdown
Collaborator

Yes, this should be fixed in 2.7 and I'll make a new 2.7 release.

@SebKuzminsky

Copy link
Copy Markdown
Collaborator

I cherry-picked 0034fdf into 2.7 and verified that the Test/Tune Axis dialog pops up in pncconf now.

@jepler

jepler commented Nov 6, 2018

Copy link
Copy Markdown
Contributor Author

@rene-dev your well meaning commit message unintentionally closed their this PR. No harm done, as I can still reopen it.

@rene-dev

rene-dev commented Nov 6, 2018

Copy link
Copy Markdown
Member

Oh, Im sorry. I really have no idea where the wrong number came from.

rene-dev added a commit that referenced this pull request Nov 12, 2018
removed legacy tooltable file syntax, added pocketno to tooltable struct so non-random changers can report the correct pocket number in the future, to fix #500

Signed-off-by: Rene Hopf <renehopf@mac.com>
@andypugh

andypugh commented Apr 8, 2019

Copy link
Copy Markdown
Collaborator

Where are we with this? We are now in a position where the current Live-CD image doesn't work properly (repositories at Debian have moved to an archive). I think this is also causing problems with the buildbot (the Wheezy instances fail at apt-get)

@SebKuzminsky

SebKuzminsky commented Apr 8, 2019

Copy link
Copy Markdown
Collaborator

@andypugh note that the Wheezy/RTAI machines in the buildbot were installed from the Wheezy/RTAI/LinuxCNC iso, but no longer use that ISO. The Wheezy non-RTAI machines in the buildbot never used that ISO, of course.

I think there are four things we should do, all independent:

  • Fix the /etc/apt/sources.list files on the Wheezy buildbot machines (done).
  • Fix the /ect/apt/sources.list files on the Wheezy/RTAI/LinuxCNC-2.7 ISO (git clone git://timeguy.com/live-images.git -b debian).
  • Make a new RTAI/LinuxCNC ISO (last time i tried this RTAI 5.0.1 on Linux 4.4.0 was not stable enough to use).
  • Finish PR WIP doc changes prior to making stretch release 'official' #500, to make the Stretch/Preempt-RT/LinuxCNC-2.7 ISO available to users.

@andypugh

andypugh commented Apr 8, 2019

Copy link
Copy Markdown
Collaborator

My own attempts to make an RTAI kernel on 4.9.80 have met with little success. (kernel panic on boot).
The main problem I have is, I suspect, finding a working .config.
There are a set of configs in the ShabbyX repo, and in Seb's repo. But those all seem to be 3.x kernels.
Has anyone found a .config for 4.9 kernels?

@andypugh

andypugh commented Jun 8, 2019

Copy link
Copy Markdown
Collaborator

The Download link on wlo has been changed to point to the Stretch ISO,
http://www.linuxcnc.org/downloads/
but that (and this) still point to an image in the "testing" repository.
Should the docs (and wlo) point to a file in the /iso/ folder?

@rene-dev

Copy link
Copy Markdown
Member

any update on this? is there any reason stretch isn't the default iso?
wheezy is old, and cant even run on machines a few years old.

@ghost

ghost commented Feb 25, 2020

Copy link
Copy Markdown

I have tried both the r12 and r13 versions and they are missing the dirmngr package which is required to add the archive signing keys for the Buildbot.
Apart from that they work well.

@andypugh

Copy link
Copy Markdown
Collaborator

Where are we with this? I suspect this PR has been overtaken by events?

@SebKuzminsky

Copy link
Copy Markdown
Collaborator

IMO, we shouldn't outright switch from Wheezy/RTAI/32-bit to Stretch/RT-Preempt/64-bit as the one install method we recommend, because some machines will get bad latency with RT-Preempt.

We should recommend to our users that they try booting the "Live" part of the Stretch ISO and run latency-histogram. If that's good enough for their needs they should install that. If it's not good enough, try with the RTAI ISO. (And if that's still not good enough, get a different computer.)

@andypugh

Copy link
Copy Markdown
Collaborator

That is my intention for 2.8. But probably not Stretch.

@andypugh

Copy link
Copy Markdown
Collaborator

Can we conclude that with a 2.8 release on Buster that this PR has been overtaken by events and can be closed?

@andypugh andypugh closed this Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants