Re: installfromsource problems...
hello all,
I was having some issues with EMC and my retrofit so I decided to
reinstall my machine from scratch, RH62+kernel2.2.18+rtlinux3.0 and
latest cvs source, since I was having a lot of problems but did not
keep the config files for the linux nor rtlinux, so now I am struggling
to get it back on track.
I am able to get binaries out the cvs source but I am having a problem
with the Calibration menu, it does not update the values, nor it
changes the emc.ini file.
I've been diging the source files but I am not able to get too far, I
am surprised however how easy was to fit them to suit our stepper
driver.
here is a log file of what I have been doing, I hope this has enough
info to spot the problem,
thank you.
enrique.
ps. is it posible to download a source tree, lets say from nov, 1st?
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
+ ERROR_OUT_FILE=/dev/tty
+ DEBUGGER=gdb
+ [ -f /root/.debugger_name ]
+ INIFILE=emc.ini
++ which ./emc.run
++ grep ./emc.run
+ prog=/root/ncvs/emc/emc.run
++ echo /root/ncvs/emc/emc.run
++ sed s#^.*/##
+ tail=emc.run
++ echo /root/ncvs/emc/emc.run
++ sed s/emc.run//
+ dir=/root/ncvs/emc/
+ cd /root/ncvs/emc/
+ IOEXEC_NEEDED=0
++ whoami
+ [ root != root ]
+ iniarg=0
+ [ 0 -eq 1 ]
++ uname -s
++ gawk { printf ( "%s",tolower ( $1 ) ) }
+ PLATBASE=linux
++ uname -sr
++ sed y/ /_/
++ sed y/./_/
++ sed s/-rtl.*$//
++ sed y/-/_/
++ gawk { printf ( "%s",tolower ( $1 ) ) }
+ PLAT=linux_2_2_18
+ HOSTNAME=_
+ OSNAME=_
+ OSREV=_
+ hostname
++ hostname
+ HOSTNAME=ttt
+ dnsdomainname
++ dnsdomainname
+ DNSNAME=
++ uname -s
+ OSNAME=Linux
++ uname -r
+ OSREV=2.2.18-rtl_3_0
+ HOSTID=ttt..Linux.2.2.18-rtl_3_0
++ date +%Y%m%d%H%M%S
+ DATESTRING=20011203025124
+ [ ! -f .rtlinux_version.ttt..Linux.2.2.18-rtl_3_0 ]
++ head -n 1 .rtlinux_version.ttt..Linux.2.2.18-rtl_3_0
++ sed y/ /_/
++ sed y/./_/
+ rtlinux_version=3_0
+ RTPLAT=rtlinux_3_0
+ [ linux = linux ]
+ [ -z rtlinux_3_0 ]
+ [ ! -d plat/rtlinux_3_0 ]
+ [ ! -d plat/linux_2_2_18 ]
+ cd plat
+ cd ..
+ echo Current platform is linux_2_2_18
Current platform is linux_2_2_18
+ echo Current real-time platform is rtlinux_3_0
Current real-time platform is rtlinux_3_0
+ [ -x plat/linux_2_2_18/bin/inivar ]
+ inivar=plat/linux_2_2_18/bin/inivar
+ echo inivar = plat/linux_2_2_18/bin/inivar
inivar = plat/linux_2_2_18/bin/inivar
+ echo INIFILE = emc.ini
INIFILE = emc.ini
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var EMCMOT -sec EMCMOT
+ emcmot=steppermod.o
+ [ ! -n steppermod.o ]
+ [ -n ]
+ emcmot_plat=rtlinux_3_0
+ sleep 1
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var EMCIO -sec EMCIO
+ emcio=bridgeportio
+ [ ! -n bridgeportio ]
+ [ -n ]
+ emcio_plat=linux_2_2_18
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var TASK -sec TASK
+ emctask=bridgeporttask
+ [ ! -n bridgeporttask ]
+ [ -n ]
+ emctask_plat=linux_2_2_18
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var EMCSERVER -sec EMCSERVER
+ emcserver=
+ [ -n ]
+ emcserver_plat=linux_2_2_18
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var EMCSTRIP -sec EMCSTRIP
+ emcstrip=
+ [ -n ]
+ emcstrip_plat=linux_2_2_18
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var OPTIONS -sec EMCSTRIP
+ emcstrip_options=-f emcstrip.conf.ferror
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var DISPLAY -sec DISPLAY
+ display=tkemc
+ [ ! -n tkemc ]
+ [ -n ]
+ display_plat=linux_2_2_18
+ lockfile=/tmp/emc.lock
+ set started = 0
+ [ -f /tmp/emc.lock ]
+ echo starting emc...
starting emc...
+ touch /tmp/emc.lock
+ started=1
+ bccmd=none
+ [ -x /usr/bin/bc ]
+ bccmd=/usr/bin/bc
+ [ -x /bin/bc ]
+ pidofcmd=none
+ [ -x /usr/bin/pidof ]
+ [ -x /bin/pidof ]
+ [ -x /sbin/pidof ]
+ pidofcmd=/sbin/pidof
+ tasktokill=
+ killtasktimeout=30
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var NML_FILE -sec EMC
+ nmlfile=emc.nml
++ grep SHMEM emc.nml
++ gawk {printf("%x ",$10);}
+ ipckeys=3e9 3ea 3eb 3ec 3ed 3ee 3ef 3f0 3f1 3f2 3f3 3f4 3f5
+ cleanup
+ tasktokill=
+ killtaskwithtimeout
+ killall -INT
+ [ /usr/bin/bc != none -a /sbin/pidof != none ]
++ date +%s
+ time=1007369485
++ echo 1007369485+ 30
++ /usr/bin/bc
+ deadline=1007369515
+ /sbin/pidof
+ tasktokill=bridgeporttask
+ killtaskwithtimeout
+ killall -INT bridgeporttask
+ [ /usr/bin/bc != none -a /sbin/pidof != none ]
++ date +%s
+ time=1007369485
++ echo 1007369485+ 30
++ /usr/bin/bc
+ deadline=1007369515
+ /sbin/pidof bridgeporttask
+ tasktokill=bridgeportio
+ killtaskwithtimeout
+ killall -INT bridgeportio
+ [ /usr/bin/bc != none -a /sbin/pidof != none ]
++ date +%s
+ time=1007369485
++ echo 1007369485+ 30
++ /usr/bin/bc
+ deadline=1007369515
+ /sbin/pidof bridgeportio
++ echo steppermod.o
++ sed s/\.o//g
+ /sbin/rmmod steppermod
+ [ 1 = 1 ]
+ rm -f /tmp/emc.lock
+ [ -f emc.ini.20011203025124 ]
++ date +%Y%m%d%H%M%S
+ DATESTRING=20011203025125
+ cp emc.ini emc.ini.20011203025125
++ ipcs -m
++ grep 3e9
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3e9
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ea
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ea
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3eb
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3eb
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ec
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ec
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ed
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ed
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ee
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ee
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ef
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ef
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f0
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f0
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f1
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f1
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f2
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f2
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f3
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f3
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f4
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f4
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f5
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f5
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
+ trap cleanup ; exit 0 SIGINT
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var INTRO_GRAPHIC -sec DISPLAY
+ img=emc.gif
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var INTRO_TIME -sec DISPLAY
+ imgtime=5
+ [ 5 = ]
+ [ emc.gif != ]
+ [ -x plat/linux_2_2_18/bin/popimage ]
+ plat/linux_2_2_18/bin/popimage emc.gif 5
+ [ linux = linux ]
+ ./install_realtime_base
+ nullfile=/dev/tty
++ uname -r
+ rev=2.2.18-rtl_3_0
+ sync
+ sync
+ sync
+ /sbin/ksyms -a
+ grep rthal
+ /sbin/lsmod
+ awk {print $1}
+ grep rtl_sched
+ /sbin/lsmod
+ awk {print $1}
+ grep -v rtl8139
+ grep -v rtl_
+ grep rtl
+ /sbin/lsmod
+ awk {print $1}
+ grep mbuff
+ /sbin/lsmod
+ awk {print $1}
+ grep rtl_time
+ /sbin/lsmod
+ awk {print $1}
+ grep rtl_sched
+ /sbin/lsmod
+ awk {print $1}
+ grep rtl_posixio
+ /sbin/lsmod
+ awk {print $1}
+ grep rtl_fifo
+ exit 0
+ sleep 1
+ echo -n starting EMC MOTION PROGRAM -- steppermod.o...
starting EMC MOTION PROGRAM -- steppermod.o...++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var SHMEM_BASE_ADDRESS -sec EMCMOT
+ shmem_base_address=0x3F00000
+ [ 0x3F00000 = ]
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var PARPORT_IO_ADDRESS -sec EMCMOT
+ parport_io_address=0x378
+ [ 0x378 = ]
+ optargs=
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var PERIOD -sec EMCMOT
+ period=
+ [ != ]
++ plat/linux_2_2_18/bin/inivar -ini emc.ini -var STEPPING_TYPE -sec EMCMOT
+ steppingtype=
+ [ != ]
+ /sbin/insmod -f plat/rtlinux_3_0/lib/steppermod.o SHMEM_BASE_ADDRESS=0x3F00000 PARPORT_IO_ADDRESS=0x378
+ echo done
done
+ sleep 1
+ [ bridgeportio = simio ]
+ echo -n starting EMC IO PROGRAM -- bridgeportio...
starting EMC IO PROGRAM -- bridgeportio...+ [ ! -x plat/linux_2_2_18/bin/bridgeportio ]
+ [ 0 = 1 ]
+ [ -f /root/.debug_emcio ]
+ plat/linux_2_2_18/bin/bridgeportio -ini emc.ini
+ echo done
Version: 1.5
done
Machine: Generic
+ sleep 1
+ echo -n starting EMC TASK PROGRAM -- bridgeporttask...
starting EMC TASK PROGRAM -- bridgeporttask...+ [ ! -x plat/linux_2_2_18/bin/bridgeporttask ]
+ [ -f /root/.debug_emctask ]
+ plat/linux_2_2_18/bin/bridgeporttask -ini emc.ini
+ echo done
Version: 1.5
Machine: Generic
s.commandNumEcho = 1074340555, commandNum=1
done
+ sleep 1
s.commandNumEcho = 0, commandNum=2
s.commandNumEcho = 0, commandNum=3
s.commandNumEcho = 0, commandNum=4
s.commandNumEcho = 0, commandNum=5
s.commandNumEcho = -1073744112, commandNum=6
s.commandNumEcho = 0, commandNum=7
s.commandNumEcho = -1073744112, commandNum=8
s.commandNumEcho = 0, commandNum=9
s.commandNumEcho = 0, commandNum=10
s.commandNumEcho = 0, commandNum=11
s.commandNumEcho = 0, commandNum=12
s.commandNumEcho = 0, commandNum=13
s.commandNumEcho = -1073744120, commandNum=14
s.commandNumEcho = -1073744120, commandNum=15
s.commandNumEcho = -1073744120, commandNum=16
s.commandNumEcho = -1073744120, commandNum=17
s.commandNumEcho = -1073744120, commandNum=18
s.commandNumEcho = 0, commandNum=19
s.commandNumEcho = -1073744120, commandNum=20
s.commandNumEcho = 0, commandNum=21
s.commandNumEcho = 1074340555, commandNum=22
s.commandNumEcho = 0, commandNum=23
s.commandNumEcho = 0, commandNum=24
s.commandNumEcho = 0, commandNum=25
s.commandNumEcho = 0, commandNum=26
s.commandNumEcho = -1073744112, commandNum=27
s.commandNumEcho = 0, commandNum=28
s.commandNumEcho = -1073744112, commandNum=29
s.commandNumEcho = 0, commandNum=30
s.commandNumEcho = 0, commandNum=31
s.commandNumEcho = 0, commandNum=32
s.commandNumEcho = 0, commandNum=33
s.commandNumEcho = 0, commandNum=34
s.commandNumEcho = -1073744120, commandNum=35
s.commandNumEcho = -1073744120, commandNum=36
s.commandNumEcho = -1073744120, commandNum=37
s.commandNumEcho = -1073744120, commandNum=38
s.commandNumEcho = -1073744120, commandNum=39
s.commandNumEcho = 0, commandNum=40
s.commandNumEcho = -1073744120, commandNum=41
s.commandNumEcho = 0, commandNum=42
s.commandNumEcho = 1074340555, commandNum=43
s.commandNumEcho = 0, commandNum=44
s.commandNumEcho = 0, commandNum=45
s.commandNumEcho = 0, commandNum=46
s.commandNumEcho = 0, commandNum=47
s.commandNumEcho = -1073744112, commandNum=48
s.commandNumEcho = 0, commandNum=49
s.commandNumEcho = -1073744112, commandNum=50
s.commandNumEcho = 0, commandNum=51
s.commandNumEcho = 0, commandNum=52
s.commandNumEcho = 0, commandNum=53
s.commandNumEcho = 0, commandNum=54
s.commandNumEcho = 0, commandNum=55
s.commandNumEcho = -1073744120, commandNum=56
s.commandNumEcho = -1073744120, commandNum=57
s.commandNumEcho = -1073744120, commandNum=58
s.commandNumEcho = -1073744120, commandNum=59
s.commandNumEcho = -1073744120, commandNum=60
s.commandNumEcho = 0, commandNum=61
s.commandNumEcho = -1073744120, commandNum=62
s.commandNumEcho = 0, commandNum=63
s.commandNumEcho = -1073744572, commandNum=64
s.commandNumEcho = -1073744564, commandNum=65
s.commandNumEcho = -1073744572, commandNum=66
s.commandNumEcho = -1073744572, commandNum=67
s.commandNumEcho = 0, commandNum=68
s.commandNumEcho = 255, commandNum=69
s.commandNumEcho = 255, commandNum=70
s.commandNumEcho = 0, commandNum=71
s.commandNumEcho = 71, commandNum=72
s.commandNumEcho = 72, commandNum=73
s.commandNumEcho = 0, commandNum=74
+ sleep 1
s.commandNumEcho = 0, commandNum=75
+ sleep 1
+ echo running EMC DISPLAY PROGRAM -- tkemc...
running EMC DISPLAY PROGRAM -- tkemc...
+ [ ! -x plat/linux_2_2_18/bin/tkemc ]
+ plat/linux_2_2_18/bin/tkemc -- -ini emc.ini
Issuing EMC_TRAJ_SET_SCALE -- (+209,+20, +1,1.000000,)
s.commandNumEcho = 135032090, commandNum=76
Issuing EMC_AXIS_SET_GAINS -- (+103,+96, +2, +0,1000.010000,0.000000,0.030000,0.000000,0.077000,0.000000,0.000000,0.000000,0.000000,0.000000,)
s.commandNumEcho = 135032171, commandNum=77
Issuing EMC_TASK_PLAN_INIT -- (+515,+12, +3,)
emcTaskPlanInit() returned 0
Issuing EMC_AXIS_SET_GAINS -- (+103,+96, +4, +0,100.000000,0.000000,0.030000,0.000000,0.077000,0.000000,0.000000,0.000000,0.000000,0.000000,)
s.commandNumEcho = 135032170, commandNum=78
emcStatus->motion.traj.mode = 1
+ sleep 1
+ cleanup
+ tasktokill=
+ killtaskwithtimeout
+ killall -INT
+ [ /usr/bin/bc != none -a /sbin/pidof != none ]
++ date +%s
+ time=1007369570
++ echo 1007369570+ 30
++ /usr/bin/bc
+ deadline=1007369600
+ /sbin/pidof
+ tasktokill=bridgeporttask
+ killtaskwithtimeout
+ killall -INT bridgeporttask
+ [ /usr/bin/bc != none -a /sbin/pidof != none ]
++ date +%s
+ time=1007369570
++ echo 1007369570+ 30
++ /usr/bin/bc
+ deadline=1007369600
+ /sbin/pidof bridgeporttask
++ date +%s
+ [ 1007369570 -gt 1007369600 ]
+ echo Waiting for bridgeporttask to die . . .
Waiting for bridgeporttask to die . . .
+ sleep 1
+ /sbin/pidof bridgeporttask
+ tasktokill=bridgeportio
+ killtaskwithtimeout
+ killall -INT bridgeportio
+ [ /usr/bin/bc != none -a /sbin/pidof != none ]
++ date +%s
+ time=1007369571
++ echo 1007369571+ 30
++ /usr/bin/bc
+ deadline=1007369601
+ /sbin/pidof bridgeportio
++ echo steppermod.o
++ sed s/\.o//g
+ /sbin/rmmod steppermod
+ [ 1 = 1 ]
+ rm -f /tmp/emc.lock
+ [ -f emc.ini.20011203025125 ]
+ diff emc.ini emc.ini.20011203025125
+ echo emc.ini was not changed.
emc.ini was not changed.
+ rm emc.ini.20011203025125
++ ipcs -m
++ grep 3e9
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3e9
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ea
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ea
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3eb
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3eb
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ec
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ec
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ed
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ed
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ee
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ee
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3ef
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3ef
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f0
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f0
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f1
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f1
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f2
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f2
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f3
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f3
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f4
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f4
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -m
++ grep 3f5
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
++ ipcs -s
++ grep 3f5
++ gawk {print $2}
+ id=
+ [ 0 -gt 1 ]
+ exit 0
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact