@gene, you can probably set the locale to your environment by typing: sudo
menu-config


Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Thu, 28 Dec 2023 at 12:35, gene heskett <ghesk...@shentel.net> wrote:

> On 12/27/23 16:50, Rod Webster wrote:
> > You could try this image that contains preempt_rt for the Pi 5  (Linuxcnc
> > 2.9.1)
> >
> https://drive.google.com/file/d/1H_q0Ra-27ZDOhquvq179beUZQNVlex1f/view?usp=drive_link
> > I don't have a Pi5 to test it but others say it worked.
> >
> > This is an updated image from our Raspberry Pi 4 one that is built for
> > the newer Pi 5 CPU
> > sudo apt upgrade should update to 2.9.2
> >
> I tried that with my rpi4 that is running your image, but I get this:
> W: GPG error: http://linuxcnc.org bookworm InRelease: The following
> signatures couldn't be verified because the public key is not available:
> NO_PUBKEY 3CB9FD148F374FEF
> E: The repository 'http://linuxcnc.org bookworm InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> W: Skipping acquire of configured file '2.9-rt/source/Sources' as
> repository 'https://www.linuxcnc.org bookworm InRelease' does not seem
> to provide it (sources.list entry misspelt?)
> I say its installed, I've done the install twice, but here is an ls -l of:
> cnc@rpi4:/etc/apt$ ls -l trusted.gpg.d/
> total 84
> -rw-r--r-- 1 root root 11861 Mar 28  2023
> debian-archive-bookworm-automatic.asc
> -rw-r--r-- 1 root root 11873 Mar 28  2023
> debian-archive-bookworm-security-automatic.asc
> -rw-r--r-- 1 root root   461 Mar 28  2023
> debian-archive-bookworm-stable.asc
> -rw-r--r-- 1 root root 11861 Mar 28  2023
> debian-archive-bullseye-automatic.asc
> -rw-r--r-- 1 root root 11873 Mar 28  2023
> debian-archive-bullseye-security-automatic.asc
> -rw-r--r-- 1 root root  3403 Mar 28  2023
> debian-archive-bullseye-stable.asc
> -rw-r--r-- 1 root root 11093 Mar 28  2023
> debian-archive-buster-automatic.asc
> -rw-r--r-- 1 root root 11105 Mar 28  2023
> debian-archive-buster-security-automatic.asc
> -rw-r--r-- 1 root root  1704 Mar 28  2023 debian-archive-buster-stable.asc
>
> which has no sign of that key, so where did the installer put it?
>
> That key 3CB9FD148F374FEF has been installed, twice. But I can't find it.
>
> uname -a sys:
> Linux rpi4.coyote.den 6.1.54-rt15 #1 SMP PREEMPT_RT Wed Sep 20 20:36:44
> AEST 2023 aarch64 GNU/Linux
>
> Its latency-test is not as good as my old 4.19 something build but its
> plenty good enough to move my lathe nicely.
>
> But from the message, I found it in /usr/share/keyrings and put a copy
> in trusted* and now its offering me 19 updates. Which were all security
> related from debian but locale complained:
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> locale: Cannot set LC_MESSAGES to default locale: No such file or directory
> locale: Cannot set LC_ALL to default locale: No such file or directory
>
> How to fix that? I don't have an /etc/locale but I do have these:
> -rw-r--r--  1 root root    2996 Jul 13 14:07 locale.alias
> -rw-r--r--  1 root root    9431 Oct 17 04:24 locale.gen
> but it recommends I run locale-gen, which returns very quickly w/o
> errors and does not generate anything in the locale directory, so I'll
> delete the directory I made. Done.
>
> And after all this I'm still bumfuzzled. And can't update linuxcnc.
>
> Thanks & Happy New Year All.
>
>
> > Rod Webster
> > *1300 896 832*
> > +61 435 765 611
> > Vehicle Modifications Network
> > www.vehiclemods.net.au
> >
> >
> > On Thu, 28 Dec 2023 at 06:46, Sebastian Kuzminsky <s...@highlab.com>
> wrote:
> >
> >> On 12/27/23 13:38, Steffen Möller via Emc-developers wrote:
> >>>
> >>>> Gesendet: Mittwoch, 27. Dezember 2023 um 17:13 Uhr
> >>>> Von: "andy pugh" <bodge...@gmail.com>
> >>>> An: "EMC developers" <emc-developers@lists.sourceforge.net>
> >>>> Cc: "Steffen Möller" <steffen_moel...@gmx.de>
> >>>> Betreff: Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests
> >> - first impressions
> >>>>
> >>>> On Wed, 27 Dec 2023 at 15:20, Steffen Möller via Emc-developers
> >>>> <emc-developers@lists.sourceforge.net> wrote:
> >>>>
> >>>>> My RPi5 arrived over Xmas and I just fired it up, was offered to
> >> install LinuxCNC directly from what we offer in Debian, and then ran
> >> latency tests.  Graphics (as in video but also the extra art from your X
> >> interface when ALT-tabbing through your applications) have the most
> effect
> >> on the latency. I/O from the SD does not seem to affect it too much.
> >>>>
> >>>> The numbers you show are _awful_ though?
> >>>>
> >>>> It doesn't look like the LinuxCNC installation has installed the
> >>>> correct kernel. (I seem to recall that I had to do a fair bit of
> >>>> fiddling to make it happen, it's a Pi thing)
> >>>
> >>> Rebooted with
> >>> Linux version 6.1.0-rpi7-rpi-2712 (debian-ker...@lists.debian.org)
> >> (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian)
> 2.40)
> >> #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24)
> >>> but do not see any relevant change.
> >>
> >> That's the wrong kernel: "PREEMPT" is not enough, you need "PREEMPT_RT"
> >> in the uname string.
> >>
> >> This is usually the difficult part of getting systems with out-of-tree
> >> vendor-specific kernels to work well with LinuxCNC.
> >>
> >>
> >> --
> >> Sebastian Kuzminsky
> >>
> >>
> >>
> >> _______________________________________________
> >> Emc-developers mailing list
> >> Emc-developers@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
> >>
> >
> > _______________________________________________
> > Emc-developers mailing list
> > Emc-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>   soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>   - Louis D. Brandeis
>
>
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to