Issue on boot

More
10 Apr 2024 10:01 #297911 by cncsparko
Replied by cncsparko on topic Issue on boot
Behind a password lock. Will see if I can track down someone who would have a clue to it.
Appreciate the help BTW

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

More
10 Apr 2024 10:04 - 10 Apr 2024 10:08 #297912 by cornholio
Replied by cornholio on topic Issue on boot
If there are any more slots available I'd give them a try.

Are the fingers on the Mesa card showing any sign signs of dirtiness\tarnish ?

Might be helpful if you could state the card you are using ?

Also it could be useful to download the card manual from Mesa and check that all the jumpers are in the correct place & such, something could have been dislodged. And also pay check the section of the manual that deals with the Leds.

Also the title of the thread doesn't really describe the problem, it's more an issue of the card not being detected.
A better title might have been Mesa XXXX not being detected, this would be more likely to get the attention of Pete from Mesa.
But whatever you do don't start a new thread. I've made a callout to Pete from Mesa to give advice, so hang in there mate.
Last edit: 10 Apr 2024 10:08 by cornholio.
The following user(s) said Thank You: cncsparko

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

More
10 Apr 2024 10:17 #297914 by cncsparko
Replied by cncsparko on topic Issue on boot
All fingers look clean, no issues physically.
My fault thought it was in a picture

It is a MESA 5120 Anything

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

More
10 Apr 2024 11:53 #297917 by cornholio
Replied by cornholio 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



I think you'd get a "No such file or directory" error rather than a "no device" message. And it's hard to imagine a file going missing after changing a battery.
The following user(s) said Thank You: tommylight

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

More
10 Apr 2024 12:08 #297918 by tommylight
Replied by tommylight on topic Issue on boot
sudo lspci -v
see if there is a 5i20 or 5120 mentioned there, usually near the bottom of a loooooong list.
The following user(s) said Thank You: cncsparko

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

More
10 Apr 2024 13:56 #297926 by PCW
Replied by PCW on topic Issue on boot
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 No such device

Means the card (5I20?) was not found (no valid cookie read from card)

The two red lights should go out when LinuxCNC starts and loads the
selected firmware into the card.

It may be that some PCI setting was lost when the CMOS battery failed,
a bad PCI/dirty slot. or failed 5I20 card, hard to tell without more data.

If the 5I20 card is bad, the most compatible replacement would be a 5I24
This would need to have similar firmware installed and the card name
in the hal file changed from 5i20 to 5i24.

 
The following user(s) said Thank You: cncsparko

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

More
12 Apr 2024 10:18 #298052 by cncsparko
Replied by cncsparko on topic Issue on boot
Sorry been quiet there's 2 of us and about 40 machines and got dragged about.
Back onto looking at this again.
Think I've reset sudo pass word so will start with that and work my way through your suggestions guys. I do appreciate the help.
This machine has at least encouraged them to let me back up every other machine, progress.
The following user(s) said Thank You: tommylight

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

More
12 Apr 2024 11:27 - 12 Apr 2024 11:37 #298061 by cncsparko
Replied by cncsparko on topic Issue on boot
Added a text file, I see no mention of the MESA
Attachments:
Last edit: 12 Apr 2024 11:37 by cncsparko. Reason: too long

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

More
12 Apr 2024 13:26 #298067 by cncsparko
Replied by cncsparko on topic Issue on boot
Found an additional partition, had the EMC2 software on it
EMC2 2.4.3
when I tried to boot that I got another error and a debug, see below.
Trying to gather as much as I can

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.3
Machine configuration directory is '/home/user/emc2/configs/hm2-servo'
Machine configuration file is '5i20.ini'
INIFILE=/home/user/emc2/configs/hm2-servo/5i20.ini
PARAMETER_FILE=hm2-servo.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1262
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
hm2-servo.hal:48: parameter or pin 'hm2_5i20.0.pwmgen.pwm_frequency' not found
1262
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 26.164787] I-pipe: Domain RTAI registered.
[ 26.164800] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 26.164806] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 26.164878] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 26.164883] PIPELINE layers:
[ 26.164889] f8223e20 9ac15d93 RTAI 200
[ 26.164895] c085cb20 0 Linux 100
[ 26.193075] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 26.193305] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 26.193314] RTAI[sched]: hard timer type/freq = APIC/12468980(Hz); default timing: periodic; linear timed lists.
[ 26.193320] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2792892000 hz.
[ 26.193324] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 26.193524] RTAI[usi]: enabled.
[ 26.271422] RTAI[math]: loaded.
[ 26.370539] hm2: loading Mesa HostMot2 driver version 0.15
[ 26.376230] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6
[ 26.776243] hm2_pci: driver unloaded
[ 26.781860] hm2: unloading
[ 26.924172] RTAI[math]: unloaded.
[ 26.987019] SCHED releases registered named ALIEN RTGLBH
[ 27.016652] RTAI[malloc]: unloaded.
[ 27.116025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 27.122007] I-pipe: Domain RTAI unregistered.
[ 27.122096] RTAI[hal]: unmounted.

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

More
12 Apr 2024 13:43 #298068 by cncsparko
Replied by cncsparko on topic Issue on boot
Pics of card and Pins etc all for the MESA 5i20 on the back.
only 2 sets are without the bridges connectors, one under the ribbon lead on the left and the long strip out the front.
Attachments:

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

Time to create page: 0.280 seconds
Powered by Kunena Forum