CAD CAM EDM DRO - Yahoo Group Archive

Re: LINUX/EMC Help

Posted by Matt Shaver
on 1999-07-02 16:04:53 UTC
> From: Bob Bachman <bobach@...>
> I get the error message " 'nknown option '- . This is caused by the first
> line in the run prog which is #!/bin/csh -f .

1. Are you logged in as 'root'?

2. Is this really the very FIRST line in the file? There can't be any blank
lines or comments before this line. You can probably remove the "-f" from
this as well if that helps.

3. Reboot to get rid of all the installed modules, etc. and do this by hand
rather than by script. As user root from a terminal window in X do:

cd /usr/local/nist/emc

insmod -v /usr/src/rtl/modules/rtl_sched

insmod -v /usr/local/nist/emc/plat/rtlinux_09J/lib/steppermod.o
SHMEM_BASE_ADDRESS=0x1300000 PARPORT_IO_ADDRESS=0x378

plat/linux_2_0_36/bin/mmio -ini 64stepper.ini &

plat/linux_2_0_36/bin/mmtask -ini 64stepper.ini &

plat/linux_2_0_36/bin/xemc -ini 64stepper.ini

The long commands may wrap to the next line in the terminal window, that's
OK, just hit ENTER at the end. If you are using a different .ini file just
substitute the correct name, do the same if your parallel port is at a
different address. This should get the EMC started without all the fancy
error checking stuff in that script file. Let me know if you get any errors
from this procedure.

Matt

Discussion Thread

WAnliker@x... 1999-06-20 14:51:36 UTC LINUX/EMC Help Tim Goldstein 1999-06-20 16:56:43 UTC Re: LINUX/EMC Help WAnliker@x... 1999-06-20 22:53:24 UTC Re: LINUX/EMC Help Jon Elson 1999-06-20 23:09:23 UTC Re: LINUX/EMC Help WAnliker@x... 1999-06-20 23:14:35 UTC Re: LINUX/EMC Help FRED MAY 1999-06-21 04:29:21 UTC Re: LINUX/EMC Help Tim Goldstein 1999-06-21 07:42:01 UTC Re: LINUX/EMC Help Don Hughes 1999-06-21 08:53:51 UTC Re: LINUX/EMC Help paul@x... 1999-06-21 10:19:47 UTC Re: LINUX/EMC Help Jon Elson 1999-06-21 12:50:14 UTC Re: LINUX/EMC Help Jon Elson 1999-06-21 13:16:18 UTC Re: LINUX/EMC Help Jon Anderson 1999-06-21 19:19:17 UTC Re: LINUX/EMC Help Bob Bachman 1999-07-02 18:34:30 UTC Re: LINUX/EMC Help Matt Shaver 1999-07-02 16:04:53 UTC Re: LINUX/EMC Help Matt Shaver 1999-07-02 16:16:45 UTC Re: LINUX/EMC Help Tim Goldstein 1999-07-02 18:53:36 UTC Re: LINUX/EMC Help