Linux Froze In The Middle of A Part???

More
12 Jul 2018 21:25 #114089 by fc60
Greetings,

I was running the last of six parts and the CNC machine stopped in mid-cut. Spindle dead and not axis motion.

The display screen was dead also. The AXIS image was there; but, the mouse and keyboard were not responsive.

Able to power down the machine and computer and do a restart.

Was able to finish my last part.

Curious to learn what happened. Software, Hardware, ???

I am sure there is an error file. Would someone enlighten me as to what it is named and where it is located?

Oh yes, LinuxCNC 2.5.4. The machine has been making parts for three years now with no issues.

Cheers,

Dave

Please Log in or Create an account to join the conversation.

More
13 Jul 2018 02:59 #114103 by PCW
It does rather sound like bad hardware to me
How old is the motherboard?

Please Log in or Create an account to join the conversation.

More
13 Jul 2018 05:17 #114110 by tommylight
Check the memory modules one at a time,
check the power supply if you can or just swap it for another one,
swap the hard drive or boot from a usb stick and test it
change the computer.

Please Log in or Create an account to join the conversation.

More
13 Jul 2018 18:00 #114137 by fc60
Greetings,

The machine is a Smithy in which the computer, Breakout Board, and lots of other electrical stuff is contained on one large metal cabinet.

A major project to conduct the above suggestions.

Again, I ask. Where within Linux is the Error Log file?

Cheers,

Dave

Please Log in or Create an account to join the conversation.

More
13 Jul 2018 18:19 - 13 Jul 2018 18:20 #114138 by PCW
Usually /var/log

The kernel log is kern.log (older copies are archived in /var/log)

A crash caused by a hardware fault may not be logged however
Last edit: 13 Jul 2018 18:20 by PCW.

Please Log in or Create an account to join the conversation.

More
05 Aug 2018 16:44 #115641 by fc60
Greetings,

Update on LinuxCNC crash.

I started up the machine again with no issues. I then ran several parts in 4-axis mode and all went well.

When I finished, I started the application that shows disk utilities. Clicking on the SMART drive icon, it showed my drive had several "bad sectors". Perhaps this is where the initial problem occurred.

In the beginning, I purchased an exact copy of the hard drive in my machine and used Linux to clone it. At that time no bad sectors were indicated.

Perhaps this information will be of use to others.

With kind regards,

David

Please Log in or Create an account to join the conversation.

More
17 Sep 2018 02:30 #117637 by fc60
Greetings,

My best efforts have gone unrewarded.

I swapped out hard drives and memory sticks. Things were running fine for about three days and the problem is back. The machine stops and the computer freezes at no particular point in the program.

The computer reboots okay and shows no errors during the POST.

I do have a spare motherboard. However, I need guidance with setting the BIOS values to make LinuxCNC work properly, or; maybe I do not. I just do not know.

The motherboard is a JetWay 7F2WE1G5D-OC-LF.

The only difference from the one in the machine is this board has a faster CPU (1.5)

The machine itself is a SMITHY CNC1240 with Gecko G201 drives.

I eagerly await my instructions.

Cheers,

David

Please Log in or Create an account to join the conversation.

More
17 Sep 2018 12:53 #117650 by andypugh
Is the current machine a clone of the first one?
I wonder if it is worth a clean install of LinuxCNC? (Your existing configs should still work)

Please Log in or Create an account to join the conversation.

More
17 Sep 2018 14:39 #117658 by fc60
Greetings Andy,

Yes, the hard drive was a clone from two years ago.

Do you think it is possible a corrupt file can freeze the machine? The computer console, mouse, keyboard, are totally unresponsive. Only turning off the Power and rebooting brings it back to life.

The motherboard is inside the electrical cabinet with the power supply and breakout board.

I will need to connect a CD-ROM drive to it as it does not have USB boot capability.

To jog your memory, you supplied me with modifications to my *.ini files, so I need to preserve them.

Do I merely copy and paste my old "config" directory? Are there any PATH errors I may encounter?

With kind regards,

David

Please Log in or Create an account to join the conversation.

More
17 Sep 2018 14:43 #117659 by andypugh

Do you think it is possible a corrupt file can freeze the machine?


It is definitely possible. Whether that is, in fact, the problem is harder to say. But you have changed everything else.

Do I merely copy and paste my old "config" directory?


Yes, put them somewhere safe, such as on a USB stick. And on the network, and email yourself a zip file just to be sure :-)

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum