Discussion:
[Emc-developers] LinuxCNC on Debian Jessie, Linux 3.16.7, RTAI 5.0-test1
Sebastian Kuzminsky
9 years ago
Permalink
I've built new RTAI kernel packages for Debian Jessie, using Linux
3.16.7 and RTAI 5.0-test1, and I'm soliciting wider testing.

There are no debian packages of LinuxCNC for this new platform yet, but
the branch "rtai-5" in our git repo works on it.

In order to test it, you need to install Jessie (i386) using the regular
debian.org installer, add "deb http://linuxcnc.org jessie base" to your
sources.list, install the linux-image and rtai-modules packages from
there, and reboot. Then build the rtai-5 branch of linuxcnc and let it rip.

I've moved my CNC Bridgeport with this combination of software and it
seems to be working well.
--
Sebastian Kuzminsky

------------------------------------------------------------------------------
Sarah Armstrong
9 years ago
Permalink
thanks i'll try it all out
...
--
The information contained in this message is confidential and is intended
for the addressee only. If you have received this message in error or there
are any problems please notify the originator immediately. The unauthorised
use, disclosure, copying or alteration of this message is strictly
forbidden. This mail and any attachments have been scanned for viruses
prior to leaving the RcTechnix network. RcTechnix will not be liable for
direct, special, indirect or consequential damages arising from alteration
of the contents of this message by a third party or as a result of any
virus being passed on.

RcTechnix reserves the right to monitor and record e-mail messages being
sent to and from this address for the purposes of investigating or
detecting any unauthorised use of its system and ensuring effective
operation.

(c) RcTechnix
------------------------------------------------------------------------------
Alec Ari
9 years ago
Permalink
Which IPIPE revision is this? There are a few key difference between IPIPE releases and it'd be a smart idea to somehow integrate the IPIPE kernel release into the deb package version or release notes somewhere. That way people don't need to go to /usr/src/rtai-kern-source/arch/x86/include/asm/ipipe.h and grep for IPIPE_CORE_RELEASE

Examples:

http://download.gna.org/adeos/patches/v3.x/x86/older/

ipipe-core-kern-ver-arch-ipipever.patch

Alec Ari
Sebastian Kuzminsky
9 years ago
Permalink
Post by Alec Ari
Which IPIPE revision is this? There are a few key difference between
IPIPE releases and it'd be a smart idea to somehow integrate the
IPIPE kernel release into the deb package version or release notes
somewhere. That way people don't need to go to
/usr/src/rtai-kern-source/arch/x86/include/asm/ipipe.h and grep for
IPIPE_CORE_RELEASE
Good idea, i'll add that to the package Description.

The the linux-image-3.16.0-9-rtai-686-pae kernel (version "5linuxcnc")
uses the hal-linux-3.16.7-x86-5.patch from rtai Vulcano, which is based
on IPIPE_CORE_RELEASE 5.
--
Sebastian Kuzminsky
Sarah Armstrong
9 years ago
Permalink
just a reply on progress ,
i am getting to the point of running and it looks as if the latency is so
high , i cant even start linuxcnc
i'm also having problems with the graphics card not wishing to work in
graphics mode , only in software , so giving an even higher cpu load
this is on an amd64 ( using i386 os ) motherboard that up to now has ran
Linuxcnc for the last 3 years .

so at the moment more progress is required before i can give any results .
...
--
The information contained in this message is confidential and is intended
for the addressee only. If you have received this message in error or there
are any problems please notify the originator immediately. The unauthorised
use, disclosure, copying or alteration of this message is strictly
forbidden. This mail and any attachments have been scanned for viruses
prior to leaving the RcTechnix network. RcTechnix will not be liable for
direct, special, indirect or consequential damages arising from alteration
of the contents of this message by a third party or as a result of any
virus being passed on.

RcTechnix reserves the right to monitor and record e-mail messages being
sent to and from this address for the purposes of investigating or
detecting any unauthorised use of its system and ensuring effective
operation.

(c) RcTechnix
Gene Heskett
9 years ago
Permalink
Post by Sarah Armstrong
just a reply on progress ,
i am getting to the point of running and it looks as if the latency is
so high , i cant even start linuxcnc
That is often a trademark sign that the video card is an NVidia, and that
you are using the NVidia driver, which ties up the IRQ for as long as
100 milliseconds at a time and makes the machine worthless for LCNC
purposes. Using the vesa driver, which limits the resolution, might
work and would confirm my SWAG* about the video card holding you for
ransom

While I have one in this box, I'm only running the sim here, and using
the nouveau driver which although the graphics are gaming speeds, plays
movie and news story's off the net well. But the sim still reports
servo-thread times above a millisecond in the terminal its launched
from. Not enough to affect the sim, but this old Asus M2N-SLI Deluxe
couldn't get past a latency test on a bet, its just not suitable for the
real thing. Good board otherwise or I would have binned it long ago.
Post by Sarah Armstrong
i'm also having problems with the graphics card not wishing to work in
graphics mode , only in software , so giving an even higher cpu load
this is on an amd64 ( using i386 os ) motherboard that up to now has
ran Linuxcnc for the last 3 years .
I run my older machines, a 7x12 lathe (ball screws and steppers) and the
small HF toy mill (ball screws, bigger tables and steppers) on atom
boxes, the toy mill still using software stepping but a 5i25 card would
speed up its rapids, currently limited by a 27 u-s base thread, and only
a 28 volt supply for the steppers.

My newer mill I've been talking about, a grizzly G0704 has higher voltage
and is currently being run by an off-lease Dell 745. With a 5i25, its
on-board graphics are more than adequate for the job. These are
available locally with 4Gb of ram, sans HD so he gets to keep the
winderz license, at $140. A small commodity HD, a 5i25 card, and its
all set.

Those D-525-MW atom boards that were nearly ideal for an economical
software step setup, have been discontinued for about 3 years, and the
last one I saw on ebay was selling for 4x the boxed OEM price. So this
Dell 745 setup looks quite attractive in comparison.

I might pay to visit your local computer guy and see whats there as there
were a kajillion of those Dells sold to businesses that replace them as
they are amortized on the p & l tax forms. No PATA sockets on these
mobo's though, all SATA. A floppy and a DVD r/w seem to be std
equipment. So a LCNC install is a 20 minute or less job.

Good luck Sarah.

*SWAG = Scientific Wild A$$ed Guess. ;-)
...
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 <http://geneslinuxbox.net:6309/gene>
Sebastian Kuzminsky
9 years ago
Permalink
...
Ok, the description for the linux-image deb now says this at the end:

This kernel includes the RTAI patch "hal-linux-3.16.7-x86-5.patch" from
rtai.org, based on IPIPE_CORE_RELEASE 5.

Alec, is there any other info you think would be useful there?
--
Sebastian Kuzminsky
Phill Carter
9 years ago
Permalink
I gave it a quick try last night, latency was on par with my Wheezy install, around 15000. Every time I open LinuxCNC I get the RTAPI: ERROR: Unexpected real-time delay on task 1. My normal base thread is 35000, I kept increasing this up to 100000 but continued to get the error.
I will see if the machine (software stepper) moves tonight.
...
--
Sent from my Nexus 5 with K-9 Mail
Alec Ari
9 years ago
Permalink
Post by Sebastian Kuzminsky
Alec, is there any other info you think would be useful there?
Looks good to me!

Alec Ari

Loading...