Debian Jessie Install

More
14 Nov 2015 01:38 #65215 by islander261
Hello

I have been trying to install LinuxCNC with Preempt- RT under Debian Jessie and have run into a road block. The basic OS install went easy for a first time user. I am now stuck at the point where I need tell Synaptic where the rt files are located. The address given in the install instructions doesn't work now. In the other topic, How to Install Debian 8.2 "Jessie" and LinuxCNC2.7, there is a location for an archive that points to or contains the needed file. I can find files in that location and even copy them to my local machine. The problem is I don't know how to get the package manager to find them. All the examples I can find use address similar to the instructions and the package handler doesn't like the archive location. Can some please point me to documentation that explains how to load from the archive? Thank you.

John

Please Log in or Create an account to join the conversation.

More
14 Nov 2015 08:42 #65233 by ArcEye
Replied by ArcEye on topic Debian Jessie Install
Hi

You need to be precise as to what guide you are using and what 'rt files' you are talking about.

This is the official guide
linuxcnc.org/docs/2.7/html/getting-start...etting-linuxcnc.html

Which bits do not work?

regards

Please Log in or Create an account to join the conversation.

More
14 Nov 2015 16:36 #65244 by islander261
Replied by islander261 on topic Debian Jessie Install
Hello

Sorry for not being more specific. I tried to follow instructions from here:
linuxcnc.org/docs/2.7/html/getting-start...etting-linuxcnc.html
Section 7.1
And from here:
forum.linuxcnc.org/forum/9-installing-li...nd-linuxcnc2-7#63698

The error I get following the official instructions is:
root@plastest:/home/jd# apt-get install linux-image-rt-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-rt-686-pae
root@plastest:/home/jd#

I have been able to find the snapshot file mentioned in the last post of:
forum.linuxcnc.org/forum/9-installing-li...nd-linuxcnc2-7#64840
I have been able to down load it to my local machine. The problem I am now having is that I don't know how to tell Synaptic or Apt where to find it. Actually I'm not sure if it is really the image I need. Thank You.

John

Please Log in or Create an account to join the conversation.

More
14 Nov 2015 16:57 #65246 by ArcEye
Replied by ArcEye on topic Debian Jessie Install

Sorry for not being more specific. I tried to follow instructions from here:
linuxcnc.org/docs/2.7/html/getting-start...etting-linuxcnc.html
Section 7.1
And from here:
forum.linuxcnc.org/forum/9-installing-li...nd-linuxcnc2-7#63698


Forget the thread, the debs that are linked to are all but empty, certainly no kernel in them.

Have you added jessie-backports to /etc/apt/sources.list?
# jessie-backports, previously on backports.debian.org
deb http://ftp.uk.debian.org/debian/ jessie-backports main contrib non-free 
deb-src http://ftp.uk.debian.org/debian/ jessie-backports main contrib non-free

Then run apt-get update ?

Please Log in or Create an account to join the conversation.

More
14 Nov 2015 17:39 #65248 by islander261
Replied by islander261 on topic Debian Jessie Install
Hello

I tried looking at the suggested location and could find it.

# jessie-backports, previously on backports.debian.org
deb ftp.uk.debian.org/debian/ jessie-backports main contrib non-free
deb-src ftp.uk.debian.org/debian/ jessie-backports main contrib non-free

The "non-free" part of the source address causes an error when I try to update (new) Synaptic >Settings> Repositories from my location.

The linux-image-rt is not one of the sources under deb ftp.uk.debian.org/debian/ jessie-backports main which I can find.

John

Please Log in or Create an account to join the conversation.

More
14 Nov 2015 18:03 #65250 by ArcEye
Replied by ArcEye on topic Debian Jessie Install

The linux-image-rt is not one of the sources under deb ftp.uk.debian.org/debian/ jessie-backports main which I can find.


I have just tried pulling that and it IS broken.

I don't know who wrote the doc, it presumably must have worked at some point.

I personally would not use jessie-backports at all.
They have broken lots of code by using gcc-5.0 compiling the Stretch libraries.

The alternative, if you must use jessie, is build one yourself, that is what I do.

PCW published this a while back sourceforge.net/p/emc/mailman/message/33665819/
and there is a recent thread re doing the same

regards
The following user(s) said Thank You: islander261

Please Log in or Create an account to join the conversation.

More
14 Nov 2015 19:24 #65252 by islander261
Replied by islander261 on topic Debian Jessie Install
Ok

I went this route because I wanted to learn more about using Linux while setting up LinuxCNC, but this is more than I want to take on for right now. Back to the self installing DVD.

Who should be notified that the official instructions are broken?

John

Please Log in or Create an account to join the conversation.

More
15 Nov 2015 00:12 #65263 by islander261
Replied by islander261 on topic Debian Jessie Install
Ok, I've reconsidered so I will try to build the binaries as outlined here:

sourceforge.net/p/emc/mailman/message/33665819/

One thing I don't understand is the reference to the kernel version numbers, they don't seem to be the same as either the LinuxCNC or Debian distro number. When I do this:

jd@plastest:~$ uname -a
Linux plastest 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) i686 GNU/Linux

Is the kernel version the 3.16.0 or the 3.16.7 or neither?

When I look at the list of available kernel patches at:

www.kernel.org/pub/linux/kernel/projrcts/rt/

The list jumps from 3.14 to 3.18, do I just use the next older one?

Thank you.

John

Please Log in or Create an account to join the conversation.

More
15 Nov 2015 10:17 #65273 by ArcEye
Replied by ArcEye on topic Debian Jessie Install
Just go to the repo and select the latest patch and then download the corresponding kernel and use that.

I am currently using 4.1.10 kernel with the rt11 patch, which does seem an improvement latency wise over the rt10 patch.

You just need to substitute kernel and patch versions in the instructions I linked to

regards
The following user(s) said Thank You: islander261

Please Log in or Create an account to join the conversation.

More
15 Nov 2015 15:56 #65286 by islander261
Replied by islander261 on topic Debian Jessie Install
Thank you, I will try this today if I find time. After browsing around yesterday I had pretty much figured that was the case.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum