ubuntu 14.04.1 linuxcnc help
- Razor_keen
- Offline
- Premium Member
- Posts: 114
- Thank you received: 4
sourceforge.net/p/emc/mailman/message/33665819/
I'm installing this on a dell latitude d830, and was hoping someone could help me with the correct syntax to enter into terminal. I should be able to locate and install any dependencies for the most part.
Any help would be greatly appreciated.
jason
im running 64 bit ubuntu, if u need any other info pls let me know.
Please Log in or Create an account to join the conversation.
The config needs copying to .config in the root of the kernel code and you need to use xconfig to change it to 64 bit, because it is a 32 bit config.
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.18.11 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
If any of that means nothing to you, you need to search on and read up on kernel building.
regards
Please Log in or Create an account to join the conversation.
- Razor_keen
- Offline
- Premium Member
- Posts: 114
- Thank you received: 4
Kind regards
Jason
Please Log in or Create an account to join the conversation.
..... could it be that I simply overlooked this simple thing.
If you read the guide without a knowledge of the kernel building sequence, it might lead to you patching with the rt patch, but building with a default vanilla non rt config, because the config does not get mentioned until after the build instructions.
Run make clean, copy the rt-kernel-config to .config in the root of the source, then make menuconfig (or xconfig) and set it to 64bit and build and install again.
Hopefully that should do it.
regards
Please Log in or Create an account to join the conversation.
- Razor_keen
- Offline
- Premium Member
- Posts: 114
- Thank you received: 4
I found a more recent kernel and patch I would like to try.
4.1.5... Although I'm not aware of a a pre existing working config file.
So I've read, some of the things to look out for while configuring the kernel is to enable fully preemt kernel, disable most of the acpi functions except the ones needed for high res timer, and turn off the drivers not associated with my laptop.
I actually tried to config myself before I posted here using the instructions I posted. I tried configuring myself, then using the .config. The first attempt loaded into ubuntu but I kept getting a software problem detected warning. The second time it would not load. I believe I overlooked the 32bit 64bit selection option.
Is there a generic config that comes with the rt patches that I could trim down, instead of starting from scratch or using the generic non rt one from the previous kernel?
It would seem that making the kernel is one of the hardest parts to getting linuxcnc to work on newer os'. If you know of a place I could look that could explain the process behind correctly configuring this, it would be helpful. There are plenty of results in google, but I may not be searching for the right things, and a lot of them are vague or spend very little time going over the nuances of the actual configuration.
Again I appreciate all help.
Please Log in or Create an account to join the conversation.
- toolmaker69
- Offline
- Junior Member
- Posts: 31
- Thank you received: 0
Anyway, I used a combination of wiki.linuxcnc.org/cgi-bin/wiki.pl?Build_A_Simulator_Manually and a little of www.linuxcnc.org/index.php/english/forum...buntu-1404-lts--true though I needed to discard some of the advice at the end of the latter.
On my machine, running the simulator, the terminal shows that my wait states would have been much too high to actually run a machine. But again, I never even checked jitter on this machine, as it's a server that is built for stability, not speed or efficiency.
Anyway, maybe if you read through the first link it could help you understand some of the errors you are getting on your complete install. Maybe it would help you get an overview.
Please Log in or Create an account to join the conversation.
I found a more recent kernel and patch I would like to try.
4.1.5... Although I'm not aware of a a pre existing working config file.
You don't need another config file, the settings do not change with kernel versions.
I have built all the way to 4.x.x-r11 with the same config.
Just set it to 64 bit and build, all the settings necessary for rt-preempt are there.
regards
Please Log in or Create an account to join the conversation.
- Razor_keen
- Offline
- Premium Member
- Posts: 114
- Thank you received: 4
Please Log in or Create an account to join the conversation.
theirs no real need to run the latest and greatest kernels , but laptops are the worst for subtile changes , as they are usually cutdown and facilitys removed etc .
i have successfully built kernels to 4.1.10-rt11 with rt-preempt .
abeit this is using a desktop and debian 7
Please Log in or Create an account to join the conversation.
There were problems with each config i made each diffrent. is there a way to see the config of my current build so i can compare each and find something that will be optimal?
Each kernel you build has a config file copied into /boot
/boot/config-4.1.10-rt11 for example
Because they are text files, you can just compare them with diff
There is no need to change anything in the config that was with the instructions you got, except the 32 / 64 bit build
I didn't pick up on your single mention of 'laptop' earlier.
It will not stop you running sims on rt-preempt, but don't expect a great latency for machine control.
Please Log in or Create an account to join the conversation.