![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello all (first post) Having succeded loading Ubuntu Hardy Heron with EMC2 after several days of less than spectacular results, I am working my way around both the OS and the EMC application. A trouble I am having is when trying to open a SIM file and selecting the option of making a copy so that changes can be made, the file display etc. starts to load up, but before much takes place, the mouse and keyboard freeze up ( well, I suppose the OS locks up, but how to know. (No input, no change) I have to Turn off the power to reset and rstart. I've used the system monitor application, and have never seen swapfile activity displayed there, just a flat line along the bottom. (Symptom 1?) I have seen the processor indication maxed out with just the sys monitor application active.(symptom 2) Everything else "sleeping". That seems strange. The entire install is from the LinuxCNC "packaged" live CD. All the other parts of the Ubuntu bundle seem to work fine. Except for the restarts, I see nothing in the /var/message listing. Not that I know what to look for. ![]() Can someone help a newb ? Gateway E-4200 PIII 700MHz 384 DRAM Thanks in advance! Cal |
|
#2
| |||
| |||
| I'm not sure what the sim files are, there is a sim version of EMC2 that doesn't need a real time OS, but that is not included with the CD package. But, the usual cause of the system locking up is having the BASE_THREAD setting in the xxx.ini file too low. This requires the CPU to be interrupted so often it can't get anything done. So, you might try increasing that value until the system is stable. 700 MHz is certainly a workable CPU, but is pretty slow for software generated steps. I use a 600 MHz CPU just fine with external hardware assist, but in that case there is no BASE_THREAD at all, and the SERVO_THREAD is 1,000,000 ns (1 ms). I think you will have to increase BASE_THREAD significantly to run the step generator on a 700 MHz machine. The system monitor only sees the NON real time Linux activity, it never sees what is going on in the real time environment. Swap file activity would indicate you have run out of physical memory, shouldn't be much of a problem in most cases. Jon |
|
#3
| |||
| |||
| Jon Thanks for the reply SIM files are described as "simulations" that do not require real hardware to be connected. something to get a preview with. I detect no action at the LPT port with th LED test modual inserted. Last night after posting this question, I tried the SIM file "Axis-mm" again This is the one that locks up the OS.(yes, It locked up again ;-) Some of the other files seem to behave well. Like "Sim-mini". Perhaps there is something specific with that files display type or.... I'll keep looking. Cal |
|
#4
| |||
| |||
| I think you need to join the EMC users list on SourceForge. Instructions for joining are on the linuxcnc.org web page. The real pros are much more easily found there. I know certain areas of EMC2 fairly well, and others I know little to nothing about. First, a sim version of EMC is not SUPPOSED to move anything, so you shouldn't expect any activity on the parallel port. I don't know why a sim version of EMC would lock up a slow computer, as there is no real time part to hog the CPU. I think that the default stepper configs such as stepper_inch or stepper_mm might lock up a 700 MHz CPU, with the stepgen task running at a 50 us interval. I notice that sim_mm also has a BASE_PERIOD of 50 us, but don't know if the real time scheduler is even loaded when you run the sim version. You might try changing BASE_PERIOD to a larger value, maybe 100000 (100 us) and see if that helps. Another possible trouble has to do with open-GL, the 3D rendering software that supports the Axis preview window. You should run the program "glxgears". If it runs OK, and can be dragged around the screen while running, you should be OK. If it doesn't run, crashes the system, or just covers the screen with thin black lines or other trash, then Open-GL is not working right, and Axis won't run right either. Jon |
|
#5
| |||
| |||
| Jon |
| Sponsored Links |
|
#8
| |||
| |||
| So, then, I think maybe looking at the BASE_PERIOD in the .ini files of the config that works, vs. the configs that lock up, might be instructive. (Still, if these sim versions really are the EMC sim scheme, they don't use real time at all, so they shouldn't care whatever you have in BASE_PERIOD. So, I'm still confused as to what is going on, here.) Jon |
|
#9
| |||||
| |||||
| Yuck ! Probably the most frustrating type of computer problem. Those brutal shutdowns will cause additional problems soon.
Install all available updates (but don't accept any system UPGRADE) If you're using the fancy desktop effects (compiz) shut them off. Try running with nothing plugged into USB if possible. Look in System>Administration>Hardware Drivers. Sometimes proprietary drivers help, other times they're a problem (not very helpful I know) It could be a start-up option command is needed but not sure which one, if any. As already mentioned, some frighteningly sharp people read the emc-users-mailing-list. The Ubuntu forums are also good, though not if this problem is truly emc specific.
__________________ Anyone who says "It only goes together one way" has no imagination. |
|
#10
| |||
| |||
| I tried installing 8.04 and had problems similiar to what you mention, and looking at your hardware specs I would suggest what worked for me. I used the 6.06 version of Ubuntu, still the CNC brain dead install version. All problems gone and the system is rock solid. As far as I know 8.04 is better suited to more modern faster PC's, while 6.06 is better for older PC's. Another thing that I have read and only just tried is to add a video card and not use onboard video, I have not put it through any tests yet but the whole thing just seems a lot faster and I would expect faster pulse rates, but need to try that out before commenting any further... Little more RAM wouldn't hurt either ![]() Cheers. Russell. |
| Sponsored Links |
|
#11
| |||
| |||
Last evening the emc program was asked to perform. And it did! Lights blinked on the test module placed on the LPT port, and my small benchtop O-scope showed all sorts of activity on the pins. (not the 0-scope app. contained in emc) . That's good! The tkemc display panel was used and arcspiral.gnc was used for this tsting. Perhaps the more demanding graphics of the other display is the problem. On the road to find out! Cal |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TROUBLE W/EMC2 UBUNTU 6.06 DOWNLOAD | Gads | LinuxCNC (formerly EMC2) | 2 | 01-22-2008 08:10 PM |
| Having trouble loading program using Mastercam"s Cimcov5 in my Haas | Robert Timby | Mastercam | 3 | 01-19-2008 05:25 PM |
| Mach 2 not loading files | JFettig | Mach Software (ArtSoft software) | 3 | 11-10-2007 03:35 AM |
| Getting started with EMC2, Linux, etc..... | Chris D | LinuxCNC (formerly EMC2) | 6 | 11-04-2007 10:05 PM |
| viewing .dxf files Linux | Breaker | OpenSource Software | 0 | 10-01-2006 05:14 PM |