Greetings all;
Preparatory to a major reconfiguration of my go704, I just ran my apt
update it all script pulling in the latest buildbot's uspace stuff.
I had previously copied the config directory to a new config because the
first thing I have to do is move the spindle's controls from pwmgen.1
back to pwmgen.0 to free up the stepgen.3 stuff for a new axis A I've built.
So the first thing is rename the .ini and .hal files to include 3-axis,
which I did ok. Then I tried to run geany on the .hal file.
Item, that apt script rebuilt the initrd. So I've now reboot that machine.
ssh -Y GO704, login ok.
cd back to linuxcnc/configs/GO704-5i25-7i76-camera-3axis
geany GO704-5i25-7i76-camera-3axis.hal and get this:
Unable to init server: Could not connect: Connection refused
Geany: cannot open display
WTH?
So I go out to the machine, login, do the stuff I need to do to make it
back to a 3 axis machine, close out geany and type linuxcnc without the
-l so I can select the new config, get the selector screen which is not
resizable to show the full name, and find the only output I can get in
the right panel is a single line saying "no details available" or
totally blank, for any config of mine clear back to day one. The sims
are spotty, some show the usual propaganda some don't.
Is this an linuxcnc thing, or is debian trying to force us to update to
bookworm? Something I am not about to inflict on my machines given the
problems I have with bookworm on this machine. For instance, my /home
partition is 4 1T SamSung SSD in a software raid10 configuration. Apps
that need to open a file requestor into this raid, take from 30 seconds
to 5 minutes after clicking the save button, just to open the requestors
display window.
So now curious, I goto the ssh login on the 6040 and type linuuxcnc -l,
getting this:
gene@sixty40:~$ linuxcnc -l
LINUXCNC - 2.10.0-pre0-1810-gfb6b0f6c3
Machine configuration directory is '/home/gene/linuxcnc/configs/xyzb'
Machine configuration file is 'xyzb.ini'
Starting LinuxCNC...
tooldata_read_entry():comment for toolno 6 truncated to 39 chars:
<0.052 pcb component lead clearance dril>
tooldata_read_entry():comment for toolno 7 truncated to 39 chars:
<placeholder pcb bigger component cleara>
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./xyzb.hal
identityKinematicsSetup: coordinates:xyzb
Joint 0 ==> Axis X
Joint 1 ==> Axis Y
Joint 2 ==> Axis Z
Joint 3 ==> Axis B
identityKinematicsSetup: Recommend: kinstype=both
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:01:02.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): PWMGen #0, pin Out1 (Dir or
Down) (Output)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): PWMGen #0, pin Out0 (PWM or Up)
(Output)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface #0, pin
tx0 (Output)
hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface #0, pin
rx0 (Input)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): PWMGen #1, pin Out1 (Dir or
Down) (Output)
hm2/hm2_5i25.0: IO Pin 026 (P2-06): PWMGen #1, pin Out0 (PWM or Up)
(Output)
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:01:02.0
Axis Z Fault rehome Z required
Axis B Fault rehome B required
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 65, in <module>
app = tkinter.Tk(className="AxisToolChanger")
File "/usr/lib/python3.7/tkinter/__init__.py", line 2023, in __init__
self.tk = _tkinter.create(screenName, baseName, className,
interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
tooldata_read_entry():comment for toolno 6 truncated to 39 chars:
<0.052 pcb component lead clearance dril>
tooldata_read_entry():comment for toolno 7 truncated to 39 chars:
<placeholder pcb bigger component cleara>
Axis Z Fault rehome Z required
Axis B Fault rehome B required
Traceback (most recent call last):
File "/usr/bin/axis", line 123, in <module>
root_window = Tkinter.Tk(className="Axis")
File "/usr/bin/axis", line 47, in __init__
OldTk.__init__(self, *args, **kw)
File "/usr/lib/python3.7/tkinter/__init__.py", line 2023, in __init__
self.tk = _tkinter.create(screenName, baseName, className,
interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
Shutting down and cleaning up LinuxCNC...
task: 0 cycles, min=0.000007, max=0.005082, avg=-1.000000, 0 latency
excursions (> 10x expected cycle time of 0.005000s)
hm2_5i25.0: dropping AnyIO board at 0000:01:02.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7f0de992a000
hm2_pci: driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the
log:
/home/gene/linuxcnc_debug.txt
and
/home/gene/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
gene@sixty40:~$
That machine was working flawlessly a week ago, and has been updated
once since. So its out of business now.
The storm late last week finished off the ups on my pi running the lathe
but pending poor weather made me unplug it last night, and tlm is down
for power control mods, so I am totally out of business. Battery has
two shorted cells, expected, its 7 years old. Battery ordered.
What do I do now, folks?
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
Genes Web page <http://geneslinuxbox.net:6309/>
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers