Re: [Emc-users] Problem on EMC2 starting with rtai_hall.ko

2008-09-25 Thread Евгений Александрович

 sounds like rtai is already loaded. Either you compiled it into the kernel, 
 not as a module.
What do you mean. Did I somesing worng in kernel?

 Or you had a latency test still running, or the last time you had realtime 
 run there was some problem during unload.
 A lsmod should tell you more, and a reboot will probably cure it.
Reboot is not solution. I tried it many times.
At bottom is my log after reboot

  I user VMWare machine under WinXP
 
 I do that too sometimes without problems. (I don't expect to run any real 
 machine this way..)

Any way I will try to install on real machine. 

 EMC DEBUG FILE
Stopping realtime threads
Unloading hal components

 EMC PRINT FILE
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/local/bin
EMC2_TCL_DIR=/usr/local/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/local/share/emc/tcl/msgs
INIVAR=/usr/local/bin/inivar
HALCMD=/usr/local/bin/halcmd
EMC2_EMCSH=/usr/local/bin/emcsh
EMC2_IOSH=/usr/local/bin/iosh
INIFILE=/usr/local/etc/emc2/sample-configs/stepper/stepper_mm.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

 CONSOLE LOG
# lsmod
Module  Size  Used by
usb_storage84160  0 
usbcore   138220  1 usb_storage
ide_cd 39584  0 
cdrom  36384  1 ide_cd
evdev  11648  0 
hal_lib36376  0 
rtapi  35796  1 hal_lib
rtai_math  27140  0 
rtai_sem   23552  1 rtapi
rtai_shm   12164  1 rtapi
rtai_fifos 29640  1 rtapi
rtai_sched102360  4 rtapi,rtai_sem,rtai_shm,rtai_fifos
rtai_hal   39868  5 rtapi,rtai_sem,rtai_shm,rtai_fifos,rtai_sched
snd_mixer_oss  16384  0 
snd_hda_intel 283548  0 
snd_pcm76936  1 snd_hda_intel
snd_timer  22788  1 snd_pcm
snd51940  4 snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
soundcore   7392  1 snd
snd_page_alloc 10376  2 snd_hda_intel,snd_pcm
apm20432  0 
nls_utf82048  0 
nls_cp866   5248  0

# cd /usr/realtime/testsuite/kern/latency/
# ./run
*
*
* Type ^C to stop this application.
*
*

## RTAI latency calibration tool ##
# period = 10 (ns) 
# avrgtime = 1 (s)
# do not use the FPU
# start the timer
# timer_mode is oneshot

RTAI Testsuite - KERNEL latency (all data in nanoseconds)
RTH|lat min|ovl min|lat avg|lat max|ovl max|   overruns
RTD|  0|  0|  91538|2443889|2443889|   8498
RTD|  0|  0|  92556|1709717|2443889|  17202
RTD|   -838|   -838|  92385|1765031|2443889|  25888
RTD|  0|   -838|  91617|1727317|2443889|  34456
RTD|  0|   -838|  92610|1759165|2443889|  43157
RTD|  0|   -838|  92409|1664460|2443889|  51832
RTD|  0|   -838|  92498|1939355|2443889|  60543
RTD|   -838|   -838|  92428|1800231|2443889|  69232
RTD|  0|   -838|  92472|1746593|2443889|  77919
RTD|  0|   -838|  92395|1602441|2443889|  86600
RTD|  0|   -838|  92477|1699660|2443889|  95291
RTD|   -838|   -838|  91476|1822860|2443889| 103798
RTD|   -838|   -838|  91476|1822860|2443889| 103798
# 

# emc
EMC2 - 2.2.5
Machine configuration directory is '/usr/local/etc/emc2/sample-configs/stepper'
Machine configuration file is 'stepper_mm.ini'
Starting EMC2...
insmod: error inserting '/usr/realtime/modules/rtai_hal.ko': -1 File exists
Realtime system did not load
Shutting down and cleaning up EMC2...
/bin/pidof: illegal option -- x
BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary

Usage: pidof process-name [OPTION] [process-name ...]

List the PIDs of all processes with names that match the
names on the command line
Options:
-s  Display only a single PID
-o  Omit given pid
Use %PPID to omit the parent pid of pidof itself

// pidof was repeated several times.


