Temporary Freeze on Startup

More
03 Aug 2018 14:35 #115522 by adhall
Replied by adhall on topic Temporary Freeze on Startup
So I seem to be having trouble using the editor this morning. Let's try this one more time. (I wish I knew of a way to edit or delete my postings on this forum. I hate leaving a permanent record of my incompetence for all to see.)

Please find the log file attached below.

br,
adh

File Attachment:

File Name: log_2018-08-03-2.txt
File Size:2 KB
Attachments:

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

More
03 Aug 2018 14:50 #115525 by adhall
Replied by adhall on topic Temporary Freeze on Startup
andypugh:

Please see attached file. File contains contents of window that opens after launch fails. (Sorry I didn't include this earlier -- I am completely new to Linux and it took me a while to figure out how to save it to a file.)

br,
adh

File Attachment:

File Name: Errors.txt
File Size:49 KB
Attachments:

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

More
03 Aug 2018 14:59 - 03 Aug 2018 15:04 #115527 by andypugh
failed to set register P0x0101 to 0x0064 (100): Connection timed out
mitsub_vfd.hal:12: waitpid failed gs2_vfd spindle-vfd
mitsub_vfd.hal:12: gs2_vfd exited without becoming ready

Is the problem.

It would be interesting to comment-out "HALFILE = mitsub_vfd,hal" in the INI file [HAL] section and see if you still get the same freeze.

I am also a bit suspicious that the HAL file is "mitsub_vfd" and the driver being used is "gs2_vfd". You may want mitsub_vfd
linuxcnc.org/docs/2.7/html/drivers/mitsub_vfd.html
Last edit: 03 Aug 2018 15:04 by andypugh.

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

More
03 Aug 2018 16:16 #115532 by adhall
Replied by adhall on topic Temporary Freeze on Startup
Just went through a little "voyage of discovery" here. It turns out there are no references to "mitsub_vfd" anywhere in the my_LinuxCNC_machine.hal file. I did find a file called mitsub_vfd.hal in the directory with the other .hal files. Eventually I found a reference that file in postgui_call_list.hal. So I commented out that reference.

Now when I launch my configuration it takes even longer (something like 4 minutes) but eventually the actual operating window comes up--no error window this time. I note that if I try to enlarge the window, the computer locks up for good.

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

More
06 Aug 2018 01:00 #115656 by adhall
Replied by adhall on topic Temporary Freeze on Startup
Here is a status update:
--The error window that was coming up after I launched LinuxCNC using my configuration went away after I commented out the reference to "mitsub_vfd.hal" in "postgui_call_list.hal". Thanks to andypugh for his help with this problem.

--LinuxCNC now comes up and seems to run normally with my configuration and also with any of the sample configurations I have tried.

--There is still a long delay (at least 60 seconds) after launching LinuxCNC during which the cursor moves but it is not possible to select anything with it. I also note that stretching the operating window locks up the system.

--I ran LinuxCNC with my configuration from the terminal, played with it a bit, and shut it down. Here is what showed up in the terminal window:
*************************************************************************************************************
cncrouter@DSTCNC:~$ linuxcnc /home/cncrouter/linuxcnc/configs/DST_Router/DST_Router.ini
LINUXCNC - 2.7.14
Machine configuration directory is '/home/cncrouter/linuxcnc/configs/DST_Router'
Machine configuration file is 'DST_Router.ini'
Starting LinuxCNC...
.
Found file(REL): ./DST_Router.hal
Found file(REL): ./custom.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 13389 cycles, min=0.000023, max=0.097001, avg=0.010947, 0 latency excursions (> 10x expected cycle time of 0.010000s)
*************************************************************************************************************

--I also saved the contents for kernel log while LinuxCNC was running and this is what I got from that:

*************************************************************************************************************
[ 2416.830933] I-pipe: head domain RTAI registered.
[ 2416.830942] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[ 2416.830952] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2416.830957] SYSINFO: CPUs 1, LINUX APIC IRQ 2312, TIM_FREQ 12493919, CLK_FREQ 2998826000, CPU_FREQ 2998826000
[ 2416.830962] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[ 2416.830967] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12493919, 12493919, 12441750
[ 2416.843469] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2416.843511] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[ 2416.843519] RTAI[sched]: hard timer type/freq = APIC/12493919(Hz); default timing: oneshot; linear timed lists.
[ 2416.843525] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2998826000 hz.
[ 2416.843529] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2416.856996] RTAI[math]: loaded.
[ 2417.051546] hm2: loading Mesa HostMot2 driver version 0.15
[ 2417.055197] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2417.055241] hm2_pci: discovered 5i25 at 0000:02:0c.0
[ 2417.055577] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 2417.113271] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 2417.113279] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
[ 2417.113283] hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
[ 2417.113288] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
[ 2417.113292] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
[ 2417.113296] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
[ 2417.113300] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
[ 2417.113304] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
[ 2417.113308] hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
[ 2417.113313] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
[ 2417.113317] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
[ 2417.113321] hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort
[ 2417.113324] hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort
[ 2417.113328] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
[ 2417.113331] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[ 2417.113335] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
[ 2417.113339] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input)
[ 2417.113344] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin A (Input)
[ 2417.113347] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 2417.113351] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 2417.113354] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 2417.113358] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 2417.113361] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 2417.113365] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 2417.113368] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 2417.113372] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
[ 2417.113375] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[ 2417.113379] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[ 2417.113382] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[ 2417.113386] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[ 2417.113389] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[ 2417.113392] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[ 2417.113396] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
[ 2417.113399] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
[ 2417.113403] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
[ 2417.113578] hm2/hm2_5i25.0: registered
[ 2417.113582] hm2_5i25.0: initialized AnyIO board at 0000:02:0c.0
[ 2831.918819] hm2_5i25.0: dropping AnyIO board at 0000:02:0c.0
[ 2831.918830] hm2/hm2_5i25.0: unregistered
[ 2831.919237] hm2_pci: driver unloaded
[ 2831.922565] hm2: unloading
[ 2834.093281] RTAI[math]: unloaded.
[ 2834.096620] SCHED releases registered named ALIEN PEDV$D
[ 2834.105919] RTAI[malloc]: unloaded.
[ 2834.204037] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2834.206882] I-pipe: head domain RTAI unregistered.
[ 2834.206896] RTAI[hal]: unmounted.
*************************************************************************************************************

Any further suggestions would be greatly appreciated.

Best regards,
Andy Hall

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

More
06 Aug 2018 03:20 #115661 by PCW
Replied by PCW on topic Temporary Freeze on Startup
I've seen that kind of behaviour when something is wrong with OpenGL on the host
If even the sim configs hang like this its most likely a problem with the PC/Graphics

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

More
06 Aug 2018 13:51 #115667 by adhall
Replied by adhall on topic Temporary Freeze on Startup
Is there a chance a different video card would fix the problem?

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

More
06 Aug 2018 17:28 #115680 by adhall
Replied by adhall on topic Temporary Freeze on Startup
New status update:
I am now running LinuxCNC on a different computer. All previously reported problems are resolved.

So now I can start down the path of configuration.

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

More
09 Aug 2018 00:44 #115834 by adhall
Replied by adhall on topic Temporary Freeze on Startup
Final status update:
Regarding the Asus P4P800-E Deluxe motherboard that was freezing for about a minute after I launched LinuxCNC:
I swapped out the nVidia 6800 GT (G-Force 6 Series) video card for an ATI Radeon 9600 and now LinuxCNC launches normally and there seem to be no problems. I also noted that the latency jitter numbers are somewhat less now.

So, as far as I am concerned, this topic is closed.

Thanks to everyone who pitched in to help me resolve this.

FWIW, I am planning now to use this motherboard as an upgrade to a Bridgeport BOSS conversion that I did years ago using MAXNC. Since MAXNC uses the parallel port, I am hoping that the changeover will be straight forward. (At least I should have to re-wire anything.) :)

br,
adh

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

More
09 Aug 2018 00:46 #115835 by adhall
Replied by adhall on topic Temporary Freeze on Startup
That was intended to read "At least I SHOULDN'T have to re-wire anything"...

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

Time to create page: 0.167 seconds
Powered by Kunena Forum