Re: [Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-22 Thread Jeff Epler
On Sat, Aug 22, 2015 at 03:43:46PM +, Dewey Garrett wrote:
> Other jessie notes:
> 
> 1) I couldn't find a jessie package for the glade-gtk2 editor
>so i tried the one on www.linuxcnc.org for wheezy:
> 
>   
> http://www.linuxcnc.org/dists/wheezy/base/binary-i386/glade-gtk2_3.8.0-0ubuntu6_i386.deb
> 
>   But this deb had a dependency for 
> glade-gtk2 depends on libgladeui-1-11 (>= 3.7.2)
>   so it didn't work on jessie.  The libgladeui available on jessie is:
>   ii libgladeui-2-6 3.18.3-1 i386 GTK+ User Interface Build core library
> 
>   The glade apps i looked at work ok (just not the glade-gtk2 editor)

Yeah it is frustrating how little continuity there is as far as the
glade editor goes.  If you find any solutions, please let us know.

Jeff

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


Re: [Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-22 Thread Dewey Garrett

Another data point for debian 4.1 jessie preempt-rt on i686:

I got a debian 8.1 (jessie) iso from:
  http://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid
and installed on a lenovo SL410 laptop.  Using zsync is very convenient.

I use xfce but several desktops isos are provided: cinnamon, gnome,
lxde, kde, mate, xfce.

Then I got the backport for the preempt rt 4.1 kernel using the 
/etc/apt/sources.list line:

  deb http://http.debian.net/debian jessie-backports main

The package that i installed is:  linux-image-4.1.0-0.bpo.1-rt-686-pae
  $ uname -a
  Linux u41 4.1.0-0.bpo.1-rt-686-pae #1 SMP PREEMPT RT Debian 4.1.3-1~bpo8+1 
(2015-08-12) i686 GNU/Linux

I was able to build linuxcnc (git 2.7) without problems.  The machine
(laptop) has latency spikes eventually, but an uninterrupted one
hour run was about 40uS:

  http://www.panix.com/~dgarrett/stuff/histograms/debian-4.1-rt-sl410.png

Latency spikes occur immediately when using the laptop FN-hotkeys for
screen brightness or speaker control.

Other jessie notes:

1) I couldn't find a jessie package for the glade-gtk2 editor
   so i tried the one on www.linuxcnc.org for wheezy:

  
http://www.linuxcnc.org/dists/wheezy/base/binary-i386/glade-gtk2_3.8.0-0ubuntu6_i386.deb

  But this deb had a dependency for 
glade-gtk2 depends on libgladeui-1-11 (>= 3.7.2)
  so it didn't work on jessie.  The libgladeui available on jessie is:
  ii libgladeui-2-6 3.18.3-1 i386 GTK+ User Interface Build core library

  The glade apps i looked at work ok (just not the glade-gtk2 editor)

2) I noticed scripts/latency-plot is hardcoded unnecessarily for wish8.5
   but jessie has 8.6, I will make a git commit to fix.

3) the package for tclx seems to be named tclx8.4 (it worked)
-- 
Dewey Garrett


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


