Re: [Emc-users] Installing From Debian?

2023-07-10 Thread Todd Zuercher
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?

2023-07-10 Thread Karl Schmidt

@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?

2023-07-10 Thread Todd Zuercher
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?

2023-07-10 Thread Todd Zuercher
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 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 libcpupower1 (6.1.37-1) ...
Setting up linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-10-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-10-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-10-rt-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-10-rt-amd64
/etc/kernel/postinst.d/dkms:
dkms: autoi