I got a mesa 5i25 with prob_rfx2 firmware.   I've tried two suggestions to
try and test it out.

I put a prob_rfx2.xml (that I got off this list from a bit back) to the
lib/firmware/hm2/5i25  folder as well as the .bit  and .pin files.  Then
used pncconf to configure it.  I think I am understanding how to configure
it, but I got this error when I tried to start it.

insmod: error inserting
'/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 Invalid
parameters

Next I tried to modify the 5i20 configuration to use 5i25...just to see if
I can get it to load.  (someone suggested that on a prev thread)  Changed
these lines in the ini

[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i25
CONFIG="firmware=hm2/5i25/prob_rfx2.bit num_encoders=0 num_pwmgens=0
num_stepgens=3"

Got the same error.  Here is my lspci output.

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory
Controller Hub (rev 0e)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express
Root Port (rev 0e)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface
Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA
Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
Controller (rev 03)
01:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100
VE (LOM) Ethernet Controller (rev 03)
01:0b.0 DPIO module: Device 2718:5125
06:00.0 VGA compatible controller: ATI Technologies Inc RV620 LE [Radeon HD
3450]
06:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD
34xx Series]


Listed below is the linuxcnc startup error.

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.0-pre0-3028-g394be3e
Machine configuration directory is
'/home/bryce/linuxcnc/configs/hm2-stepper'
Machine configuration file is '5i20.ini'
INIFILE=/home/bryce/linuxcnc/configs/hm2-stepper/5i20.ini
PARAMETER_FILE=hm2-stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
io started
halcmd loadusr io started
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=2344
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 Invalid
parameters
hm2-stepper.hal:41: exit value: 1
hm2-stepper.hal:41: insmod failed, returned -1
See the output of 'dmesg' for more information.
2344
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[  877.932781] I-pipe: Domain RTAI registered.
[  877.932790] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  877.932793] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5) .
[  877.932800] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  877.932803] PIPELINE layers:
[  877.932807] f36f5e20 9ac15d93 RTAI 200
[  877.932810] c085cb20 0 Linux 100
[  877.962036] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  877.962173] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI
OWN KTASKs>, kstacks pool size = 524288 bytes.
[  877.962180] RTAI[sched]: hard timer type/freq = APIC/12468620(Hz);
default timing: periodic; linear timed lists.
[  877.962185] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
2992535000 hz.
[  877.962188] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[  877.962287] RTAI[usi]: enabled.
[  878.043402] RTAI[math]: loaded.
[  878.142676] hm2: loading Mesa HostMot2 driver version 0.15
[  878.146925] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  878.146974] hm2_pci 0000:01:0b.0: PCI->APIC IRQ transform: INT A -> IRQ
21
[  878.146980] hm2_pci: discovered 5i25 at 0000:01:0b.0
[  878.147037] hm2/hm2_5i25.0: invalid config name, got 'HOsTMOt2',
expected 'HOSTMOT2'
[  878.147042] hm2_5i25.0: board fails HM2 registration
[  878.147056] hm2_pci: probe of 0000:01:0b.0 failed with error -22
[  878.629319] hm2: unloading
[  878.676597] RTAI[math]: unloaded.
[  878.731720] SCHED releases registered named ALIEN RTGLBH
[  878.746342] RTAI[malloc]: unloaded.
[  878.846020] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
traps 0, syscalls 0).
[  878.849749] I-pipe: Domain RTAI unregistered.
[  878.849761] RTAI[hal]: unmounted.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to