Help Please


I get the following error message when starting emcpanel
:
trying emcError...shmget(1003(0x3EB),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 occured during SHMEM create.

Does this mean it did not find the function or the function failed?

I have 32 Meg of memory and liloconf set with  append="mem=31m"
The EMC documentation tells me I must us /dev/rtf0  31,0 but rtlinux can
not open them if I do that?  The rtlinux Makefile sets them to /dev/rtf0
150,0 then all the rtlinux demos run fine.  I have SHMEM_BASE_ADDRESS =
0x1F00000 in the emc's ini files.

What am I doing wrong?  How does rtlinux know the share begins at 31m?

Thanks in advance.

Jim Hopkins

Custom Computer Software
http://www.jimhopkins.com
voice 540-972-3027

Platform:
Linux Slackware Version 3.5
RT_Linux 1.3 installed
/usr/local/jdk1.1.3 installed as /usr/local/jdk
emc software for kernel 2_0_36 dated Nov 12,1999

Linux changes I have made:

real path to gcc-lib files:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29
Add symbolic links to make path appear to be:
/usr/lib/gcc-lib/ i386-linux/2.7.2.1

Defined DBL_MAX in /usr/lib/gcc-lib/ i386-linux/2.7.2.1/include/limits.h

The ONLY change I have made to EMC code:
Reason: A floating point math function was not in /usr/lib/libm.a
Made the symbolic link libgcc.a in /usr/lib
pointing to:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29/libgcc.a
In file:/use/local/nist/emc/src/emcmot/Makefile
after each -lm (I added  -lgcc ) so the linker could find the missing
math function.





Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact