On 28 February 2013 10:28, Sebastian Kuzminsky <s...@highlab.com> wrote: > The RTAI folks recently released a version of RTAI that works with Linux > 3.5.7, and I've made binary packages available for Ubuntu Precise (12.04).
Thanks for this. It looks to be pretty close to working. This is running in a VM, so may not be genuinely broken. (but 10.04 runs fine in the same VM). andypugh@ubuntu:~$ cd linuxcnc-dev/ andypugh@ubuntu:~/linuxcnc-dev$ . ./scripts/rip-environment andypugh@ubuntu:~/linuxcnc-dev$ linuxcnc LINUXCNC - 2.6.0~pre Machine configuration directory is '/home/andypugh/linuxcnc-dev/configs/SherlineLathe' Machine configuration file is 'SherlineLathe_mm.ini' Starting LinuxCNC... redis server started as: 'redis-server ', logging to: /dev/null /home/andypugh/linuxcnc-dev/scripts/realtime: line 158: 3033 Killed $INSMOD $MOD Realtime system did not load Shutting down and cleaning up LinuxCNC... RTAPI: ERROR: could not open shared memory (errno=2) /home/andypugh/linuxcnc-dev/scripts/linuxcnc: line 458: 3061 Segmentation fault (core dumped) $HALCMD stop RTAPI: ERROR: could not open shared memory (errno=2) /home/andypugh/linuxcnc-dev/scripts/linuxcnc: line 458: 3063 Segmentation fault (core dumped) $HALCMD unload all RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) ERROR: Module hal_lib does not exist in /proc/modules ERROR: Module rtapi does not exist in /proc/modules ERROR: Module rtai_math does not exist in /proc/modules ERROR: Module rtai_sched does not exist in /proc/modules ERROR: Module rtai_hal is in use Cleanup done LinuxCNC terminated with an error. You can find more information in the log: /home/andypugh/linuxcnc_debug.txt and /home/andypugh/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal andypugh@ubuntu:~/linuxcnc-dev$ dmesg [ 78.148551] I-pipe: could not find timer for cpu #1 [ 78.148565] I-pipe: head domain RTAI registered. [ 78.148566] RTAI[hal]: compiled with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) . [ 78.148569] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [ 78.148571] SYSINFO: CPUs 1, LINUX APIC IRQ -1, TIM_FREQ 0, CLK_FREQ 3092086000, CPU_FREQ 3092086000 [ 78.148572] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312 [ 78.148578] BUG: unable to handle kernel NULL pointer dereference at 00000014 [ 78.148583] IP: [<c10c13d7>] ipipe_timer_name+0x17/0x20 [ 78.148589] *pdpt = 0000000034597001 *pde = 0000000000000000 [ 78.148591] Oops: 0000 [#1] SMP [ 78.148593] Modules linked in: rtai_hal(O+) acpiphp dm_crypt coretemp snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi vmw_balloon snd_seq_midi_event snd_seq microcode psmouse snd_timer dm_multipath snd_seq_device serio_raw scsi_dh joydev snd soundcore snd_page_alloc btusb shpchp i2c_piix4 mac_hid parport_pc rfcomm bnep ppdev lp parport bluetooth binfmt_misc dm_mirror dm_region_hash dm_log vmw_pvscsi vmxnet3 hid_generic usbhid hid aesni_intel cryptd aes_i586 pcnet32 floppy vmwgfx ttm drm mptspi mptscsih mptbase [ 78.148617] [ 78.148619] Pid: 3033, comm: insmod Tainted: G O 3.5.7-rtai+ #5 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform [ 78.148623] EIP: 0060:[<c10c13d7>] EFLAGS: 00210282 CPU: 0 [ 78.148625] EIP is at ipipe_timer_name+0x17/0x20 [ 78.148626] EAX: 00000000 EBX: 00000000 ECX: de3c3e5c EDX: 35a4f000 [ 78.148627] ESI: 00000000 EDI: 00254fc2 EBP: de3c3eec ESP: de3c3e80 [ 78.148628] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 78.148629] CR0: 8005003b CR2: 00000014 CR3: 3459b000 CR4: 000407f0 [ 78.148666] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 78.148674] DR6: ffff0ff0 DR7: 00000400 [ 78.148675] Process insmod (pid: 3033, ti=de3c2000 task=f40d6600 task.ti=de3c2000) [ 78.148676] I-pipe domain Linux [ 78.148677] Stack: [ 78.148678] f9c3f29f f9c40720 0000090a 0000090a 00000908 00000908 b84d7cf0 00000000 [ 78.148682] b84d7cf0 00000000 00000001 ffffffff 00000000 00000000 b84d7cf0 00000000 [ 78.148686] b84d7cf0 00000000 9ac15d93 f9c40889 ffffffff f9c3d2b0 00000000 00000003 [ 78.148689] Call Trace: [ 78.148695] [<f9c3f29f>] ? __rtai_hal_init+0x2df/0x380 [rtai_hal] [ 78.148699] [<f9c3d2b0>] ? rt_printk+0x20/0x20 [rtai_hal] [ 78.148701] [<c1001114>] do_one_initcall+0x34/0x180 [ 78.148705] [<f9c3efc0>] ? ack_bad_irq+0x40/0x40 [rtai_hal] [ 78.148710] [<c10928c8>] sys_init_module+0x2c8/0x1af0 [ 78.148717] [<c15a5fe8>] sysenter_do_call+0x12/0x16 [ 78.148718] Code: 8b 75 f8 8b 7d fc 89 ec 5d c3 8d 76 00 8d bc 27 00 00 00 00 55 89 e5 66 66 66 66 90 8b 15 e0 8c 86 c1 b8 98 71 91 c1 5d 8b 04 10 <8b> 40 14 c3 90 8d 74 26 00 55 89 e5 83 ec 18 89 5d f4 89 75 f8 [ 78.148744] EIP: [<c10c13d7>] ipipe_timer_name+0x17/0x20 SS:ESP 0068:de3c3e80 [ 78.148746] CR2: 0000000000000014 [ 78.148749] ---[ end trace 12931d0005db0a5b ]--- [ 78.591191] show_signal_msg: 42 callbacks suppressed [ 78.591195] halcmd[3061]: segfault at 8 ip b77a0635 sp bfecda10 error 6 in liblinuxcnchal.so.0[b779c000+a000] [ 78.873708] halcmd[3063]: segfault at 8 ip b7723635 sp bfc40c50 error 6 in liblinuxcnchal.so.0[b771f000+a000] [ 78.995194] halcmd[3067]: segfault at 8 ip b76f4635 sp bf8f72e0 error 6 in liblinuxcnchal.so.0[b76f0000+a000] [ 79.294056] halcmd[3073]: segfault at 8 ip b77c8635 sp bfb39a10 error 6 in liblinuxcnchal.so.0[b77c4000+a000] [ 79.557070] halcmd[3078]: segfault at 8 ip b7776635 sp bfb725b0 error 6 in liblinuxcnchal.so.0[b7772000+a000] [ 79.819775] halcmd[3083]: segfault at 8 ip b776e635 sp bfcd5b50 error 6 in liblinuxcnchal.so.0[b776a000+a000] [ 80.087115] halcmd[3089]: segfault at 8 ip b7782635 sp bf831270 error 6 in liblinuxcnchal.so.0[b777e000+a000] [ 80.502497] halcmd[3105]: segfault at 8 ip b77c2635 sp bfb56f10 error 6 in liblinuxcnchal.so.0[b77be000+a000] [ 80.802695] halcmd[3114]: segfault at 8 ip b77cb635 sp bfbe3bc0 error 6 in liblinuxcnchal.so.0[b77c7000+a000] [ 81.174120] halcmd[3119]: segfault at 8 ip b7777635 sp bfb5c210 error 6 in liblinuxcnchal.so.0[b7773000+a000] andypugh@ubuntu:~/linuxcnc-dev$ ^C andypugh@ubuntu:~/linuxcnc-dev$ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers