On Friday 27 February 2009 21:08:02 Michael Buesch wrote:
> On Friday 27 February 2009 20:56:52 Michael Buesch wrote:
> > On Friday 27 February 2009 20:33:24 Chris Radek wrote:
> > > On Fri, Feb 27, 2009 at 06:41:42PM +0100, Michael Buesch wrote:
> > > > It always crashes a few microns before we reach the destination in Z.
> > > > I think this might have something to do with the backlash compensation.
> > > 
> > > When it crashes what are the symptoms?  can you move windows?  move
> > > the mouse pointer?  does the caps-lock light still work?  Do the
> > > step pulses continue or stop?
> > 
> > It crashes the kernel or RTAI. Often it will immediately reboot the machine.
> > 
> > > Have you tried disabling screw compensation?
> > 
> > I will try that next.
> 
> Ok I tried and it also crashes without backlash compensation. So it's not 
> related.
> 
> It immediately crashes if I type this into MDI:
> (I'm at x0 y0)
> G3 X10 Y-10 I10 J0
> 
> ... Or any other arc move. It will crash right after I hit the enter button.
> The machine does not move.
> 


I managed to catch the following oops through netconsole:

[  173.089228] PIPELINE layers:
[  173.089287] ffffffff8805ac40 9ac15d93 RTAI 200
[  173.089347] ffffffff80b4cd40 0 Linux 100
[  173.108483] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  173.108721] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN 
KTASKs>, kstacks pool size = 524288 byt
es.
[  173.108833] RTAI[sched]: hard timer type/freq = APIC/12401000(Hz); default 
timing: periodic; linear timed lists.
[  173.108905] RTAI[sched]: Linux timer freq = 1000 (Hz), CPU freq = 2593648000 
hz.
[  173.108969] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  173.166727] RTAI[math]: loaded.
[  173.365274] config string '0xDC00 0xD800'
[  223.813633] milltask[2619] trap invalid opcode rip:2b46436991ee 
rsp:7fff6788f010 error:0
[  223.813753] general protection fault: 0000 [1] PREEMPT SMP 
[  223.813762] CPU 0 
[  223.813766] Modules linked in: charge_pump stepgen hal_parport probe_parport 
motmod trivkins hal_lib rtapi rtai_m
ath rtai_sem rtai_shm rtai_fifos rtai_sched rtai_hal ipv6 k8temp evdev
[  223.813807] Pid: 2619, comm: milltask Not tainted 2.6.24.7-rtai #5
[  223.813810] RIP: 0010:[<ffffffff80265f48>]  [<ffffffff80265f48>] 
acct_collect+0x58/0x1c0
[  223.813822] RSP: 0000:ffff810075863ce8  EFLAGS: 00010286
[  223.813825] RAX: fea5f0000727f000 RBX: a561311ee7241e8f RCX: ffff81007627c070
[  223.813828] RDX: ffff81008051e000 RSI: 0000000000000001 RDI: ffff81007627c064
[  223.813831] RBP: ffff810078081040 R08: ffff81007627c2e8 R09: 0000000000030002
[  223.813834] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
[  223.813838] R13: 0000000000000003 R14: ffff81007c00e628 R15: ffff81007c00e628
[  223.813841] FS:  00002b46447fc0d0(0000) GS:ffffffff80a8a000(0000) 
knlGS:0000000000000000
[  223.813844] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  223.813847] CR2: 00002b4643ae6c60 CR3: 0000000075011000 CR4: 00000000000006a0
[  223.813850] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  223.813852] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  223.813855] Process milltask (pid: 2619, threadinfo ffff810075862000, task 
ffff81007c00e000)
[  223.813858] Stack:  0000000000000001 ffff81007c00e000 0000000000000004 
ffffffff8023e5d8
[  223.813870]  0000000000000000 ffffffff80245e21 ffff810075863e78 
0000000000000246
[  223.813881]  ffff810000000000 0000000000000001 ffff810075863d38 
ffff810075863d38
[  223.813889] Call Trace:
[  223.813898]  [<ffffffff8023e5d8>] do_exit+0x188/0x9d0
[  223.813902]  [<ffffffff80245e21>] free_uid+0x61/0x110
[  223.813906]  [<ffffffff8023ee4c>] do_group_exit+0x2c/0x90
[  223.813911]  [<ffffffff80249d83>] get_signal_to_deliver+0x2e3/0x4f0
[  223.813916]  [<ffffffff8020b2b9>] do_notify_resume+0xf9/0x880
[  223.813920]  [<ffffffff802479ad>] signal_wake_up+0x3d/0xb0
[  223.813923]  [<ffffffff80247ac9>] specific_send_sig_info+0xa9/0xc0
[  223.813930]  [<ffffffff807f996f>] _spin_unlock_irqrestore+0x4f/0x60
[  223.813933]  [<ffffffff80249573>] force_sig_info+0xa3/0xe0
[  223.813938]  [<ffffffff8020ebec>] do_invalid_op+0x9c/0xc0
[  223.813943]  [<ffffffff80584007>] sys_semctl+0x177/0x550
[  223.813950]  [<ffffffff8022100a>] __ipipe_handle_exception+0xfa/0x260
[  223.813954]  [<ffffffff8020c61f>] retint_signal+0x3d/0x7e
[  223.813959] 
[  223.813960] 
[  223.813961] Code: 48 03 58 10 48 2b 58 08 48 8b 40 18 48 85 c0 75 ef 65 48 
8b 
[  223.813998] RIP  [<ffffffff80265f48>] acct_collect+0x58/0x1c0
[  223.814003]  RSP <ffff810075863ce8>
[  223.814006] ---[ end trace c3dd6704fe5bc41a ]---
[  223.814008] Fixing recursive fault but reboot is needed!
[  223.815185] Default Trap Handler: vector 14: Suspend RT task ffff810075849000
[  223.815187] Default Trap Handler: vector 6: Suspend RT task ffff81007c3ca800
[  223.818293] axis[2620] general protection rip:2aaaad3b3339 rsp:7fff72d73970 
error:0



Invalid opcode looks interesting. Compiler bug?
I'll try an older compiler...

-- 
Greetings, Michael.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to