586,551 active members*
3,368 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 24
  1. #1
    Join Date
    Apr 2005
    Posts
    23

    Linux error code on CNC Mill

    I'm about at wit's end and hope someone out there might have a suggestion.
    I retrofitted a Varnamo (Swedish) knee mill-beautiful new old stock (NOS)
    with a complete AJAX/Centroid system. DC-310 servo controller. Worked perfect for about a year but a very limited use. It has a dual operating computer running it. Boot up in Windows XP and I use Bob-Cad-then copy g-code to floppy or flash drive. Turn computer off-then power up freq. drive, controller, push ajax flash drive in and it boots up as Ajax/Linux and works great. Lately though after going through maybe 400 lines of code on a job, the screen goes black with a bunch of error messages-it varies-maybe after 3000 lines of code-not consistant. Ajax suggested the easist solution-replace the memory card (512mb) didn't work after that the pc motherboard and processor (about to). In windows it will on occasion shut down and boot itself up and it varies as well. Ajax has been real helpful but of course it is hard to diagnose a system 2000 miles away. The error codes include:
    expected keysym, got XF86_Switch_VT_9:line 83 of pc/pc
    There are 4 more lines of similar error messages then it goes
    Errors from xkbcomp are not fatal to the x server
    (EE) xf860penserial: cannot open device /devmouse no such file or directory
    (WW) Mouse1: cannot open input device
    Fatal server error:
    Caught signel 11. Server aborting
    xinit: connection to x server lost.
    X connection to :0.0) broken (explicit kill or server shutdown)'
    /cncroot/c/cnc10>

    Should I just replace the motherboard an processor and see if that does it?
    Would post a digital photo of screen but don't now how to do that.

    Thanks,

    Tom

  2. #2
    Join Date
    Sep 2004
    Posts
    107
    Tom, if it were my system I'd consider reinstalling the software AND having a dedicated PC to run the control. I don't have any experience running in dual-boot, but Win seems to sometimes have enough trouble running in single boot that I'm not about to get adventuresome.

    I have a spare flash drive that has the Centroid OS/software installed on it for "just in case". I've had too many instances of my regular Win XP PC coming up with "warning Will Robinson, we are losing all your dataaaaaaaaaaa . . . ." to trust that things won't just go sour.

    Perhaps your Win installation is dieing and is doing its best to take the Linux install down with it. It certainly sounds like the Linux OS is having trouble recognizing system components.

    The Centroid/Ajax control doesn't need a super hi-zoot computer with kewl graphics card etc to run on, and if you look around it seems like you could find someone upgrading a 4 year old system that would let you have their old P5 system for a song. Giving your mill a dedicated computer would seem to be an easy way to go, just to reduce the possibility of inter-system conflicts.

    It may well be that you do have hardware issues. A dedicated PC for the machine could help to pinpoint them if that is the case.

    cheers,
    Michael

  3. #3
    Pretty sure from utahnorton's description this isn't really "dual boot". Instead he has Windows on one flash card, Linux/CNC10 on the other, and is swapping cards. Comparable to swapping hard drives, but cleaner and easier.

    This might be a temperature issue. Check your CPU fan, system fans, filter covers, etc. to make sure the PC is not overheating.

    Then try a different PC as Michael M suggests. Or, if you have a spare memory DIMM around, try swapping that first.

  4. #4
    Join Date
    Mar 2004
    Posts
    1661
    Tom,

    The error code you write is not enough to tell what is happening, it could be a corrupt configuration file for X and it could be the motherboard. If it's possible try to run a diagnose on your disks and see if there are bad areas.
    Unfortunately the error code is one of those hard to solve without testing.
    If it's possible, try to catch all error lines and ask at a Linux forum.

    Best regards,
    Sven

  5. #5
    Join Date
    Apr 2005
    Posts
    23

    Unhappy

    The computer would normally run on Windows XP. If the AJAX flash card is pushed into the slot (external) before start up-the computer boots up as Linux/Ajax CNC. I was able to download a photo to my memory stick and then attach it for full error codes. What is confusing is that there are references to a mouse. My understanding was that Ajax/Linux didn't suppport a mouse but then found another thread that showed a sequence to "addmouse" which I did just in case it was the mouse in the usb port was causing the problem. Did that-an arrow appeared on the screen but the mouse wouldn't move it.
    The thread referenced a ps2 mouse-I'm using a roller ball mouse which is great on a mill because you don't have to move it around-tough to do on a the bed, those pesky slots get in the way-it can actually sit it on the bed or my leg and works great. I'm wondering if there are specific drivers to load with this type of mouse for linux. Of course this may not have anything to do with what is causing it to shut down. Anyway we pulled out the motherboard processor, and ram last night and put in a new one but computer wasn't happy at all-had a very experienced tech help out but he is not familar with Linux. We have may try to find a more similar mother board or bag it all and just buy another computer....So on to plan C-whatever that is.

    Thanks,

    Tom
    Attached Thumbnails Attached Thumbnails P1010427.jpg   P1010134.jpg   P1010136.jpg  

  6. #6
    utahnorton wrote:
    The computer would normally run on Windows XP. If the AJAX flash card is pushed into the slot (external) before start up-the computer boots up as Linux/Ajax CNC.
    This sounds a little fishy. Are you sure the flash drive and the XP hard drive can't conflict with each other (e.g. aren't both master drive on the same IDE controller)?

    Even if the XP hard drive is set as the slave drive on the controller, you might have trouble. Just for curiosity, try unplugging the XP hard drive from the IDE cable altogether.

    Also, if you are using an 80-conductor EIDE cable, try switching to an old 40-conductor one. See http://www.acscontrol.com/knowledgeb...p?CatID=2&ID=2

    While the Ajax CF-IDE adapter is not the one from ACS, as I understand it the issue is in the flash cards and motherboards, not the adapter.

  7. #7
    Join Date
    Jun 2003
    Posts
    866
    this isn't as common as it used to be for some reason. Could well be that you are having problem with a hard drive, memory, or your system is getting hotter than it used to get. If the operation has worked in the past, it is most likely to be hardware. If anything has changed, or you are doing something that hasn't been tested before, it could be a software problem.

  8. #8
    Join Date
    Mar 2004
    Posts
    1661
    If XP also has problems, as you wrote, I would guess for a hardware problem.

    Once working at a customer with secured data we had a computer that hardware failed. But we could run it long enough to drain it on files by putting it into a fridge...
    You could go for a test, does it run for a longer time when there is better cooling? You have to really cool it down if there's a hardware fault.

  9. #9
    Join Date
    Apr 2005
    Posts
    23

    Unhappy

    Have replaced the motherboard with new one recommended by Ajax along with the processor and ram. Using same powersupply, hardrive, (linux) flash card reader, CD/DVD, and floppy drive. Windows comes up fine but when the flashcard is inserted and then booted up in Linux I get (with other stuff):
    VFS: Cannot open root device "301" or 03:01
    Please append a correct "root=" boot option
    Kernal panic: VFS: Unable to mount root fs on 03:01

    I'm wondering if somehow the flash drive got corrupted-maybe should send it to Ajax for testing? Meanwhile my only mill in my one man shop has been down for almost two weeks-yikes.....Help!!!

    Thanks,

    Tom

  10. #10
    Join Date
    Mar 2004
    Posts
    1661
    This is caused by configuration and your new hardware.
    You may check these threads:
    http://www.linuxquestions.org/questi...d.php?t=269230
    https://bugzilla.redhat.com/bugzilla....cgi?id=126953
    and
    http://linuxfromscratch.org/pipermai...er/020609.html

    Hope you get it working, good luck!
    Sven

  11. #11
    Make sure you have the flash card reader plugged in as the IDE primary master (not secondary master, not a slave drive). I just ran into this in a case where the customer plugged the CDROM drive into the primary IDE, and the hard drive into the secondary. The hard drive (or CF reader) then becomes /dev/hdc instead of /dev/hda, and it won't work.

    Also check your CMOS Setup screen and verify that any on-chip SATA controller is Disabled.

    During the boot process, Linux tells you what IDE devices it detects, and what device assignments they got. You want to see "hda:" displayed, followed by something you might recognize as your compact flash card (e.g. Sandisk this or Lexar that...). You should probably also see "hdc:" followed by the make/model of your CDROM drive.

  12. #12
    Join Date
    Apr 2005
    Posts
    23
    :drowning: :drowning: Reconfigured the set-up with the new motherboard going through the process with Drew at Ajax CNC. I have to tell you, the support I have recieved from Ajax has been fantastic and wouldn't hesitate a minute in buying their system again. The system still had a kernal panic error so we are looking at the possiblity that either the flash card hard drive (Toshiba) or reader somehow failed or got corrupted. Overnited the card and reader to Ajax and they will look at it today. They will also attempt to salvage any CNC mill programs that are still on it. Will post their results as soon as I hear back.

    Thanks,

    Tom

  13. #13
    Join Date
    Mar 2004
    Posts
    1661
    Sounds like you get great help from 'em. It would be great if you post the result!

  14. #14
    Join Date
    Jun 2006
    Posts
    259
    BTW, the original error was because of a change in hardware, it looks like a mouse was changed and the configuration file was not.

    Just as a quick point. The reason why Windows survives all of these hardware swaps is that Windows has almost every single driver for every single piece of generic hardware built into it. The upside of this is that it can tolerate random hardware swaps. The downside is that it takes up huge amounts of space and can easily result in conflicts that are hard to diagnose.

    Linux, on the other hand, typically installs only the hardware drivers you need. If you change the hardware, particularly if it's a quasi embedded system, then you need to update both the config files and install drivers for the new hardware. The errors you were seeing were related to missing hardware for either the keyboard or the mouse, or perhaps a change in the mouse hardware (keyboards are pretty much all the same). It looks like there might have been a serial mouse attached at one point, which is no longer attached...

    Another thing to keep in mind is that some hardware is tied to specific ports on the PC (like specific serial or even USB ports) and if you move stuff around, it can break the configuration. This is esp. true with embedded systems that you are not supposed to change. Also, change the BIOS can also affect the 'locations' of hardware on the computer, resulting in issues.

    HTH,

    Chris.

  15. #15
    Join Date
    Apr 2005
    Posts
    23

    Question

    CKM-Thanks for the insight. I don't recall moving the mouse to a different USB port but it certainly is possible. Anyway-the saga continues-the good news is that Ajax checked out the sandisk hardrive and reader and they are both OK-the bad news is that the sandisk hardrive and reader are OK.... Was really hoping this would be the problem, replace them and "Bob's your Uncle"...so back to square one. I must admit that Drew at Ajax has been very patient and helpful in trying to get this mess all sorted out. The next step is again a process of elimination. Again-the computer boots up perfectly from the original hard drive in windows. I had then disconnected the hard drive (ribbon & power) and so the computer would be forced to boot automatically from the sandisk and would only get to the kernal panic stage. So then the sent the sandisk and reader to Ajax to be checked out. So what Ajax would like me to do is send them the new motherboard and they will see if they can get it to boot up with my sandisk and reader... At his point not sure what else to do.....:violin: Tom

  16. #16
    Join Date
    Mar 2004
    Posts
    1661
    Even embedded Linux distro's finds the mouse when it's changed (at least those I've worked with), unless it's an old or odd version. Usually Linux tries to get the mouse with a standard driver and if it has USB support the port itself shouldn't matter.

    Anyway, something happened with your machine and it's a pain in the butt to analyze it without having access to the hardware.

    BTW, why don't you make a new setup now when you're on it? For example a dual boot would be great.

  17. #17
    Join Date
    Apr 2005
    Posts
    23
    Sven,

    Actually at this stage we are just trying to get the computer to boot up in Linux-don't even have the fiber optics or servos hooked up to it right now. It was a dual boot system before but in about a year the Linux was crashing in the middle of a milling operation-(kernal panic....sounds like a "b" movie character) that's why we changed the motherboard, processor, and ram and checked out the sandisk and reader for file corruption or errors from that end.

    Thanks,

    Tom

  18. #18
    Join Date
    Jun 2006
    Posts
    259
    Perhaps I can help you trouble shoot a bit. I've been using Linux for 12 years, so I know a little about it. Could you tell me what the kernel panic error message was?

    Thx.

    Chris.

  19. #19
    Join Date
    Apr 2005
    Posts
    23
    Chris,

    Drew just spent time trying to troubleshoot with me-I burned a new linux boot disc and disconnected all the drives except the CD/DVD. Tried re-booting and now get:

    Searching for IDE CDTOM devices
    Could not find insatallation CD!? Halting system
    umount: /cdrom: not mounted
    Warnin: could not determine runlevel-doing soft halt
    (it's better to use shutdown instaed of halt from command lin)
    shutdown: No such file or directoryIf I never hear from
    Kernal panic: Attempted to kill init!

    If you wouldn't mind e-mailing me your phone number-I'd give you a call so you don't burn up any of your minutes. I'm on MST and work out of my home shop. [email protected]

    Thanks,

    Tom

  20. #20
    Join Date
    Mar 2004
    Posts
    1661
    If you removed the disks you probable have the wrong cable config (master/slave issue), then it doesn't matter what you're trying to install. You need to get a working HW-setup.
    I know it's not much help, but it's not a Linux issue.

    Regards,
    Sven

Page 1 of 2 12

Similar Threads

  1. error code on an okuma mill
    By delbert in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 08-16-2010, 11:26 AM
  2. Learning on the Sherline/linux/emc mill
    By sodle in forum LinuxCNC (formerly EMC2)
    Replies: 3
    Last Post: 04-12-2007, 05:00 PM
  3. error when running g code
    By craig in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 01-02-2007, 04:46 AM
  4. art code error
    By Mike Boarman in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 12-31-2006, 05:46 AM
  5. M01 error code
    By MRU in forum Mazak, Mitsubishi, Mazatrol
    Replies: 2
    Last Post: 06-12-2006, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •