linux preempt and mesa ethernet card

More
11 years 2 weeks ago - 11 years 2 weeks ago #63880 by grub
Okay, got the problem. So basically your Ethernet card is not supported by RTAI but RT/Preempt, as the pre-configured image only comes with a RTAI you need to change the kernel module.
If that is the case and in order to change to kernel you will have to (can also be found under the link of my first post, here or here starting at 7.1):

1. Install the Preempt-RT kernel and module:
In order to allocate the RT kernel in the repository in termial enter:
Code:
synaptic
(to launch the synaptic packet manager, this can also be done via the Menu -> Settings -> Synaptic...)
Search for "linux-image-rt", you should either find the ...-rt-am64 or ...-rt-686-pae release, if that is not the case you will have to add a new repository.
In Synaptic click on "Settings -> Repositories" now add a new source with the following settings (counldn't test it, but if if it doesn't work in default try "archive" or something among those lines):
Code:
Binary (deb); Address: http://ftp.de.debian.org/debian; Distribution: wheezy; Section: archive

To check whether everything worked out use the Synaptic -> Search and type: "linux-image-rt" you should either find the ...-rt-amd64 or ...-rt-686-pae release.

Back in terminal run:
Code:
sudo apt-get install linux-image-rt-amd64
or
Code:
sudo apt-get install linux-image-rt-686-pae
(or install directly in Synaptic)

2. Reboot (fastest by typing "reboot"), and make sure you boot into the Preempt-RT kernel (note: this can also be seen shortly on bootup). When you log in, run terminal and verify that the following includes PREEMPT and RT.
Code:
uname -v

3. Add the LinuxCNC Archive Signing Key to your apt keyring by running:
Code:
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 8f374fef

4. Launch synaptic again to add the "Linux CNC" repository. Once again, click on "Settings -> Repositories" now add a new source with the following settings:
Code:
Binary (deb); Address: http://linuxcnc.org/; Distribution: wheezy; Section: 2.7-uspace base

5. Update the package list from linuxcnc.org, either by "reload"-ing in Synaptic or by running:
Code:
sudo apt-get update

6. Install uspace/LinuxCNC, either by selecting "linuxcnc-uspace" in Synaptic (this will auto-select dependencies and documentation) or run:
Code:
sudo apt-get install linuxcnc-uspace
both should result in the exact same outcome.

Hope that helps. If any issues with replacing one RT kernel with another occur you could try a clean install. So basically, standard wheezy then the abovementioned. All the links for that kind of approach were already mentioned in this thread,
Last edit: 11 years 2 weeks ago by grub. Reason: Extending on the procedure

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

More
11 years 2 weeks ago #63881 by johannbuck
Grub, I reread your posting and I think that I understand now, Wheezy 2.7 is both, RTAI and RT. Is that correct.

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

More
11 years 2 weeks ago - 11 years 2 weeks ago #63882 by grub
Yes.

RTAI is the abbreviation for real-time application interface which is one blend of RT (real-time) kernel. RT-Preempt is a preemtible real-time kernel (more here ) and one of the two RT kernels currently supported by LinuxCNC 2.7+ (with RTAI being the other).

Seems like we were constantly missunderstanding each other.

If I finally cut down to the case and if that helps answer your question feel free to give me a thank you and/or karma. :laugh:
Last edit: 11 years 2 weeks ago by grub. Reason: English

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

More
11 years 2 weeks ago #63883 by PCW
One missing detail is that you also need to install the uspace version of LinuxCNC

The wiki has instructions for the complete process

linuxcnc.org/docs/2.7/html/getting-start...th_preempt_rt_kernel

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

More
11 years 2 weeks ago #63884 by grub

PCW wrote: One missing detail is that you also need to install the uspace version of LinuxCNC

The wiki has instructions for the complete process

linuxcnc.org/docs/2.7/html/getting-start...th_preempt_rt_kernel


Thanks for the info. Added the missing part, although I really think that in the event of having to change the kernel from RTAI to RT/Preemt using a clean-install might be more sensitive than basically scrubbing everything...

If I am not mistaken this whole thing was a "RT≠RTAI" misunderstanding to begin with.

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

More
11 years 2 weeks ago #63885 by johannbuck
Thanks everyone, I think I'm finally ready to Install and use the preempt linuxcnc as soon as my ITX gets here.

I'm now ready to order the 7i92 and PCW, do I need the 7i76 breakout card or is there another one better for

connecting stepper drivers.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum