Lost newbie needs help
- stevclarknz
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 Jul 2017 02:12 #95635
by stevclarknz
Lost newbie needs help was created by stevclarknz
Hi I hope someone can help me. I'm a real newbie and I have a 3 axis cnc router with a vfd and am running linuxcnc. I can't get any response from my mill either from the spindle or the steppers. Here is the message i get from running DMESG.
[61196.842135] RTAI[math]: unloaded.
[61196.850302] SCHED releases registered named ALIEN PEDV$D
[61196.859157] RTAI[malloc]: unloaded.
[61196.956032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[61196.959875] I-pipe: head domain RTAI unregistered.
[61196.959966] RTAI[hal]: unmounted.
[61276.429642] I-pipe: head domain RTAI registered.
[61276.429663] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[61276.429739] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[61276.429749] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12502018, CLK_FREQ 3000370000, CPU_FREQ 3000370000
[61276.429757] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[61276.429766] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12502018, 12502018, 12371500
[61276.445137] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[61276.445215] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[61276.445225] RTAI[sched]: hard timer type/freq = APIC/12502018(Hz); default timing: oneshot; linear timed lists.
[61276.445232] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3000370000 hz.
[61276.445236] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[61276.467106] RTAI[math]: loaded.
[61276.660940] config string '0x378 out'
[61277.123851] RTAPI: ERROR: Unexpected realtime delay on task 1
[61277.123861] This Message will only display once per session.
[61277.123864] Run the Latency Test and resolve before continuing.
[61277.322802]
[61277.322806] In recent history there were
[61277.322808] 2995485, 2999460, 3003787, 3309143, and 2996692
[61277.322811] elapsed clocks between calls to the motion controller.
[61277.322820] This time, there were 3601845 which is so anomalously
[61277.322822] large that it probably signifies a problem with your
[61277.322824] realtime configuration. For the rest of this run of
[61277.322827] LinuxCNC, this message will be suppressed.
[61277.322829]
[61196.842135] RTAI[math]: unloaded.
[61196.850302] SCHED releases registered named ALIEN PEDV$D
[61196.859157] RTAI[malloc]: unloaded.
[61196.956032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[61196.959875] I-pipe: head domain RTAI unregistered.
[61196.959966] RTAI[hal]: unmounted.
[61276.429642] I-pipe: head domain RTAI registered.
[61276.429663] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[61276.429739] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[61276.429749] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12502018, CLK_FREQ 3000370000, CPU_FREQ 3000370000
[61276.429757] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[61276.429766] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12502018, 12502018, 12371500
[61276.445137] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[61276.445215] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[61276.445225] RTAI[sched]: hard timer type/freq = APIC/12502018(Hz); default timing: oneshot; linear timed lists.
[61276.445232] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3000370000 hz.
[61276.445236] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[61276.467106] RTAI[math]: loaded.
[61276.660940] config string '0x378 out'
[61277.123851] RTAPI: ERROR: Unexpected realtime delay on task 1
[61277.123861] This Message will only display once per session.
[61277.123864] Run the Latency Test and resolve before continuing.
[61277.322802]
[61277.322806] In recent history there were
[61277.322808] 2995485, 2999460, 3003787, 3309143, and 2996692
[61277.322811] elapsed clocks between calls to the motion controller.
[61277.322820] This time, there were 3601845 which is so anomalously
[61277.322822] large that it probably signifies a problem with your
[61277.322824] realtime configuration. For the rest of this run of
[61277.322827] LinuxCNC, this message will be suppressed.
[61277.322829]
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
11 Jul 2017 04:48 #95639
by Todd Zuercher
Replied by Todd Zuercher on topic Lost newbie needs help
Did you run a latency test on your computer? What were the results?
The system is complaining about unacceptably large real time errors and is shutting down.
What hardware are you trying to use (PC)?
The system is complaining about unacceptably large real time errors and is shutting down.
What hardware are you trying to use (PC)?
Please Log in or Create an account to join the conversation.
- stevclarknz
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 Jul 2017 04:58 #95640
by stevclarknz
Replied by stevclarknz on topic Lost newbie needs help
Hi Todd thanks for your reply, I have run latency test and result is around 26000 max jitter. I am using an old pc that used to run windows xp. This problem started a few months ago after the cnc initially blew a fuze and ever since then i havent been able to get it working again
Please Log in or Create an account to join the conversation.
11 Jul 2017 05:11 #95641
by rodw
Replied by rodw on topic Lost newbie needs help
I would suspect some faulty hardware or a failing HDD. Sometimes failing/faulty hardware can generate spurious interrupts that consumes CPU time and impacts performance. The biggest culprit is failing HDD's though
Please Log in or Create an account to join the conversation.
- stevclarknz
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 Jul 2017 05:26 #95643
by stevclarknz
Replied by stevclarknz on topic Lost newbie needs help
Thanks Rod..Do you mean PC hardware or cnc machine hardware?
Please Log in or Create an account to join the conversation.
11 Jul 2017 05:39 #95644
by rodw
I mean the PC hardware. I'm assuming the machine worked fine in the past. Those numbers for latency were massive and it is a PC issue. When I say interrupts thats how the hardware asks the OS to service it. Its a bit like the LCNC servo thread except the interrupt is raised due to an event not a timer. If the hardware is faulty, it can raise more interrupts than it should and if it becomes a flood, the CPU bogs down trying to service them all.
At a guess, it is most likely a failing HDD. In a Windows environment, I've seen an increase in blue screens leading up to a HDD failure several times (usually when you try to do a backup which exercises a HDD) and then when it fails you have no valid backup....
But if something happened to damage your CNC machine (say a lightning strike or other surge), it might have damaged the PC too.
Replied by rodw on topic Lost newbie needs help
Thanks Rod..Do you mean PC hardware or cnc machine hardware?
I mean the PC hardware. I'm assuming the machine worked fine in the past. Those numbers for latency were massive and it is a PC issue. When I say interrupts thats how the hardware asks the OS to service it. Its a bit like the LCNC servo thread except the interrupt is raised due to an event not a timer. If the hardware is faulty, it can raise more interrupts than it should and if it becomes a flood, the CPU bogs down trying to service them all.
At a guess, it is most likely a failing HDD. In a Windows environment, I've seen an increase in blue screens leading up to a HDD failure several times (usually when you try to do a backup which exercises a HDD) and then when it fails you have no valid backup....
But if something happened to damage your CNC machine (say a lightning strike or other surge), it might have damaged the PC too.
Please Log in or Create an account to join the conversation.
- stevclarknz
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 Jul 2017 06:13 #95645
by stevclarknz
Replied by stevclarknz on topic Lost newbie needs help
Thanks again Rod... I just reverted back to the original pc and this is the DMESG i got... Does this help at all? See attached
Cheers
Steve
Cheers
Steve
Please Log in or Create an account to join the conversation.
- cncnoob1979
-
- Offline
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 75
12 Jul 2017 23:11 - 12 Jul 2017 23:12 #95742
by cncnoob1979
Replied by cncnoob1979 on topic Lost newbie needs help
Hey!
I just quickly read your dmesg; and this jumped out at me.
Did you recently do something with your paraport card? Looks like linux cant find it the 0x378 address. I use servo's and do not have experience with paraport cards. So maybe someone else can point you in the right direction. I would comment out the paraport 0x378 line out to troubleshoot if this is really your problem.
' using a 'pound'
is how to comment out a line in your hal file
Assuming the machine name is craftsman and the hal is craftsman.hal
Can you attach your configuration files here to the forum? Just the .hal files and .ini files please.
Also, as a thought you maybe able to use stepconf to communicate with your parallel port card. Be warned that saving a configuration will overwrite your existing configuration files. So I would make a backup first in-case its incidental.
I just quickly read your dmesg; and this jumped out at me.
[ 1455.727136] RTAI[usi]: enabled.
[ 1455.756757] RTAI[math]: loaded.
[ 1455.862743] config string '0x378 out'
[ 1535.764529] RTAI[math]: unloaded.
Did you recently do something with your paraport card? Looks like linux cant find it the 0x378 address. I use servo's and do not have experience with paraport cards. So maybe someone else can point you in the right direction. I would comment out the paraport 0x378 line out to troubleshoot if this is really your problem.
' using a 'pound'
#
Assuming the machine name is craftsman and the hal is craftsman.hal
Can you attach your configuration files here to the forum? Just the .hal files and .ini files please.
Also, as a thought you maybe able to use stepconf to communicate with your parallel port card. Be warned that saving a configuration will overwrite your existing configuration files. So I would make a backup first in-case its incidental.
Last edit: 12 Jul 2017 23:12 by cncnoob1979.
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds