Issue on boot

More
09 Apr 2024 13:52 #297864 by cncsparko
Issue on boot was created by cncsparko
Hi all,
Long story short before my time on a tempermanent repair a wire bender was run on linuxcnc but they liked it and kept it (ran 7yrs no issues)
CMOS battery died, shut down cleaned and replaced.
PC boots up fine but linuxcnc won't open.
I've attached a few images of what I get from it when trying to run and open it and the debug file.
apologies for the images, offline machine and no USB to hand (trying to get them to 21st century).

I'm very basic with linux but the messing around has inspired me to grab my raspberry pi and to get playing again (for one never thought to look for a linuxcnc OS)
 
Attachments:

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

More
09 Apr 2024 21:35 #297874 by cornholio
Replied by cornholio on topic Issue on boot
Screen shots are difficult enough, but the debug section does not appear to be there, which kinda makes it hard.

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

More
10 Apr 2024 00:40 #297881 by tommylight
Replied by tommylight on topic Issue on boot
Also this is not a boot issue, it is a LinuxCNC gracefully failing to start issue, gracefully as it also reports why it failed, but this time the reason it failed is missing from the pictures, we need the debug portion of the report, as Cornholio mentioned above.

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

More
10 Apr 2024 03:14 #297891 by phillc54
Replied by phillc54 on topic Issue on boot
Looks line an issue in line 9 of OMCG.hal

 
 
Attachments:

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

More
10 Apr 2024 07:04 #297899 by cncsparko
Replied by cncsparko on topic Issue on boot
my apologies, thought I had that in the shot, I'll grab it off the machine. brought a drive with me so hoping to grab the data and drop it in a notepad

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

More
10 Apr 2024 07:43 #297901 by cncsparko
Replied by cncsparko on topic Issue on boot
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/user/linuxcnc/configs/OMCG'
Machine configuration file is 'OMCG.ini'
INIFILE=/home/user/linuxcnc/configs/OMCG/OMCG.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=18670
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1 
Can not find -sec IO -var IO -num 1 
Can not find -sec LINUXCNC -var NML_FILE -num 1 
Can not find -sec EMC -var NML_FILE -num 1 
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 No such device
OMCG.hal:9: exit value: 1
OMCG.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
18670
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[78052.361444] I-pipe: Domain RTAI registered.
[78052.361457] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[78052.361463] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[78052.361535] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[78052.361541] PIPELINE layers:
[78052.361546] f8605e20 9ac15d93 RTAI 200
[78052.361552] c085cb20 0 Linux 100
[78052.387551] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[78052.387776] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[78052.387784] RTAI[sched]: hard timer type/freq = APIC/12468990(Hz); default timing: periodic; linear timed lists.
[78052.387790] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2793162000 hz.
[78052.387794] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[78052.388606] RTAI[usi]: enabled.
[78052.454124] RTAI[math]: loaded.
[78052.553392] hm2: loading Mesa HostMot2 driver version 0.15
[78052.557089] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[78052.926702] hm2: unloading
[78052.986193] RTAI[math]: unloaded.
[78053.035103] SCHED releases registered named ALIEN RTGLBH
[78053.064368] RTAI[malloc]: unloaded.
[78053.164026] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[78053.167983] I-pipe: Domain RTAI unregistered.
[78053.168077] RTAI[hal]: unmounted.

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

More
10 Apr 2024 09:15 #297903 by cornholio
Replied by cornholio on topic Issue on boot
I'd try reseating the Mesa card, and giving things a bit of a clean.

This is the error
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 No such device

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

More
10 Apr 2024 09:52 #297907 by cncsparko
Replied by cncsparko on topic Issue on boot
Shut it down, removed the mesa card, gave it the ole cartridge clean and tried it.
No change.
Checked all the files and everything seems to be in the locations it's looking for, again amateur hour here but highly interested as stated.

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

More
10 Apr 2024 09:55 #297909 by rodw
Replied by rodw on topic Issue on boot
I think this file is missing:
'/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko'

what does this list?
sudo ls /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko

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

More
10 Apr 2024 09:55 #297910 by cncsparko
Replied by cncsparko on topic Issue on boot
Sorry for double message.

Got a red light on CR9 and CR10
And amber on CR11
On the card
Will drag up mesa manual see if that has anything that can contribute, probably the operating lights but need to start somewhere

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

Time to create page: 0.338 seconds
Powered by Kunena Forum