Back
[00:04:33] -!-
theorbtwo has quit [Ping timeout: 260 seconds]
[00:04:47] theorb is now known as
theorbtwo
[00:08:03] -!-
rooks has quit [Quit: So long, and thanks for all the fish.]
[00:25:24] -!-
Cylly has quit [Ping timeout: 240 seconds]
[00:49:22] -!-
AitalMAC has quit [Client Quit]
[01:28:42] -!-
mozmck [mozmck!~moses@client-173.225.233.241.dfwtx.partnershipbroadband.com] has joined #emc-devel
[01:46:55] -!-
tlab has quit [Quit: Leaving]
[01:47:02] -!-
i_tarzan has quit [Ping timeout: 252 seconds]
[01:56:17] -!-
ries has quit [Quit: ries]
[01:58:01] -!-
Valen has quit [Quit: Leaving.]
[01:59:49] -!-
JT-Shop has quit [Read error: Connection reset by peer]
[02:00:37] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[02:23:27] -!-
davec_ has quit [Quit: Leaving]
[03:20:56] -!-
ve7it has quit [Remote host closed the connection]
[03:45:13] -!-
JT-Shop has quit [Ping timeout: 252 seconds]
[03:47:36] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[04:01:51] -!-
nicko has quit [Ping timeout: 245 seconds]
[04:24:12] -!-
FinboySlick has quit [Quit: Miranda IM! Smaller, Faster, Easier.
http://miranda-im.org]
[04:30:36] -!-
vladimirek [
[email protected]] has joined #emc-devel
[04:31:49] -!-
odiug has quit [Ping timeout: 260 seconds]
[04:36:18] -!-
psha[work] [psha[work]
[email protected]] has joined #emc-devel
[04:38:55] -!-
mhaberler [
[email protected]] has joined #emc-devel
[04:58:58] -!-
vezza has quit [Read error: Connection reset by peer]
[05:22:10] -!-
JT-Shop has quit [Ping timeout: 260 seconds]
[05:44:18] <mhaberler> cradek: test box wired with logic analyzer, 5i20 and parport:
http://mah.priv.at/gallery2/main.php?g2_itemId=91773 . and yes, your scenario is an issue
[05:45:29] -!-
factor has quit [Read error: Connection reset by peer]
[05:48:14] -!-
mhaberler has quit [Quit: mhaberler]
[05:53:46] -!-
mhaberler [
[email protected]] has joined #emc-devel
[06:13:19] -!-
SherlockLee [SherlockLee!3badfd8a@gateway/web/freenode/ip.59.173.253.138] has joined #emc-devel
[06:18:08] -!-
SherlockLee has quit [Client Quit]
[06:34:06] -!-
AitalMAC has quit [Ping timeout: 252 seconds]
[06:50:34] -!-
aitalmac_ has quit [Quit: Leaving]
[07:06:20] -!-
robh__ [
[email protected]] has joined #emc-devel
[07:06:59] -!-
e-ndy [e-ndy!jkastner@nat/redhat/x-kgvaosnzhicpyims] has joined #emc-devel
[07:22:39] -!-
theos has quit [Disconnected by services]
[07:27:09] -!-
micges_work [
[email protected]] has joined #emc-devel
[07:27:18] -!-
micges_work has quit [Client Quit]
[07:35:41] -!-
capricorn_one has quit [Remote host closed the connection]
[07:38:33] -!-
awallin [
[email protected]] has joined #emc-devel
[07:39:54] -!-
vladimirek has quit [Read error: Operation timed out]
[07:53:55] -!-
vladimirek [
[email protected]] has joined #emc-devel
[08:26:40] -!-
aitalmac_ has quit [Quit: Leaving]
[08:29:17] -!-
H264 has quit [Read error: Connection reset by peer]
[08:50:03] -!-
psha[work] has quit [Quit: Lost terminal]
[08:51:42] -!-
psha[work] [psha[work]
[email protected]] has joined #emc-devel
[10:22:37] -!-
logger[psha] [logger[psha]
[email protected]] has joined #emc-devel
[11:02:43] -!-
awallin_ [awallin_!~quassel@2001:708:110:1020:224:7eff:feda:7c7d] has joined #emc-devel
[11:09:00] -!-
nicko has quit [Quit: Visitor from www.linuxcnc.org]
[11:29:25] -!-
vladimirek has quit [Remote host closed the connection]
[11:34:36] -!-
Danimal_garage has quit [*.net *.split]
[11:46:23] -!-
bigcx2 [bigcx2!~bigcx2@173-163-44-9-cpennsylvania.hfc.comcastbusiness.net] has joined #emc-devel
[11:46:37] <bigcx2> hey all
[11:46:53] <bigcx2> i have a question for the emc gurus :)
[11:47:03] <bigcx2> i'm trying to do my first emc2 install
[11:47:07] <bigcx2> on ubuntu 10.04
[11:47:22] <bigcx2> i already have rtai installed and configured for another application i'm running on this machine
[11:47:29] <bigcx2> so i know that's functioning properly
[11:47:49] <bigcx2> but when trying to build emc2 from source
[11:48:03] <bigcx2> running 'make' produces an infinite loop
[11:48:27] <bigcx2> i just did a git pull this morning to update
[11:48:34] <bigcx2> so i'm running the latest and greatest
[11:49:03] <bigcx2> my rtai directory is /usr/realtime/atom
[11:49:13] <bigcx2> so i did:
[11:50:38] <bigcx2> a configure passing in my realtime directory
[11:50:43] <bigcx2> which worked
[11:50:52] <bigcx2> and then i ran make
[11:51:04] <bigcx2> and it just loops forever
[12:00:20] <bigcx2> my exact configure command is
[12:00:21] <bigcx2> ./configure --with-realtime=/usr/realtime/atom/ --with-kernel-headers=/usr/src/linux-headers-2.6.32.11-atom-rtai
[12:21:06] <bigcx2> the section that loops forever is the "depends" section
[12:21:26] <bigcx2> the first two lines are:
[12:21:27] <bigcx2> make: Warning: File `/usr/realtime/atom/include/rtai_shm.h' has modification time 2.9e+08 s in the future
[12:21:28] <bigcx2> Depending rtapi/rtai_ulapi.c
[12:21:50] <bigcx2> ending with:
[12:21:50] <bigcx2> Depending emc/iotask/ioControl.cc
[12:21:58] <bigcx2> before repeating
[12:23:33] -!-
psha[work] has quit [Quit: Lost terminal]
[12:33:02] -!-
psha[work] [psha[work]
[email protected]] has joined #emc-devel
[12:58:29] -!-
psha[work] has quit [Quit: leaving]
[13:07:52] -!-
cncbasher_ [cncbasher_!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #emc-devel
[13:08:38] -!-
cncbasher has quit [Ping timeout: 260 seconds]
[13:09:45] -!-
zFruit has quit [Quit: Page closed]
[13:10:50] <alex_joni> bigcx2: can you pastebin the output of configure?
[13:13:18] -!-
mhaberler has quit [Ping timeout: 260 seconds]
[13:14:30] <cradek> bigcx2: nuke this source tree, set your machine's time and date correctly, and start over
[13:23:38] <bigcx2> cradek: trying
[13:24:07] <bigcx2> trying this time with a stable release
[13:24:18] <bigcx2> 2-2.3.5
[13:26:48] <bigcx2> cradek: same result
[13:26:51] <bigcx2> alex_joni
[13:26:56] <bigcx2> where's the pastebin?
[13:27:44] <bigcx2> alex_joni: where's the pastebin?
[13:50:12] <cradek> bigcx2: after reading more carefully, it looks like you had a wrong date when you built/installed whatever is in /usr/realtime
[13:50:22] <cradek> you'll have to fix all your wrong dates
[13:50:51] <bigcx2> there's no way to override?
[13:51:07] <cradek> make uses timestamps to figure out what it needs to do.
[13:55:53] <bigcx2> hm
[14:44:34] -!-
psha_ [
[email protected]] has joined #emc-devel
[14:44:36] -!-
psha has quit [Client Quit]
[14:44:44] psha_ is now known as
psha
[14:46:38] -!-
Mendelbuild has quit [Ping timeout: 260 seconds]
[14:50:15] -!-
pjm has quit [Read error: Connection reset by peer]
[14:52:50] <bigcx2> cradek: that worked
[14:52:58] <bigcx2> i updated all of the timestamps with touch
[14:53:30] <bigcx2> i'm getting a build error with the hosmot driver with stable version 2-2.3.5 though
[14:53:52] <bigcx2> should i try git again?
[15:00:28] <cradek> you should probably be building version 2.4, the current stable release
[15:00:36] <cradek> without seeing the error I can't guess how you should fix it
[15:02:17] <bigcx2> ok
[15:04:17] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[15:07:25] -!-
mist11 has quit [Quit: Page closed]
[15:17:34] <bigcx2> 0 stray cats were added.
[15:17:36] <bigcx2> ???
[15:19:46] -!-
nullie has quit [Quit: Ex-Chat]
[15:29:03] -!-
mhaberler_ [
[email protected]] has joined #emc-devel
[15:31:23] -!-
JT-Shop has quit [Ping timeout: 276 seconds]
[15:43:56] -!-
e-ndy has quit [Quit: Ex-Chat]
[15:46:11] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[15:51:01] -!-
JT-Shop has quit [Ping timeout: 240 seconds]
[15:54:13] -!-
Calyp has quit [Ping timeout: 240 seconds]
[15:59:49] -!-
micges [
[email protected]] has joined #emc-devel
[16:04:56] <bigcx2> ok, i get emc to run up until the point where i pick the configuration file
[16:05:00] <bigcx2> and then it dies
[16:05:20] <alex_joni> run it from a terminal and look at the error
[16:05:29] <alex_joni> it's either printed there, or in dmesg
[16:05:57] <bigcx2> i get this in the debug file
[16:05:59] <bigcx2> Can not find -sec EMC -var NML_FILE -num 1
[16:06:04] <bigcx2> i am running it from a terminal
[16:06:09] <bigcx2> in dmesg, i get
[16:06:23] <bigcx2> [15303.807229] rtapi: no symbol version for rt_sem_delete
[16:06:23] <bigcx2> [15303.807233] rtapi: Unknown symbol rt_sem_delete
[16:06:23] <bigcx2> [15303.807437] rtapi: no symbol version for rt_sem_wait
[16:06:23] <bigcx2> [15303.807441] rtapi: Unknown symbol rt_sem_wait
[16:06:23] <bigcx2> [15303.807654] rtapi: no symbol version for rt_task_wait_period
[16:06:23] <bigcx2> [15303.807659] rtapi: Unknown symbol rt_task_wait_period
[16:06:49] <alex_joni> sounds like the config you are trying out is incomplete
[16:07:08] <alex_joni> or it's not configured/installed properly
[16:07:27] <bigcx2> any suggestions on one to try
[16:07:33] <bigcx2> i'm running 2.4 now
[16:10:23] -!-
Guest155 has quit [Quit: Visitor from www.linuxcnc.org]
[16:10:55] <alex_joni> sim/axis.ini
[16:11:20] <cradek> alex_joni: he's using his own rtai build
[16:11:33] <cradek> the missing NML_FILE declaration is not an error
[16:11:34] <alex_joni> I noticed that
[16:11:43] <alex_joni> ah, right
[16:12:02] <alex_joni> bigcx2: pastebin.com and put your full run log, including dmesg
[16:14:58] -!-
mhaberler_ has quit [Quit: mhaberler_]
[16:15:34] <bigcx2> run log:
http://pastebin.com/LRjLfjSt
[16:16:04] <alex_joni> insmod: error inserting '/home/vilter/emc2-dev/rtlib/rtapi.ko': -1 Unknown symbol in module
[16:16:08] <alex_joni> that's the real error
[16:16:19] -!-
ve7it [
[email protected]] has joined #emc-devel
[16:16:29] <alex_joni> the reason why it failed is sometimes in dmesg
[16:16:44] <alex_joni> it can also be that the rtai you built is missing a needed feature..
[16:17:08] <cradek> s$ nm rtai_sem.ko|grep 'T rt_sem_delete'
[16:17:09] <cradek> 00000a70 T rt_sem_delete
[16:17:33] <cradek> ding ding
[16:18:48] <bigcx2> cradek: one sec
[16:24:33] <bigcx2> 00001490 T rt_sem_delete
[16:24:36] <bigcx2> got it
[16:24:45] <cradek> hmm
[16:25:01] <bigcx2> i know my rtai installation is solid
[16:25:05] <cradek> wonder what the 'no symbol version' is
[16:25:12] <bigcx2> i'm running a application that already heavily uses it
[16:25:24] <cradek> sure, but that doesn't mean it uses all the same features of rtai
[16:25:33] <bigcx2> no, i use sems though
[16:25:36] <alex_joni> wonder if emc2's configure found rtai_sem.ko
[16:25:46] <alex_joni> you can see that in rtapi.conf iirc
[16:26:04] <alex_joni> (it's been a looong time though for me ;)
[16:26:39] <bigcx2> here's my rtapi.conf
[16:26:48] <alex_joni> pastebin...
[16:26:54] <bigcx2> http://pastebin.com/HqX0HEdj
[16:27:44] <alex_joni> looks like it found rtai_sem
[16:28:09] <alex_joni> but as cradek said, the no symbol version does bring nasty memories up
[16:28:09] <bigcx2> ya
[16:28:35] <alex_joni> a long time ago, we had to disable module versioning to get emc2 to work with rtai
[16:28:42] <alex_joni> but afaik rtai fixed that a while ago
[16:29:04] <bigcx2> i'm running 3.8.1
[16:29:34] <alex_joni> any reason against using our prebuilt packages?
[16:29:42] <alex_joni> since they are for 10.04?
[16:29:55] <cradek> do you have rtai_math?
[16:30:22] -!-
awallin_ has quit [Remote host closed the connection]
[16:31:05] <bigcx2> cradek: appears i don't have rtai_math
[16:31:11] <bigcx2> not as a module anyway
[16:31:26] <alex_joni> might be compiled in
[16:31:50] -!-
micges has quit [Ping timeout: 260 seconds]
[16:31:54] -!-
dus has quit [Ping timeout: 252 seconds]
[16:32:05] <cradek> bigcx2: mine:
http://pastebin.com/qwXw8zYC
[16:32:22] <cradek> then that will be your next problem, after you solve this one
[16:32:30] <bigcx2> alex_joni: the reason i'm not using pre-built packages is because i'm running a pre-built squashfs filesystem on a compact flash card for another rtai application
[16:32:46] <bigcx2> i would have to completely redo my squashfs to use your kernel
[16:33:08] <bigcx2> i figured if my rtai installation/kernel was already set up nicely for my hardware i would just be able to run emc2 on top of it
[16:33:21] <alex_joni> if it has all there's needed, probably :)
[16:33:34] <alex_joni> you gotta keep looking at dmesg, the answer is probably there
[16:33:40] <cradek> getting rtai right can be a right pain, even without squashfs considerations
[16:34:06] <cradek> do you have your rtai config to see if math is built in?
[16:34:48] <cradek> bbl, lunch
[16:35:22] <bigcx2> it seems like it's not finding anything it needs
[16:35:36] <bigcx2> http://pastebin.com/QyJs4Jvb
[16:35:51] <bigcx2> and so on
[16:36:19] <alex_joni> well.. I don't see the initial messages, do the rtai modules get loaded (before rtapi), etc
[16:36:28] <alex_joni> try only scripts/realtime start
[16:36:36] <alex_joni> no need to run emc2 for this
[16:37:34] <bigcx2> vilter@vission2020:~/emc2-dev$ sudo scripts/realtime start
[16:37:34] <bigcx2> insmod: error inserting '/home/vilter/emc2-dev/rtlib/rtapi.ko': -1 Unknown symbol in module
[16:38:29] <alex_joni> yes, that we already know..
[16:38:30] <bigcx2> i'm going off memory, but isn't that stuff part of rtai lxrt
[16:38:40] <alex_joni> no, nothing to do with lxrt
[16:43:45] -!-
micges [
[email protected]] has joined #emc-devel
[16:43:54] -!-
Mendelbuild has quit [Ping timeout: 252 seconds]
[16:50:06] -!-
mhaberler [
[email protected]] has joined #emc-devel
[16:52:00] <bigcx2> i guess i'm not familiar enough with the build process for emc
[16:53:47] <alex_joni> can you clear dmesg, try the realtime start again, and pastebin the whole output of dmesg ?
[16:56:06] <bigcx2> ya
[16:57:15] <bigcx2> http://pastebin.com/Qke27qAn
[16:57:41] -!-
tom3p [
[email protected]] has joined #emc-devel
[17:01:47] <alex_joni> I see rtai, malloc and sched get loaded
[17:01:57] <alex_joni> but not sem and the others
[17:02:10] <alex_joni> are the modules really in /usr/realtime/atom/modules ?
[17:04:10] <alex_joni> maybe try insmodding them by hand
[17:04:23] <alex_joni> rtai_hal rtai_ksched rtai_fifos rtai_shm rtai_sem rtai_math
[17:04:29] <alex_joni> afterwards rtapi.ko
[17:05:05] -!-
odiug has quit [Ping timeout: 260 seconds]
[17:14:12] <CIA-83> EMC: 03jthornton 07v2.4_branch * r3e89caec26f7 10/docs/src/gcode/main.lyx: add timeout units
[17:20:17] -!-
mhaberler has quit [Quit: mhaberler]
[17:21:05] <jthornton> yea it works now
[17:25:17] <bigcx2> alex_joni: same result
[17:25:27] <bigcx2> the only module i don't have in my modules directory is rtai_math
[17:25:35] <bigcx2> but again that might be built in
[17:25:40] <bigcx2> i don't think that's the problem though
[17:25:55] <bigcx2> http://pastebin.com/RRPStyGJ
[17:28:58] <alex_joni> cat /proc/kallsyms | grep 'rt_sem_delete'
[17:31:44] <bigcx2> vilter@vission2020:/usr/realtime/atom/modules$ cat /proc/kallsyms | grep 'rt_sem_delete'
[17:31:44] <bigcx2> f86f28f4 r __ksymtab_rt_sem_delete [rtai_sem]
[17:31:44] <bigcx2> f86f2bfd r __kstrtab_rt_sem_delete [rtai_sem]
[17:31:44] <bigcx2> f86f29a0 r __kcrctab_rt_sem_delete [rtai_sem]
[17:31:44] <bigcx2> f86f2490 T rt_sem_delete [rtai_sem]
[17:33:35] <alex_joni> then I'm pretty lost.. except maybe you used a different compiler for kernel/rtai and emc2 modules?
[17:36:33] <bigcx2> that theory is busted as well:
[17:36:38] <bigcx2> dmesg says [18444.560328] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[17:36:47] <bigcx2> and gcc says
[17:36:56] <bigcx2> gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
[17:37:06] <bigcx2> I'm also lost :(
[17:37:19] <bigcx2> but again, I don't know how rtapi.ko gets generated
[17:38:23] -!-
mhaberler [
[email protected]] has joined #emc-devel
[17:40:44] -!-
andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc-devel
[17:43:32] -!-
isssy has quit [Read error: Connection reset by peer]
[17:51:04] -!-
tom3p [
[email protected]] has parted #emc-devel
[17:56:24] -!-
Mendelbuild has quit [Ping timeout: 258 seconds]
[18:09:12] -!-
syyl has quit [Quit: Leaving]
[18:14:01] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[18:21:04] -!-
JT-Shop has quit [Ping timeout: 252 seconds]
[18:21:26] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[18:23:25] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[18:31:44] -!-
mhaberler has quit [Quit: mhaberler]
[18:45:16] -!-
pcw_home has quit [Ping timeout: 252 seconds]
[18:45:30] pcw_home_ is now known as
pcw_home
[18:45:40] <bigcx2> cradek: do you have any idea what could be going on??
[18:50:42] -!-
mhaberler [
[email protected]] has joined #emc-devel
[18:51:03] -!-
pcw_home has quit [Ping timeout: 240 seconds]
[18:51:16] pcw_home_ is now known as
pcw_home
[18:56:06] -!-
JT-Shop_ [
[email protected]] has joined #emc-devel
[18:56:47] -!-
JT-Shop has quit [Ping timeout: 276 seconds]
[18:57:03] JT-Shop_ is now known as
JT-Shop
[18:57:34] <psha> bigcx2: probably you have different configuration for main kernel (with modversion) and for rtai modules (without)
[18:58:21] <psha> but i don't have rtai setup nearby to check :(
[18:58:48] -!-
psha has quit [Quit: leaving]
[19:08:16] <CIA-83> EMC: 03cmorley 07v2.5_branch * rfffb88a7e32c 10/src/emc/usr_intf/pncconf/ (pncconf-help/axisdiagram1.png pncconf.glade): pncconf - change mill diagram and update description
[19:08:18] <CIA-83> EMC: 03cmorley 07v2.5_branch * r07f8f9d959c2 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - fix missing custom.hal custom_postgui.hal files
[19:08:19] <CIA-83> EMC: 03cmorley 07v2.5_branch * r62bf998010d8 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - change the name of the jumplist.hal to call_list.hal
[19:08:20] <CIA-83> EMC: 03cmorley 07v2.5_branch * r5557a6a1588b 10/src/emc/usr_intf/pncconf/ (pncconf.glade pncconf.py): pncconf - make sserial channels deselectable
[19:08:22] <CIA-83> EMC: 03cmorley 07v2.5_branch * r1f6abd9b86a2 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - missed changing some jumplist file to call_list
[19:08:23] <CIA-83> EMC: 03cmorley 07v2.5_branch * reca8b5a33d72 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf -change custompanel.xml to pyvcp-panel.xml
[19:08:24] <CIA-83> EMC: 03cmorley 07v2.5_branch * r90a97f20566a 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - fix overwriting of call_list.hal & sticky sseial signals
[19:08:25] <CIA-83> EMC: 03cmorley 07v2.5_branch * r51689f11c129 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - set safer defaults for PWM and PDM frequency
[19:08:26] <CIA-83> EMC: 03cmorley 07v2.5_branch * re6cf7c9cf03b 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - up the version number so warnings are given
[19:08:27] <CIA-83> EMC: 03cmorley 07v2.5_branch * r09c426776e36 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf - fix sserial bugs
[19:08:28] <CIA-83> EMC: 03cmorley 07v2.5_branch * r95ee45dd6c96 10/docs/src/config/pncconf.txt: docs -update pncconf docs
[19:08:29] <CIA-83> EMC: 03cmorley 07v2.5_branch * r6692f700eb8d 10/src/emc/usr_intf/touchy/touchy.py: touchy - add ability to load a postgui file
[19:15:27] -!-
JT-Shop has quit [Read error: Connection reset by peer]
[19:16:02] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[19:19:03] -!-
Loetmichel has quit [Ping timeout: 260 seconds]
[19:23:24] -!-
Danimal_garage|2 has quit [Read error: Connection reset by peer]
[19:24:25] -!-
pjm has quit [Client Quit]
[19:28:05] -!-
pjm__ has quit [Ping timeout: 260 seconds]
[19:33:54] <bigcx2> psha: not sure what you mean
[19:35:07] <micges> he means that probably you have kernel with modversion compiled and rtai compiled without it (or vice versa)
[19:37:31] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[19:41:42] <bigcx2> micges: i have CONFIG_MODVERSIONS=y in my kernel config and CONFIG_MODULES=y in my rtai config
[19:42:03] <micges> oh
[19:42:28] <bigcx2> i have an existing rtai application that i wrote that runs fine on this machine
[19:42:34] <bigcx2> but i can't seem to run emc2 in place
[19:43:19] <bigcx2> the system is on a squashfs disk...and i already have rtai and my kernel set up properly for my hardware
[19:43:53] <bigcx2> so i wanted to use the work i had already done rather than start from scratch
[19:44:01] <bigcx2> but apparently i've stumped everyone...
[19:44:57] <bigcx2> i guess i need to dig through the source and figure out how rtapi.ko is generated, it's not finding all the necessary symbols
[19:50:03] <andypugh> bigcx2: What's the error? I joined late
[19:50:36] <bigcx2> andypugh: i've already stumped everybody!
[19:50:43] <bigcx2> basically
[19:51:00] <bigcx2> i have a system where i already have a working rtai kernel
[19:51:10] <bigcx2> and i'm trying to run emc2 in place from my home directory
[19:51:30] <bigcx2> but loading rtapi.ko craps out because it can't find any of the necessary symbols
[19:51:53] <bigcx2> i can load all of the individual rtai modules just fine
[19:51:58] <bigcx2> just not rtapi.ko
[19:52:10] <bigcx2> my dmesg looks like this
[19:53:23] <bigcx2> http://pastebin.com/PG6N5iUH
[19:54:26] <bigcx2> my configure command was
[19:54:27] <bigcx2> ./configure --with-realtime=/usr/realtime/atom --with-kernel-headers=/usr/src/linux-headers-2.6.32.11-atom-rtai
[19:54:42] <bigcx2> and everything went fine
[19:56:37] <andypugh> You have run the environment script (as that will be the first thing anyone else will have asked)
[19:56:58] <andypugh> and done the sudo make setuid (the second thing)
[19:57:16] <andypugh> Is that output the result of running halrun?
[19:58:55] <bigcx2> i ran the environment script
[19:59:01] <bigcx2> also did setuid
[19:59:07] <JT-Shop> andypugh: did you delete elvis?
[19:59:22] <bigcx2> that's the output of running scripts/realtime start
[19:59:23] <JT-Shop> or just the posts
[19:59:41] <bigcx2> here's my config log
[19:59:42] <andypugh> I deleted elvis
[19:59:42] <bigcx2> http://clecol.net/config.log
[20:00:14] <andypugh> bigcx2: Do you get the same if you run halrun?
[20:00:49] <JT-Shop> thanks, I think we were both trying to do that at the same time but you were faster :)
[20:00:52] <bigcx2> andypugh: yes
[20:03:47] <andypugh> There are some failures in the config log. I don't know if they are to be expected.
[20:05:03] <andypugh> I never use the configure options, and it just works.
[20:05:36] <andypugh> ./autogen.sh ./configure make sudo make setuid is all I have ever tried.
[20:06:53] <bigcx2> right, i have non-standard install directories
[20:09:02] <andypugh> Do you _need_ non-standard install directories? I think that some of the scripts might be a bit more hard-coded than is ideal.
[20:09:29] <bigcx2> andypugh: to use my current setup, yes unfortunately
[20:10:21] <bigcx2> otherwise i'd have to start from scratch...so if something needs fixing i'd like to fix it for others who might run into the same thing
[20:10:46] <bigcx2> i already have my rtai and kernel installation running well on my hardware
[20:10:59] <bigcx2> for another application
[20:17:32] <andypugh> I wonder if the scripts/realtime script has the right paths in it? It creates them using the template in reatime.in
[20:18:47] <andypugh> That might, of course, be a complete red-herring.
[20:26:06] <bigcx2> i'm thinking that when i generated my linux headers, i might not have done so with rtai configured
[20:26:07] <bigcx2> hmm
[20:26:34] <bigcx2> that might be a problem
[20:31:41] -!-
JT-Shop_ [
[email protected]] has joined #emc-devel
[20:33:20] -!-
JT-Shop has quit [Ping timeout: 260 seconds]
[20:33:28] JT-Shop_ is now known as
JT-Shop
[20:33:30] -!-
syyl has quit [Quit: Leaving]
[20:35:15] -!-
mhaberler has quit [Quit: mhaberler]
[20:47:02] <andypugh> Does anyone have an opinion on whether it is a good idea to change the pin names in a driver that currently exists in the wild, albeit one that is only in 2.5?
[20:49:25] -!-
mrsunshine has quit [Ping timeout: 240 seconds]
[20:54:55] -!-
micges has quit [Ping timeout: 260 seconds]
[20:57:14] <JT-Shop> do you think any one uses it yet?
[20:58:14] <andypugh> Yes.
[20:58:35] <JT-Shop> I saw your e-mail this morning and I think it is good to correct it before 2.5 hits the streets officially
[20:58:59] <andypugh> It's the 7i64, and there are (I think) a couple of users on the forum using it.
[20:59:05] <andypugh> Mori Jr?
[20:59:22] <JT-Shop> ah, he can be told of the change then
[21:00:10] <JT-Shop> yep he does
[21:01:42] <JT-Shop> looks like one other has asked about the 7i64 but does not currently have one
[21:02:02] <andypugh> PCW should know how many are out there.
[21:02:22] <JT-Shop> schmidtmotorworks is the only one I can find
[21:03:21] <andypugh> currently we have 5i23.0.7i64.0.0.gpio.00.in and 5i23.0.7i64.0.0.gpio.00.in-not
[21:03:54] <andypugh> does hm2_5i23.0.7i64.0.0.digital-in-00 and hm2_5i23.0.7i64.0.0.digital-in-00-not look right?
[21:04:20] <JT-Shop> yea, I forget are they different than the gpio?
[21:04:50] <andypugh> They are dedicated Input and output drivers. 24 of each.
[21:05:11] <JT-Shop> got it, so they are not gpio then
[21:05:12] <andypugh> So not GPIO, maybe GPI and GPO, but then are they "G"?
[21:05:33] <JT-Shop> not General at all but in and out
[21:06:12] <andypugh> They might be considered general in the sense that they are not tied to a function, like pWM output, or encoder index.
[21:06:42] -!-
micges [
[email protected]] has joined #emc-devel
[21:06:45] <JT-Shop> but they are only inputs or outputs and not changeable from one to the other?
[21:06:54] <andypugh> No, they are what they are.
[21:07:33] <andypugh> Hmm, hm2_5i23.0.7i64.0.0.digital-in-00-not or hm2_5i23.0.7i64.0.0.digital-in.00.not ?
[21:07:39] <JT-Shop> then digital-in and digital-out is less confusing and more intuitive in the long run
[21:08:19] <andypugh> Especially as digital in 00 and digital out 00 both exist on the same board, but are different connectors.
[21:08:22] <JT-Shop> hm2_5i23.0.7i64.0.0.digital-in-00-not
[21:09:05] <JT-Shop> maybe then hm2_5i23.0.7i64.0.0.digital.in-00-not and hm2_5i23.0.7i64.0.0.digital.out-00-not
[21:09:05] <micges> andypugh: follow hal canonical reference
[21:09:19] <micges> maybe it will be better
[21:09:32] -!-
FinboySlick has quit [Quit: Leaving.]
[21:09:55] <andypugh> micges: Good idea. I could do with a link
[21:10:17] <JT-Shop> on the docs page I think
[21:11:10] <micges> http://www.linuxcnc.org/docview/html/hal_general_ref.html
[21:12:04] <JT-Shop> so hm2_5i23.0.7i64.0.0.digital.in-00-not and hm2_5i23.0.7i64.0.0.digital.out-00-not seems to fit?
[21:13:09] <andypugh> Yes, as . is meant to separate items on different hierarchies
[21:15:00] <micges> hm2_5i23.0.7i64.0.0.digin.00.in
[21:15:14] <micges> hm2_5i23.0.7i64.0.0.digin.00.in_not
[21:15:44] <micges> why there are two 0.0. ?
[21:16:10] <andypugh> You can have up to 8 devices on 4 ports
[21:16:20] <micges> ok
[21:16:59] <andypugh> so the 32nd 7i64 would be .3.7.
[21:17:47] <andypugh> 32 x 7i64 would probably be adequate IO.
[21:18:11] <micges> all drivers should follow hal canonical reference but it's HUGE change
[21:18:45] <andypugh> but, back to the - / . Parallel port pins are called pin-00-in and pin-00-in-not
[21:19:50] <andypugh> Are you suggesting that digital-in, digital-out and analogue-in are items on the same hierarchical level, so should be folowed by a dot?
[21:20:33] <andypugh> Ah, yes, 1.3.1 is quite clear isn't it?
[21:21:09] <micges> I know, someone desinged canonical interface but only few parts of hal driver follow it
[21:21:38] <andypugh> hm2_5i23.0.7i64.0.0.digital.00.in-not
[21:21:47] <micges> so question is: are we finally follow 'rules' or make it simmilar to existing ones
[21:22:17] <andypugh> I do what I am told to do, generally by the first person to tell me ;-)
[21:23:44] <micges> I talked about it with others, they more less agree, but they more agree breaking almost all configs is bigger pain ;)
[21:24:00] <andypugh> In this case, Chris Morley thinks that the pin naming should make it clear that digital-in-00 and digital-out-00 are physically different pins.
[21:24:40] <micges> hm2_5i23.0.7i64.0.0.digout.00.out
[21:24:50] <andypugh> ....digital.00.in and digital.00.out doesn't seem to make that clear to me.
[21:25:39] <andypugh> you prefer digout to digital_out (or digital-out)?
[21:26:13] <JT-Shop> I think underscores are frowned upon
[21:26:23] <micges> I don't have prefers, just following docs
[21:26:48] <andypugh> Ah, yes, just read down to digin and digout
[21:27:17] <micges> andypugh: we don't have clean rules about it so ask others and make vote
[21:28:12] <andypugh> Seems simplest to follow the doc. Pity, it amused me to have analogue-in pins (british spelling) ;-)
[21:29:12] <micges> hehe
[21:29:38] -!-
tris has quit [Excess Flood]
[21:29:40] <micges> for me it is french spelling ;)
[21:30:29] <micges> (in Poland people thinks that all -ue words are french)
[21:31:16] <andypugh> They probably are. Half of english is french, half is german and half is norse. The the other half is latin
[21:31:29] <andypugh> (We have twice as many words as we need)
[21:31:36] <JT-Shop> tha't 4 halves
[21:31:44] <JT-Shop> that's
[21:32:12] <JT-Shop> well the gantry is fully functional now :)
[21:39:24] <alex_joni> bigcx2: I doubt that's your problem
[21:39:55] <bigcx2> alex_joni: any other suggestions then?
[21:40:04] <alex_joni> not really.. no
[21:40:38] <alex_joni> I think that if the headers were a problem, you'd get compile problems
[21:45:13] <bigcx2> alex_joni: could you check out my config log to see if anything looks out of place? there are a couple of errors that look suspicious
[21:45:21] <bigcx2> http://clecol.net/config.log
[21:46:06] <alex_joni> that's what I was reading
[21:46:10] <bigcx2> ah ok
[21:46:12] <alex_joni> how about ulimit?
[21:48:01] <bigcx2> unlimited
[21:48:41] <alex_joni> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI#Memlock_Size
[21:51:03] <bigcx2> how do i refresh limits.conf
[21:53:33] -!-
Fox_Muldr has quit [Ping timeout: 260 seconds]
[21:59:07] <bigcx2> hm
[21:59:19] <bigcx2> now i'm not getting that rtapi error on scripts/realtime start
[21:59:41] <alex_joni> which one? the missing symbol?
[21:59:47] <bigcx2> yea
[21:59:48] <bigcx2> but
[21:59:53] <bigcx2> whenever i run emc...
[22:01:24] <bigcx2> oh nope
[22:01:27] <bigcx2> same error
[22:01:29] <bigcx2> poop
[22:01:48] <bigcx2> i can't mess with it anymore today, gotta go let my pooch out
[22:02:07] <bigcx2> otherwise i'm gonna have pee all over the floor :)
[22:02:22] <bigcx2> see if i can come up with anything better for tomorrow, right now i'm stumped
[22:02:23] -!-
bigcx2 [bigcx2!~bigcx2@173-163-44-9-cpennsylvania.hfc.comcastbusiness.net] has parted #emc-devel
[22:02:27] -!-
bigcx2 [bigcx2!~bigcx2@173-163-44-9-cpennsylvania.hfc.comcastbusiness.net] has joined #emc-devel
[22:03:25] -!-
odiug has quit [Ping timeout: 240 seconds]
[22:13:08] -!-
JT-Shop has quit [Ping timeout: 252 seconds]
[22:32:24] -!-
JT-Shop has quit [Ping timeout: 260 seconds]
[22:32:56] -!-
servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[22:35:32] -!-
bootnecklad has quit [Ping timeout: 252 seconds]
[22:40:50] -!-
anonimasu has quit [Ping timeout: 258 seconds]
[22:41:56] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[22:47:14] -!-
JT-Shop has quit [Ping timeout: 252 seconds]
[22:53:27] -!-
micges has quit [Quit: Ex-Chat]
[22:55:51] -!-
JT-Shop [
[email protected]] has joined #emc-devel
[23:00:40] -!-
andypugh has quit [Quit: andypugh]
[23:03:11] -!-
JT-Shop has quit [Ping timeout: 252 seconds]
[23:27:49] doofenschmitrz is now known as
bruxelles
[23:28:13] bruxelles is now known as
freb
[23:28:21] freb is now known as
ferb
[23:28:58] -!-
robh__ has quit [Ping timeout: 260 seconds]
[23:29:22] ferb is now known as
Guest6791
[23:34:34] -!-
Guest6791 has quit [Quit: Page closed]
[23:59:19] -!-
JT-Shop [
[email protected]] has joined #emc-devel