[Emc-developers] testing kernel vs usb,

2019-05-23 Thread Gene Heskett
I've had 3 lockups since starting to use testing here, but the first 3 
have been a total loss of the usb hid stuffs, and I just had another, 
but this time not quite so total in that I only lost the keyboard, the 
mouse remained functional. On a hot restart I got a boatload of stuff in 
the syslog complaining about /lib/cups/backends/hp with several register 
dumps, so I did a cold reboot, and this time the log looks fairly clean.

So renaming hpfax to hpfox is apparently not quite the final cure, but it 
did get me 7 days of uptime.

When it lost the keyboard I was in the process of setting up one of my 
mailing lists with almost 120k messages that was making the trinity 
version of kmail take over a minute to enter that folder, with a set of 
annual dirs that I'm move older messages to in order to reduce the size 
of the main folder.  Suck constructions show up as a + or - sign to 
expand or contract the main folder display as subdirs that actually live 
in parallel, beside the main folder.

So I'll continue with that project, but I figured I ought to advise about 
it.

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 



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread andy pugh
On Thu, 23 May 2019 at 17:03, Chris Radek  wrote:

>
> Would you push your changes to live-build somewhere so I can see
> them (and for posterity?)


Done that too :-)

https://github.com/SebKuzminsky/linuxcnc-wheezy-iso/commit/89631c4523bf772af08fa6660c8e35069d24b95f


-- 
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

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread Chris Radek
On Thu, May 23, 2019 at 10:11:26AM +0100, andy pugh wrote:
> 
> Already done, I have the .iso and .iso.zsynch files ready and tested.

Awesome, I wasn't able to get it to work yet.  Got up to isolinux
failing (no such package available), and went to bed.

Would you push your changes to live-build somewhere so I can see
them (and for posterity?)

Thanks for doing it!
Chris


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread andy pugh
On Thu, 23 May 2019 at 10:32, andy pugh  wrote:

>
> And I am a bit confused, as the build process (make install) complains
> about not having the kernel headers. But as far as I can see none of the
> kernel building guides shows how to generate the headers.
> Am I missing something? Is this why I failed before?
>

And maybe I am wasting my time? :-)

I just found
http://www.linuxcnc.org/dists/jessie/base/binary-amd64/linux-image-3.16.0-9-rtai-amd64_3.16.7-6linuxcnc_amd64.deb

Is this usable?

-- 
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

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread andy pugh
On Wed, 22 May 2019 at 23:55, andy pugh  wrote:

>
>
> On Wed, 22 May 2019 at 20:05, Peter C. Wallace  wrote:
>
> As far as RTAI goes, Has anyone tried Bari's suggestion of NTULINUX/RTAI?
>>
>> https://github.com/NTULINUX/RTAI
>
>
> Yes, I tried both this and the 4.9.18 patch from RTAI.org. Both run Linux
> perfectly well, but crash immediately anything realtime is attempted on my
> test machine.
>

I had another go last night, on Jessie rather than stretch.

And I am a bit confused, as the build process (make install) complains
about not having the kernel headers. But as far as I can see none of the
kernel building guides shows how to generate the headers.
Am I missing something? Is this why I failed before?

-- 
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

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread andy pugh
On Thu, 23 May 2019 at 05:35, Randy Steiner via Emc-developers <
emc-developers@lists.sourceforge.net> wrote:

Also I ran across another dual-kernel version for RT, https://xenomai.org/.
> has this been looked at before?


Yes, the LinuxCNC RTAPI also supports Xenomai.

See, for example:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/configure.ac#L299

-- 
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

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread andy pugh
On Thu, 23 May 2019 at 04:46, Chris Radek  wrote:

>
> > I have tried to respin that ISO using the archive repositiories. So far
> > that isn't going all that well.
>
> I will work on this part.
>

Already done, I have the .iso and .iso.zsynch files ready and tested.

-- 
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

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread Gene Heskett
On Thursday 23 May 2019 12:34:16 am Randy Steiner via Emc-developers 
wrote:

>  Robert, that is a good link and starts to confirm something else I
> had found on tuning preempt_rt. As the new guy I will likely post
> stuff that others already know and have reviewed. From what I can see
> it looks like RTAI just had a release at version 5.2 with support for
> kernel patches up to 4.14.111 For preempt_rt it looks since each IRQ
> handler shows as a process they can be prioritized separately.  In
> peoples testing, has specific tuning been done to see  if that impacts
> the paraport performance since that appears to be a concern point?  If
> not, I can try that thread and see if I can vary the results. Also I
> ran across another dual-kernel version for RT, https://xenomai.org/. 
> has this been looked at before? Thanks!
> Randy

Yes Randy, but its been several years now. I built a xenomai kernel for 
TLM, probably close to a decade back, and it worked well at the time. 
TLM is what my always drive broken 7x12 has been called, The Little 
Monster, but I've rebuilt it better and some hal trickery there to 
control the accel of the 1 hp spindle motor, plus getting rid of the 
willow tree the compound was, and giving it tapered gibs. It is pretty 
solid now, and a usefull tool today.  I made a lot of stuff while 
converting the old Sheldon on it.

Anyway the xenomai kernel drove it thru the parport just fine at the 
time. I would certainly encourage experimentation to be done by someone 
with a software stepper setup. But with the advent of the D525MW 
motherboards, and the Mesa 5i25's, I no longer have a software stepping 
setup to test it on.

> On Wednesday, May 22, 2019, 10:19:38 PM MDT, Robert Murphy
>  wrote:
>
>  Sorry for this second post..regarding latency, would this be an
> option
>
> http://www.machinekit.io/docs/hal/threads-and-latency/
>
> On 23/5/19 2:16 pm, Robert Murphy wrote:
> > Could not the repos be setup from a preseed ? (I'm don't know a
> > great deal about the LiveCD but I did make a custom stretch install
> > disk for private use using a preseed file to config desktop,
> > extra packages and repos)
> >
> > On 23/5/19 1:45 pm, Chris Radek wrote:
> >> On Wed, May 22, 2019 at 01:31:15PM +0100, andy pugh wrote:
> >>> We have a LiveCD based on Wheezy and RTAI but that is currently
> >>> somewhat
> >>> broken (the apt sources list points at files that are no longer
> >>> there now
> >>> that Wheezy is a long way past EOL)
> >>> I have tried to respin that ISO using the archive repositiories.
> >>> So far that isn't going all that well.
> >>
> >> I will work on this part.
[...]

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 



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Release Platforms

2019-05-23 Thread Gene Heskett
On Thursday 23 May 2019 12:18:50 am Robert Murphy wrote:

> Sorry for this second post..regarding latency, would this be an
> option
>
> http://www.machinekit.io/docs/hal/threads-and-latency/
>
This is an interesting little treatise. Let me suggest some further 
development to allow it to determine the best configuration and 
implement that variation, depending on the cache construction used in 
the cpu it finds itself running on.

Another way to unload the servo-thread that I use on the pi running my 
Sheldon is to setup a much slower thread, and move all the manual 
control stuff to it, thereby reducing the size of the servo-thread loop 
and its execution time. Not much use of the jog dials being handled much 
more than 100 times a second, and thats a fairly complex bit of hal code 
times 2. 100/sec is faster than one can turn the MPJA dials by hand and 
still maintain control although I can run into the MAXVEL's set with the 
dials when the jog size is set high. So I have that set for a max per 
click of 20 thou, going down to .0002 thou.

I have other hal routines that report via pyvcp for such as the overshoot 
and distance traveled during that over shoot when rigid tapping, which 
lets me tap a hole to a small fraction of a turn from striking the 
bottom of the hole and breaking the tap.  All that stuff is nice, but it 
also takes the poor pi's cores a while to calculate and display.

Such "fine tuning" by the user shouldn't be discouraged, and should be 
described in the wiki, or mentioned at least in the documentation.pdf so 
the user can more easily be made aware of such "optimizations."

> On 23/5/19 2:16 pm, Robert Murphy wrote:
> > Could not the repos be setup from a preseed ? (I'm don't know a
> > great deal about the LiveCD but I did make a custom stretch install
> > disk for private use using a preseed file to config desktop,
> > extra packages and repos)
> >
> > On 23/5/19 1:45 pm, Chris Radek wrote:
> >> On Wed, May 22, 2019 at 01:31:15PM +0100, andy pugh wrote:
> >>> We have a LiveCD based on Wheezy and RTAI but that is currently
> >>> somewhat
> >>> broken (the apt sources list points at files that are no longer
> >>> there now
> >>> that Wheezy is a long way past EOL)
> >>> I have tried to respin that ISO using the archive repositiories.
> >>> So far that isn't going all that well.
> >>
> >> I will work on this part.
> >>
> >>
> >>
> >> ___
> >> Emc-developers mailing list
> >> Emc-developers@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
> >
> > ___
> > Emc-developers mailing list
> > Emc-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


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 



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers