Re: TkEmc install help
- Subject: Re: TkEmc install help
- From: Will Shackleford <shackle-at-cme.nist.gov>
- Date: Tue, 13 Feb 2001 08:28:13 -0500
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii; format=flowed
- References: <OF575F89C3.59838750-ON872569F1.007557D6-at-inel.gov>
- User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-rtl2.2 i586; en-US; m18) Gecko/20001107 Netscape6/6.0
The NML config file is setup so that the TASK program (minimilltask or
bridgeporttask) is the "master" for emcCommand and must be running
before emcsh is started. The IO program (minimillio, bridgeportio or
simio) is the master for some other channels so you will probably need
to start that as well although I don't see any errors for this in the
log. The motion program is not an NML master for anything but it is
still needed for task to run.
If you don't want to get use one of the .run scripts you could do
something like.
./plat/linux_2_2_13/bin/emcmotsim -ini emc.ini &
./plat/linux_2_2_13/bin/simio -ini emc.ini &
./plat/linux_2_2_13/bin/bridgeporttask -ini emc.ini &
./plat/linux_2_2_13/bin/tkemc -ini emc.ini &
-- Will
RJH-at-inel.gov wrote:
>
> Thanks for the reply,
>
> This is my emcerr.log
>
> /usr/src/rtlinux-2.0/linux/include/linux/tty.h:340: warning: array `ldiscs'
> assumed to have one element
> /usr/src/rtlinux-2.0/linux/include/linux/sched.h:48: warning: array
> `avenrun' assumed to have one element
> /usr/src/rtlinux-2.0/linux/include/asm/processor.h:93: warning: array
> `cpu_data' assumed to have one element
>
> Just for grins, I ran plat/linux_2_2_13/bin/emcsh and get a whole string of
> errors. It mentions not having an emc.nml file but I have one in me
> /usr/local/nist/emc directory. The following is a partial printout, it goes
> on for a while until it times out. I don't know if this is a valid test or
> not.
>
> _shm.c 543: shmget(1001(0x3E9),8192,0) failed: (errno = 2): No such file or
> directory
> cms_cfg.cc 1071: cms_config: -4(CMS_NO_MASTER_ERROR: An error occured
> becouse the master was not started.) Error occured during SHMEM create.
> nml.cc 479: NML: cms_config returned -1.
>
> **********************************************************
> * Current Directory = /usr/local/nist/emc
> * -at-(#)$Info: RCS_LIBRARY_VERSION 4.37 Compiled on Feb 8 2001 at 16:00:01
> for the linux_2_2_13 platform with compiler version 2.95.2 20000220 (Debian
> GNU/Linux) $ .
>
> **********************************************************
> * BufferName = emcCommand
> * BufferType = 0
> * ProcessName = xemc
> * Configuration File = emc.nml
> * CMS Status = -4 (CMS_NO_MASTER_ERROR: An error occured becouse the master
> was not started.)
> * Recent errors repeated:
>
> shmget(1001(0x3E9),8192,0) failed: (errno = 2): No such file or directory
>
> cms_config: -4(CMS_NO_MASTER_ERROR: An error occured becouse the master was
> not started.) Error occ
> NML: cms_config returned -1.
>
> * BufferLine: B emcCommand SHMEM localhost 8192 0
> 0 1 12 1001 TCP=5005 disp
> * ProcessLine: P xemc emcCommand LOCAL localhost W
> 0 10.0 0 10
> * Config File = emc.nml
> * error_type = 0 (NML_NO_ERROR)
> ************************************************************
>
> Thanks again,
>
> Ron
--
---------------------------------------------------------------
William Penn Shackleford III shackle-at-nist.gov
National Institute of Standards & Technology Tel: (301) 975-4286
100 Bureau Drive Stop 8230 FAX: (301) 990-9688
Gaithersburg MD 20899 USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact