7i77 5i25 hm2_pci unloaded

More
24 Nov 2016 17:45 #83225 by PCW
Replied by PCW on topic 7i77 5i25 hm2_pci unloaded
Not a real time kernel?
you probably have to build a Preempt-rt kernel if ubuntu does not supply one
The following user(s) said Thank You: bkt

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

More
24 Nov 2016 17:49 #83226 by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded
Which variant did you get from the buildbot?

LinuxCNC is not finding a kernel that it recognises as having Realtime.

I guess you followed the instructions here?
forum.linuxcnc.org/forum/27-driver-board...7i77?start=180#62783

Did every step complete without error?
The following user(s) said Thank You: bkt

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

More
24 Nov 2016 17:58 #83227 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
Sorry PCW .... I'm on preemp_rt 4.4.27 on ubuntu 14.04 .... I've compiled the kernel and apply the pacth ..... but linuxcnc run out of rtai .... why?

Please be patient ... now as now I decide if buy more mesa card or not .... depends on linuxcnc ... I took the courage to do this by following your instructions. I thought: pcw work into mesa it does he will know what it says ?? so I followed your steps and I did the installation that does not work ... you have some alternative method ?? I can install anything precompiled? You can indicate me the way? You can show me what you have installed and running with the mesa cards and has good performance to work with a robot delta ??

I've I3 3.6Ghz and 4Gb ram ... on ubuntu 10.04 2800 ns latency test ....

Regards
Giorgio

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

More
24 Nov 2016 18:04 - 24 Nov 2016 18:08 #83228 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
@AndyPugh Tanks a lot (very lot).... I follow the same procedure but with kernel 4.4.27 .... because I've not seen that link that you posted me ... but another ... and the pacth for that isn't avaiable jet ... so I think to use a newer kernel ....

Any how all compile without error ....

If PCW recently use kernel 4.1.5 .... I try ... but the proc is very long ....

regards
giorgio
Last edit: 24 Nov 2016 18:08 by bkt.

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

More
24 Nov 2016 18:07 - 24 Nov 2016 18:10 #83229 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
@ PCW The link posted by andypugh is old from 2015 ....

You can posted me the last rtai kernel to use??

remeber I must use for production robot (tha since 2 day ago it work fine on ubuntu 10.04)...

I use ubuntu 14.04 32 bit is Right??

regards
giorgio
Last edit: 24 Nov 2016 18:10 by bkt.

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

More
24 Nov 2016 18:26 #83230 by PCW
Replied by PCW on topic 7i77 5i25 hm2_pci unloaded
I would not use a RTAI kernel but rather a Preempt-RT kernel if using Ubuntu14.04
The following user(s) said Thank You: bkt

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

More
24 Nov 2016 18:34 #83231 by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded

Sorry PCW .... I'm on preemp_rt 4.4.27 on ubuntu 14.04 .... I've compiled the kernel and apply the pacth ..... but linuxcnc run out of rtai .... why?


Which version of linuxCNC? You want the "uspace" version for a preempt-rt kernel.
The following user(s) said Thank You: bkt

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

More
24 Nov 2016 18:39 #83232 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
perfect ... i use the kernel download from here ...

kernel.org

Is right? witch kernel ( 4.1-4.2-4.3-4.4-4.5??) I must use?? 32bit or not??

these step i rigth??

cd ~
sudo apt-get update
sudo apt-get install build-essential bin86 kernel-package libqt4-dev libncurses5
-dev pkg-config
mkdir rtlinux
cd rtlinux
wget ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.4.27.tar.xz
wget www.kernel.org/pub/linux/kernel/projects....4.27-rt"x".patch.gz
tar -xpf linux-4.4.27.tar.xz
gunzip patch-4.4.27-rt5.patch.gz
cp patch-4.4.27-rt5.patch linux-4.4.27
cd linux-4.4.27
cat patch-4.4.27-rt5.patch | patch -p1
make xconfig
make
sudo make modules_install
sudo make install


after these:

> git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
> cd linuxcnc-dev/src
> ./autogen.sh
> ./configure --with-realtime=uspace
> make
> sudo make setuid

> source ../scripts/rip-environment
> runtests
> in my cas "0" error!!

Regards
Giorgio

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

More
24 Nov 2016 18:43 #83233 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded

Sorry PCW .... I'm on preemp_rt 4.4.27 on ubuntu 14.04 .... I've compiled the kernel and apply the pacth ..... but linuxcnc run out of rtai .... why?


Which version of linuxCNC? You want the "uspace" version for a preempt-rt kernel.


I have use the step write before ... so now I've linuxcnc - 2.8.0 pre1 ... the same that I use in JA9 ..:angry:

probabily these is not right:
> git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev

There is the right git link?

Regards
Giorgio

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

More
24 Nov 2016 18:43 #83234 by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded
That should all work.

It might be that when you run LinuxCNC you are running the old, installed version, not the new one you just compiled.

If you open a terminal window

cd linuxcnc-dev
, ,/scripts/rip-environment
linuxcnc

You should see
> LINUXCNC - 2.8.0~pre1

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

Moderators: PCWjmelson
Time to create page: 0.134 seconds
Powered by Kunena Forum