- LinuxCNC
- Installing LinuxCNC
- Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
20 Dec 2017 19:52 - 20 Dec 2017 19:53 #103400
by megaplow
Replied by megaplow on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Aside from version numbers and no need to patch linux-4.14.7 (so far as I can tell), there was only one change needed from a post on page 32.
python-imaging-tk should be changed to python-pil.imagetk
Good luck on the remodel!
python-imaging-tk should be changed to python-pil.imagetk
Good luck on the remodel!
Last edit: 20 Dec 2017 19:53 by megaplow.
The following user(s) said Thank You: cncnoob1979
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 403
- Thank you received: 75
20 Dec 2017 20:13 - 20 Dec 2017 20:14 #103401
by cncnoob1979
megaplow, what do you mean by not patching the kernel? Just making sure that you know you have to patch the kernel for real-time operation. I'm sure you probably meant something else; but just incase.
I updated all the posts on page 1 to reflect the package name; Thanks ozzyrob; megaplow
Thanks for the Luck!
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Aside from version numbers and no need to patch linux-4.14.7 (so far as I can tell)
megaplow, what do you mean by not patching the kernel? Just making sure that you know you have to patch the kernel for real-time operation. I'm sure you probably meant something else; but just incase.
I updated all the posts on page 1 to reflect the package name; Thanks ozzyrob; megaplow
python-imaging-tk should be changed to python-pil.imagetk
Thanks for the Luck!
Last edit: 20 Dec 2017 20:14 by cncnoob1979.
Please Log in or Create an account to join the conversation.
20 Dec 2017 20:28 #103402
by megaplow
Replied by megaplow on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Crap!
That would have been a big oversight. The patches in the home folder where the linux builds, go up to 4.14.7 but when I tried applying them they said there were already applied. So what you are saying is I should go through the process with 4.14.6 instead of 4.14.7. The reason is, the newest patch in the projects folder is:
www.kernel.org/pub/linux/kernel/projects...-4.14.6-rt7.patch.gz
I don't mind starting over, I want to make sure this is right and clean.
Thanks for the tip!
That would have been a big oversight. The patches in the home folder where the linux builds, go up to 4.14.7 but when I tried applying them they said there were already applied. So what you are saying is I should go through the process with 4.14.6 instead of 4.14.7. The reason is, the newest patch in the projects folder is:
www.kernel.org/pub/linux/kernel/projects...-4.14.6-rt7.patch.gz
I don't mind starting over, I want to make sure this is right and clean.
Thanks for the tip!
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 403
- Thank you received: 75
20 Dec 2017 20:41 - 20 Dec 2017 20:41 #103403
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Myself personally, I would steer clear of using the latest kernel for a first build. New kernels can have their issues and can be difficult to diagnose. After a successful first build I would then build with the latest kernel if I wanted to test out the latest stuff.
I would use a kernel version already tested by others. But of course feel free to use what ever you may want.
You should have downloaded a vanilla kernel then you apply the RT patch to that kernel. If I understand what you are saying that the RT patch has already been applied to the kernel you downloaded?
If so I am not familiar with an already RT patched kernel (I am familiar with a RTAI kernel). If anyone else here is familiar with a kernel that is already patched in the kernel.org repo please feel free to correct me.
Am I correct is my statement?
what does uname print out?
I would use a kernel version already tested by others. But of course feel free to use what ever you may want.
You should have downloaded a vanilla kernel then you apply the RT patch to that kernel. If I understand what you are saying that the RT patch has already been applied to the kernel you downloaded?
If so I am not familiar with an already RT patched kernel (I am familiar with a RTAI kernel). If anyone else here is familiar with a kernel that is already patched in the kernel.org repo please feel free to correct me.
Am I correct is my statement?
what does uname print out?
uname-a
Last edit: 20 Dec 2017 20:41 by cncnoob1979.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 403
- Thank you received: 75
20 Dec 2017 20:50 #103404
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Ok I re-read your post and I had misread your post;
You have to match the version numbers with the RT patch.
Kernel 4.14.6 is the latest kernel you can use with Real Time patch.
www.kernel.org/pub/linux/kernel/projects...-4.14.6-rt7.patch.gz
So you will need to download a vanialla kernel of 4.14.6 if you want to build the latest kernel using RT.
You have to match the version numbers with the RT patch.
Kernel 4.14.6 is the latest kernel you can use with Real Time patch.
www.kernel.org/pub/linux/kernel/projects...-4.14.6-rt7.patch.gz
So you will need to download a vanialla kernel of 4.14.6 if you want to build the latest kernel using RT.
Please Log in or Create an account to join the conversation.
20 Dec 2017 20:50 - 20 Dec 2017 20:51 #103405
by megaplow
Replied by megaplow on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
uname gives me 4.10.0.38 generic. I guess I should be using linux and patches that match that eh?
Looks like there are no patches in the rt dir for 4.10... sadface
Looks like there are no patches in the rt dir for 4.10... sadface
Last edit: 20 Dec 2017 20:51 by megaplow.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 403
- Thank you received: 75
20 Dec 2017 20:58 - 20 Dec 2017 21:05 #103406
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
I think you are confusing kernel version patches with RT patches. A kernel version patch is different from RT patches.
You will need to download a kernel that you want to use ;
4.14.6 and older
Also you have to download a RT Patch that matches the kernel version number.
4.14.6-rt7 and older (the rt7 means real time ; revision 7) you match the base version of the kernel. Meaning you can use
4.14.6-rt6
4.14.6-rt5
4.14.6-rt4
ect...
I hope i'm not confusing you.
The RT-7 patch
www.kernel.org/pub/linux/kernel/projects...-4.14.6-rt7.patch.gz
The matching Kernel version
www.kernel.org/pub/linux/kernel/v4.x/linux-4.14.6.tar.xz
You will need to download a kernel that you want to use ;
4.14.6 and older
Also you have to download a RT Patch that matches the kernel version number.
4.14.6-rt7 and older (the rt7 means real time ; revision 7) you match the base version of the kernel. Meaning you can use
4.14.6-rt6
4.14.6-rt5
4.14.6-rt4
ect...
I hope i'm not confusing you.
The RT-7 patch
www.kernel.org/pub/linux/kernel/projects...-4.14.6-rt7.patch.gz
The matching Kernel version
www.kernel.org/pub/linux/kernel/v4.x/linux-4.14.6.tar.xz
Last edit: 20 Dec 2017 21:05 by cncnoob1979.
Please Log in or Create an account to join the conversation.
20 Dec 2017 21:59 #103408
by megaplow
Replied by megaplow on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
I went with Linux Mint 18.3... Things seem to we working, but I missed that you started with 18.1. There is no need for me to be on the latest greatest. If 18.3 wont work, I can go back and do an 18.1 instal with the 4.9.68 kernel and rt patch.
Whaddia think?
Whaddia think?
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 403
- Thank you received: 75
20 Dec 2017 22:24 #103411
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
All distro's are about the same and you should be just fine on 18.3
Please Log in or Create an account to join the conversation.
22 Dec 2017 16:23 #103459
by megaplow
Replied by megaplow on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
I am getting through most of the process a successfully, then the operation fails when the disk is full.
ld: final link failed: sound/pci/vx222/snd-vx222.ko: final close failed: No space left on device
No space left on device
Is it possible to run all these commands in a different location than the home folder?
ld: final link failed: sound/pci/vx222/snd-vx222.ko: final close failed: No space left on device
No space left on device
Is it possible to run all these commands in a different location than the home folder?
Please Log in or Create an account to join the conversation.
- LinuxCNC
- Installing LinuxCNC
- Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Time to create page: 0.187 seconds