LinuxCNC on Debian 10 Buster quick and easy install

More
27 May 2020 17:34 #169139 by seuchato
Hi tommylight
Thanks a ton for the guide and the script. Off curse I had to specify a root passwd, so I had to remove all the sudo references in your script. When running the script, I got a message that »ldconfig« and »start-stop-daemon« were not in PATH or not fount. The hint that "normally /usr/local/sbin, /usr/sbin and /sbin " should be in roots PATH gave me the clue to the solution:
echo $PATH 
'/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
export PATH=$PATH:/sbin
export PATH=$PATH:/usr/sbin
export PATH=$PATH:/usr/local/sbin
echo $PATH                        
'/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/usr/local/sbin'
solved the problem and now your script ran through successfully.
So BIG THANKS
greez
chris
The following user(s) said Thank You: tommylight

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

More
27 May 2020 19:40 #169146 by seuchato
Just a quick update:
Solution is not persistent. I did this to get it persistent:
echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /root/.bashrc
Not elegant, I know, but now su stuff works.
Greez
chris

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

More
27 May 2020 20:28 #169150 by seuchato

Hi,

i found something, which works (hope the link is ok)

wiki.altervista.org/cs/kernel_boot_parameters
Example of the "isolcpus" option

Open the file /etc/default/grub. Example:

sudo gedit /etc/default/grub

Edit the option GRUB_CMDLINE_LINUX_DEFAULT in the file /etc/default/grub to boot all the kernels with the new option. In this case, the kernel boot option isolcpus=2,3 has been used, on a 4 cores CPU, to boot the kernel (and the other OS processes) using CPU cores 0 and 1, while CPU cores 2 and 3 are isolated, i.e., not used.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3"

Run the command:

sudo update-grub

to make active the GRUB configuration at the next reboot.


With this, my latency is under 10t :)

Best regards
Jörg

Jörg
thanks a ton . Got latency now at below 8k :-)
greez
chris

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

More
30 May 2020 00:37 #169373 by tullsnr
I cannot get past the install of the key, it fails, I get back the following,

sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
Executing: /tmp/apt-key-gpghome.Ll1dJq6gRH/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
gpg: keyserver receive failed: Server indicated a failure

I then tried another keyserver that is further on in this post but get the same thing,
sudo apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys EF1B07FEE0EE663E
Executing: /tmp/apt-key-gpghome.v2MTYd2ZPD/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --recv-keys EF1B07FEE0EE663E
gpg: keyserver receive failed: Server indicated a failure

Can anyone let me know what may be the problem

Thanks
Ian

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

More
30 May 2020 02:57 #169380 by tullsnr
SOLVED

Problem was that the DNS entry was incorrect for my installation. Once I found and fixed that issue, it all installed correctly.

Thanks
Ian
The following user(s) said Thank You: tommylight

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

More
06 Aug 2020 21:36 #177552 by tommylight
Updated link to Debian 10.5
The following user(s) said Thank You: seuchato

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

More
06 Aug 2020 21:42 #177554 by seuchato
Thanks a ton.

Greez
chris
The following user(s) said Thank You: tommylight

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

More
07 Aug 2020 12:25 #177606 by andypugh
linuxcnc.org/temp/2.8_test4.iso

(Installs Buster and a buildbot version of LinuxCNC 2.8)
This is 99% of what the official 2.8 release will be, so feedback appreciated.

Note that the QTVCP configs need extra dependencies, this will be fixed in the final release.
The following user(s) said Thank You: tommylight

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

More
07 Aug 2020 12:28 #177607 by andypugh

Off curse I had to specify a root passwd, so I had to remove all the sudo references in your script.


It is important _not_ to specify a root password in the Debian installer as this disables sudo for all users.

LinuxCNC relies on setuid, so needs sudo.

This is mentioned briefly in the Buster install notes:
linuxcnc.org/docs/2.8/html/getting-start...th_preempt_rt_kernel

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

More
07 Aug 2020 12:53 #177610 by tommylight
I installed Buster on two computers, never got asked to set a root password, but Wheezy and Stretch did ask for it so i just left it blank and it always worked.
I did use the installer from the desktop of the Live version of Buster.

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

Time to create page: 0.104 seconds
Powered by Kunena Forum