Re: [Emc-developers] running master on the pi, driving a lathe

2018-08-28 Thread Gene Heskett
On Tuesday 28 August 2018 15:07:25 andy pugh wrote:

> On Tue, 28 Aug 2018 at 20:05, andy pugh  wrote:
> > http://linuxcnc.org/docs/devel/html/man/man9/offset.9.html
> >
> > offset now has two update functions.
>
> (And it looks like it always did)

Something else I ran into today. lincurve doesn't accept a name in the 
loadrt line, only a count, which means I had to comment out a call to 
the automatic gear change file because it also uses a lincurve, and 
linuxcnc will not allow 2 loadrt's for the same module. I can work 
around it, but that removes the isolation between the files.

So can that be fixed, either by specing a count=-1, meaning the 2nd load, 
in a different file, will then be lincurve.1.etc? The present exit if it 
finds another loadrt for the same module name, seems like a bug to me. 
Use the - sign in front of the desired module # so it doesn't try to 
invoke 2 separate lincurve.0's?  Even the first one if count=-0 to make 
lincurve.0 would work with the - sign scheme.

Thanks Andy.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] running master on the pi, driving a lathe

2018-08-28 Thread Gene Heskett
On Tuesday 28 August 2018 15:07:25 andy pugh wrote:

> On Tue, 28 Aug 2018 at 20:05, andy pugh  wrote:
> > http://linuxcnc.org/docs/devel/html/man/man9/offset.9.html
> >
> > offset now has two update functions.
>
> (And it looks like it always did)
Probably
And other than a manpage, the entire 757 page Documentation.pdf I just 
spent 4 hours scanning, has only a 2 line mention of it. I'll go see if 
the wiki has anything on it.

Hell of a way to run a train.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Removing myself from the LinuxCNC decision-making process

2018-08-28 Thread Dave Cole

On 8/28/2018 6:12 AM, andy pugh wrote:

On Tue, 28 Aug 2018 at 00:16, Jeff Epler  wrote:


A number of you are really good friends.  I'd like to keep it that way.
I plan to keep hanging out in #linuxcnc-devel and I'll try to provide my
"wisdom" if it's requested.

I hope so, your ability to look at C code and spot why it isn't doing
the right thing is astonishing.


I agree... please don't go too far!  :-)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] running master on the pi, driving a lathe

2018-08-28 Thread Gene Heskett
On Tuesday 28 August 2018 15:05:28 andy pugh wrote:

> On Tue, 28 Aug 2018 at 19:48, Gene Heskett  
wrote:
> > addf offset.0 jog-thread #jog is a 10 millisecond thread
> >
> > but I get this:
> >
> > HAL: ERROR: function 'offset.0' not found
>
> http://linuxcnc.org/docs/devel/html/man/man9/offset.9.html
>
> offset now has two update functions.

I didn't see that, now where is the tutorial on how these are to be used?

Thanks Andy.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Removing myself from the LinuxCNC decision-making process

2018-08-28 Thread Peter C. Wallace

On Mon, 27 Aug 2018, Jeff Epler wrote:


Date: Mon, 27 Aug 2018 17:41:43 -0500
From: Jeff Epler 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: [Emc-developers] Removing myself from the LinuxCNC decision-making
process

Hi all.

I first became involved with LinuxCNC in 2004, and it remains the Free
Software project to which I've made the largest contribution.  However,
I haven't been very involved with the development or use of LinuxCNC for
years---in fact, looking back at my blog, it has been almost 9 years
since I last did anything on my little CNC router worth mentioning.

During my time as a more active developer, I often positioned myself as
a gatekeeper.  At the time I believed that by exercising control over
what went in to LinuxCNC, I was preserving the software from harm.  More
important than whether any of those individual decisions was right or
wrong, I now worry that I have contributed to a bad culture in LinuxCNC
that drove away contributors.

It has been said that the Internet is founded on "rough consensus and
running code".  Today, I think that LinuxCNC could benefit from more of
this attitude and less of my "gate-keeping" style of dealing with
contributions.

For these reasons, I have decided that it's time to make it official:
I'm taking myself out of the loop of LinuxCNC, particularly and most
importantly as it comes to making decisions about pull requests.

As far as any administrative privileges I have (github, website, IRC,
sourceforge(!), etc): I'll turn in my keys to any of those on request,
as long as that leaves at least two people who will keep that service
going to the benefit of LinuxCNC developers and users.  In the meantime,
I don't mind keeping the forum software and its OS up to date as I have
been doing.

A number of you are really good friends.  I'd like to keep it that way.
I plan to keep hanging out in #linuxcnc-devel and I'll try to provide my
"wisdom" if it's requested.

Please use the remainder of this thread to reminisce about the good
times.  For instance, I fondly remember two events in particular from
the CNC Workshops I attended in Galesburg:

1) We're all sitting at the pizza place, and Jon Elson and John Kasunich
are both trying to out-do the other with stories about mishaps with
power electronics.  I've still got nothing on even the tamest of their
tales.

2) While running the Mazak, I discover that hitting alt-tab makes rtapi
freeze up for a few milliseconds while the screen redraws, leading to an
audible "BAM!" from the mill.  Instead of exercising common sense and
not doing *that* again, I held down alt-tab to make it go "BAM BAM BAM
BAM" until someone ran up to hit estop.  (the fix was replacing the
video card, I think I recall)  You shouldn't leave a newbie in charge of
a big machine like that, even for a moment!

I wish you all, and the project itself, the best.

Jeff

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



Thank you for your long support and guidance of the LinuxCNC project.

I do hope your guidance and in depth knowledge on programming remains 
available.


Its easy to second-guess the right choices between conservative and
wide open development policies but I do think the LinuxCNC benefited greatly 
with your choices. I can understand the general difficulty of getting new 
developers:


Long hours

Little appreciation

0 pay

complex problems

Thanks from doing this as long as you did!



Peter Wallace
Mesa Electronics

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] running master on the pi, driving a lathe

2018-08-28 Thread andy pugh
On Tue, 28 Aug 2018 at 20:05, andy pugh  wrote:

> http://linuxcnc.org/docs/devel/html/man/man9/offset.9.html
>
> offset now has two update functions.

(And it looks like it always did)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] running master on the pi, driving a lathe

2018-08-28 Thread andy pugh
On Tue, 28 Aug 2018 at 19:48, Gene Heskett  wrote:

> addf offset.0 jog-thread #jog is a 10 millisecond thread
>
> but I get this:
>
> HAL: ERROR: function 'offset.0' not found

http://linuxcnc.org/docs/devel/html/man/man9/offset.9.html

offset now has two update functions.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] running master on the pi, driving a lathe

2018-08-28 Thread Gene Heskett
Greetings guys;

I note after this morning update to LCNC on the pi, that I'm getting a 
goodly number of screenfulls of axis reports. So I assume you are 
working on something.

Goes thru the whole alphabet of axis letters, checking. Doesn't seem to 
have a huge effect once its up and running.

But now I am attempting to addf the lincurve and offset modules, and 
failing for offset, as if it doesn't exist.

There is a line in the hal loadrt list that says:

loadrt  offset  count=1

which isn't a reportable error, but at the next mention in the addf 
stanza, where its addf:

addf offset.0 jog-thread #jog is a 10 millisecond thread

but I get this:

HAL: ERROR: function 'offset.0' not found
./hm2-7i90-stepper.hal:104: addf failed
Shutting down and cleaning up LinuxCNC...

Ideas?  I'm fresh out.

Thank guys.  And Jeff, many thanks for all the help and work on LinuxCNC 
for all these years.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Removing myself from the LinuxCNC decision-making process

2018-08-28 Thread Jon Elson

On 08/27/2018 08:02 PM, Jon Elson wrote:
I have to correct this wrong date:
 And, of course, John Kasunich's development of HAL 
completely broke the stasis that EMC was stuck in around 
** 2005 **


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Removing myself from the LinuxCNC decision-making process

2018-08-28 Thread Steve Better
Dear Jeff,

Thanks for your contributions to this project.

LinuxCNC is really a good project for me to learn motion control.

The software architecture, real production code ... make great sense to me.


Thanks very much!


On 08/28/2018 06:41 AM, Jeff Epler wrote:
> Hi all.
>
> I first became involved with LinuxCNC in 2004, and it remains the Free
> Software project to which I've made the largest contribution.  However,
> I haven't been very involved with the development or use of LinuxCNC for
> years---in fact, looking back at my blog, it has been almost 9 years
> since I last did anything on my little CNC router worth mentioning.
>
> During my time as a more active developer, I often positioned myself as
> a gatekeeper.  At the time I believed that by exercising control over
> what went in to LinuxCNC, I was preserving the software from harm.  More
> important than whether any of those individual decisions was right or
> wrong, I now worry that I have contributed to a bad culture in LinuxCNC
> that drove away contributors.
>
> It has been said that the Internet is founded on "rough consensus and
> running code".  Today, I think that LinuxCNC could benefit from more of
> this attitude and less of my "gate-keeping" style of dealing with
> contributions.
>
> For these reasons, I have decided that it's time to make it official:
> I'm taking myself out of the loop of LinuxCNC, particularly and most
> importantly as it comes to making decisions about pull requests.
>
> As far as any administrative privileges I have (github, website, IRC,
> sourceforge(!), etc): I'll turn in my keys to any of those on request,
> as long as that leaves at least two people who will keep that service
> going to the benefit of LinuxCNC developers and users.  In the meantime,
> I don't mind keeping the forum software and its OS up to date as I have
> been doing.
>
> A number of you are really good friends.  I'd like to keep it that way.
> I plan to keep hanging out in #linuxcnc-devel and I'll try to provide my
> "wisdom" if it's requested.
>
> Please use the remainder of this thread to reminisce about the good
> times.  For instance, I fondly remember two events in particular from
> the CNC Workshops I attended in Galesburg:
>
> 1) We're all sitting at the pizza place, and Jon Elson and John Kasunich
> are both trying to out-do the other with stories about mishaps with
> power electronics.  I've still got nothing on even the tamest of their
> tales.
>
> 2) While running the Mazak, I discover that hitting alt-tab makes rtapi
> freeze up for a few milliseconds while the screen redraws, leading to an
> audible "BAM!" from the mill.  Instead of exercising common sense and
> not doing *that* again, I held down alt-tab to make it go "BAM BAM BAM
> BAM" until someone ran up to hit estop.  (the fix was replacing the
> video card, I think I recall)  You shouldn't leave a newbie in charge of
> a big machine like that, even for a moment!
>
> I wish you all, and the project itself, the best.
>
> Jeff
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Removing myself from the LinuxCNC decision-making process

