Re: [Emc-users] Installing From Debian?
On Thu, 3 Aug 2023 at 00:31, Sam Sokolik wrote: > I have been pretty busy with life. - is it going to be updated at some > point? That seems to be hard to do. > it did work for me - and I am not doing trivial stuff... The only very serious bug I know of at the moment is: https://github.com/LinuxCNC/linuxcnc/issues/2587 -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
Yes - understood. I knew it was an old image - but not how old. I have been pretty busy with life. - is it going to be updated at some point? it did work for me - and I am not doing trivial stuff... https://www.youtube.com/watch?v=nWCdqE5xd-c sam On Wed, Aug 2, 2023 at 9:39 AM andy pugh wrote: > On Sun, 30 Jul 2023 at 19:59, Sam Sokolik wrote: > > > apt-get installed linuxcnc-uspace and was up and running within a few > > minutes after copying my configs.. > > It's probably worth mentioning that you get a fairly old snapshot of > LinuxCNC this way, dating from February. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
On Sun, 30 Jul 2023 at 19:59, Sam Sokolik wrote: > apt-get installed linuxcnc-uspace and was up and running within a few > minutes after copying my configs.. It's probably worth mentioning that you get a fairly old snapshot of LinuxCNC this way, dating from February. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
Just to chime in here Rod Webster has been doing a bit of work here with fixing error finishing read signals. The realtek drivers that come with the buster iso are not very good and we get a error finishing read error. This is with a good 4us latency test. The network card is the issue now. So mesa card watch dog hits and throws machine into estop. Real problem. Been working 3 days on it. And just now getting back to machining. 2 solutions. Rod wrote a doc that steps you through how to install bookworm and the new 6.1 RT kernel. That has been running for 3 days on a massive gcode file now with a mesa 7i92m connected and no errors. This is with 2.9linuxcnc. so pretty good solution for 2.9 if you need it. This is on a 2core jt1800 CPU. Only slight issue is the pc runs slower on bookworm in general. But it's only a industrial cheap 2core pc from china. 2nd solution is to use a old Linux mint 19.2 iso I have that someone made. With 2.8 linuxcnc and 4.19rt kernel. That has been running 24hrs with same big file no issues. This is my go to for 8 machines now and it just works Much faster response than bookworm and no issues so far either. And drivers just work on mint lol. Which is nice. But the error finishing read issue is pretty wide spread and a bit of a problem. Anyway back to running machines sing out if you get problems. Hopefully this helps. On Thu, 6 Jul 2023, 13:59 Todd Zuercher, wrote: > Any one installed Debian 12 and running Linuxcnc on a machine? Since > Linuxcnc is now in Debian Stable, I was wondering if anyone cared to voice > their opinions about installing and running Linuxcnc that way. > > I have a machine that I am starting to refit and I am considering trying > to install that way rather than using one of the more obsolete Linuxcnc > ISOs. > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
I downloaded the debian iso (the big 64bit version) - picked cinnamon as the desktop environment.. apt-get installed linuxcnc-uspace and was up and running within a few minutes after copying my configs.. I see the future and it is looking awesome.. great work guys! sam On Tue, Jul 11, 2023 at 8:50 AM Todd Zuercher wrote: > Here is a link to the instructions of how to correct a borked Debian 12 > installation from one of the live amd64 ISOs. > https://forums.debian.net/viewtopic.php?t=155245 > > You need to perform 3 command line commands (with root or sudo privileges.) > # rm > /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware > # apt purge raspi-firmware > # rm -rf /boot/firmware > > I tested this and it does seem to get things working correctly again. And > then I could install the real-time or other kernels without issue. > > Todd Zuercher > P. Graham Dunn Inc. > 630 Henry Street > Dalton, Ohio 44618 > Phone: (330)828-2105ext. 2031 > > -Original Message- > From: Todd Zuercher > Sent: Monday, July 10, 2023 4:21 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Installing From Debian? > > [EXTERNAL EMAIL] Be sure links are safe. > > Karl, > > Have you tried installing Debian using one of the Bookworm live ISOs? I > have, and the Mate version I downloaded on 3/30/2023 is definitely borked. > I don't remember and didn't take notes of the actual details of the > problems. (and I've since wiped that install.) It would run live fine, > install and run fine, install new software from the repos fine, but could > not install a new kernel via apt-get or Synaptic (same thing really). I > didn't' bother putting much effort into finding or fixing the problem. > > I have it installing again on a spare old harddrive to check out exactly > what the problems were. > > The system I installed on was an older Lenovo desktop with an i5 (not sure > the exact model.) I don't have a rbpi or any other arm devices. > > Todd Zuercher > P. Graham Dunn Inc. > 630 Henry Street > Dalton, Ohio 44618 > Phone: (330)828-2105ext. 2031 > > -----Original Message----- > From: Karl Schmidt > Sent: Monday, July 10, 2023 2:39 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Installing From Debian? > > [EXTERNAL EMAIL] Be sure links are safe. > > @Todd - > > Not likely a Debian problem - I would have to see his > /etc/apt/sources.list to know what is going on. > > To upgrade you also need something like this in /etc/apt.conf.d/local > > APT::Default-Release "/^bookworm(|-security|-updates)$/"; > > He says this is on an old MacBook (A1278) - that is supposed to be a > core-i5 - thus amd64. > > I don't think the 'Raspberry Pi Desktop' is part of Debian - so his > sources.list is probably wacked. > > Other things to look at: > # cat /etc/issue > # uname -a > > > From a normal Debian system with these lines in sources.list: > deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free deb > http://deb.debian.org/debian/ bookworm main contrib non-free > non-free-firmware deb http://security.debian.org/debian-security > bookworm-security main contrib non-free non-free-firmware deb > http://deb.debian.org/debian/ bookworm-updates main contrib non-free > non-free-firmware > > # wajig listall linuxcnc > linuxcnc-doc-de motion controller for CNC machines and robots > (German documentation) > linuxcnc-doc-en motion controller for CNC machines and robots > (English documentation) > linuxcnc-doc-es controlador de movimiento para máquinas CNC y > robots (Español). > linuxcnc-doc-fr motion controller for CNC machines and robots > (French documentation) > linuxcnc-doc-zh-cnmotion controller for CNC machines and robots > (Chinese > linuxcnc-uspace motion controller for CNC machines and robots > linuxcnc-uspace-dev PC based motion controller for real-time Linux > > The only drawback to running a pure Debian system is it 'tends to be VERY > conservative' - so the big advantage of running pure Debian is it 'tends to > be VERY conservative' - something I want for running machine-control or > public facing systems. > > I really want to praise the guys that did all the heavy lifting to get > linuxcnc into Debian - not a small task - (the software has to survive all > sorts of probes by the "Lintian" a comprehensive package checker - Debian > Policy violations and violations of various sub-policies, best practices, > common mistakes, and problems that maintainers like to catch before > uploads. ) > > I'm sure the code will be picked up by the
Re: [Emc-users] Installing From Debian?
Here is a link to the instructions of how to correct a borked Debian 12 installation from one of the live amd64 ISOs. https://forums.debian.net/viewtopic.php?t=155245 You need to perform 3 command line commands (with root or sudo privileges.) # rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware # apt purge raspi-firmware # rm -rf /boot/firmware I tested this and it does seem to get things working correctly again. And then I could install the real-time or other kernels without issue. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: Todd Zuercher Sent: Monday, July 10, 2023 4:21 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. Karl, Have you tried installing Debian using one of the Bookworm live ISOs? I have, and the Mate version I downloaded on 3/30/2023 is definitely borked. I don't remember and didn't take notes of the actual details of the problems. (and I've since wiped that install.) It would run live fine, install and run fine, install new software from the repos fine, but could not install a new kernel via apt-get or Synaptic (same thing really). I didn't' bother putting much effort into finding or fixing the problem. I have it installing again on a spare old harddrive to check out exactly what the problems were. The system I installed on was an older Lenovo desktop with an i5 (not sure the exact model.) I don't have a rbpi or any other arm devices. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: Karl Schmidt Sent: Monday, July 10, 2023 2:39 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. @Todd - Not likely a Debian problem - I would have to see his /etc/apt/sources.list to know what is going on. To upgrade you also need something like this in /etc/apt.conf.d/local APT::Default-Release "/^bookworm(|-security|-updates)$/"; He says this is on an old MacBook (A1278) - that is supposed to be a core-i5 - thus amd64. I don't think the 'Raspberry Pi Desktop' is part of Debian - so his sources.list is probably wacked. Other things to look at: # cat /etc/issue # uname -a From a normal Debian system with these lines in sources.list: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware # wajig listall linuxcnc linuxcnc-doc-de motion controller for CNC machines and robots (German documentation) linuxcnc-doc-en motion controller for CNC machines and robots (English documentation) linuxcnc-doc-es controlador de movimiento para máquinas CNC y robots (Español). linuxcnc-doc-fr motion controller for CNC machines and robots (French documentation) linuxcnc-doc-zh-cnmotion controller for CNC machines and robots (Chinese linuxcnc-uspace motion controller for CNC machines and robots linuxcnc-uspace-dev PC based motion controller for real-time Linux The only drawback to running a pure Debian system is it 'tends to be VERY conservative' - so the big advantage of running pure Debian is it 'tends to be VERY conservative' - something I want for running machine-control or public facing systems. I really want to praise the guys that did all the heavy lifting to get linuxcnc into Debian - not a small task - (the software has to survive all sorts of probes by the "Lintian" a comprehensive package checker - Debian Policy violations and violations of various sub-policies, best practices, common mistakes, and problems that maintainers like to catch before uploads. ) I'm sure the code will be picked up by the manny distributions that feed off of Debian. The more eyes on the code - the more users - the more polished it becomes. -- Karl Schmidt EMail k...@lrak.net 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 Data mining fools the miner first. Bayesian thinking is not a human trait. --kps ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/list
Re: [Emc-users] Installing From Debian?
Here is a link to the forum thread that pointed me to using the net install to avoid the bug in the live iso. https://forums.debian.net/viewtopic.php?t=154857 This is definitely a Debian bug (nothing to do with Linuxcnc.) It looks like I need to create a user account to add my voice to the complaints to fix this bug. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: Todd Zuercher Sent: Monday, July 10, 2023 5:10 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. I just tried to install the real time kernel on a fresh install from the " debian-live-12.0.0-amd64-mate.iso". I don't have time to dig up error logs... right now. (Trying to wrap stuff up before heading out on vacation for the 2nd half of the week.) No idea why "raspi-firmware: missing" would be mentioned in the error list below. Maybe that has something to do with the problem, but this machine and installation has nothing to do with a Raspberrypi. Again this is a pure clean installation from the Debian live iso, then the first and only thing I did after installing was open Synaptic check the box to install the "linux-image-rt-amd64" meta package, then let Synaptic do it's thing. Error Message from Synaptic: E: linux-image-6.1.0-10-amd64: installed linux-image-6.1.0-10-amd64 package post-installation script subprocess returned error exit status 1 E: linux-image-6.1.0-10-rt-amd64: installed linux-image-6.1.0-10-rt-amd64 package post-installation script subprocess returned error exit status 1 E: linux-image-rt-amd64: dependency problems - leaving unconfigured E: linux-image-amd64: dependency problems - leaving unconfigured Repositories List: deb http://deb.debian.org/debian/ bookworm main deb-src http://deb.debian.org/debian/ bookworm main deb http://security.debian.org/debian-security bookworm-security main deb-src http://security.debian.org/debian-security bookworm-security main # bookworm-updates, to get updates before a point release is made; # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://deb.debian.org/debian/ bookworm-updates main deb-src http://deb.debian.org/debian/ bookworm-updates main Everything from the Changes Aplied, Details window: (Reading database ... 286299 files and directories currently installed.) Preparing to unpack .../00-libcpupower1_6.1.37-1_amd64.deb ... Unpacking libcpupower1 (6.1.37-1) over (6.1.27-1) ... Preparing to unpack .../01-linux-compiler-gcc-12-x86_6.1.37-1_amd64.deb ... Unpacking linux-compiler-gcc-12-x86 (6.1.37-1) over (6.1.27-1) ... Selecting previously unselected package linux-headers-6.1.0-10-common. Preparing to unpack .../02-linux-headers-6.1.0-10-common_6.1.37-1_all.deb ... Unpacking linux-headers-6.1.0-10-common (6.1.37-1) ... Preparing to unpack .../03-linux-kbuild-6.1_6.1.37-1_amd64.deb ... Unpacking linux-kbuild-6.1 (6.1.37-1) over (6.1.27-1) ... Selecting previously unselected package linux-headers-6.1.0-10-amd64. Preparing to unpack .../04-linux-headers-6.1.0-10-amd64_6.1.37-1_amd64.deb ... Unpacking linux-headers-6.1.0-10-amd64 (6.1.37-1) ... Preparing to unpack .../05-linux-headers-amd64_6.1.37-1_amd64.deb ... Unpacking linux-headers-amd64 (6.1.37-1) over (6.1.27-1) ... Selecting previously unselected package linux-image-6.1.0-10-amd64. Preparing to unpack .../06-linux-image-6.1.0-10-amd64_6.1.37-1_amd64.deb ... Unpacking linux-image-6.1.0-10-amd64 (6.1.37-1) ... Selecting previously unselected package linux-image-6.1.0-10-rt-amd64. Preparing to unpack .../07-linux-image-6.1.0-10-rt-amd64_6.1.37-1_amd64.deb ... Unpacking linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ... Preparing to unpack .../08-linux-image-amd64_6.1.37-1_amd64.deb ... Unpacking linux-image-amd64 (6.1.37-1) over (6.1.27-1) ... Selecting previously unselected package linux-image-rt-amd64. Preparing to unpack .../09-linux-image-rt-amd64_6.1.37-1_amd64.deb ... Unpacking linux-image-rt-amd64 (6.1.37-1) ... Preparing to unpack .../10-linux-libc-dev_6.1.37-1_amd64.deb ... Unpacking linux-libc-dev:amd64 (6.1.37-1) over (6.1.27-1) ... Setting up linux-libc-dev:amd64 (6.1.37-1) ... Setting up linux-image-6.1.0-10-amd64 (6.1.37-1) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-9-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-9-amd64 I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-10-amd64 I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-10-amd64 /etc/kernel/postinst.d/dkms: dkms: running auto installation service for kernel 6.1.0-10-amd64. dkms: autoinstall for kernel: 6.1.0-10-amd64. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-10-amd64 raspi-firmware: missing /boot/firmware, did you forget to mount it? run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited
Re: [Emc-users] Installing From Debian?
c/kernel/postinst.d/dkms: dkms: autoinstall for kernel 6.1.0-10-rt-amd64 was skipped since the kernel headers for this kernel do not seem to be installed. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-10-rt-amd64 raspi-firmware: missing /boot/firmware, did you forget to mount it? run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1 run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-6.1.0-10-rt-amd64 (--configure): installed linux-image-6.1.0-10-rt-amd64 package post-installation script subprocess returned error exit status 1 Setting up linux-compiler-gcc-12-x86 (6.1.37-1) ... dpkg: dependency problems prevent configuration of linux-image-rt-amd64: linux-image-rt-amd64 depends on linux-image-6.1.0-10-rt-amd64 (= 6.1.37-1); however: Package linux-image-6.1.0-10-rt-amd64 is not configured yet. dpkg: error processing package linux-image-rt-amd64 (--configure): dependency problems - leaving unconfigured Setting up linux-headers-6.1.0-10-common (6.1.37-1) ... Setting up linux-kbuild-6.1 (6.1.37-1) ... Setting up linux-headers-6.1.0-10-amd64 (6.1.37-1) ... /etc/kernel/header_postinst.d/dkms: dkms: running auto installation service for kernel 6.1.0-10-amd64. dkms: autoinstall for kernel: 6.1.0-10-amd64. Setting up linux-headers-amd64 (6.1.37-1) ... dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1); however: Package linux-image-6.1.0-10-amd64 is not configured yet. dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.36-9) ... Errors were encountered while processing: linux-image-6.1.0-10-amd64 linux-image-6.1.0-10-rt-amd64 linux-image-rt-amd64 linux-image-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up linux-image-6.1.0-10-amd64 (6.1.37-1) ... /etc/kernel/postinst.d/dkms: dkms: running auto installation service for kernel 6.1.0-10-amd64. /usr/sbin/dkms: line 2497: echo: write error: Broken pipe dkms: autoinstall for kernel: 6.1.0-10-amd64. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-10-amd64 raspi-firmware: missing /boot/firmware, did you forget to mount it? run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1 run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-6.1.0-10-amd64 (--configure): installed linux-image-6.1.0-10-amd64 package post-installation script subprocess returned error exit status 1 Setting up linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ... /etc/kernel/postinst.d/dkms: dkms: autoinstall for kernel 6.1.0-10-rt-amd64 was skipped since the kernel headers for this kernel do not seem to be installed. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.1.0-10-rt-amd64 raspi-firmware: missing /boot/firmware, did you forget to mount it? run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1 run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-6.1.0-10-rt-amd64 (--configure): installed linux-image-6.1.0-10-rt-amd64 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-rt-amd64: linux-image-rt-amd64 depends on linux-image-6.1.0-10-rt-amd64 (= 6.1.37-1); however: Package linux-image-6.1.0-10-rt-amd64 is not configured yet. dpkg: error processing package linux-image-rt-amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1); however: Package linux-image-6.1.0-10-amd64 is not configured yet. dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-image-6.1.0-10-amd64 linux-image-6.1.0-10-rt-amd64 linux-image-rt-amd64 linux-image-amd64 Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: Todd Zuercher Sent: Monday, July 10, 2023 4:21 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. Karl, Have you tried installing Debian using one of the Bookworm live ISOs? I have, and the Mate version I downloaded on 3/30/2023 is definitely borked. I don't remember and didn't take notes of the actual details of the problems. (and I've since wiped that install.) It would run live fine, install and run fine, install new software
Re: [Emc-users] Installing From Debian?
Karl, Have you tried installing Debian using one of the Bookworm live ISOs? I have, and the Mate version I downloaded on 3/30/2023 is definitely borked. I don't remember and didn't take notes of the actual details of the problems. (and I've since wiped that install.) It would run live fine, install and run fine, install new software from the repos fine, but could not install a new kernel via apt-get or Synaptic (same thing really). I didn't' bother putting much effort into finding or fixing the problem. I have it installing again on a spare old harddrive to check out exactly what the problems were. The system I installed on was an older Lenovo desktop with an i5 (not sure the exact model.) I don't have a rbpi or any other arm devices. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: Karl Schmidt Sent: Monday, July 10, 2023 2:39 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. @Todd - Not likely a Debian problem - I would have to see his /etc/apt/sources.list to know what is going on. To upgrade you also need something like this in /etc/apt.conf.d/local APT::Default-Release "/^bookworm(|-security|-updates)$/"; He says this is on an old MacBook (A1278) - that is supposed to be a core-i5 - thus amd64. I don't think the 'Raspberry Pi Desktop' is part of Debian - so his sources.list is probably wacked. Other things to look at: # cat /etc/issue # uname -a From a normal Debian system with these lines in sources.list: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware # wajig listall linuxcnc linuxcnc-doc-de motion controller for CNC machines and robots (German documentation) linuxcnc-doc-en motion controller for CNC machines and robots (English documentation) linuxcnc-doc-es controlador de movimiento para máquinas CNC y robots (Español). linuxcnc-doc-fr motion controller for CNC machines and robots (French documentation) linuxcnc-doc-zh-cnmotion controller for CNC machines and robots (Chinese linuxcnc-uspace motion controller for CNC machines and robots linuxcnc-uspace-dev PC based motion controller for real-time Linux The only drawback to running a pure Debian system is it 'tends to be VERY conservative' - so the big advantage of running pure Debian is it 'tends to be VERY conservative' - something I want for running machine-control or public facing systems. I really want to praise the guys that did all the heavy lifting to get linuxcnc into Debian - not a small task - (the software has to survive all sorts of probes by the "Lintian" a comprehensive package checker - Debian Policy violations and violations of various sub-policies, best practices, common mistakes, and problems that maintainers like to catch before uploads. ) I'm sure the code will be picked up by the manny distributions that feed off of Debian. The more eyes on the code - the more users - the more polished it becomes. -- Karl Schmidt EMail k...@lrak.net 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 Data mining fools the miner first. Bayesian thinking is not a human trait. --kps ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
@Todd - Not likely a Debian problem - I would have to see his /etc/apt/sources.list to know what is going on. To upgrade you also need something like this in /etc/apt.conf.d/local APT::Default-Release "/^bookworm(|-security|-updates)$/"; He says this is on an old MacBook (A1278) - that is supposed to be a core-i5 - thus amd64. I don't think the 'Raspberry Pi Desktop' is part of Debian - so his sources.list is probably wacked. Other things to look at: # cat /etc/issue # uname -a From a normal Debian system with these lines in sources.list: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware # wajig listall linuxcnc linuxcnc-doc-de motion controller for CNC machines and robots (German documentation) linuxcnc-doc-en motion controller for CNC machines and robots (English documentation) linuxcnc-doc-es controlador de movimiento para máquinas CNC y robots (Español). linuxcnc-doc-fr motion controller for CNC machines and robots (French documentation) linuxcnc-doc-zh-cnmotion controller for CNC machines and robots (Chinese linuxcnc-uspace motion controller for CNC machines and robots linuxcnc-uspace-dev PC based motion controller for real-time Linux The only drawback to running a pure Debian system is it 'tends to be VERY conservative' - so the big advantage of running pure Debian is it 'tends to be VERY conservative' - something I want for running machine-control or public facing systems. I really want to praise the guys that did all the heavy lifting to get linuxcnc into Debian - not a small task - (the software has to survive all sorts of probes by the "Lintian" a comprehensive package checker - Debian Policy violations and violations of various sub-policies, best practices, common mistakes, and problems that maintainers like to catch before uploads. ) I'm sure the code will be picked up by the manny distributions that feed off of Debian. The more eyes on the code - the more users - the more polished it becomes. -- Karl Schmidt EMail k...@lrak.net 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 Data mining fools the miner first. Bayesian thinking is not a human trait. --kps ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
Andy, Which ISO did you use to install? (The Net-Install works, the Live-Mate version I downloaded didn't.) I'm 95% sure this isn't a Linuxcnc issue but a Debian one. I first tried installing Linuxcnc from Synaptic and letting it pull in the kernel dependencies. That failed to install the real time kernel with the same errors John Dammeyer found. I fiddled with that for a bit without success. Wiped the drive and reinstalled again, this time only trying to install the real-time kernel without Linuxcnc and still had the same problem. I then tried googling the issue, and didn't find much, but did find one thread addressing it. The instructions for fixing it seemed somewhat complex and I didn't try to follow them, when I saw that the thread mentioned that the Net-install ISO was unaffected by the problem. I downloaded that and it installed and installed Linuxcnc with the real-time kernal without a hitch. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: andy pugh Sent: Saturday, July 08, 2023 1:29 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. On Thu, 6 Jul 2023 at 02:59, Todd Zuercher wrote: > > Any one installed Debian 12 and running Linuxcnc on a machine? I recently did a clean install on my Macbook (I can now dual-boot simultaneously: https://photos.app.goo.gl/jEjzzJmjDVqouQh79 ) It went very smoothly. I downloaded the ISO, put it on a USB using dd, installed Linux and then sudo apt-get install linuxcnc and it all just worked. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." - George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
And this install page has issues. https://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_installing_on_raspbian_10 tells me the key is a new key but no user id. Continuing with the sudo apt-get update in the instructions tells me the signatures can't be verified because the NO_PUBKEY ... isn't available. And apt-key is deprecated. OTOH, no trouble installing the Arduino IDE. > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: July 8, 2023 1:33 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Installing From Debian? > > On Sat, 8 Jul 2023 at 21:31, John Dammeyer > wrote: > > > sudo apt-get install linuxcnc > > It reported an error > > E: Unable to locate package linuxcnc > > It's actually linuxcnc-uspace > > (Maybe it shouldn't be any more, but I guess we are stuck with that now) > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
Same error. Unable to locate package. Sudo apt-get install does work as I downloaded and installed lazarus. > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: July 8, 2023 1:33 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Installing From Debian? > > On Sat, 8 Jul 2023 at 21:31, John Dammeyer > wrote: > > > sudo apt-get install linuxcnc > > It reported an error > > E: Unable to locate package linuxcnc > > It's actually linuxcnc-uspace > > (Maybe it shouldn't be any more, but I guess we are stuck with that now) > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
On Sat, 8 Jul 2023 at 21:31, John Dammeyer wrote: > sudo apt-get install linuxcnc > It reported an error > E: Unable to locate package linuxcnc It's actually linuxcnc-uspace (Maybe it shouldn't be any more, but I guess we are stuck with that now) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
I have an old MacBook (A1278) that is currently running Debian GNU/Linux with a Raspberry Pi Desktop. Is it possible to install LinuxCNC into this environment? I did try: sudo apt-get install linuxcnc It reported an error E: Unable to locate package linuxcnc John > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: July 8, 2023 10:29 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Installing From Debian? > > On Thu, 6 Jul 2023 at 02:59, Todd Zuercher > wrote: > > > > Any one installed Debian 12 and running Linuxcnc on a machine? > > I recently did a clean install on my Macbook (I can now dual-boot > simultaneously: https://photos.app.goo.gl/jEjzzJmjDVqouQh79 ) > > It went very smoothly. I downloaded the ISO, put it on a USB using dd, > installed Linux and then sudo apt-get install linuxcnc and it all just > worked. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
On Thu, 6 Jul 2023 at 02:59, Todd Zuercher wrote: > > Any one installed Debian 12 and running Linuxcnc on a machine? I recently did a clean install on my Macbook (I can now dual-boot simultaneously: https://photos.app.goo.gl/jEjzzJmjDVqouQh79 ) It went very smoothly. I downloaded the ISO, put it on a USB using dd, installed Linux and then sudo apt-get install linuxcnc and it all just worked. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
Just did that. I had earlier tried to move to bullseye - but a glade problem got in my way - So just 2 days ago - I first upgraded from buster to bullseye - then bullseye to bookworm - installed linuxcnc from the debian repository. Good overview of upgrade at https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.en.html Tells you how to clean out cruft before hand. Only had a couple of minor problems - I had to reinstall a customized component - and fix a hal line that it didn't used to complain about. There was a missing '(' in the old copy of hitcounter.py What really made me smile is gladvcp just worked! I run under kde - so I disabled the search indexing engine and other fluff. You can run htop - before the desktop starts - go over all the tasks that you probably don't want. You can disable tasks with systemctl disable task-name # cat /sys/module/apparmor/parameters/enabled Should return N if you get it disabled - You will want to disable apparmor. You need to set a kernel paramater.. My line looked like this (a four core machine) GRUB_CMDLINE_LINUX_DEFAULT="quiet text isolcpus=2,3 apparmor=0" isolcpus makes a difference as well. This is with three copies of glxgears running: https://lrak.net/secret/pictures/2023/2023/2023-07-08_11-27-14_png.jpeg.html Of course, latency is not so important is you are doing counting in hardware (think Messa).. See https://forum.linuxcnc.org/9-installing-linuxcnc/48512-the-case-for-debian-bookworm-and-the-6-1-kernel-including-installation-notes On 7/5/23 05:22PM, Todd Zuercher wrote: Any one installed Debian 12 and running Linuxcnc on a machine? Since Linuxcnc is now in Debian Stable, I was wondering if anyone cared to voice their opinions about installing and running Linuxcnc that way. I have a machine that I am starting to refit and I am considering trying to install that way rather than using one of the more obsolete Linuxcnc ISOs. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Karl Schmidt EMail k...@lrak.net 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 Ignorant people think it's the noise which fighting cats make that is so aggravating, but it ain't so; it's the sickening grammar they use. ~ Mark Twain ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
Yeah, I used the net installer. I didn’t install a different kernel because Bookworm preinstalls the preempt-rt kernel (version 6.1.27-1). Installing LinuxCNC configured grub to load it by default. > On Jul 6, 2023, at 2:57 PM, Todd Zuercher wrote: > > I've been playing with it a bit today. > > The first and biggest news that I've found is that the Debian live ISOs for > Bookworm seem to be borked somehow. It seems to install and run fine until > you try to install a different kernel than the original one on the ISO. Then > it get all huffy about some deb not installing correctly and remaining > unconfigured and makes it all but impossible to install the real time kernel. > (It is a bit beyond the effort I was wanting to put into it to figure it > out.) > > Using the Net Install ISO however worked fine and allowed the Preempt-RT > kernel to install correctly. Latency is only OK but should work with the > Mesa card I plan to use. (Still fiddling with getting the best latency, > right now the best I have is about 60us with ISOLCPUS=2,3 on an older i5 pc.) > > Todd Zuercher > P. Graham Dunn Inc. > 630 Henry Street > Dalton, Ohio 44618 > Phone: (330)828-2105ext. 2031 > > -Original Message- > From: Thaddeus Waldner mailto:thadw...@gmail.com>> > Sent: Wednesday, July 05, 2023 10:51 PM > To: Enhanced Machine Controller (EMC) <mailto:emc-users@lists.sourceforge.net>> > Subject: Re: [Emc-users] Installing From Debian? > > [EXTERNAL EMAIL] Be sure links are safe. > > I just set up a replacement computer for an existing machine. The part I had > the most trouble with turned out to be caused by a wifi router being > misconfigured. Once that was ironed out, system took off without a hitch and > has been running trouble-free for several days now. > > I followed the guide here: > > http://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html > > > I highly recommend this route. > > To aid in figuring out which cores to isolate, I like to use lstopo. It is > part of the hwloc package. > > I have found that on multicore machines, it helps to isolate the last core, > as well as any adjacent cores that it shares resources with. For example, > some low power quad core Intel processors share a L2 cache between 2 cores. > > > >> On Jul 5, 2023, at 5:22 PM, Todd Zuercher wrote: >> >> I have a machine that I am starting to refit and I am considering trying to >> install that way rather than using one of the more obsolete Linuxcnc ISOs. > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net <mailto:Emc-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/emc-users > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net <mailto:Emc-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
I've been playing with it a bit today. The first and biggest news that I've found is that the Debian live ISOs for Bookworm seem to be borked somehow. It seems to install and run fine until you try to install a different kernel than the original one on the ISO. Then it get all huffy about some deb not installing correctly and remaining unconfigured and makes it all but impossible to install the real time kernel. (It is a bit beyond the effort I was wanting to put into it to figure it out.) Using the Net Install ISO however worked fine and allowed the Preempt-RT kernel to install correctly. Latency is only OK but should work with the Mesa card I plan to use. (Still fiddling with getting the best latency, right now the best I have is about 60us with ISOLCPUS=2,3 on an older i5 pc.) Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: Thaddeus Waldner Sent: Wednesday, July 05, 2023 10:51 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Installing From Debian? [EXTERNAL EMAIL] Be sure links are safe. I just set up a replacement computer for an existing machine. The part I had the most trouble with turned out to be caused by a wifi router being misconfigured. Once that was ironed out, system took off without a hitch and has been running trouble-free for several days now. I followed the guide here: http://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html I highly recommend this route. To aid in figuring out which cores to isolate, I like to use lstopo. It is part of the hwloc package. I have found that on multicore machines, it helps to isolate the last core, as well as any adjacent cores that it shares resources with. For example, some low power quad core Intel processors share a L2 cache between 2 cores. > On Jul 5, 2023, at 5:22 PM, Todd Zuercher wrote: > > I have a machine that I am starting to refit and I am considering trying to > install that way rather than using one of the more obsolete Linuxcnc ISOs. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing From Debian?
I just set up a replacement computer for an existing machine. The part I had the most trouble with turned out to be caused by a wifi router being misconfigured. Once that was ironed out, system took off without a hitch and has been running trouble-free for several days now. I followed the guide here: http://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html I highly recommend this route. To aid in figuring out which cores to isolate, I like to use lstopo. It is part of the hwloc package. I have found that on multicore machines, it helps to isolate the last core, as well as any adjacent cores that it shares resources with. For example, some low power quad core Intel processors share a L2 cache between 2 cores. > On Jul 5, 2023, at 5:22 PM, Todd Zuercher wrote: > > I have a machine that I am starting to refit and I am considering trying to > install that way rather than using one of the more obsolete Linuxcnc ISOs. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Installing From Debian?
Any one installed Debian 12 and running Linuxcnc on a machine? Since Linuxcnc is now in Debian Stable, I was wondering if anyone cared to voice their opinions about installing and running Linuxcnc that way. I have a machine that I am starting to refit and I am considering trying to install that way rather than using one of the more obsolete Linuxcnc ISOs. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users