Getting this error when I try to load a configurat

More
05 Aug 2015 23:40 #61169 by delco
Getting this error when I try to load a LinuxCNC configuration:

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/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/adelphia/linuxcnc/configs/FlowBengal'
Machine configuration file is 'Bengal.ini'
INIFILE=/home/adelphia/linuxcnc/configs/FlowBengal/Bengal.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
emc/iotask/ioControl.cc 751: can't load tool table.
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1608
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Bengal.hal:21: Pin 'hm2_5i25.0.7i77.0.0.output-00' does not exist
1608
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 108.437115] I-pipe: Domain RTAI registered.
[ 108.437127] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 108.437132] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 108.437193] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 108.437198] PIPELINE layers:
[ 108.437203] f8278e20 9ac15d93 RTAI 200
[ 108.437208] c085cb20 0 Linux 100
[ 108.461740] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 108.461990] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 108.461997] RTAI[sched]: hard timer type/freq = APIC/12500368(Hz); default timing: periodic; linear timed lists.
[ 108.462002] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3200357000 hz.
[ 108.462006] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 108.462859] RTAI[usi]: enabled.
[ 108.522827] RTAI[math]: loaded.
[ 108.649929] hm2: loading Mesa HostMot2 driver version 0.15
[ 108.660781] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 108.660851] hm2_pci 0000:02:01.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 108.660859] hm2_pci: discovered 5i25 at 0000:02:01.0
[ 108.663682] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 108.720835] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 108.720841] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 108.720844] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 108.720848] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[ 108.720852] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 108.720855] hm2/hm2_5i25.0: IO Pin 004 (P3-03): IOPort
[ 108.720859] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 108.720862] hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
[ 108.720867] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 108.720871] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[ 108.720876] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[ 108.720880] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 108.720886] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[ 108.720920] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[ 108.720925] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[ 108.720929] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[ 108.720934] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[ 108.720938] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[ 108.720942] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 108.720945] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 108.720949] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 108.720952] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 108.720955] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 108.720958] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 108.720962] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 108.720966] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[ 108.720970] hm2/hm2_5i25.0: IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[ 108.720974] hm2/hm2_5i25.0: IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[ 108.720978] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[ 108.720983] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[ 108.720987] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[ 108.720991] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[ 108.720995] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[ 108.721000] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[ 108.721004] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[ 108.721105] hm2/hm2_5i25.0: registered
[ 108.721109] hm2_5i25.0: initialized AnyIO board at 0000:02:01.0
[ 109.133995] hm2_5i25.0: dropping AnyIO board at 0000:02:01.0
[ 109.134005] hm2/hm2_5i25.0: unregistered
[ 109.134042] hm2_pci 0000:02:01.0: PCI INT A disabled
[ 109.134078] hm2_pci: driver unloaded
[ 109.138272] hm2: unloading
[ 109.223808] RTAI[math]: unloaded.
[ 109.268886] SCHED releases registered named ALIEN RTGLBH
[ 109.301508] RTAI[malloc]: unloaded.
[ 109.400030] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 109.403269] I-pipe: Domain RTAI unregistered.
[ 109.403345] RTAI[hal]: unmounted.





Anyone know what's causing this?

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

More
05 Aug 2015 23:58 #61170 by PCW

Anyone know what's causing this?


Most likely no field power
The following user(s) said Thank You: delco

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

More
06 Aug 2015 00:02 - 06 Aug 2015 00:02 #61171 by delco
Ahh thanks. That makes sense since I haven't thrown the switch for field power yet, I just wanted to launch the CNC configuration first. This whole project is a lot of 'firsts' for me so I'm really trying to take my time and move slowly so I don't fry a board or crash the damn thing.

I guess I'll just have to give it a shot and trust in the connections.
Last edit: 06 Aug 2015 00:02 by delco.

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

More
06 Aug 2015 00:33 - 06 Aug 2015 00:34 #61172 by delco
okay now that I closed the switch for field power, I'm still getting the error. I tried opening up pncconf to see if I could move the gantry with the open test loop but its throwing 'error 32 boken pipe' could this be because I'm not using ena+- on the 7i77 but rather letting the original circuitry operate the servo enable function?

Also lighting cr15 and cr16 leds on the board. from the manual it looks like this is normal at start up but they should go away. they're not.
Last edit: 06 Aug 2015 00:34 by delco.

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

More
06 Aug 2015 00:51 - 06 Aug 2015 00:52 #61173 by PCW
The broken pipe error is not related to the enables, probably some pncconf bug or reaction to missing I/O

As far as 7I77 pins not found goes, I would check the the 5V cable power options are correct

That is if you are using external 5V for the 7I77 5V power you need to have:

7I77 W5 RIGHT
5I25 W2 DOWN

(and 5V supplied to 7I77 TB1)

If you are using 5I25 cable power to supply the 7I77 5v you need:

7I77 W5 LEFT
5I25 W2 UP

This (Cable 5V power) not recommenced for anything but testing
or if you have very minimal encoder 5V loading

The top two Yellow power LEDs CR1 and CR3) must be on

CR16 (the red LED) should be on solid with power but no communication
If CR15 (the green LED) is on solid you likely have moved the field I/O setup jumper (W12)
to the wrong position
Last edit: 06 Aug 2015 00:52 by PCW.

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

More
06 Aug 2015 02:01 #61174 by delco
Okay so I was mistaken. I got so used to seeing this thing mounted vertically that I forgot the manual assumed a horizontal orientation. I guess you gotta make that mistake once.

I'm uploading a pic just to be sure we're on the same page.

I didn't have W2 on the 5i25 board correctly positioned since I'm currently trying to run 5v from the host computer. cr1 and cr3 appear lit which I suppose is a good thing but It looks like cr6 and cr7 are also lit.

I'm not sure why cr16 is still red. I tried changing the parport address in pnccof to 0X0378 instead of 0X0278 but this did not change CR16

Also, my machine is just an x and y axis hooked up since z is driven manually. Could the board be looking for a z encoder and throwing an error because it doesn't see it?
Attachments:

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

More
06 Aug 2015 02:13 #61175 by PCW
Those LEDS look right if linuxcnc is not running.

CR6 and CR7 are power indicators for the +-13V supplies for the analog section.

The red LED is expected to be on if LinuxCNC is not running and communicating with the card.
Once communication is established the green LED (CR15) should blink at about 1 Hz


There are no parallel ports or port addresses involved
The following user(s) said Thank You: delco

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

More
06 Aug 2015 03:14 #61176 by delco
I found this when googling some of the lines in the error message:


2. LinuxCNC doesn't run - missing lapic

This happens most usually on Ubuntu Lucid/10.04. Error messages like this:
....
Realtime system did not load
....
Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 Operation not permitted
Additionally the following lines are found in dmesg:

....
[ 0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
....
[ 54.798391] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED.
This means your computer has a Local APIC, but it is not enabled. RTAI expects it to be present and enabled to be able to work. You can force it to on by editing:

in /etc/default/grub, change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash lapic"
afterwards run "sudo update-grub" and restart.


I am running the ubuntu package so that seems to make sense, but the error message doesn't contain the 54.798391 line so I'm not sure how to interpret it.

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

More
06 Aug 2015 03:58 #61177 by delco
Also, the bracket that hold the 5i25 and braces it in the back of the computer, is that simply structural or does that also serve a purpose as part of the circuitry?

I bought a card with a standard sized bracket but I actually needed the low profile version. RIght now I removed the bracket and I rigged something else up because I assumed it was only there to support the card.

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

More
06 Aug 2015 04:47 #61179 by PCW
I dont think you have a LAPIC error or linuxcnc would not even start

What are your current errors after you fixed the power and setup jumper issues?

Note that both W12 and W4 must be in the operate position ( LEFT )
for the Field I/O and analog I/O to work

The bracket forms an part of the EMI shielding but the 5I25/7i77 will work fine without a bracket
HOWEVER be very careful as the 5i25 can be pulled out of the PCI socket when powered up
by an accidental tug on the cable, resulting in damage to the 5I25 and or motherboard

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

Time to create page: 0.111 seconds
Powered by Kunena Forum