OK, a one off Quick Guide to install on i386
It really is not difficult, so long as you have some idea what you
are trying to do.
Install Debian Stretch i386 net install distro from USB or CD
During installation:
Create root and user with same password (so you don't forget it)
Under software selections:
Select LXDE desktop and ssh server, remove print server
Near the end, install grub to MBR.
Reboot, login as normal user and open menu (Ctrl Esc) > System
> Root_Terminal
(# indicates the root command line prompt)
# apt update
(should be fully up to date if using net install)
# apt install firmware-linux-non-free firmware-realtek (if you have
a RTL NIC) dirmngr
#apt install linux-image-rt-686-pae
Reboot and sign in as your normal user
From root terminal (Ctrl Esc > System > Root_Terminal)
# uname -a
check you have booted the rt kernel
# apt-key adv --keyserver
hkp://keyserver.ubuntu.com:80 --recv 43DDF224
# echo 'deb http://deb.machinekit.io/debian
stretch main' >
/etc/apt/sources.list.d/machinekit.list
# apt update
# apt install machinekit machinekit-rt-preempt
# leafpad /etc/ssh/sshd.conf &
Then uncomment the line beginning '#AllowRootLogin....' and edit so
it reads
' AllowRootLogin yes'
save file and close leafpad
# service sshd reload
Now you will be able to ssh into the machine with root permissions
for maintenance
Now close root terminal and (Ctrl Esc > System > LXDE_Terminal)
for user terminal
Alt Spacebar X - to maximise
# machinekit
Then you are running, select the axis sim to test.
>> Start controlling things like LinuxCNC never could.
I do have some concerns as to what you think you can do on an i386
with Machinekit, that you can't on linuxcnc.
You do realise that a rt-preempt kernel will probably not give good
enough latency to run from a parport?
You need a rtai kernel for that and Machinekit does not support rtai
any more.
The things it can control that linuxcnc can't, are largely based on
various armhf boards and soc_fpga boards etc. not PCs
regards
Thanks for the suggestions. I have no idea how to use them.
This what I thought was going to happen(a week ago).
Install debian stretch.
install Machinekit rt-reempt for stretch.
Start controlling things like LinuxCNC never could.
If you can show me how to get this going.
I'm sure others will find it help full.
Maybe a step by step guide for Dummies.
I want this to work...
On Tuesday, November 27, 2018 at 3:14:06 AM UTC-7, Schooner
wrote:
This is nothing to do
with the initial problem reported by [email protected]
It is caused by your not setting up the system properly
You have a posix kernel running
Linux version 4.9.0-8-686-pae ( [email protected].org)
(gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1
SMP Debian 4.9.130-2 (2018-10-27)
You have installed a rt-preempt kernel package
sudo dpkg -i machinekit_0.1.1543248182. gite5f547c-1~stretch_i386.deb
machinekit-rt-preempt_0.1.1543248182.gite5f547c-1~stretch_i386.deb
(BTW you don't need to use dpkg, the new packages are in the
repo, just need to do 'apt update' and they will be
available.)
As a result it tries to find the posix binaries and fails
Warning - /usr/libexec/linuxcnc/rtapi_ app_posix
not setuid
(That error is a bit misleading, because the binary could
not be opened it assumes things,
does not consider that it might not exist!)
So, as per the documentation
http://www.machinekit.io/docs/getting-started/install-rt-kernel-i386/
install a rt-preempt kernel and BOOT THAT.
If you already have and are just letting the system boot
unwatched, it is obviously defaulting to posix,
so you need to manually select the rt kernel or change the
boot order in /boot/grub/grub.cfg
On 27/11/18 09:10, [email protected]
wrote:
New download/install debian 9.6.0 machinekit
failed to run.
See files attached. I will do the same for the
amd64 rt-reempt install.
If there is anything else you would like include
let me know.
I will keep this P4 on the bench for testing. I
hope you find this
helpful.
On Monday, November 26, 2018 at 10:35:11 AM UTC-7,
Schooner wrote:
There are now a
new set of packages in the repo with the serial
0.1.1543248182.gite5f547c
Please test on your i386 machines and
confirm they work.
I have now reverted a
series of commits, which look to be the cause.
(what exactly can build and package for all
architectures without errors,
but cause failure when running on i386 only,
remains to be seen!)
A local package build from this tests OK in the
i386 VM, so hopefully cured.
The repo is rebuilding packages and they will be
available in a couple of hours.
I will update when they are in the repo and can be
pulled for testing.
I have now created a
Debian Stretch i386 VM and installed machinekit
dependencies.
It does not run properly because of other
issues, but I can see that i386 packages
start to fail at 0.1.1538832043git84c94e8-1-stretch
For now just use packages prior to this
To do this, for those not that familiar with
linux
Download
http://deb.machinekit.io/debian/pool/main/m/machinekit/machinekit_0.1.1538495763.git1d57feb-1~stretch_i386.deb
or earlier
and the corresponding flavour package, for
instance
http://deb.machinekit.io/debian/pool/main/m/machinekit/machinekit-rt-preempt_0.1.1538495763.git1d57feb-1~stretch_i386.deb
cd to the directory they were downloaded to.
(instructions assume rt-preempt kernel)
$ sudo apt remove machinekit
machinekit-rt-preempt
$ sudo dpkg -i machinekit_0.1.1538495763.git1d57feb-1~stretch_i386.deb
machinekit-rt-preempt_0.1.1538495763.git1d57feb-1~stretch_i386.deb
If there is a missing dependency error,
$ sudo apt install <dependency>
then re-run the dpkg line
I will update when the source of the problem is
identified and fixed
On Wednesday, November 21, 2018 at 5:59:07
PM UTC-7, [email protected]
wrote:
Hello,
isn't the newest Machinekit Debian
package broken? I upgraded my test
system installation with apt-get
upgrade (Debian 9 Stretch: Linux
machinekit 4.9.0-8-rt-686-pae #1 SMP
PREEMPT RT Debian 4.9.130-2
(2018-10-27) i686 GNU/Linux) to the
newest package
(0.1.1542196491.git9c3423c-1~stretch),
however trying to start machinekit
with sim.axis/axis.ini I got the error
I'm having the same issue. same
install on a P4 64bit 3.0Ghz 4G ram
This system has been running Linuxcnc
for more than 4 years.
Also upgraded to 2.7 last summer. I
have 4 machines in total running on P4s
Linuxcnc.
There is no 2.7
Are you running linuxcnc or machinekit?
Can't find . 'machinekit_0.1.1537365199.
gitf63b8a2-1~stretch_i386'
you suggested.
It is in the repo, where you might expect
it to be.
http://deb.machinekit.io/debian/pool/main/m/machinekit/machinekit_0.1.1537365199.gitf63b8a2-1~stretch_i386.deb
If you can help confirm definitely at which
package version number this problem begins,
we might be able to start tracking it down.
I don't have any i386 computers any more
and there is no error on amd64.
Is Machinekit for
programmers only?
Scott
--
website: http://www.machinekit.io blog:
http://blog.machinekit.io
github: https://github.com/machinekit
---
You received this message because you are
subscribed to the Google Groups "Machinekit"
group.
To unsubscribe from this group and stop
receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to
the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
--
website: http://www.machinekit.io
blog: http://blog.machinekit.io
github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google
Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
|