Parallel port controller issues, can not find address

More
22 Dec 2021 01:25 - 22 Dec 2021 01:53 #229684 by Jake
Well I am not sure what I changed this time other than a reboot and using "0xe010"

I do get a different error message, the parallel port is seeing the PPMC cards.  I am still getting a startup error, and still states there is not a parallel port registered at that address. 
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_vel'
Machine configuration file is 'ppmc.ini'
INIFILE=/home/hurco/linuxcnc/configs/by_interface.pico.ppmc_vel/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): ./vc-p4s.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
No parport registered at 0xe010. This is not always an error. Continuing.

emc/task/emctask.cc 411: interp_error: Parameter file name is missing
Parameter file name is missing
emc/task/emctaskmain.cc 3087: can't initialize interpreter
No option 'tto_g11' in section: 'DEFAULT'
No option 'show_program' in section: 'DEFAULT'
No option 'show_rapids' in section: 'DEFAULT'
No option 'program_alpha' in section: 'DEFAULT'
No option 'show_live_plot' in section: 'DEFAULT'
No option 'show_tool' in section: 'DEFAULT'
No option 'show_extents' in section: 'DEFAULT'
No option 'show_offsets' in section: 'DEFAULT'
No option 'grid_size' in section: 'DEFAULT'
No option 'show_machine_limits' in section: 'DEFAULT'
No option 'show_machine_speed' in section: 'DEFAULT'
No option 'show_distance_to_go' in section: 'DEFAULT'
No option 'dro_large_font' in section: 'DEFAULT'
No option 'block_delete' in section: 'DEFAULT'
No option 'optional_stop' in section: 'DEFAULT'
No option 'recentfiles' in section: 'DEFAULT'
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...
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
EMERGENCY STOP
SPINDLE FAULT
LOW AIR PRESSURE
SERVO FAULT
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
cant resolve path to '/home/jake/linuxcnc/configs/by_interface.pico.ppmc_vel/python/toplevel.py'
Interp ctor: cant instantiate Python plugin
cant resolve path to '/home/jake/linuxcnc/configs/by_interface.pico.ppmc_vel/python/toplevel.py'
Python plugin configure() failed, status = -5
Python plugin required for prolog=, but not available: 70:REMAP = M6 modalgroup=8 prolog=change_prolog ngc=toolchange epilog=change_epilog
Python plugin required for epilog=, but not available: 70:REMAP = M6 modalgroup=8 prolog=change_prolog ngc=toolchange epilog=change_epilog
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.
1620
Stopping realtime threads
Unloading hal components
PPMC: shutting down
Note: Using POSIX realtime


Last edit: 22 Dec 2021 01:53 by Jake.

Please Log in or Create an account to join the conversation.

  • ALittleOffTheRails
  • ALittleOffTheRails's Avatar
  • Visitor
  • Visitor
22 Dec 2021 01:59 - 22 Dec 2021 01:59 #229686 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic Parallel port controller issues, can not find address
Try this one
sudo lspci -vn

Anyways there is a ini isssue. Can you post your hal, ini & any other files needed to run this config.
Last edit: 22 Dec 2021 01:59 by ALittleOffTheRails.

Please Log in or Create an account to join the conversation.

More
22 Dec 2021 02:08 #229687 by Jake
When I went to the 2.8x It ran a script to updsate the /.ini file.  It seems as now that some of the changes that may have been made have made it angry.  I wonder if it will run if I just load my old .ini up.....


 

Please Log in or Create an account to join the conversation.

More
22 Dec 2021 02:09 #229688 by Jake
sudo lspci -vn

04:00.0 0701: 9710:9900 (prog-if 03 [IEEE1284])
Subsystem: a000:2000
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at e010
I/O ports at e000
Memory at f7c01000 (32-bit, non-prefetchable) [size=4K]
Memory at f7c00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [800] Advanced Error Reporting

Please Log in or Create an account to join the conversation.

More
22 Dec 2021 02:54 #229691 by tommylight
Forget that, it is finding PPMC, so that is good.
The issues are with missing python stuff used in remap.
The following user(s) said Thank You: Jake

Please Log in or Create an account to join the conversation.

More
22 Dec 2021 03:05 #229692 by Jake
I just wish I knew what one thing got it to that point. I'll start digging through the files in the morning to see what Python pieces are missing.

Thanks again everyone!

Please Log in or Create an account to join the conversation.

  • ALittleOffTheRails
  • ALittleOffTheRails's Avatar
  • Visitor
  • Visitor
22 Dec 2021 03:07 #229693 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic Parallel port controller issues, can not find address
Can you reboot & try
sudo dmesg | grep -i parport
sudo ls /dev/par*
lsmod

If you haven't any modules blacklisted parport_pc should load.

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
22 Dec 2021 14:30 #229730 by Todd Zuercher
Replied by Todd Zuercher on topic Parallel port controller issues, can not find address
Does this file "/home/jake/linuxcnc/configs/by_interface.pico.ppmc_vel/python/toplevel.py" exist in it's specified location?

Please Log in or Create an account to join the conversation.

More
22 Dec 2021 16:39 - 22 Dec 2021 17:17 #229744 by Jake

Does this file "/home/jake/linuxcnc/configs/by_interface.pico.ppmc_vel/python/toplevel.py" exist in it's specified location?


 

 
 


 

 

Thanks Todd !! that was one of the problems, on to the next one.... With the script running it puts the python address all the way at  the bottom of the file. 
I was able to get it to start after fixing spindle.xml which the upgrade script had blanked the file out.  The latency is pretty high, even after cranking servo period to 5,000,000 its still not real happy.  Looks like with the later RTAI there is no more ISOCPUS to be done.  I am getting an "unexpected real time delay on task 0 with period 5000000" 

There is a pop up box that it is not happy with axis.ngc.  Is there a way to get LCNC to start without opening this axis.ngc file ?
" near line 0 of /usr/share/axis/images/axis.ngc: exception during generator call: Type error: 'nonetype' object not callable

I am still getting the error that "no paraport is registered at 0xe010"

so I have some more items to work through.  At least it is starting at the moment, making progress.  Huge thanks to of of you for getting me running again.
Last edit: 22 Dec 2021 17:17 by Jake.

Please Log in or Create an account to join the conversation.

More
22 Dec 2021 19:03 #229753 by Jake
changing the "return" to "yield" in stdglue.py fixed the initial pop up box. Now the graphics in axis function. I would load another .ngc file and would have no graphics of the tool path. That is solved.

I have gone through and eliminated all the viturization and power management in the bios. The latency is still high. Jitter really only gets up to 15000, the max interval servo will got over the 5m and get the latency message.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum