Parallel port controller issues, can not find address
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
03 Jan 2022 15:32 #230658
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
It was the parallel port direction that was hanging me up.
With the parallel port card that is in there and the PICO PPMC
loadrt hal_ppmc epp_dir=1
I am back to the locking up issue, it just locks up the pc when you start LCNC. I am using the onboard video at the moment with no ISOLCPU's. All the optimization, power, turbo.....is all disabled in the bios. I think I have some bare bones older video cards around I am going to look for. I have found in the past that can cause this also.
With the parallel port card that is in there and the PICO PPMC
loadrt hal_ppmc epp_dir=1
I am back to the locking up issue, it just locks up the pc when you start LCNC. I am using the onboard video at the moment with no ISOLCPU's. All the optimization, power, turbo.....is all disabled in the bios. I think I have some bare bones older video cards around I am going to look for. I have found in the past that can cause this also.
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
04 Jan 2022 21:25 - 04 Jan 2022 21:28 #230800
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
It is at least attempting to start and not lock up at the moment. Made a bios change on how cores are handling which seems like it has so far not locked up again.
Need to work through the next round of why its not happy now. The latency test and Histogram both do not show the latency going over the 1.5M so it seems to me that it may still be locking up momentarily, but working through it. This is a Dell Optiplex 9020 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, which I have seen another recent thread of his working great. Kinda wondering if I need to find another PC
Need to work through the next round of why its not happy now. The latency test and Histogram both do not show the latency going over the 1.5M so it seems to me that it may still be locking up momentarily, but working through it. This is a Dell Optiplex 9020 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, which I have seen another recent thread of his working great. Kinda wondering if I need to find another PC
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.2-11-g6a3d0a434
Machine configuration directory is '/home/hurco/linuxcnc/configs/by_interface.pico.ppmc'
Machine configuration file is 'ppmc.ini'
INIFILE=/home/hurco/linuxcnc/configs/by_interface.pico.ppmc/ppmc.ini
VERSION=1.1
PARAMETER_FILE=ppmc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./ppmc_load.hal
Found file(REL): ./ppmc_servo.hal
Found file(REL): ./ppmc_motion.hal
Found file(REL): ./ppmc_io.hal
Found file(REL): ./toolchange_index.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
No parport registered at 0xe010. This is not always an error. Continuing.
emc/task/taskclass.cc 195: Command to IO level (EMC_LUBE_OFF: +1505,+24, +0,) timed out waiting for last command done.
emc/task/taskclass.cc 198: emcIoStatus->echo_serial_number=1, emcIoCommandSerialNumber=2, emcIoStatus->status=1
emc/task/taskclass.cc 203: Last command sent to IO level was (EMC_AUX_ESTOP_ON: +1206,+24, +2,)
Unexpected realtime delay on task 0 with period 1500000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
Shutting down and cleaning up LinuxCNC...
task: 57 cycles, min=0.000034, max=0.010079, avg=0.009528, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
PPMC: bus 0 epp_dir = 1
No parport registered at 0xe010. This is not always an error. Continuing.
PPMC: bus 1 epp_dir = 0
PPMC: bus 2 epp_dir = 0
PPMC: checking EPP bus 0 at port E010
PPMC: slot 0: ID code: 15 PPMC encoder card 0
PPMC: exporting encoder timestamp pins
PPMC: exporting encoder pins / params
read cache bitmap: 03ff1fff
write cache bitmap: 00002000
PPMC: slot 2: nothing detected at addr 2 reads 2f
PPMC: slot 3: nothing detected at addr 3 reads 3f
PPMC: slot 4: ID code: 23 PPMC DAC card
PPMC: exporting PPMC DAC
read cache bitmap: 00000000
write cache bitmap: 000000ff
PPMC: slot 5: nothing detected at addr 5 reads 5f
PPMC: slot 6: ID code: 34 PPMC Digital I/O card
PPMC: exporting PPMC digital inputs
PPMC: exporting as MASTER D In
PPMC: exporting PPMC digital outputs
PPMC: master DIO at # 8
PPMC: exporting as MASTER D Out
read cache bitmap: 00000007
write cache bitmap: 00000007
PPMC: slot 7: ID code: 34 PPMC Digital I/O card
PPMC: exporting PPMC digital inputs
PPMC: exporting as SLAVE D In
PPMC: exporting PPMC digital outputs
PPMC: slave DIO addr 72
PPMC: slave DIO # 8
PPMC: exporting as SLAVE D Out
read cache bitmap: 00000003
write cache bitmap: 00000001
PPMC: slot 8: nothing detected at addr 8 reads 8f
PPMC: slot 9: nothing detected at addr 9 reads 9f
PPMC: slot 10: nothing detected at addr a reads af
PPMC: slot 11: nothing detected at addr b reads bf
PPMC: slot 12: nothing detected at addr c reads cf
PPMC: slot 13: nothing detected at addr d reads df
PPMC: slot 14: nothing detected at addr e reads ef
PPMC: slot 15: nothing detected at addr f reads ff
PPMC: bus 0 complete
Unexpected realtime delay on task 0 with period 1500000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
note: MAXV max: 5.000 units/sec 300.000 units/min
note: LJOG max: 5.000 units/sec 300.000 units/min
note: LJOG default: 0.150 units/sec 9.000 units/min
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
914
964
Stopping realtime threads
Unloading hal components
PPMC: shutting down
Note: Using POSIX realtime
-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.
Date: Tue 04 Jan 2022 03:18:55 PM CST
UTC Date: Tue 04 Jan 2022 09:18:55 PM UTC
this program: /usr/bin/linuxcnc_info
uptime: 15:18:55 up 4 min, 1 user, load average: 0.33, 0.52, 0.25
lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/hurco/linuxcnc/configs/by_interface.pico.ppmc
USER: hurco
LOGNAME: hurco
HOME: /home/hurco
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1280x1024 pixels (338x270 millimeters)
PATH: /usr/bin:/home/hurco/linuxcnc/configs/by_interface.pico.ppmc/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
uname items:
nodename -n: hurco
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.194-2 (2021-06-21)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux
/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-17-rt-amd64 root=UUID=c44ca8cc-edca-4da5-9792-8205b33c31cb ro initrd=/install/gtk/initrd.gz quiet
model name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
cores: 4
cpu MHz: 3392.485
parport:
serial: 0000-0000 : serial
Versions:
gcc: gcc (Debian 8.3.0-6) 8.3.0
python: Python 2.7.16
git: not_in_PATH
git commit: NA
tcl: 8.6
tk: 8.6
glade: not_in_PATH
glade-gtk2: not_in_PATH
linuxcnc_var all:
LINUXCNCVERSION: 2.8.2-11-g6a3d0a434
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-=====================-============-=====================================================================
un linuxcnc <none> <none> (no description available)
un linuxcnc-dev <none> <none> (no description available)
un linuxcnc-doc <none> <none> (no description available)
ii linuxcnc-doc-en 1:2.8.2.11.g6a3d0a434 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.8.2.11.g6a3d0a434 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.8.2.11.g6a3d0a434 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <none> <none> (no description available)
un linuxcnc-sim-dev <none> <none> (no description available)
ii linuxcnc-uspace 1:2.8.2.11.g6a3d0a434 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.8.2.11.g6a3d0a434 amd64 PC based motion controller for real-time Linux
Last edit: 04 Jan 2022 21:28 by Jake.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
04 Jan 2022 22:26 #230802
by tommylight
Replied by tommylight on topic Parallel port controller issues, can not find address
Those Dell's are very good, have several of them in SFF size in use daily, but it seems you have not disabled the cr@p in BIOS like hyperthreading, speedstep, turbo, etc etc, as you are getting huge latency excursions.
The issue with :
A configuration error is preventing LinuxCNC from starting.
I get that only when the power goes off while LinuxCNC is running gcode, restoring the config from backups always fixes it.
The issue with :
A configuration error is preventing LinuxCNC from starting.
I get that only when the power goes off while LinuxCNC is running gcode, restoring the config from backups always fixes it.
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
05 Jan 2022 18:26 #230884
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
SATA operation is on "RAID ON" I need to look into that, I thought I had found a thread where there were some issues with RAID vs AHCI causing performance problems.
Integrated NIC is enabled
serial port = disabled
audio = disabled
smart reporting = disabled
video is set to internal HD graphics
In security CPU XD support is enabled at the moment (I have not touched it )
It says this option enables or disabled the execute disable mode of the processor. The operating system can use this feature to finder software that exploits the buffer overflows.
I am going to try this one on the next startup to see if anything changes
mulitcore support = ALL
Intel speedstep =disabled
Cstates constrol = disabled
limit cpuid = disabled
intel turbo boost = disabled
hyper thread control = disabled
rapid start = disabled
deep sleep control = disabled
fan control override = disabled
usb wake support = disabled
wake on lan = disabled
block sleep S3 state = enabled
intel smart connect = disabled
virtualization = disabled
VT for direct IO = disabled
trusted execution = disabled
Integrated NIC is enabled
serial port = disabled
audio = disabled
smart reporting = disabled
video is set to internal HD graphics
In security CPU XD support is enabled at the moment (I have not touched it )
It says this option enables or disabled the execute disable mode of the processor. The operating system can use this feature to finder software that exploits the buffer overflows.
I am going to try this one on the next startup to see if anything changes
mulitcore support = ALL
Intel speedstep =disabled
Cstates constrol = disabled
limit cpuid = disabled
intel turbo boost = disabled
hyper thread control = disabled
rapid start = disabled
deep sleep control = disabled
fan control override = disabled
usb wake support = disabled
wake on lan = disabled
block sleep S3 state = enabled
intel smart connect = disabled
virtualization = disabled
VT for direct IO = disabled
trusted execution = disabled
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
05 Jan 2022 18:39 #230885
by tommylight
Replied by tommylight on topic Parallel port controller issues, can not find address
SATA set to AHCI
Also check if it has something like "integrated graphic memory size" and set it to 64MB or 128MB or 256MB, depending on how much RAM you have.
Also check if it has something like "integrated graphic memory size" and set it to 64MB or 128MB or 256MB, depending on how much RAM you have.
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
05 Jan 2022 18:57 #230886
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
ok changed to AHCI. Still locking up, I get the axis toolchanger pop up momentarily, and the gcode error near line 1, then its frozen.
Can't think of the last time I got this kinda butt whipping.
I have been thinking about getting a SSD for this machine also.
I do not have any options on display. Only Auto or Internal, no additional graphics info anywhere. It does have the current BIOS version also.
Can't think of the last time I got this kinda butt whipping.
I have been thinking about getting a SSD for this machine also.
I do not have any options on display. Only Auto or Internal, no additional graphics info anywhere. It does have the current BIOS version also.
Please Log in or Create an account to join the conversation.
- ALittleOffTheRails
- Visitor
05 Jan 2022 21:35 #230903
by ALittleOffTheRails
Replied by ALittleOffTheRails on topic Parallel port controller issues, can not find address
Ok lets get some info.
"Frozen" does that mean Linuxcnc locks up or the whole system becomes unresponsive ?
If it is just Linuxcnc have you looked in the logs to see what may have happened ? It could be any of the logs in /var/log ?
If the whole system locks up when you reboot and before restarting Linuxcnc have you checked the logs ?
Have you tried running any of the sims ?
Have you tried running one of the PP configs, first run will fail because of the port address. So what you will have to do is change the port address to match your system. obviously you would have to disconnect your hardware from the parallel port.
Have you tried removing the ram, cleaning the ram & ram socket contacts ?
Have you tried running a memory test ?
"Frozen" does that mean Linuxcnc locks up or the whole system becomes unresponsive ?
If it is just Linuxcnc have you looked in the logs to see what may have happened ? It could be any of the logs in /var/log ?
If the whole system locks up when you reboot and before restarting Linuxcnc have you checked the logs ?
Have you tried running any of the sims ?
Have you tried running one of the PP configs, first run will fail because of the port address. So what you will have to do is change the port address to match your system. obviously you would have to disconnect your hardware from the parallel port.
Have you tried removing the ram, cleaning the ram & ram socket contacts ?
Have you tried running a memory test ?
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
06 Jan 2022 14:05 #230960
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
Ok lets get some info.
"Frozen" does that mean Linuxcnc locks up or the whole system becomes unresponsive ?
Yes whole system is unresponsive, I have tried to leave it to see if it comes back. Nothing, have to power cycle to get it to restart
If it is just Linuxcnc have you looked in the logs to see what may have happened ? It could be any of the logs in /var/log ?
If the whole system locks up when you reboot and before restarting Linuxcnc have you checked the logs ?
I have not checked the logs, I will head out there and do it now
Have you tried running any of the sims ?
Have you tried running one of the PP configs, first run will fail because of the port address. So what you will have to do is change the port address to match your system. obviously you would have to disconnect your hardware from the parallel port.
Have you tried removing the ram, cleaning the ram & ram socket contacts ?
I pulled the ram, cleaned and re-installed.
After doing this it will not boot, it attempts to start and shuts back down. It did this years ago and it was thought to be a power supply. I replaced the PSU and problem went away. It appears that it is back, now I think there is something wrong with the motherboard, as removing the ram and reinstalling it upset it. I have completely lost my patience with this machine. It is about to get sent to orbit. I ordered another 9020 from a refurb shop with a SSD already in it. I have seen multiple other people with 9020's that have had good luck. I have never had such a problem getting LCNC up and running.
Have you tried running a memory test ?
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
15 Jan 2022 02:24 #231843
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
New refurbed 9020 it's back and running again!
I still have a bunch of little work.
Axis runs, but my spindle speed indicator does not now. No big deal, hoping to move to qtdragon anyway.
I still need to get the pendent going it's a Vista CNC and the move to 2.8 didn't work. I don't think that will be too much of a project.
Getting the ELO touchscreen back and running is kicking my butt. lsusb does not show it's there. I installed the 3 touchscreen packages. I'll get back and rolling on it in the morning.
Finally some headway! No latency issues. I still do get the " no parallel port assigned....." Error but it's there and functional. The message is just kinda annoying.
I still have a bunch of little work.
Axis runs, but my spindle speed indicator does not now. No big deal, hoping to move to qtdragon anyway.
I still need to get the pendent going it's a Vista CNC and the move to 2.8 didn't work. I don't think that will be too much of a project.
Getting the ELO touchscreen back and running is kicking my butt. lsusb does not show it's there. I installed the 3 touchscreen packages. I'll get back and rolling on it in the morning.
Finally some headway! No latency issues. I still do get the " no parallel port assigned....." Error but it's there and functional. The message is just kinda annoying.
Please Log in or Create an account to join the conversation.
- ALittleOffTheRails
- Visitor
15 Jan 2022 06:17 #231861
by ALittleOffTheRails
Replied by ALittleOffTheRails on topic Parallel port controller issues, can not find address
Congrats dude.
If you finally get it recognised I found this utility great to sort it all out.
forum.linuxcnc.org/18-computer/42384-touch-screens#207192
does it come up in:
If you finally get it recognised I found this utility great to sort it all out.
forum.linuxcnc.org/18-computer/42384-touch-screens#207192
does it come up in:
xinput list
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds