LinuxCNC terminates with an error during startup
- RalphHinkley
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
18 Sep 2014 08:34 #51296
by RalphHinkley
LinuxCNC terminates with an error during startup was created by RalphHinkley
Hello,
Thank you in advance to everyone willing help.
I recently put together a zentoolworks 12x12 milling machine with the pre-assembled mach3 controller. I know that others have been able to use LinuxCNC on machines like these, but I can't seem to even get out of the starting gate so far.
Currently my biggest difficulty is that the main program terminates with an error after I select a configuration. It gives me the following output:
On the recommendation of another thread where someone had a similar problem, I have disabled C1E in my BIOS and disabled the propietary display drivers on my system. Does this problem make sense to anyone? Any help would be GREATLY appreciated!
Thank you in advance to everyone willing help.
I recently put together a zentoolworks 12x12 milling machine with the pre-assembled mach3 controller. I know that others have been able to use LinuxCNC on machines like these, but I can't seem to even get out of the starting gate so far.
Currently my biggest difficulty is that the main program terminates with an error after I select a configuration. It gives me the following output:
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.4
Machine configuration directory is '/home/clay/linuxcnc/configs/Claymill1'
Machine configuration file is 'Claymill1.ini'
INIFILE=/home/clay/linuxcnc/configs/Claymill1/Claymill1.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1533
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
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busy
Claymill1.hal:7: exit value: 1
Claymill1.hal:7: insmod failed, returned -1
See the output of 'dmesg' for more information.
1533
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 37.335081] I-pipe: Domain RTAI registered.
[ 37.335089] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 37.335091] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 37.335241] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 37.335244] PIPELINE layers:
[ 37.335247] f863ae20 9ac15d93 RTAI 200
[ 37.335249] c085cb20 0 Linux 100
[ 37.366835] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 37.367114] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 37.367119] RTAI[sched]: hard timer type/freq = APIC/12500358(Hz); default timing: periodic; linear timed lists.
[ 37.367122] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2200158000 hz.
[ 37.367125] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 37.367217] RTAI[usi]: enabled.
[ 37.421570] RTAI[math]: loaded.
[ 37.539888] config string '0x378 out 0x3BC out '
[ 37.540004] PARPORT: ERROR: request_region(0x3bc) failed
[ 38.349141] RTAI[math]: unloaded.
[ 38.365641] SCHED releases registered named ALIEN RTGLBH
[ 38.428249] RTAI[malloc]: unloaded.
[ 38.528053] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 38.530951] I-pipe: Domain RTAI unregistered.
[ 38.531126] RTAI[hal]: unmounted.
On the recommendation of another thread where someone had a similar problem, I have disabled C1E in my BIOS and disabled the propietary display drivers on my system. Does this problem make sense to anyone? Any help would be GREATLY appreciated!
Please Log in or Create an account to join the conversation.
18 Sep 2014 13:35 - 18 Sep 2014 16:29 #51301
by ArcEye
Replied by ArcEye on topic LinuxCNC terminates with an error during startup
Hi
The error is that your second parport address is wrong
Assuming that it is a PCI card, seems too low an address,
from a terminal run
sudo lspci -vv > lspci.txt and attach the resultant file lspci.txt.
NB.
You also have it set to output mode.
It would be unusual to require so many OUT pins, mostly the second port is set to provide extra inputs
regards
[ 37.539888] config string '0x378 out 0x3BC out '
[ 37.540004] PARPORT: ERROR: request_region(0x3bc) failed
The error is that your second parport address is wrong
Assuming that it is a PCI card, seems too low an address,
from a terminal run
sudo lspci -vv > lspci.txt and attach the resultant file lspci.txt.
NB.
You also have it set to output mode.
It would be unusual to require so many OUT pins, mostly the second port is set to provide extra inputs
regards
Last edit: 18 Sep 2014 16:29 by ArcEye.
Please Log in or Create an account to join the conversation.
- RalphHinkley
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
20 Sep 2014 01:29 #51362
by RalphHinkley
Replied by RalphHinkley on topic LinuxCNC terminates with an error during startup
Thanks for your response! I really appreciate the help.
I am using a parport card. The computer I'm using doesn't have a Parallel port of it's own.
I attached the txt file, you should be able to see what's going on. Thanks again!
I am using a parport card. The computer I'm using doesn't have a Parallel port of it's own.
I attached the txt file, you should be able to see what's going on. Thanks again!
Please Log in or Create an account to join the conversation.
- RalphHinkley
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
20 Sep 2014 01:44 #51363
by RalphHinkley
Replied by RalphHinkley on topic LinuxCNC terminates with an error during startup
HOLY @#&! The programs starts!
Based on your advice about my parport having the wrong address, I ran lspci -v to see the addresses of the parpart. This time I changed the first parport address to d000. It lists 6 addresses, so I picked the lowest number and figured I'd just try each one. Anyway, low and behold the programs opens!
Thank you thank you thank you!
Based on your advice about my parport having the wrong address, I ran lspci -v to see the addresses of the parpart. This time I changed the first parport address to d000. It lists 6 addresses, so I picked the lowest number and figured I'd just try each one. Anyway, low and behold the programs opens!
Thank you thank you thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds