#linuxcnc-devel | Logs for 2014-01-01

Back
[00:06:23] -!- maximilian_h [maximilian_h!~bonsai@g227075005.adsl.alicedsl.de] has joined #linuxcnc-devel
[00:06:26] -!- maximilian_h [maximilian_h!~bonsai@g227075005.adsl.alicedsl.de] has parted #linuxcnc-devel
[00:35:23] -!- Guest86747 has quit [Quit: Leaving]
[00:44:26] -!- robh_ [robh_!~robh@2.124.65.33] has joined #linuxcnc-devel
[00:44:49] robh_ is now known as Guest61414
[00:46:47] -!- robh__ has quit [Ping timeout: 245 seconds]
[01:23:15] -!- ssi_ has quit [Ping timeout: 252 seconds]
[01:27:17] -!- morfic has quit [Remote host closed the connection]
[01:34:14] -!- PCW has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
[01:38:56] <eric_unterhausen> precise rtai kernel headers return following error on my system:
[01:38:59] <eric_unterhausen> http://pastebin.com/DAHfjMWE
[01:42:06] <eric_unterhausen> error is that linux purists need to be smacked upside the head http://pastebin.com/1zamrMwt
[01:42:22] <CaptHindsight> lol
[01:43:53] -!- jfire has quit [Quit: Leaving.]
[01:45:07] -!- i_tarzan_ has quit [Ping timeout: 246 seconds]
[01:56:38] -!- jleh has quit [Ping timeout: 264 seconds]
[01:56:59] -!- asah has quit [Quit: asah]
[01:57:01] -!- terabyte- has quit [Quit: terabyte-]
[02:01:54] <eric_unterhausen> I guess that comes from my attempt to install the fglrx module, but it would be nice to be given a workaround
[02:02:29] -!- Komzpa has quit [Ping timeout: 252 seconds]
[02:02:53] -!- _Gabriel has quit [Quit: Ex-Chat]
[02:23:03] -!- c-bob|afk has quit [Ping timeout: 245 seconds]
[02:23:05] c-bob is now known as c-bob|afk
[02:32:34] -!- terabyte- has quit [Quit: terabyte-]
[02:47:42] -!- ries has quit [Quit: ries]
[02:48:38] -!- Guest61414 has quit [Ping timeout: 265 seconds]
[02:52:43] -!- micges has quit [Quit: Leaving]
[02:56:59] -!- skunkworks has quit [Ping timeout: 272 seconds]
[03:01:11] -!- tinkerer has quit [Quit: Leaving.]
[03:03:50] -!- jleh has quit [Ping timeout: 264 seconds]
[03:11:51] -!- GuShH_Lap has quit [Disconnected by services]
[03:12:14] -!- jleh has quit [Ping timeout: 264 seconds]
[03:19:25] -!- |1li has quit [Read error: Connection reset by peer]
[03:25:52] -!- Servos4ever has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.23/20131210201646]]
[03:32:37] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[03:35:11] -!- andypugh has quit [Quit: andypugh]
[03:37:00] -!- asah has quit [Quit: asah]
[04:09:19] -!- Demiurge has quit [Ping timeout: 246 seconds]
[04:35:37] <eric_unterhausen> okey, so I moved the fglrx stuff to a safe place and it installed correctly
[04:39:17] -!- eric_u_cnc has quit [Remote host closed the connection]
[04:51:14] -!- jleh has quit [Ping timeout: 264 seconds]
[04:59:38] -!- jleh has quit [Ping timeout: 264 seconds]
[05:00:55] -!- arvidkahl has quit [Read error: No route to host]
[05:12:13] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[05:26:19] -!- asah has quit [Client Quit]
[05:27:35] -!- FreezingCold has quit [Ping timeout: 260 seconds]
[05:31:37] -!- lyzidiamond has quit [Client Quit]
[05:32:24] -!- paideia has quit [Quit: Leaving]
[05:45:25] ChuangTzu_ is now known as ChuangTzu
[05:46:35] -!- paideia has quit [Client Quit]
[05:46:59] -!- AR_ has quit [Ping timeout: 272 seconds]
[05:59:48] -!- gimps has quit [Ping timeout: 252 seconds]
[06:02:33] -!- Fox_Muldr has quit [Ping timeout: 252 seconds]
[06:10:03] -!- kwallace [kwallace!~kwallace@smb-51.sonnet.com] has parted #linuxcnc-devel
[06:17:01] -!- WalterN has quit [Read error: Connection reset by peer]
[06:21:29] -!- garfong has quit [Quit: Leaving]
[06:23:31] -!- eric_u_cnc has quit [Remote host closed the connection]
[07:06:25] -!- eric_u_cnc has quit [Remote host closed the connection]
[07:18:35] -!- Lekensteyn has quit [Ping timeout: 260 seconds]
[07:29:57] -!- somenewguy has quit [Ping timeout: 272 seconds]
[08:23:05] -!- tjb1 has quit [Ping timeout: 252 seconds]
[08:31:29] -!- ve7it has quit [Remote host closed the connection]
[08:37:30] -!- toastydeath has quit [Read error: Connection reset by peer]
[08:52:17] -!- somenewguy has quit [Ping timeout: 272 seconds]
[08:55:48] -!- arvidkahl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[09:10:19] -!- Komzpa has quit [Ping timeout: 246 seconds]
[09:20:28] -!- Komzpa has quit [Ping timeout: 246 seconds]
[09:55:28] -!- syyl- has quit [Ping timeout: 246 seconds]
[11:03:53] -!- Guest61414 [Guest61414!~robh@2.124.65.33] has joined #linuxcnc-devel
[11:05:20] -!- jef79m has quit [Ping timeout: 245 seconds]
[11:22:11] -!- terabyte- has quit [Quit: terabyte-]
[11:38:07] -!- terabyte- has quit [Quit: terabyte-]
[12:22:06] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[12:29:52] -!- motioncontrol has quit [Client Quit]
[12:47:59] -!- micges [micges!~captain_p@djo92.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[12:54:40] -!- y3pp3r has quit [Quit: Connection closed for inactivity]
[13:46:45] -!- Loetmichel has quit [Ping timeout: 252 seconds]
[14:03:56] -!- erasmo [erasmo!~erasmo@87.204.222.110] has joined #linuxcnc-devel
[14:09:13] -!- matheus__ has quit [Ping timeout: 272 seconds]
[14:28:51] -!- matheus_ has quit [Ping timeout: 272 seconds]
[14:34:21] -!- MrSunshine has quit [Quit: Leaving]
[15:04:10] Cylly is now known as Loetmichel
[15:16:49] -!- micges has quit [Quit: Leaving]
[15:41:11] -!- memleak has quit [Remote host closed the connection]
[16:09:01] -!- motioncontrol has quit [Remote host closed the connection]
[16:32:07] -!- Tecan has quit [Changing host]
[16:47:04] -!- tinkerer [tinkerer!~tinkerer@mail.play-pla.net] has joined #linuxcnc-devel
[16:50:06] -!- erasmo has quit [Remote host closed the connection]
[16:53:45] tjb11 is now known as tjb1
[17:01:05] -!- SkramX has quit [Quit: Page closed]
[17:07:27] -!- somenewguy has quit [Remote host closed the connection]
[17:08:53] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[17:12:27] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[17:21:07] -!- hashfail has quit [Ping timeout: 260 seconds]
[17:27:00] -!- Reventlov has quit [Quit: leaving]
[17:31:19] -!- Lekensteyn has quit [Ping timeout: 260 seconds]
[17:34:38] -!- davec_ has quit [Quit: Leaving]
[17:34:55] <skunkworks> pcw_home, any thing I can do to trouble shoot this?
[17:35:27] <skunkworks> I would love to have an image of your install.. Do you have a 7i80 you could test?
[17:36:28] <pcw_home> I have a 7I76E here (its identical Ethernet wise)
[17:38:29] <skunkworks> says you! ;)
[17:38:56] <skunkworks> I reduced the memory to <1gb as a test. I am grasping at straws
[17:39:24] <skunkworks> it has acted the same in multible systems so I think I am doing something stupid - just don't know what
[17:42:34] <skunkworks> the only thing different I see on yours is the ip address is different.. have you tried the default rom ip (192.168.1.121)
[17:44:00] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[17:50:02] -!- wboykinm has quit [Remote host closed the connection]
[17:55:49] -!- tjb1 has quit [Ping timeout: 248 seconds]
[17:59:40] <pcw_home> that will screw stuff up if you have another Ethernet/wireless in the same range
[18:00:31] <pcw_home> but if all other adapters are disabled it should make no difference at all
[18:00:55] <skunkworks> sure - I have only 1 nic (onboard) with this setup.. The atom board
[18:01:08] <Tom_itx> no mb nic?
[18:02:15] <skunkworks> it is a mb nic
[18:07:25] <pcw_home> Really no idea (tried a 7I76E and 7I80 at work with the G945, Asus, Intel D41, an ASUS AMD 450E not one hiccup)
[18:08:37] <skunkworks> darn
[18:11:42] <skunkworks> you don't think you did any extra than the directions you gave me?
[18:15:22] -!- |1li has quit [Read error: Connection reset by peer]
[18:15:52] <pcw_home> I dont think so, I installed on the HD I tested at at work with the script that I showed you
[18:20:06] tjb11 is now known as tjb1
[18:24:19] <pcw_home> http://imagebin.org/284751
[18:24:20] <pcw_home> 7I76e running at 1 KHz and being pinged at the same time...
[18:24:34] -!- GuShH_Lap has quit [Ping timeout: 240 seconds]
[18:24:55] -!- toxx has quit [Ping timeout: 245 seconds]
[18:27:49] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[18:29:29] <skunkworks> neat! and crap. :)
[18:29:52] <skunkworks> so - other than the bit file - is there a firmware that could be different in the 7i80?
[18:29:58] <skunkworks> or is the bit file it?
[18:30:17] <eric_unterhausen> it's all in the wrist
[18:31:01] -!- Tecan has quit [Changing host]
[18:31:17] <pcw_home> Nope all 7I80/7I76E firmware is identical as far as the Ethernet goes (only the hostmot2 stuff may be different)
[18:33:14] <pcw_home> Card specific stuff is in Ethernet EEPROM (IP address, LED options etc)
[18:34:02] <pcw_home> card name,mac address
[18:42:40] <skunkworks> I just loaded your config. I got a
[18:42:51] <skunkworks> encoder 0 : quadautre count error
[18:43:10] <skunkworks> (only spelled correclty_
[18:44:37] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:44:50] <pcw_home> not meaningful
[18:44:56] <pcw_home> (a bug in master)
[18:45:00] <skunkworks> ah
[18:47:22] <skunkworks> with your config - the second I set the watchdog has bit to false - I get the encoder error and it bits again.
[18:47:35] <skunkworks> wth - I will try another board
[18:48:31] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[18:54:55] <pcw_home> do you have a direct MAC --> 7I80 connection? (a switch would cause troubles)
[18:55:22] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[18:56:57] <skunkworks> direct connection
[18:57:04] -!- pcw_home has quit [Remote host closed the connection]
[18:59:07] -!- pcw_home [pcw_home!~chatzilla@c-50-174-121-10.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[18:59:30] <skunkworks> if I run a hal file with just pet, read write. the watchdog bites.
[19:01:08] -!- kwallace [kwallace!~kwallace@tmb-240.sonnet.com] has joined #linuxcnc-devel
[19:01:11] <pcw_home> beware minimal hal files (all I/O is enable if not mentioned)
[19:01:54] <pcw_home> enabled
[19:10:00] <pcw_home> but your 8 ms ping time indicates a problem unrelated to anything higher up
[19:10:13] -!- pcw_home has quit [Remote host closed the connection]
[19:11:49] <skunkworks> this computer - the ping times stay less than 300us
[19:12:06] <skunkworks> normally <100
[19:12:47] <skunkworks> the watchdog bite seems to only last as long as the timeout is set. nothing more
[19:13:28] <skunkworks> 10000000 should be 10 seconds?
[19:13:37] <skunkworks> 100000000000
[19:13:39] <skunkworks> I mean
[19:13:44] -!- pcw_home [pcw_home!~chatzilla@50.174.121.10] has joined #linuxcnc-devel
[19:13:53] <skunkworks> heh
[19:14:04] <skunkworks> this computer - the ping times stay less than 300us
[19:14:09] <skunkworks> normally <100
[19:14:25] <skunkworks> 100000000000 should be 10 seconds?
[19:14:36] -!- sumpfralle1 has quit [Ping timeout: 240 seconds]
[19:15:44] <pcw_home> thats 100 (which will wrap so unknown)
[19:16:28] -!- micges [micges!~captain_p@ewu125.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[19:16:43] <skunkworks> oh
[19:18:24] <pcw_home> mine is set for 10 ms
[19:23:15] <skunkworks> If I change the mac address - I get the same result..
[19:24:57] <pcw_home> The mac address will only make a small difference (avoiding ARP queries every couple minutes)
[19:25:03] <skunkworks> ok
[19:28:01] <pcw_home> Rather than debug things higher up, I would
[19:28:02] <pcw_home> sudo ping -i .001 [7i80IPADDR] >pin.txt
[19:28:06] <pcw_home> for a couple minutes and see if you have any large times
[19:32:46] -!- wboykinm has quit [Remote host closed the connection]
[19:34:55] <skunkworks> http://pastebin.ca/2520934
[19:35:04] <skunkworks> .376?
[19:35:45] <pcw_home> Thats about what I have here
[19:36:16] <skunkworks> ok good
[19:36:45] <skunkworks> wonder what the difference is
[19:37:10] -!- patrickarlt has quit [Remote host closed the connection]
[19:37:55] <pcw_home> Pretty mysterious (been running here all morning and several days at work on a D525)
[19:38:33] -!- voxadam has quit [Remote host closed the connection]
[19:41:56] <skunkworks> when was the last time you built? are you running
[19:41:57] <skunkworks> ^Cempire@empire-OptiPlex-380:~/linuxcnc-dev/ubc3-7i80$ git describe
[19:41:57] <skunkworks> v2.5.3-3608-g60e91dc
[19:42:03] -!- Komzpa has quit [Ping timeout: 252 seconds]
[19:43:24] <pcw_home> pcw@pcw-G41M-Combo:~/linuxcnc-dev/ubc3-7i80$ git describev2.5.3-3608-g60e91dc
[19:43:35] <skunkworks> crap crap!
[19:50:02] -!- jleh has quit [Ping timeout: 264 seconds]
[19:50:38] -!- logger[psha] has quit [Ping timeout: 264 seconds]
[19:51:54] -!- logger[psha]_ [logger[psha]_!~loggerpsh@195.135.238.205] has joined #linuxcnc-devel
[19:53:09] -!- gonzo_ has quit [Quit: 1201alarm - executive system overflow]
[19:55:08] <skunkworks> pcw_home, any help? http://pastebin.ca/2520936
[19:55:27] -!- voxadam has quit [Remote host closed the connection]
[19:57:00] <skunkworks> happy new year btw
[19:58:17] -!- jleh has quit [*.net *.split]
[19:58:17] -!- logger[psha] has quit [*.net *.split]
[19:58:17] -!- uwe_mobile has quit [*.net *.split]
[19:58:18] -!- CaptHindsight has quit [*.net *.split]
[19:58:18] -!- SpeicusX has quit [*.net *.split]
[19:58:18] -!- crib has quit [*.net *.split]
[19:58:18] -!- tris has quit [*.net *.split]
[19:58:18] -!- ds3 has quit [*.net *.split]
[19:58:18] -!- beawesomeinstead has quit [*.net *.split]
[19:58:18] -!- t12 has quit [*.net *.split]
[19:58:18] -!- _methods has quit [*.net *.split]
[19:58:21] tris- is now known as tris
[20:01:42] -!- CaptHindsight [CaptHindsight!~2020@unaffiliated/capthindsight] has joined #linuxcnc-devel
[20:02:46] <pcw_home> Happy new year
[20:03:10] <pcw_home> Hmm I dont have such a log maybe thats the problem...
[20:04:05] -!- zultron_ [zultron_!~zultron@99-190-134-148.lightspeed.austtx.sbcglobal.net] has joined #linuxcnc-devel
[20:04:07] <skunkworks> you have to do a sudo make log in the src directory
[20:04:13] <skunkworks> (I just did it )
[20:04:40] <skunkworks> then the log is in the /var/log/linuxcnc.log
[20:06:03] -!- birchy has quit [Quit: Leaving]
[20:09:04] -!- jef79m has quit [*.net *.split]
[20:09:04] -!- bedah has quit [*.net *.split]
[20:09:04] -!- s1dev has quit [*.net *.split]
[20:09:04] -!- steves_logging has quit [*.net *.split]
[20:09:04] -!- RyanS has quit [*.net *.split]
[20:09:04] -!- the_wench has quit [*.net *.split]
[20:09:04] -!- hm2-buildmaster_ has quit [*.net *.split]
[20:09:04] -!- zultron has quit [*.net *.split]
[20:09:06] s1dev_ is now known as s1dev
[20:12:13] -!- patricka_ has quit [Read error: Connection reset by peer]
[20:13:06] -!- patrickarlt has quit [Ping timeout: 265 seconds]
[20:13:43] <pcw_home> that fails for me
[20:14:14] <skunkworks> http://static.mah.priv.at/public/html/common/UnifiedBuild.html#_installation
[20:14:32] -!- hm2-buildmaster [hm2-buildmaster!~hm2-build@184-96-165-188.hlrn.qwest.net] has joined #linuxcnc-devel
[20:17:25] <skunkworks> wonder why that would fail
[20:17:27] -!- patricka_ has quit [Ping timeout: 265 seconds]
[20:19:45] -!- lyzidiamond has quit [Quit: lyzidiamond]
[20:21:26] -!- arvidkahl has quit [Ping timeout: 240 seconds]
[20:21:44] -!- SkramX has quit [Quit: Page closed]
[20:22:45] <pcw_home> no idea:
[20:22:53] <pcw_home> make: Entering directory `/home/pcw/linuxcnc-dev/ubc3-7i80/src'
[20:22:53] <pcw_home> *** configure.in has changed ***
[20:22:53] <pcw_home> Not running autoconf to avoid tainting universal build
[20:22:53] <pcw_home> Please investigate or start from scratch:
[20:22:53] <pcw_home> ./autogen.sh && ./configure --your-configure-args...
[20:22:54] <pcw_home> make: *** [configure] Error 1
[20:22:55] <pcw_home> make: Leaving directory `/home/pcw/linuxcnc-dev/ubc3-7i80/src'
[20:27:19] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[20:28:59] -!- arvidkahl has quit [Client Quit]
[20:29:20] <skunkworks> did you try ./autogen.sh and your ./configure.....
[20:31:26] -!- RyanS has quit [Ping timeout: 240 seconds]
[20:31:41] <skunkworks> this is running DEBUG=5
[20:31:53] -!- gonzo_2 has quit [Read error: Connection reset by peer]
[20:31:53] <skunkworks> http://pastebin.ca/2520944
[20:36:26] -!- voxadam has quit [Remote host closed the connection]
[20:40:09] -!- gonzo_2 has quit [Quit: Leaving]
[20:44:13] <pcw_home> 7I76E:
[20:44:15] <pcw_home> http://pastebin.ca/2520945
[20:46:55] -!- djinni` has quit [Ping timeout: 260 seconds]
[20:46:55] -!- mal`` has quit [Ping timeout: 260 seconds]
[20:47:58] <micges> skunkworks: do you have sserial enabled?
[20:48:22] <skunkworks> I don't think so
[20:48:56] <skunkworks> sserial_port_0=00000000
[20:49:11] <skunkworks> hm2/hm2_7i80.0: parsing config string "num_encoders=1 num_pwmgens=1 num_stepgens=1"
[20:49:41] <micges> yes I'm looking now
[20:51:27] <skunkworks> looks like it created the pins... But I have the same issue with peters config
[20:52:58] -!- mal`` [mal``!~mal``@li125-242.members.linode.com] has joined #linuxcnc-devel
[20:53:10] <skunkworks> (sorry - it didn't create the pins - I was looking at peters log_
[20:55:24] -!- mal`` has quit [Excess Flood]
[20:58:20] -!- mal`` [mal``!~mal``@li125-242.members.linode.com] has joined #linuxcnc-devel
[20:59:30] <skunkworks> THis is running peters config
[20:59:31] <skunkworks> http://pastebin.ca/2520949
[21:01:32] <skunkworks> this is running the config with DEBUG=5
[21:01:32] <skunkworks> http://pastebin.ca/2520950
[21:06:45] -!- asah has quit [Ping timeout: 252 seconds]
[21:09:47] -!- terabyte- has quit [Quit: terabyte-]
[21:13:46] -!- AR__ has quit [Read error: Connection reset by peer]
[21:13:56] -!- maximilian_h [maximilian_h!~bonsai@130.255.104.21] has joined #linuxcnc-devel
[21:13:56] -!- maximilian_h has quit [Client Quit]
[21:24:07] -!- Komzzpa has quit [Read error: Connection reset by peer]
[21:31:24] -!- ravenlock has quit [Ping timeout: 265 seconds]
[21:39:12] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[21:39:56] -!- tom_R2E3 has quit []
[21:44:15] <skunkworks> micges, any thoughts?
[21:44:38] <micges> not really
[21:45:19] <micges> lets summarize:
[21:45:25] <micges> same mb?
[21:45:50] <skunkworks> I have tried 4 different systems - 2 different installs of ubuntu.
[21:46:03] <skunkworks> one of them is the same as pcw test systems.
[21:46:29] <micges> and on all you have wd bite?
[21:46:36] <skunkworks> yes
[21:47:15] <skunkworks> this system has the network manager uninstalled and I do a
[21:47:24] <skunkworks> sudo ifconfig eth0 192.168.1.1
[21:47:35] <skunkworks> on startup
[21:48:55] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[21:49:38] <pcw_home> That is a difference, I didn't change anything in the network setup other than using the ubuntu tools
[21:49:50] <skunkworks> I tried that also first..
[21:50:04] <skunkworks> I removed the network manager as a test
[21:50:50] <micges> skunkworks: try short run with debug=1 and pstebin output
[21:51:01] <pcw_home> (the network mangler is dangerous since if you fuss with the tool when linuxcnc is up it causes trouble)
[21:51:03] <micges> in loadrt hm2_eth
[21:55:08] -!- matheus__ has quit [Ping timeout: 245 seconds]
[21:58:55] <skunkworks> http://pastebin.ca/2520957
[22:00:12] <micges> pcw_home: do you see sth suspicious on wd at line >200 ?
[22:00:15] -!- voxadam has quit [Ping timeout: 240 seconds]
[22:01:29] -!- somenewguy has quit [Ping timeout: 252 seconds]
[22:02:01] -!- gonzo_ has quit [Read error: Connection reset by peer]
[22:05:44] <pcw_home> might be nice to know the data
[22:06:20] -!- andypugh [andypugh!~andy2@cpc14-basl11-2-0-cust436.20-1.cable.virginm.net] has joined #linuxcnc-devel
[22:08:23] <micges> skunkworks: can you make little code change for tests?
[22:08:34] <skunkworks> sure
[22:09:02] <micges> hm2_eth.c
[22:10:37] <pcw_home> write cookie
[22:10:39] <pcw_home> read status
[22:10:39] <pcw_home> write timeout
[22:10:41] <pcw_home> clear WD
[22:10:43] <pcw_home> write cookie
[22:10:44] <pcw_home> read status
[22:10:45] <pcw_home> (WD has bit!)
[22:10:58] -!- Connor has quit [Read error: Connection reset by peer]
[22:11:29] <pcw_home> is how I decode that section
[22:11:40] <pcw_home> need better time stamps though
[22:12:04] -!- Deejay has quit [Quit: Deejay]
[22:12:22] <micges> skunkworks: sorry tram.c
[22:12:34] <micges> line 172
[22:12:53] <micges> change 'queue_write' to 'write'
[22:14:48] <skunkworks> then make - and run - post a log?
[22:16:31] <micges> yes
[22:17:09] <micges> still with debug=1 option
[22:17:46] -!- voxadam has quit [Read error: Connection reset by peer]
[22:18:14] -!- The_Ball has quit [Remote host closed the connection]
[22:21:08] <skunkworks> http://pastebin.ca/2520958
[22:23:38] <micges> ok, reverse that change
[22:23:44] <micges> go to hm2_eth.c
[22:23:54] <micges> line 275
[22:26:32] <micges> change whole line 275 and 276 to:
[22:26:34] <micges> LL_PRINT_IF(debug, "write(): PACKET SENDED [CMD:%02X%02X | ADDR: %02X%02X | DATA: %02X%02X%02X%02X | SIZE: %d]\n", packet.wr_packet.cmd_hi, packet.wr_packet.cmd_lo,
[22:26:34] <micges> packet.wr_packet.addr_lo, packet.wr_packet.addr_hi, packet.tmp_buffer[0], packet.tmp_buffer[1], packet.tmp_buffer[2], packet.tmp_buffer[3], size);
[22:27:11] <micges> make, run and pastebin log
[22:27:34] <skunkworks> can you pastebin that line?
[22:27:45] <micges> sure
[22:28:32] <micges> http://pastebin.ca/2520964
[22:31:17] -!- steves_logging [steves_logging!~Steve@wsip-70-168-134-18.dc.dc.cox.net] has joined #linuxcnc-devel
[22:31:40] -!- chillly has quit [Quit: Leaving]
[22:36:24] <micges> skunkworks: I didn't compile it
[22:37:22] <pcw_home> the grammar nazi in me suggests PACKET SENT instead of PACKET SENDED
[22:38:25] <micges> thanks
[22:39:04] <skunkworks> http://pastebin.ca/2520965
[22:39:13] <skunkworks> does that make sense?
[22:44:01] <micges> pcw_home: ?
[22:44:23] <micges> pcw_home: for me it's ok
[22:45:08] <pcw_home> Looks OK to me
[22:46:04] <pcw_home> (other than the WD biting immediately even thou it has a very long timeout: 0x1FA10700
[22:46:33] <pcw_home> maybe the read data is bogus
[22:46:39] -!- voxadam has quit [Ping timeout: 240 seconds]
[22:47:45] <skunkworks> swapped different network cable also
[22:48:41] <pcw_home> well bad data would not get this far
[22:49:22] <pcw_home> where is the debug=1 flag (I will duplicate here)
[22:49:39] <micges> in loadrt hm2_eth
[22:50:37] <skunkworks> would seeing the read data help?
[22:51:31] <micges> prpbably
[22:54:53] <micges> skunkworks: add this line: http://pastebin.ca/2520967
[22:55:53] <micges> after line 230
[23:00:40] <pcw_home> I cant see that my config sets the watchdog timeout
[23:01:03] <skunkworks> http://pastebin.ca/2520968
[23:01:28] <skunkworks> you have the watchdog timout set in the hal file
[23:01:41] <skunkworks> or do you mean in the log?
[23:02:09] <skunkworks> READED DATA: FFFFFF00
[23:03:07] <pcw_home> that is not a bite!
[23:03:25] -!- ekolojik has quit [Quit: Konversation terminated!]
[23:03:39] <pcw_home> bite is 1 in LSb
[23:04:35] <skunkworks> something is goofy ;)
[23:05:22] <micges> if (hm2->watchdog.status_reg[0] & 0x1) {
[23:05:22] <micges> 108 HM2_PRINT("Watchdog has bit! (set the .has-bit pin to False to resume)\n");
[23:05:22] <micges> 109 *hm2->watchdog.instance[0].hal.pin.has_bit = 1;
[23:05:22] <micges> 110 hm2->llio->needs_reset = 1;
[23:05:22] <micges> 111 }
[23:06:55] <pcw_home> also FFFFFF00 is not possible from that register
[23:07:18] <pcw_home> only 0x00000000 or 0x00000001
[23:07:40] <pcw_home> if readstatus = '1' then
[23:07:41] <pcw_home> obus(0) <= wdstatus;
[23:07:43] <pcw_home> obus(buswidth -1 downto 1) <= (others => '0');
[23:07:44] <pcw_home> end if;
[23:10:56] -!- terabyte- has quit [Quit: terabyte-]
[23:11:13] * skunkworks stares blindly..
[23:11:27] <micges> skunkworks: this is whole hm2_eth.c to test: http://pastebin.ca/2520971
[23:14:06] -!- ilian has quit [Client Quit]
[23:14:28] -!- Komzzzpa has quit [Quit: Konversation terminated!]
[23:14:56] -!- jasen has quit [Quit: Page closed]
[23:15:27] -!- i_tom has quit [Client Quit]
[23:16:27] <skunkworks> micges, http://pastebin.ca/2520973
[23:17:18] <micges> hmm correct data size readed
[23:18:02] <pcw_home> if i read 0x0d00 I get 0x00000001
[23:19:41] <micges> even so wd code only checks one lsb, why is it triggering?
[23:21:49] <skunkworks> so what would be different between mine and peters..
[23:22:11] <skunkworks> and is that the packet that is triggering the watchdog?
[23:22:15] <pcw_home> I never get the watchdog enabled
[23:23:47] -!- gonzo_ has quit [Read error: Connection reset by peer]
[23:24:16] <pcw_home> lots of questions
[23:24:18] <pcw_home> Why dont I have my watchdog enabled (no timeout was written)
[23:24:19] <pcw_home> How do you get 0XFFFFFF00 (its not a possible response from a read of 0x0D00)
[23:24:21] <pcw_home> How does 0xFFFFFF00 masked with 1 return true
[23:25:03] <skunkworks> so - yours works because the watch dog isn't enabled?
[23:25:08] <micges> if so then I have it disabled too...
[23:26:18] <pcw_home> skunkworks did you try my config as-is?
[23:28:02] <pcw_home> its just hm2-stepper. the watchdog should be enabled but appears not to be (I dont see any writes to 0x0C00 in the log)
[23:28:03] <pcw_home> but maybe they have been lost somehow
[23:28:32] <micges> why can I read encoder and can't read wd?
[23:28:55] <micges> if so it seems writing must be checked deeply
[23:29:26] -!- Komzpa has quit [Ping timeout: 240 seconds]
[23:29:37] <skunkworks> pcw_home, I had to change the ip, mac and board.. I don't know if I changed anything else
[23:29:47] <pcw_home> Sorry it does look like my watchdog is enabled
[23:29:59] <pcw_home> >0142000d
[23:30:01] <pcw_home> > 00000000
[23:30:04] <pcw_home> >0142000c
[23:30:04] <pcw_home> > 2f3f0f00
[23:30:13] <skunkworks> If I don't add the watchdog function - I can't really jog around - I get following errors
[23:30:43] <skunkworks> (and then set the watchdog has bit to true
[23:31:58] <skunkworks> I am going to have to leave..
[23:32:22] <skunkworks> I will be around to morrow
[23:32:27] <skunkworks> tomorrow
[23:33:38] <skunkworks> Thank for helping with this. I have no clue what is going on.
[23:34:51] <pcw_home> Yeah my watchdog is enabled (the timeout is set)
[23:34:51] -!- i_tom has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[23:35:23] <pcw_home> Thank as well, a pretty subtle bug
[23:35:30] <pcw_home> thanks
[23:36:00] <skunkworks> I just have a hal file that only runs the 3 threads.. nothing else. PRetty basic
[23:36:15] <skunkworks> (watchdog, read and write)
[23:36:35] <skunkworks> BBL
[23:36:43] -!- skunkworks has quit [Quit: Leaving]
[23:36:44] <pcw_home> bye
[23:38:28] <pcw_home> btw micges I can read hm2 registers from a terminal while linuxcnc is running which is pretty helpful
[23:38:30] <pcw_home> (I can see that the watchdog is enabled and working on my config this way)
[23:39:00] <micges> by mf?
[23:39:37] <micges> or by simple python script
[23:41:50] -!- voxadam has quit [Ping timeout: 240 seconds]
[23:42:53] <micges> (hmm by both really)
[23:47:03] -!- terabyte- has quit [Quit: terabyte-]
[23:47:27] <pcw_home> i just used python but anything should work
[23:48:38] <pcw_home> watchdog timer value with linuxcnc running and stopped
[23:48:39] <pcw_home> >0142000c
[23:48:41] <pcw_home> > b5330f00
[23:48:42] <pcw_home> >0142000c
[23:48:44] <pcw_home> > ffffffff
[23:49:15] <micges> correct
[23:51:26] -!- voxadam has quit [Ping timeout: 240 seconds]
[23:53:49] -!- memleak [memleak!~memleak@unaffiliated/memleak] has joined #linuxcnc-devel
[23:59:41] -!- sudobangbang has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]