2018-08-28 Thread andy pugh
On Tue, 28 Aug 2018 at 00:16, Jeff Epler  wrote:

> A number of you are really good friends.  I'd like to keep it that way.
> I plan to keep hanging out in #linuxcnc-devel and I'll try to provide my
> "wisdom" if it's requested.

I hope so, your ability to look at C code and spot why it isn't doing
the right thing is astonishing.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [trinity-users] stretch problems

2018-08-28 Thread Gene Heskett
On Tuesday 21 August 2018 09:04:53 Gene Heskett wrote:

> On Tuesday 21 August 2018 05:12:03 Nick Koretsky wrote:
> > On Tue, 21 Aug 2018 09:20:43 +0200
> >
> > "Dr. Nikolaus Klepp"  wrote:
> > > > Its tears so far Nik. There are so many differences just in the
> > > > ext4's used that one of them should be renamed, they will NOT
> > > > cross mount, ext4 disk to ext4 mount.
> > >
> > > Hi Gene!
> > >
> > > When you cannot mount the ext4 partions from one another, then
> > > there is something very wrong. ext4 can be mounted as ext2 and
> > > that should alway work - at least, if the drives and filesystems
> > > are ok.
> >
> > No, you are wrong. There were options added to ext4 which made it
> > incompatible with older kernels. And a few years ago they made this
> > options default. Debian wheezy kernel (3.2) would not mount ext4
> > created in debian stretch.
>
> But will it work in reverse by making the /media/dirs on stretch, and
> mounting the wheezy partitions to them for reading purposes.


no one commented, so I did several experimental installs to find out, 
results here and there in this reply.

> I faintly 
> recall, on my first install attempt, doing that but could only see the
> partitions root despite trying to cd up a known path, and when I had
> rebooted to wheezy, the partitions were marked dirty and had to be
> e2fsck'd which took about 20 minutes with nothing found. Thats not a
> very confidence inspiring thing.

I found the majority of that networking problem. If during the install, 
one specs the interfaces address in CDIR format, www.xxx.yy.zz/24 it 
works, if you give it a separate netmask, it fails.  This probably ought 
to be looked at and fixed, or the installer should be able to detect the 
missing /24 and spit out a prompt to correct the user. That netmask line 
is apparently now an error, exiting the e-n-i.d/* file on a reboot at 
that point, and nothing you do below that line is executed.

> Since this WAS a 2 list post, going the emc-developers too since this
> install media is theirs, my first attempt used the debian 9.4 1st dvd
> for install media, and networking Just Worked. But lots of other stuff
> didn't.  My 2nd attempt was with the LCNC image of stretch pointed to
> by the wiki.linuxcnc.org pages, and networking is dead.  And my 3rd
> attempt will use that media again.
>
> That big a change in filesystems deserves a migration tool.
>
> So I'm going to go fix the missus breakfast, then get to it a 3rd
> time.

Which turned into at least 4 more reformat/installs before I was done, 
finally giving up and only specing 3 partitions. /boot swap and /.

And where I found that a wheezy partition can be accessed by the stretch 
filesystem for reading ok if its mounted with a noatime option.  So 
thats problem #2 solved. I was able to reboot to either without the time 
killing e2fsck's when booting back into this wheezy.

And I finally did a tracking lookup on the new drive hot swap cage, which 
was a no-show today, and it seems neweggs low cost shipping is by a 
fedex branded ox-cart, and its someplace in Kansas today with a 
projected delivery before quitting time Thursday evening.  Sigh.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers