Updating from 2.5 to 2.6

More
03 May 2015 22:55 #58355 by amhfabs
Hi guys,

I'm new to Linux and Linuxcnc, so assume I have absolutely no idea what I'm doing....

I'm trying to update from 2.5 to 2.6 and I've hit a problem. I've followed the steps on the wiki page and downloaded the software and updated using the synaptic package maganger. However, Linuxcnc will now not load at all and I get this:

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.6.7
Machine configuration directory is '/home/bridgeport/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/bridgeport/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.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=2639
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 Invalid parameters
my_LinuxCNC_machine.hal:9: exit value: 1
my_LinuxCNC_machine.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
2639
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 1514.587913] I-pipe: Domain RTAI registered.
[ 1514.587921] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1514.587924] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 1514.587931] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1514.587934] PIPELINE layers:
[ 1514.587937] e09f5e20 9ac15d93 RTAI 200
[ 1514.587940] c085cb20 0 Linux 100
[ 1514.628709] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1514.628878] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1514.628883] RTAI[sched]: hard timer type/freq = APIC/6229730(Hz); default timing: periodic; linear timed lists.
[ 1514.628887] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1794178000 hz.
[ 1514.628890] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 1514.629022] RTAI[usi]: enabled.
[ 1514.742266] RTAI[math]: loaded.
[ 1514.980944] probe_parport 00:0e: activated
[ 1515.016020] hm2: loading Mesa HostMot2 driver version 0.15
[ 1515.021134] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 1515.021194] hm2_pci 0000:01:0c.0: PCI->APIC IRQ transform: INT A -> IRQ 16
[ 1515.021198] hm2_pci: discovered 5i25 at 0000:01:0c.0
[ 1515.021306] hm2/hm2_5i25.0: Module Descriptor 2 (at 0x0458) has invalid ClockTag 255
[ 1515.021310] hm2_5i25.0: board fails HM2 registration
[ 1515.021322] hm2_pci: probe of 0000:01:0c.0 failed with error -22
[ 1515.931708] hm2: unloading
[ 1515.935007] probe_parport 00:0e: disabled
[ 1516.105367] RTAI[math]: unloaded.
[ 1516.151060] SCHED releases registered named ALIEN RTGLBH
[ 1516.167335] RTAI[malloc]: unloaded.
[ 1516.267008] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1516.269892] I-pipe: Domain RTAI unregistered.
[ 1516.269903] RTAI[hal]: unmounted.

Might as well be russian to me as I don't have a clue what it means!

Any pointers would be helpful please. I'm having a hard time as every single thing I try and do in Linux fails!

Many thanks

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

More
04 May 2015 00:29 - 04 May 2015 03:11 #58357 by PCW
Replied by PCW on topic Updating from 2.5 to 2.6
The error is here:

[ 1515.021198] hm2_pci: discovered 5i25 at 0000:01:0c.0
[ 1515.021306] hm2/hm2_5i25.0: Module Descriptor 2 (at 0x0458) has invalid ClockTag 255
[ 1515.021310] hm2_5i25.0: board fails HM2 registration


This is a really odd error. The only thing I can think of is that this a PCI slot issue.

I would try cleaning the 5I25 contact fingers and PCI card slot in the motherboard and
try again. I find that 99 % Isopropyl alcohol is a good cleaner. For motherboard slots
I use a piece of card stock dipped in the alcohol.
Last edit: 04 May 2015 03:11 by PCW.
The following user(s) said Thank You: amhfabs

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

More
04 May 2015 04:42 #58362 by amhfabs
Replied by amhfabs on topic Updating from 2.5 to 2.6
Thanks for the reply!

To be honest, the PC i'm using is really crappy and fails the the latency test like the dumbest kid in the class! The Mesa card is brand new and was only taken out of the box today, I can't see there being any issue with that, only possibly the pci slot on the PC i'm using. I'll try another computer and see if the error persists.

I did try a different setup in linuxcnc, one that i presumed wouldn't look for the mesa card or pci slot and this seemed loaded ok.

Thanks again for your help!

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

More
15 May 2015 02:33 #58702 by amhfabs
Replied by amhfabs on topic Updating from 2.5 to 2.6
Ok, this is going to sound stupid to some, but I keep reading about this .ini file, but I can't find where it is, nor can I find any instruction online as to where it might be??

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

More
15 May 2015 02:35 #58703 by amhfabs
Replied by amhfabs on topic Updating from 2.5 to 2.6
oops! found it!! i have a lot to learn yet :unsure:

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

Time to create page: 0.194 seconds
Powered by Kunena Forum