#linuxcnc-devel | Logs for 2013-09-19

Back
[00:01:24] -!- Nick001-shop has quit [Remote host closed the connection]
[00:27:02] -!- tjb1 has quit [Quit: Leaving.]
[00:43:46] <andypugh> Sep 19 01:37:09 dn2800 kernel: [12179.901096] RTAPI: Task 1[f5e68800]: Fault with vec=13, signo=11 ip=f829f2c5. ---- cat/proc/modules --- hm2_pci 9808 0 - Live 0xf829f000 ----- addr2line -e hm2_pci.ko 0x2c5 ------
[00:44:14] -!- mrguser has quit [Client Quit]
[00:44:27] <andypugh> hm2_pci.c:204 ----- *(u32*)buffer = *(u32*)src;
[00:44:51] <andypugh> I am thinking that just isn't where my problem is?
[00:50:19] <andypugh> The problem occurs when I start threads. That addr2line puts the error in hm2_pci_read which I rather suspect is one of the most dependable bits of code in the whole package
[01:12:03] <jepler> it could fault there if board->base is wrong, if addr is an unexpected value, if size is an unexpected value, or if buffer is not valid or doesn't point to big enough storage
[01:12:58] <jepler> or if seb's august 3 change to that function has some not-yet-spotted bug :-P
[01:15:10] <jepler> if you objdump -d hm2_pci.ko and look for the instruction at address 0x2c5 and see whether it is the load or store; that will tell you whether to suspect addr or buffer more
[01:15:39] <jepler> (assuming it hasn't been optimized into a rep movsl or so)
[01:15:54] <andypugh> For the time being I am blaming me, and will look more carefully tomorrow.
[01:16:51] <andypugh> Most probably I have carelessly written out-of-bounds or similar.
[01:17:35] <andypugh> Though previously addr2line has not missed the target.
[01:18:07] <jepler> it occurs to me that if you wanted to do your work on top of the UB3 branch you would potentially have a hostmot2 driver you could debug in gdb, and might be able to get away without rebooting after each crash
[01:18:15] <jepler> don't worry, the crash can occur on that line *and it can be 100% your fault*
[01:18:23] <jepler> like if you passed in NULL for buffer, f'rinstance
[01:18:51] <andypugh> Yes, the thought of moving to UB3 and into userspace does seem appealing at these junctures.
[01:20:00] <andypugh> But then I realise that I have no idea how to use gdb, and go back to what I know. (also, this isn't reboot-every-time bad. That was earlier in the evening.
[01:20:12] <jepler> that's worth something then
[01:20:31] <jepler> it's true, you would probably lose at least one evening to building ub3 and getting the most basic gdb under your belt
[01:21:24] <andypugh> And I have one evening to fix the broken driver I pushed at the weekend (I am away from friday to sunday_
[01:21:46] <andypugh> And it's too late to manage much more tonight)
[01:21:52] <jepler> go have a sleep, then
[01:21:58] -!- c-bob has quit [Ping timeout: 256 seconds]
[01:22:34] <andypugh> The SSI driver is currently perfect unless you have more than one encoder...
[01:22:56] <jepler> you should be able to simply find the place you wrote "1" and write a bigger number there.
[01:23:01] <jepler> <j/k>
[01:23:22] -!- Servos4ever has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.20/20130803195701]]
[01:23:30] -!- kwallace [kwallace!~kwallace@smb-142.sonnet.com] has joined #linuxcnc-devel
[01:24:48] <jepler> you might have to not only use ub3 branch but also get an rt-preempt kernel :-/
[01:25:26] <andypugh> I have that, I did some testing there.
[01:25:32] -!- kwallace3 has quit [Ping timeout: 256 seconds]
[01:25:42] <andypugh> I think I see two huge clues:
[01:25:43] <andypugh> http://pastebin.com/uKLmVQ4M
[01:26:12] <jepler> Sep 19 02:23:06 dn2800 kernel: [14934.487959] hm2/hm2_5i25.0: command_addr: 0xC0516250
[01:26:18] <jepler> yes that seems like it sure could be a wrong value
[01:26:30] <andypugh> And, thinking about it, I did have "Sep 19 02:23:06 dn2800 kernel: [14934.481999] hm2/hm2_5i25.0: We don't handle BISS or Fanuc yet, sorry"
[01:27:21] <andypugh> So, it's probably just that I didn't actually write those bits of the driver yet, and I can basically relax.
[01:28:20] <andypugh> (I was testing config string entries,and forgot that once they worked I would hit lack-of-driver bugs :-)
[01:29:26] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[01:30:01] <jepler> oh
[01:31:12] <andypugh> If I leave out the BiSS and Fanuc configs, 'tis all fine :-)
[01:40:17] <andypugh> I never hit "the zone" coding stuff at home. When you have a list of things in your head part-coded and eventualities to cover, and dare not stop typing in case you drop a thread, no matter how late you have to stay. IRC, email, and just, actually, being at home in your own time get in the way. It's a satisfying place to be though, perhaps I should turn off the net, hide the wine, and just get down to it. But this
[01:40:18] <andypugh> (for me) a hobby.
[01:44:20] <jepler> it's been hard fo rme to find the hobby in linuxcnc for a couple of years now
[01:45:26] -!- AR_ has quit [Ping timeout: 240 seconds]
[01:45:28] <jepler> I used to come home and code linuxcnc for 4, 6, 8 hours a night .. it's just not that gripping for me anymore
[01:45:40] <andypugh> I keep switching areas. I was building machines and machining stuff between Wichita and a few weeks ago
[01:45:41] <jepler> but that's OK, it is still a project with lots of interested and capable people
[01:46:41] <jepler> anyway, just in case it helps you next time around, I went ahead and wrote up some (verified!) instructions on how to run the debugger on the ubc3 branch. http://emergent.unpythonic.net/01379554481
[01:47:31] <andypugh> This SSI stuff was meant to be a short easy project to get my dev systems working and me onto coding. However it has turned out to be hard, I am not sure that the plan to do this then get back to tool table is going to happen that way.
[01:52:30] <andypugh> It's actually quite interesting. We had a driver for each hm2 module, then PCW created smart-serial where the modules tell us what data they take/make and how that is packed in the bit registers, then SSI / BiSS came along where the users need to tell us how the data is packed into the bit stream, and now I rather suspect that the whole of hm2_encoder.c could be encapsulated in a string like "counts%32sindex-enabl
[01:54:15] <andypugh> It's a classic case of "if we were starting now, we would do it differently". And I am _still_ impressed by how many layers of abstraction seb put in the original driver.
[01:55:33] <andypugh> Seb put in arbitrary interfaces with arbitrary cards. I added arbitrary modules with arbitrary pins.
[02:03:17] -!- tchaddad has quit [Read error: Connection reset by peer]
[02:03:19] <andypugh> Anyway, gdb clues bookmarked, thanks. Time to sleep.
[02:04:39] -!- andypugh has quit [Quit: andypugh]
[02:06:59] -!- morlenxus has quit [Disconnected by services]
[02:07:04] -!- morlenxus_ [morlenxus_!~morlenxus@g227131148.adsl.alicedsl.de] has joined #linuxcnc-devel
[02:07:25] -!- DaViruz has quit [Read error: Connection reset by peer]
[02:10:24] -!- tchaddad has quit [Read error: Connection reset by peer]
[02:13:57] -!- geografa has quit [Quit: Computer has gone to sleep.]
[02:25:03] -!- tchaddad_ has quit [Remote host closed the connection]
[02:49:44] <KGB-linuxcnc> 03jepler 05master c73f4da 06linuxcnc 10src/hal/drivers/mesa-hostmot2/ 10hostmot2.c 10hostmot2.h 10pins.c * undo unintended permissions changes
[02:49:44] <KGB-linuxcnc> 03jepler 05master f745010 06linuxcnc 04configs/sim/gscreen_custom/sim.tbl.bak * backup file should not be tracked by git
[02:49:48] <KGB-linuxcnc> 03jepler 05master a7ccc9a 06linuxcnc 10(9 files in 4 dirs) * Add license notices
[03:08:30] -!- Kup1 has quit [Max SendQ exceeded]
[03:09:33] -!- Kup1 has quit [Max SendQ exceeded]
[03:09:55] -!- Kup1 has quit [Max SendQ exceeded]
[03:10:14] -!- Kup has quit [Ping timeout: 240 seconds]
[03:11:06] -!- Kup has quit [Max SendQ exceeded]
[03:12:56] -!- Kup has quit [Max SendQ exceeded]
[03:13:31] -!- Kup has quit [Max SendQ exceeded]
[03:14:50] -!- Kup has quit [Max SendQ exceeded]
[03:15:39] -!- Kup has quit [Max SendQ exceeded]
[03:17:20] -!- Kup has quit [Max SendQ exceeded]
[03:19:12] -!- Kup has quit [Max SendQ exceeded]
[03:21:09] -!- Kup has quit [Max SendQ exceeded]
[03:23:09] -!- Kup has quit [Max SendQ exceeded]
[03:23:26] -!- lucashodge has quit [Quit: I am away now.]
[03:24:01] -!- Kup has quit [Max SendQ exceeded]
[03:25:17] -!- Kup has quit [Max SendQ exceeded]
[03:26:57] -!- Kup has quit [Max SendQ exceeded]
[03:29:07] -!- Kup has quit [Max SendQ exceeded]
[03:31:10] -!- Kup has quit [Max SendQ exceeded]
[03:33:03] -!- Kup has quit [Max SendQ exceeded]
[03:34:54] -!- Kup has quit [Max SendQ exceeded]
[03:35:22] -!- FinboySlick has quit [Quit: Leaving.]
[03:36:55] -!- Kup has quit [Max SendQ exceeded]
[03:38:21] -!- Kup has quit [Max SendQ exceeded]
[03:38:58] -!- Thetawaves has quit [Remote host closed the connection]
[03:40:24] -!- Kup has quit [Max SendQ exceeded]
[03:41:07] -!- Kup has quit [Max SendQ exceeded]
[03:41:55] -!- Kup has quit [Max SendQ exceeded]
[03:42:28] -!- Kup has quit [Max SendQ exceeded]
[03:44:24] -!- Kup has quit [Max SendQ exceeded]
[03:46:18] -!- Kup has quit [Max SendQ exceeded]
[03:47:08] -!- Kup has quit [Max SendQ exceeded]
[03:47:42] <linuxcnc-build> build #1018 of deb-hardy-rt-binary-i386 is complete: Failure [4failed apt-get-update shell_2] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/deb-hardy-rt-binary-i386/builds/1018 blamelist: Jeff Epler <jepler@unpythonic.net>
[03:48:47] -!- Kup has quit [Max SendQ exceeded]
[03:49:13] -!- zzolo has quit [Quit: zzolo]
[03:50:11] <linuxcnc-build> build #1016 of deb-hardy-sim-binary-amd64 is complete: Failure [4failed apt-get-update shell_2] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/deb-hardy-sim-binary-amd64/builds/1016 blamelist: Jeff Epler <jepler@unpythonic.net>
[03:50:30] <linuxcnc-build> build #1015 of deb-hardy-sim-binary-i386 is complete: Failure [4failed apt-get-update shell_2] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/deb-hardy-sim-binary-i386/builds/1015 blamelist: Jeff Epler <jepler@unpythonic.net>
[03:50:58] -!- Kup has quit [Max SendQ exceeded]
[03:51:29] -!- Kup has quit [Max SendQ exceeded]
[03:53:37] -!- Kup has quit [Max SendQ exceeded]
[03:54:27] -!- Kup has quit [Max SendQ exceeded]
[03:54:58] -!- i_tarzan_ has quit [Ping timeout: 256 seconds]
[03:56:39] -!- Kup has quit [Max SendQ exceeded]
[03:58:36] -!- Kup has quit [Max SendQ exceeded]
[04:00:15] -!- Kup has quit [Max SendQ exceeded]
[04:01:10] -!- Kup has quit [Max SendQ exceeded]
[04:01:54] -!- Kup has quit [Max SendQ exceeded]
[04:03:39] -!- Kup has quit [Max SendQ exceeded]
[04:05:52] -!- Kup has quit [Max SendQ exceeded]
[04:07:03] -!- Tecan has quit [Remote host closed the connection]
[04:07:37] -!- Kup has quit [Max SendQ exceeded]
[04:09:13] -!- Kup has quit [Max SendQ exceeded]
[04:11:06] -!- Kup has quit [Max SendQ exceeded]
[04:12:05] -!- Kup has quit [Max SendQ exceeded]
[04:13:00] -!- Kup has quit [Max SendQ exceeded]
[04:14:20] -!- Kup has quit [Max SendQ exceeded]
[04:15:21] -!- Kup has quit [Max SendQ exceeded]
[04:15:59] -!- Kup has quit [Max SendQ exceeded]
[04:16:28] -!- Kup has quit [Max SendQ exceeded]
[04:17:33] -!- Kup has quit [Max SendQ exceeded]
[04:18:46] -!- Kup has quit [Max SendQ exceeded]
[04:19:53] -!- Kup has quit [Max SendQ exceeded]
[04:20:46] -!- Kup has quit [Max SendQ exceeded]
[04:22:43] -!- Kup has quit [Max SendQ exceeded]
[04:24:00] -!- Kup has quit [Max SendQ exceeded]
[04:26:09] -!- Kup has quit [Max SendQ exceeded]
[04:27:41] -!- Kup has quit [Max SendQ exceeded]
[04:28:11] -!- Kup has quit [Max SendQ exceeded]
[04:30:22] -!- Kup has quit [Max SendQ exceeded]
[04:31:04] -!- Kup has quit [Max SendQ exceeded]
[04:32:55] -!- Kup has quit [Max SendQ exceeded]
[04:34:17] -!- Kup has quit [Max SendQ exceeded]
[04:35:51] -!- Kup has quit [Max SendQ exceeded]
[04:37:30] -!- Kup has quit [Max SendQ exceeded]
[04:38:01] -!- Kup has quit [Max SendQ exceeded]
[04:39:20] -!- Kup has quit [Max SendQ exceeded]
[04:41:05] -!- Kup has quit [Max SendQ exceeded]
[04:41:47] -!- Kup has quit [Max SendQ exceeded]
[04:43:42] -!- Kup has quit [Max SendQ exceeded]
[04:44:47] -!- Kup has quit [Max SendQ exceeded]
[04:46:23] -!- Kup has quit [Max SendQ exceeded]
[04:46:58] -!- Laremere has quit [Ping timeout: 240 seconds]
[04:48:35] -!- Kup has quit [Max SendQ exceeded]
[04:49:52] -!- Kup has quit [Max SendQ exceeded]
[04:51:40] -!- Kup has quit [Max SendQ exceeded]
[04:51:41] <KGB-linuxcnc> 03dgarrett 05master 1a269a9 06linuxcnc 10configs/sim/ 10ngcgui/fullscreen.tcl 10ngcgui/touchy_sim.tcl * ngcgui support files: add license statement
[04:53:44] -!- Kup has quit [Max SendQ exceeded]
[04:55:05] -!- Kup has quit [Max SendQ exceeded]
[04:55:48] -!- Kup has quit [Max SendQ exceeded]
[04:57:04] -!- Kup has quit [Max SendQ exceeded]
[04:58:01] -!- mhaberler [mhaberler!~mhaberler@extern-177.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[04:58:36] -!- Kup has quit [Max SendQ exceeded]
[04:59:37] -!- Kup has quit [Max SendQ exceeded]
[05:00:09] -!- Kup has quit [Max SendQ exceeded]
[05:00:41] -!- Kup has quit [Max SendQ exceeded]
[05:01:57] -!- toastyde1th has quit [Read error: Connection reset by peer]
[05:02:06] -!- Kup has quit [Max SendQ exceeded]
[05:03:43] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[05:04:07] -!- Kup has quit [Max SendQ exceeded]
[05:08:13] -!- kwallace [kwallace!~kwallace@smb-142.sonnet.com] has parted #linuxcnc-devel
[05:11:59] -!- Valen has quit [Quit: Leaving.]
[05:22:24] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #linuxcnc-devel
[05:48:01] -!- lucashodge has quit [Quit: I am away now.]
[05:49:50] <linuxcnc-build> build #1019 of deb-hardy-rt-binary-i386 is complete: Failure [4failed apt-get-update shell_2] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/deb-hardy-rt-binary-i386/builds/1019 blamelist: Dewey Garrett <dgarrett@panix.com>
[05:51:14] <linuxcnc-build> build #1017 of deb-hardy-sim-binary-amd64 is complete: Failure [4failed apt-get-update shell_2] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/deb-hardy-sim-binary-amd64/builds/1017 blamelist: Dewey Garrett <dgarrett@panix.com>
[05:54:53] <linuxcnc-build> build #1016 of deb-hardy-sim-binary-i386 is complete: Failure [4failed apt-get-update shell_2] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/deb-hardy-sim-binary-i386/builds/1016 blamelist: Dewey Garrett <dgarrett@panix.com>
[06:04:43] -!- krusty_ar has quit [Ping timeout: 248 seconds]
[06:14:19] -!- krusty_ar has quit [Ping timeout: 248 seconds]
[06:43:42] -!- krusty_ar_ has quit [Ping timeout: 268 seconds]
[06:52:30] -!- LimpTeaM has quit [Quit: Page closed]
[07:51:07] -!- archivist_herron has quit [Ping timeout: 246 seconds]
[07:53:53] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[07:57:37] -!- mhaberler has quit [Read error: Connection reset by peer]
[07:58:17] -!- mhaberler_ [mhaberler_!~mhaberler@extern-177.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[07:58:56] mhaberler_ is now known as mhaberler
[08:02:15] -!- krusty_ar has quit [Ping timeout: 248 seconds]
[08:08:57] -!- stsydow has quit [Remote host closed the connection]
[08:29:43] -!- stsydow has quit [Remote host closed the connection]
[08:31:32] -!- bootnecklad has quit [Ping timeout: 260 seconds]
[08:32:36] -!- ttuner has quit [Ping timeout: 248 seconds]
[08:53:46] -!- archivist_herron has quit [Ping timeout: 245 seconds]
[09:09:41] -!- Blorb has quit [Read error: Connection reset by peer]
[09:12:04] -!- b_b has quit [Changing host]
[09:15:24] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[09:16:23] -!- Thetawaves has quit [Remote host closed the connection]
[09:22:20] -!- vax has quit [Read error: Operation timed out]
[09:49:08] -!- Valen has quit [Quit: Leaving.]
[09:49:10] -!- mhaberler has quit [Quit: mhaberler]
[09:57:57] -!- b_b has quit [Ping timeout: 248 seconds]
[10:05:02] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[10:19:14] -!- sirdancealo2 has quit [Remote host closed the connection]
[10:21:34] -!- b_b has quit [Changing host]
[10:27:44] -!- krusty_ar has quit [Ping timeout: 255 seconds]
[10:29:09] -!- sirdancealo2 has quit [Read error: Connection reset by peer]
[10:56:53] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[11:02:49] -!- Kup has quit [Ping timeout: 240 seconds]