# lsmod
Module  Size  Used by
usb_storage84160  0 
usbcore   138220  1 usb_storage
ide_cd 39584  0 
cdrom  36384  1 ide_cd
evdev  11648  0 
snd_mixer_oss  16384  0 
snd_hda_intel 283548  0 
snd_pcm76936  1 snd_hda_intel
snd_timer  22788  1 snd_pcm
snd51940  4 

Re: [Emc-users] This is a test, since my last several posts have been swallowed.

2008-09-25 Thread Erik Christiansen
On Wed, Sep 24, 2008 at 11:58:49AM -0500, Jon Elson wrote:
 Erik Christiansen wrote:
  I've tweaked my postfix configuration very slightly, and am hoping that
  will allow me to post, despite sourceforge's anti-spam upgrade.
 

 Yeah, what are they up to?  I have already had a perfectly reasonable 
 message rejected.
 This was the reason for the message being rejected.
 
   [EMAIL PROTECTED]
 retry time not reached for any host after a long failure period
 
 
 Maybe just a computer glitch.

Sounds like it, but that error message implies that your message was
rejected because the failure period was not long enough. ;-)
But sysadmins can put any text they like, and even muck with the
quasi-pseudo-standardised 5xx and 4xx error codes, so it can be good
going to half understand half of them.

In my case it appears that my dynamic IP was falling foul of list host
anti-spam measures, and my initial attempts to relay my posts via the
ISP were a tad off. In case anyone else is running postfix, I had:

relayhost = mail.internode.on.net
   # Which should have been:
relayhost = [mail.internode.on.net]

The former worked for all destinations other than sourceforge.
(What's the difference? Well the doco says ... [] eliminates DNS MX
lookups., but I'm not digging further, 'coz it now works.

Actually Jon, it's from your helpful off-list reply on Thu, 31 Jul 2008
12:10:59 -0500, where a prior bounce was described, that I
gained the inkling that sourceforge had begun employing SpamAsassin.
(A spam-free list is worth a lot, but can cost a lot of effort to find
out how to get back on, especially when there's no reply from postmaster
or hostmaster, despite the RFCs.)

Erik

-- 
An expert is a man who has made all the mistakes that can be made in a
very narrow field.-- Niels Bohr

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem on EMC2 starting with rtai_hall.ko

2008-09-25 Thread Евгений Александрович
Hello,

I have more information.

I installed linuxemc2 on real machine.

I have same result :(

But if I try to start emc second time withour reboot system starts, but with 
errors. (Both on VM and RM)
It is log of second start.

# emc
EMC2 - 2.2.5
Machine configuration directory is '/usr/local/etc/emc2/sample-configs/stepper'
Machine configuration file is 'stepper_mm.ini'
Starting EMC2...
libnml/cms/tcp_srv.cc 278: bind error: 98 -- Address already in use
libnml/cms/tcp_srv.cc 279: Server can not bind the connection socket on port 
5005.
libnml/rcs/rcs_exit.cc 99: 
 Errors Reported!!!
 Press ^C to exit.
RTAPI: ERROR: Unexpected realtime delay on task 1

I can start program, but this way I get messagebox Unexpected realtime delay 
on task 1 several times.

Any ideas?


-Original Message-
From: Евгений Александрович[EMAIL PROTECTED]
To: Enhanced Machine Controller \(EMC\)emc-users@lists.sourceforge.net
Date: Thu, 25 Sep 2008 13:19:07 +0400
Subject: Re: [Emc-users]Problem on EMC2 starting with rtai_hall.ko

 
 
  sounds like rtai is already loaded. Either you compiled it into the kernel, 
  not as a module.
 What do you mean. Did I somesing worng in kernel?
 
  Or you had a latency test still running, or the last time you had realtime 
  run there was some problem during unload.
  A lsmod should tell you more, and a reboot will probably cure it.
 Reboot is not solution. I tried it many times.
 At bottom is my log after reboot
 
   I user VMWare machine under WinXP
  
  I do that too sometimes without problems. (I don't expect to run any real 
  machine this way..)
 
 Any way I will try to install on real machine. 
 
  EMC DEBUG FILE
 Stopping realtime threads
 Unloading hal components
 
  EMC PRINT FILE
 RUN_IN_PLACE=no
 EMC2_DIR=
 EMC2_BIN_DIR=/usr/local/bin
 EMC2_TCL_DIR=/usr/local/share/emc/tcl
 EMC2_SCRIPT_DIR=
 EMC2_RTLIB_DIR=/usr/realtime/modules/emc2
 EMC2_CONFIG_DIR=
 EMC2_LANG_DIR=/usr/local/share/emc/tcl/msgs
 INIVAR=/usr/local/bin/inivar
 HALCMD=/usr/local/bin/halcmd
 EMC2_EMCSH=/usr/local/bin/emcsh
 EMC2_IOSH=/usr/local/bin/iosh
 INIFILE=/usr/local/etc/emc2/sample-configs/stepper/stepper_mm.ini
 PARAMETER_FILE=stepper.var
 EMCMOT=motmod
 EMCIO=io
 TASK=milltask
 HALUI=
 DISPLAY=axis
 NML_FILE=emc.nml
 Starting EMC2 server program: emcsvr
 Loading Real Time OS, RTAPI, and HAL_LIB modules
 Removing HAL_LIB, RTAPI, and Real Time OS modules
 Removing NML shared memory segments
 
  CONSOLE LOG
 # lsmod
 Module  Size  Used by
 usb_storage84160  0 
 usbcore   138220  1 usb_storage
 ide_cd 39584  0 
 cdrom  36384  1 ide_cd
 evdev  11648  0 
 hal_lib36376  0 
 rtapi  35796  1 hal_lib
 rtai_math  27140  0 
 rtai_sem   23552  1 rtapi
 rtai_shm   12164  1 rtapi
 rtai_fifos 29640  1 rtapi
 rtai_sched102360  4 rtapi,rtai_sem,rtai_shm,rtai_fifos
 rtai_hal   39868  5 rtapi,rtai_sem,rtai_shm,rtai_fifos,rtai_sched
 snd_mixer_oss  16384  0 
 snd_hda_intel 283548  0 
 snd_pcm76936  1 snd_hda_intel
 snd_timer  22788  1 snd_pcm
 snd51940  4 snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
 soundcore   7392  1 snd
 snd_page_alloc 10376  2 snd_hda_intel,snd_pcm
 apm20432  0 
 nls_utf82048  0 
 nls_cp866   5248  0
 
 # cd /usr/realtime/testsuite/kern/latency/
 # ./run
 *
 *
 * Type ^C to stop this application.
 *
 *
 
 ## RTAI latency calibration tool ##
 # period = 10 (ns) 
 # avrgtime = 1 (s)
 # do not use the FPU
 # start the timer
 # timer_mode is oneshot
 
 RTAI Testsuite - KERNEL latency (all data in nanoseconds)
 RTH|lat min|ovl min|lat avg|lat max|ovl max|   overruns
 RTD|  0|  0|  91538|2443889|2443889|   8498
 RTD|  0|  0|  92556|1709717|2443889|  17202
 RTD|   -838|   -838|  92385|1765031|2443889|  25888
 RTD|  0|   -838|  91617|1727317|2443889|  34456
 RTD|  0|   -838|  92610|1759165|2443889|  43157
 RTD|  0|   -838|  92409|1664460|2443889|  51832
 RTD|  0|   -838|  92498|1939355|2443889|  60543
 RTD|   -838|   -838|  92428|1800231|2443889|  69232
 RTD|  0|   -838|  92472|1746593|2443889|  77919
 RTD|  0|   -838|  92395|1602441|2443889|  86600
 RTD|  0|   -838|  92477|1699660|2443889|  95291
 RTD|   -838|   -838|  91476|1822860|2443889| 103798
 RTD|   -838|   -838|  91476|1822860|2443889| 103798
 # 
 
 # emc
 EMC2 - 2.2.5
 Machine 

Re: [Emc-users] Stop and Go

2008-09-25 Thread Jimmy Schneiderman
Dear John,

Please forgive, I did see you previous reply.

Attached the file.

Jimmy

2008/9/23 John Kasunich [EMAIL PROTECTED]

 Jimmy Schneiderman wrote:
  To All,
 
  I built a Mill CNC with the 30m (X) x 6m (Y) x 4m (Z).
 
 You posted this exact same message yesterday.  I replied asking you to
 post your configuration information.  Did you see that reply?  Without
 the config info, it will be very difficult for anyone to help you.

  Attached a video showing what is happening,

 There is no video attached.  That is good - videos are much too large to
 send to a mailing list.  Put it on youtube or something, and send the
 URL to the mailing list.


 Regards,

 John Kasunich

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



motenc.rar
Description: Binary data
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users