Re: [Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-15 Thread Jeff Epler
And having done that, I learned that on August 12, someone in the Debian
project did the backport for Jessie, so anyone who enables the
jessie-backports repository can get it without taking software from a
dubious source like my own website.

https://packages.debian.org/jessie-backports/linux-image-4.1.0-0.bpo.1-rt-amd64
https://packages.debian.org/jessie-backports/linux-image-4.1.0-0.bpo.1-rt-686-pae

Please use these packages instead of the ones I distributed.  I will be
removing the public package repository from media.unpythonic.net soon.

Jeff

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


Re: [Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-15 Thread Jeff Epler
32-bit kernels are now available in the same location.
$ uname -a
Linux ar32 4.1.0-1-rt-686-pae #1 SMP PREEMPT RT Debian 4.1.3-1.1 
(2015-08-14) i686 GNU/Linux

Jeff

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


Re: [Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-15 Thread Gene Heskett
On Saturday 15 August 2015 03:36:55 Nicholas Mc Guire wrote:

> On Fri, 14 Aug 2015, Jeff Epler wrote:
> > As you may know, the current stable version of Debian (8.1 "jessie")
> > does not have a realtime kernel packaged by debian.org, because the
> > kernel version they selected (3.16) never got an rt patchset.
> >
> > However, Debian testing currently is based on linux kernel 4.1.3,
> > and there is a matching rt patchset already included in the Debian
> > package.
> >
> > I have rebuilt this package for Debian 8.1 amd64, and boot-tested it
> > on one machine (my laptop), where I get OK but not great realtime
> > performance (around 100us on a 5-hour test), but as I don't have any
> > results for other rt kernel versions on this hardware it's not a
> > great test.
> >
> > $ uname -a
> > Linux babs 4.1.0-1-rt-amd64 #1 SMP PREEMPT RT Debian 4.1.3-1.1
> > (2015-08-14) x86_64 GNU/Linux
>
> there have been a few problems reported with 4.1.3-rt3 on the rt-users
> mailing list - you might want that run a bit longer (on a i7 octocore
> here the problems showed up after a few days only)
>
> > As far as I know, the package would rebuild for 32-bit machines with
> > no trouble.
> >
> > The package repository is
> > deb http://media.unpythonic.net/debs/ jessie/
> > deb-src http://media.unpythonic.net/debs/ jessie/
> > and it's signed with the public key C0873E61 "Jeff Epler (Package
> > signing key) " which is included below.
>
> would you mind cross-posting that to rt-users ? it would be a good
> way of getting broader testing of this particular rt kernel which is
> benificial for EMC and obviously also for PREEMPT_RT.
>
> > At some point I'll delete and recreate this repository.  I made the
> > unfortunate decision to mix non-Free (but redistributable) packages
> > into the same repository, namely the nvidia proprietary video
> > drivers also backported from debian testing.  When I recreate it,
> > I'll make sure the division between Free and non-Free is clear, or
> > just skip the proprietary stuff entirely.  So please don't depend on
> > the longevity of the above-named package archives.

The proprietary nvidia driver and real time have NOT live peacefully on 
the same planet here.  In fact I an amazed you managed to get 100 u-sec 
latencies out of it. My prior experience is more like 200 milliseconds, 
causing motor stalls at 5 ipm! So I avoid the nvidia supplied drivers 
like the plague.  The nouveau driver does not suffer from this use of 
IRQ lockouts for extended periods of time.  YMMVC, but I doubt if things 
have improved that much.

> > There is not presently a pre-built linuxcnc package for debian
> > jessie amd64, so you'll also have to build that for yourself.
> >
> > If you do try out these packages, please report your realtime
> > results on the mailing list.
>
> thx!
> hofrat
>
> --
> ___
> 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


Re: [Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-15 Thread Nicholas Mc Guire
On Fri, 14 Aug 2015, Jeff Epler wrote:

> As you may know, the current stable version of Debian (8.1 "jessie")
> does not have a realtime kernel packaged by debian.org, because the
> kernel version they selected (3.16) never got an rt patchset.
> 
> However, Debian testing currently is based on linux kernel 4.1.3, and
> there is a matching rt patchset already included in the Debian package.
> 
> I have rebuilt this package for Debian 8.1 amd64, and boot-tested it on
> one machine (my laptop), where I get OK but not great realtime
> performance (around 100us on a 5-hour test), but as I don't have any
> results for other rt kernel versions on this hardware it's not a great
> test.
> 
> $ uname -a
> Linux babs 4.1.0-1-rt-amd64 #1 SMP PREEMPT RT Debian 4.1.3-1.1 
> (2015-08-14) x86_64 GNU/Linux
>

there have been a few problems reported with 4.1.3-rt3 on the rt-users mailing
list - you might want that run a bit longer (on a i7 octocore here the problems
showed up after a few days only)
 
> As far as I know, the package would rebuild for 32-bit machines with
> no trouble.
> 
> The package repository is
> deb http://media.unpythonic.net/debs/ jessie/
> deb-src http://media.unpythonic.net/debs/ jessie/
> and it's signed with the public key C0873E61 "Jeff Epler (Package
> signing key) " which is included below.
>

would you mind cross-posting that to rt-users ? it would be a good
way of getting broader testing of this particular rt kernel which is
benificial for EMC and obviously also for PREEMPT_RT.
 
> At some point I'll delete and recreate this repository.  I made the
> unfortunate decision to mix non-Free (but redistributable) packages into
> the same repository, namely the nvidia proprietary video drivers also
> backported from debian testing.  When I recreate it, I'll make sure the
> division between Free and non-Free is clear, or just skip the
> proprietary stuff entirely.  So please don't depend on the longevity of
> the above-named package archives.
> 
> There is not presently a pre-built linuxcnc package for debian jessie
> amd64, so you'll also have to build that for yourself.
> 
> If you do try out these packages, please report your realtime results on
> the mailing list.
>
thx!
hofrat 

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


[Emc-developers] Experimental 4.1 preempt-rt kernel for Debian 8.1 amd64

2015-08-14 Thread Jeff Epler
As you may know, the current stable version of Debian (8.1 "jessie")
does not have a realtime kernel packaged by debian.org, because the
kernel version they selected (3.16) never got an rt patchset.

However, Debian testing currently is based on linux kernel 4.1.3, and
there is a matching rt patchset already included in the Debian package.

I have rebuilt this package for Debian 8.1 amd64, and boot-tested it on
one machine (my laptop), where I get OK but not great realtime
performance (around 100us on a 5-hour test), but as I don't have any
results for other rt kernel versions on this hardware it's not a great
test.

$ uname -a
Linux babs 4.1.0-1-rt-amd64 #1 SMP PREEMPT RT Debian 4.1.3-1.1 (2015-08-14) 
x86_64 GNU/Linux

As far as I know, the package would rebuild for 32-bit machines with
no trouble.

The package repository is
deb http://media.unpythonic.net/debs/ jessie/
deb-src http://media.unpythonic.net/debs/ jessie/
and it's signed with the public key C0873E61 "Jeff Epler (Package
signing key) " which is included below.

At some point I'll delete and recreate this repository.  I made the
unfortunate decision to mix non-Free (but redistributable) packages into
the same repository, namely the nvidia proprietary video drivers also
backported from debian testing.  When I recreate it, I'll make sure the
division between Free and non-Free is clear, or just skip the
proprietary stuff entirely.  So please don't depend on the longevity of
the above-named package archives.

There is not presently a pre-built linuxcnc package for debian jessie
amd64, so you'll also have to build that for yourself.

If you do try out these packages, please report your realtime results on
the mailing list.

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1

mQENBFMKtuEBCADDoSiuRAUN5DTQ1rVvdRb03xHNwwbL1BiR69XzliSY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Q4grucoXpH3wopxrPFYdP2UaGy1LZvqgJ3SuZXJ4J2nT
ZqmoqoiFIRdn6J5fYlCHE2qGMTLr6+GQPkt1l3imvCV+1bapOqVEq45TpSFJTk57
ABEBAAGJAR8EGAECAAkFAlMKtuECGwwACgkQYpCyusCHPmGzWAgAifteoiYTedMJ
+9f4K9IsApX9iR2RKmocn+PgzJ13RLSEh0X+wzWFb2+3ghC08k2D73MiYdzq+3Sa
2wWy/s/I+Pu9oxMNYDtGlvESy3hPedLngiHsqr5ZV1AB956zuE/fs87BVgbUIn/w
tv3tfCNeJyocwKPCP2Hd6cB4iZLT2784HE0wNpVPUYvqtvHVrxicM4HHLa+H5tlR
4THna0enf4fL30gjP7bsNLF8J/JpTxVcaMP/QoAhnEtDtkU+NxKSlw6nHGOLIWBz
iy0xoYvzNFWqEHoUwugzuGFqFmPQMuam+KAvHRS94r+UN8vXtxWziIm4OzKVfTj9
GXA+Y84hPA==
=TQI0
-END PGP PUBLIC KEY BLOCK-

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