Lapic error causing real time to stop.
17 Jan 2016 15:11 #68587
by Ozcnc
Lapic error causing real time to stop. was created by Ozcnc
I would like to find out if there is a way to identify errors around Lapic.
A error would show something like this:
TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 20833247, 20833247, 20794250
Thanks,
Oz
A error would show something like this:
TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 20833247, 20833247, 20794250
Thanks,
Oz
Please Log in or Create an account to join the conversation.
17 Jan 2016 15:26 - 17 Jan 2016 15:29 #68590
by ArcEye
Replied by ArcEye on topic Lapic error causing real time to stop.
If this does not give you the answer, you need to come back with some proper information, not just an unexplained snippet from dmesg.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl..._t_run_missing_lapic
regards
( Which kernel, which distro, which version Linuxcnc, what computer, full dmesg output, full Linuxcnc error output etc etc )
wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl..._t_run_missing_lapic
regards
( Which kernel, which distro, which version Linuxcnc, what computer, full dmesg output, full Linuxcnc error output etc etc )
Last edit: 17 Jan 2016 15:29 by ArcEye.
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:08 #68591
by Ozcnc
Replied by Ozcnc on topic Lapic error causing real time to stop.
So Sorry,
Let me try again,
I'm using Debian 2.7.0.
Intel P35 with a Mesa 5i25
dmesg :
[ 2250.577484] I-pipe: head domain RTAI registered.
[ 2250.577490] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[ 2250.577518] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2250.577522] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 20833247, CLK_FREQ 3000135000, CPU_FREQ 3000135000
[ 2250.577525] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[ 2250.577527] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 20833247, 20833247, 20802000
[ 2250.583519] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2250.583542] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[ 2250.583546] RTAI[sched]: hard timer type/freq = APIC/20833247(Hz); default timing: oneshot; linear timed lists.
[ 2250.583550] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3000135000 hz.
[ 2250.583552] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 2250.587582] RTAI[math]: loaded.
[ 2250.736289] hm2: loading Mesa HostMot2 driver version 0.15
[ 2250.737988] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2250.738026] hm2_pci: discovered 5i25 at 0000:04:00.0
[ 2250.739354] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 2250.739357] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 2250.739359] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 2250.739362] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #0, pin Direction (Output)
[ 2250.739365] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 2250.739367] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #0, pin Step (Output)
[ 2250.739369] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 2250.739372] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #1, pin Direction (Output)
[ 2250.739374] hm2/hm2_5i25.0: IO Pin 007 (P3-17): IOPort
[ 2250.739376] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #1, pin Step (Output)
[ 2250.739379] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #2, pin Direction (Output)
[ 2250.739381] hm2/hm2_5i25.0: IO Pin 010 (P3-07): StepGen #2, pin Step (Output)
[ 2250.739384] hm2/hm2_5i25.0: IO Pin 011 (P3-08): StepGen #3, pin Direction (Output)
[ 2250.739386] hm2/hm2_5i25.0: IO Pin 012 (P3-09): StepGen #3, pin Step (Output)
[ 2250.739388] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[ 2250.739390] hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
[ 2250.739392] hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
[ 2250.739394] hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
[ 2250.739396] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 2250.739398] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 2250.739401] hm2/hm2_5i25.0: IO Pin 019 (P2-02): StepGen #4, pin Direction (Output)
[ 2250.739403] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 2250.739405] hm2/hm2_5i25.0: IO Pin 021 (P2-03): StepGen #4, pin Step (Output)
[ 2250.739407] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 2250.739409] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 2250.739411] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
[ 2250.739413] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[ 2250.739416] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[ 2250.739417] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[ 2250.739419] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[ 2250.739421] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[ 2250.739423] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[ 2250.739425] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
[ 2250.739427] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
[ 2250.739429] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
[ 2250.739497] hm2/hm2_5i25.0: registered
[ 2250.739501] hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
There is no Linuxcnc error.
Let me know if I'm missing something.
I am still very new to this.
Oz
Let me try again,
I'm using Debian 2.7.0.
Intel P35 with a Mesa 5i25
dmesg :
[ 2250.577484] I-pipe: head domain RTAI registered.
[ 2250.577490] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[ 2250.577518] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2250.577522] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 20833247, CLK_FREQ 3000135000, CPU_FREQ 3000135000
[ 2250.577525] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[ 2250.577527] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 20833247, 20833247, 20802000
[ 2250.583519] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2250.583542] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[ 2250.583546] RTAI[sched]: hard timer type/freq = APIC/20833247(Hz); default timing: oneshot; linear timed lists.
[ 2250.583550] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3000135000 hz.
[ 2250.583552] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 2250.587582] RTAI[math]: loaded.
[ 2250.736289] hm2: loading Mesa HostMot2 driver version 0.15
[ 2250.737988] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2250.738026] hm2_pci: discovered 5i25 at 0000:04:00.0
[ 2250.739354] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 2250.739357] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 2250.739359] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 2250.739362] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #0, pin Direction (Output)
[ 2250.739365] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 2250.739367] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #0, pin Step (Output)
[ 2250.739369] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 2250.739372] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #1, pin Direction (Output)
[ 2250.739374] hm2/hm2_5i25.0: IO Pin 007 (P3-17): IOPort
[ 2250.739376] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #1, pin Step (Output)
[ 2250.739379] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #2, pin Direction (Output)
[ 2250.739381] hm2/hm2_5i25.0: IO Pin 010 (P3-07): StepGen #2, pin Step (Output)
[ 2250.739384] hm2/hm2_5i25.0: IO Pin 011 (P3-08): StepGen #3, pin Direction (Output)
[ 2250.739386] hm2/hm2_5i25.0: IO Pin 012 (P3-09): StepGen #3, pin Step (Output)
[ 2250.739388] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[ 2250.739390] hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
[ 2250.739392] hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
[ 2250.739394] hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
[ 2250.739396] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 2250.739398] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 2250.739401] hm2/hm2_5i25.0: IO Pin 019 (P2-02): StepGen #4, pin Direction (Output)
[ 2250.739403] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 2250.739405] hm2/hm2_5i25.0: IO Pin 021 (P2-03): StepGen #4, pin Step (Output)
[ 2250.739407] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 2250.739409] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 2250.739411] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
[ 2250.739413] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[ 2250.739416] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[ 2250.739417] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[ 2250.739419] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[ 2250.739421] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[ 2250.739423] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[ 2250.739425] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
[ 2250.739427] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
[ 2250.739429] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
[ 2250.739497] hm2/hm2_5i25.0: registered
[ 2250.739501] hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
There is no Linuxcnc error.
Let me know if I'm missing something.
I am still very new to this.
Oz
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:15 #68592
by PCW
Replied by PCW on topic Lapic error causing real time to stop.
Can you launch LinuxCNC from the command line so that any error messages can be observed?
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:20 #68593
by Ozcnc
Replied by Ozcnc on topic Lapic error causing real time to stop.
Yes,
No error messages.
And loads but no enabling of the controller.
Oz
No error messages.
And loads but no enabling of the controller.
Oz
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:33 #68595
by ArcEye
Replied by ArcEye on topic Lapic error causing real time to stop.
OK, but you are still just posting a snippet of dmesg, which seems to show that the 5i25 was discovered and initialised.
No error there.
Do a reboot with the card installed and then start Linuxcnc
Then do
dmesg > dmesg.txt and post the resultant dmesg.txt file as an attachment.
I am guessing you are saying the 5i25 is not enabled, so there should be something to indicate what happened and there should be an error as soon as the hal file tries to address the first 5i25 pin.
No error there.
Do a reboot with the card installed and then start Linuxcnc
Then do
dmesg > dmesg.txt and post the resultant dmesg.txt file as an attachment.
I am guessing you are saying the 5i25 is not enabled, so there should be something to indicate what happened and there should be an error as soon as the hal file tries to address the first 5i25 pin.
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:38 #68596
by PCW
Replied by PCW on topic Lapic error causing real time to stop.
Are you sure real time is not working and its not just a hal/ini error of some kind?
You can take a look at the parameter motion.servo.last-period to see if things are running:
Machine --> Show Hal Configuration --> Watch --> Parameters --> Motion --> servo last period
This should keep changing if the servo thread is running (its value will be approximately CPU Clock rate /servo thread rate)
You can take a look at the parameter motion.servo.last-period to see if things are running:
Machine --> Show Hal Configuration --> Watch --> Parameters --> Motion --> servo last period
This should keep changing if the servo thread is running (its value will be approximately CPU Clock rate /servo thread rate)
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:41 #68597
by Ozcnc
Replied by Ozcnc on topic Lapic error causing real time to stop.
OK,
Here it is.
Oz
Here it is.
Oz
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:46 #68598
by PCW
Replied by PCW on topic Lapic error causing real time to stop.
I dont see any errors, does LinuxCNC exit unexpectedly?
That is, what makes you think there is an error?
That is, what makes you think there is an error?
Please Log in or Create an account to join the conversation.
17 Jan 2016 16:47 #68599
by Ozcnc
Replied by Ozcnc on topic Lapic error causing real time to stop.
PWC,
There is servo thread running.
Ok,
What should I do next?
Oz
There is servo thread running.
Ok,
What should I do next?
Oz
Please Log in or Create an account to join the conversation.
Time to create page: 0.158 seconds