2.7
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5085
11 Mar 2015 23:04 #56692
by PCW
Replied by PCW on topic 2.7
Actually, Andy we've been down this road, the setsserial.ko missing error is bogus and caused by previous errors
Diederik, can you post the kernel log? setsserial error messages are all there, without that, its impossible to tell whats going on
Diederik, can you post the kernel log? setsserial error messages are all there, without that, its impossible to tell whats going on
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
11 Mar 2015 23:04 #56693
by andypugh
Curious. I wonder why the system is looking in /proc/modules?
You could tryin the LinuxCNC source folder. If you have one. But I don't actually think that is the problem here.
Can you do
sudo dmesg -c
then try the 7i77 update, then
dmesg
And paste the output here?
Replied by andypugh on topic 2.7
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$ locate setsserial
/home/ptd001/Desktop/setsserial.ko
/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko
/usr/share/man/man9/setsserial.9.gz
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$
Curious. I wonder why the system is looking in /proc/modules?
You could try
. ./scripts/rip-environment
Can you do
sudo dmesg -c
then try the 7i77 update, then
dmesg
And paste the output here?
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
11 Mar 2015 23:07 #56694
by andypugh
Replied by andypugh on topic 2.7
Hmm, the dmesg seems to suggest that the update7i77 script is looking for 8i20s...
I will repeat an earlier question: Where did you find the update7i77 script?
I will repeat an earlier question: Where did you find the update7i77 script?
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
- Diederik
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 213
- Thank you received: 2
11 Mar 2015 23:09 #56695
by Diederik
Replied by Diederik on topic 2.7
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5085
11 Mar 2015 23:13 #56696
by PCW
Replied by PCW on topic 2.7
From the log, theres no communication with the 7I77 at 115200 baud, so it looks like you did not set the 7I77
jumpers to setup mode and cycle the 7I77s power (both 5V and field power)
before starting the firmware update script
jumpers to setup mode and cycle the 7I77s power (both 5V and field power)
before starting the firmware update script
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
- Diederik
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 213
- Thank you received: 2
11 Mar 2015 23:17 #56697
by Diederik
Replied by Diederik on topic 2.7
cycle 7I77 field power and 5V power and hit return
read: 3: arg count
updating 7I77 field I/O
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77d.hal:4: exit value: 1
update7i77d.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
updating 7i77 analog out
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77a.hal:4: exit value: 1
update7i77a.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$ dmesg
[ 4068.815220] I-pipe: Domain RTAI registered.
[ 4068.815234] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 4068.815239] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 4068.815303] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 4068.815308] PIPELINE layers:
[ 4068.815316] f8339e20 9ac15d93 RTAI 200
[ 4068.815388] c085cb20 0 Linux 100
[ 4068.860182] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 4068.861364] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 4068.861376] RTAI[sched]: hard timer type/freq = APIC/8333598(Hz); default timing: periodic; linear timed lists.
[ 4068.861383] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1867071000 hz.
[ 4068.861388] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 4068.861517] RTAI[usi]: enabled.
[ 4068.971909] RTAI[math]: loaded.
[ 4069.032557] hm2: loading Mesa HostMot2 driver version 0.15
[ 4069.038219] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 4069.038269] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4069.038275] hm2_pci 0000:02:0d.0: PCI INT A: no GSI - using IRQ 10
[ 4069.038284] hm2_pci: discovered 5i25 at 0000:02:0d.0
[ 4069.042865] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 4069.042884] hm2/hm2_5i25.0: num_channels = 6
[ 4069.042952] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[ 4069.043098] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[ 4069.043166] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[ 4069.043313] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[ 4069.043381] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[ 4069.043527] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[ 4069.043595] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[ 4069.043741] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[ 4069.043809] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[ 4069.043955] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[ 4069.044023] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[ 4069.044169] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[ 4069.098869] Setup mode
[ 4069.098899] Looking for 8i20s, crc_addr = 142
[ 4069.153600] found a
[ 4069.153608] Setup mode
[ 4069.153637] Looking for 8i20s, crc_addr = 192
[ 4069.208350] found a
[ 4069.208357] Setup mode
[ 4069.208386] Looking for 8i20s, crc_addr = 242
[ 4069.263097] found a
[ 4069.263104] Setup mode
[ 4069.263133] Looking for 8i20s, crc_addr = 292
[ 4069.317847] found a
[ 4069.317854] Setup mode
[ 4069.317884] Looking for 8i20s, crc_addr = 342
[ 4069.372589] found a
[ 4069.372597] Setup mode
[ 4069.372626] Looking for 8i20s, crc_addr = 392
[ 4069.427336] found a
[ 4069.430705] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 4069.430713] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 4069.430718] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 4069.430724] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[ 4069.430729] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 4069.430734] hm2/hm2_5i25.0: IO Pin 004 (P3-03): IOPort
[ 4069.430739] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 4069.430744] hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
[ 4069.430751] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 4069.430759] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[ 4069.430765] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[ 4069.430772] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 4069.430779] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[ 4069.430786] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[ 4069.430793] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[ 4069.430800] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[ 4069.430807] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[ 4069.430814] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[ 4069.430820] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 4069.430826] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 4069.430831] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 4069.430836] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 4069.430842] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 4069.430847] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 4069.430852] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 4069.430859] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[ 4069.430866] hm2/hm2_5i25.0: IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[ 4069.430872] hm2/hm2_5i25.0: IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[ 4069.430879] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[ 4069.430886] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[ 4069.430893] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[ 4069.430900] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[ 4069.430907] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[ 4069.430913] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[ 4069.430920] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[ 4069.431190] hm2/hm2_5i25.0: registered
[ 4069.431195] hm2_5i25.0: initialized AnyIO board at 0000:02:0d.0
[ 4069.438017] Unable to find sserial remote corresponding to hm2_5i25.0.7i77.0.0
[ 4069.487643] hm2_5i25.0: dropping AnyIO board at 0000:02:0d.0
[ 4069.487657] hm2/hm2_5i25.0: unregistered
[ 4069.487693] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4069.487740] hm2_pci: driver unloaded
[ 4069.493942] hm2: unloading
[ 4069.757617] RTAI[math]: unloaded.
[ 4069.819253] SCHED releases registered named ALIEN RTGLBH
[ 4069.850409] RTAI[malloc]: unloaded.
[ 4069.949917] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 4069.953572] I-pipe: Domain RTAI unregistered.
[ 4069.953647] RTAI[hal]: unmounted.
[ 4070.159411] I-pipe: Domain RTAI registered.
[ 4070.159425] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 4070.159430] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 4070.159496] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 4070.159501] PIPELINE layers:
[ 4070.159506] f8339e20 9ac15d93 RTAI 200
[ 4070.159511] c085cb20 0 Linux 100
[ 4070.206418] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 4070.207076] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 4070.207087] RTAI[sched]: hard timer type/freq = APIC/8333598(Hz); default timing: periodic; linear timed lists.
[ 4070.207094] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1867071000 hz.
[ 4070.207100] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 4070.207238] RTAI[usi]: enabled.
[ 4070.337634] RTAI[math]: loaded.
[ 4070.397908] hm2: loading Mesa HostMot2 driver version 0.15
[ 4070.405440] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 4070.405575] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4070.405581] hm2_pci 0000:02:0d.0: PCI INT A: no GSI - using IRQ 10
[ 4070.405593] hm2_pci: discovered 5i25 at 0000:02:0d.0
[ 4070.410758] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 4070.410778] hm2/hm2_5i25.0: num_channels = 6
[ 4070.410846] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[ 4070.410993] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[ 4070.411061] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[ 4070.411208] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[ 4070.411275] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[ 4070.411422] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[ 4070.411489] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[ 4070.411636] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[ 4070.411704] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[ 4070.411849] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[ 4070.411917] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[ 4070.412063] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[ 4070.466737] Setup mode
[ 4070.466768] Looking for 8i20s, crc_addr = 142
[ 4070.521485] found a
[ 4070.521493] Setup mode
[ 4070.521522] Looking for 8i20s, crc_addr = 192
[ 4070.576229] found a
[ 4070.576237] Setup mode
[ 4070.576266] Looking for 8i20s, crc_addr = 242
[ 4070.630986] found a
[ 4070.630993] Setup mode
[ 4070.631022] Looking for 8i20s, crc_addr = 292
[ 4070.685730] found a
[ 4070.685737] Setup mode
[ 4070.685767] Looking for 8i20s, crc_addr = 342
[ 4070.740481] found a
[ 4070.740489] Setup mode
[ 4070.740518] Looking for 8i20s, crc_addr = 392
[ 4070.795232] found a
[ 4070.798474] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 4070.798484] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 4070.798490] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 4070.798495] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[ 4070.798501] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 4070.798506] hm2/hm2_5i25.0: IO Pin 004 (P3-03): IOPort
[ 4070.798511] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 4070.798517] hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
[ 4070.798524] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 4070.798532] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[ 4070.798539] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[ 4070.798546] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 4070.798553] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[ 4070.798560] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[ 4070.798568] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[ 4070.798575] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[ 4070.798582] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[ 4070.798589] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[ 4070.798595] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 4070.798600] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 4070.798606] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 4070.798611] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 4070.798617] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 4070.798622] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 4070.798627] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 4070.798634] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[ 4070.798641] hm2/hm2_5i25.0: IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[ 4070.798648] hm2/hm2_5i25.0: IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[ 4070.798655] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[ 4070.798662] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[ 4070.798669] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[ 4070.798676] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[ 4070.798683] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[ 4070.798690] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[ 4070.798697] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[ 4070.798968] hm2/hm2_5i25.0: registered
[ 4070.798973] hm2_5i25.0: initialized AnyIO board at 0000:02:0d.0
[ 4070.808061] Unable to find sserial remote corresponding to hm2_5i25.0.7i77.0.1
[ 4070.836857] hm2_5i25.0: dropping AnyIO board at 0000:02:0d.0
[ 4070.836869] hm2/hm2_5i25.0: unregistered
[ 4070.836907] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4070.836952] hm2_pci: driver unloaded
[ 4070.840639] hm2: unloading
[ 4071.117932] RTAI[math]: unloaded.
[ 4071.156784] SCHED releases registered named ALIEN RTGLBH
[ 4071.189295] RTAI[malloc]: unloaded.
[ 4071.284836] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 4071.290465] I-pipe: Domain RTAI unregistered.
[ 4071.290540] RTAI[hal]: unmounted.
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$
read: 3: arg count
updating 7I77 field I/O
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77d.hal:4: exit value: 1
update7i77d.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
updating 7i77 analog out
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77a.hal:4: exit value: 1
update7i77a.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$ dmesg
[ 4068.815220] I-pipe: Domain RTAI registered.
[ 4068.815234] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 4068.815239] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 4068.815303] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 4068.815308] PIPELINE layers:
[ 4068.815316] f8339e20 9ac15d93 RTAI 200
[ 4068.815388] c085cb20 0 Linux 100
[ 4068.860182] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 4068.861364] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 4068.861376] RTAI[sched]: hard timer type/freq = APIC/8333598(Hz); default timing: periodic; linear timed lists.
[ 4068.861383] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1867071000 hz.
[ 4068.861388] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 4068.861517] RTAI[usi]: enabled.
[ 4068.971909] RTAI[math]: loaded.
[ 4069.032557] hm2: loading Mesa HostMot2 driver version 0.15
[ 4069.038219] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 4069.038269] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4069.038275] hm2_pci 0000:02:0d.0: PCI INT A: no GSI - using IRQ 10
[ 4069.038284] hm2_pci: discovered 5i25 at 0000:02:0d.0
[ 4069.042865] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 4069.042884] hm2/hm2_5i25.0: num_channels = 6
[ 4069.042952] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[ 4069.043098] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[ 4069.043166] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[ 4069.043313] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[ 4069.043381] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[ 4069.043527] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[ 4069.043595] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[ 4069.043741] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[ 4069.043809] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[ 4069.043955] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[ 4069.044023] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[ 4069.044169] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[ 4069.098869] Setup mode
[ 4069.098899] Looking for 8i20s, crc_addr = 142
[ 4069.153600] found a
[ 4069.153608] Setup mode
[ 4069.153637] Looking for 8i20s, crc_addr = 192
[ 4069.208350] found a
[ 4069.208357] Setup mode
[ 4069.208386] Looking for 8i20s, crc_addr = 242
[ 4069.263097] found a
[ 4069.263104] Setup mode
[ 4069.263133] Looking for 8i20s, crc_addr = 292
[ 4069.317847] found a
[ 4069.317854] Setup mode
[ 4069.317884] Looking for 8i20s, crc_addr = 342
[ 4069.372589] found a
[ 4069.372597] Setup mode
[ 4069.372626] Looking for 8i20s, crc_addr = 392
[ 4069.427336] found a
[ 4069.430705] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 4069.430713] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 4069.430718] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 4069.430724] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[ 4069.430729] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 4069.430734] hm2/hm2_5i25.0: IO Pin 004 (P3-03): IOPort
[ 4069.430739] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 4069.430744] hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
[ 4069.430751] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 4069.430759] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[ 4069.430765] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[ 4069.430772] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 4069.430779] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[ 4069.430786] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[ 4069.430793] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[ 4069.430800] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[ 4069.430807] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[ 4069.430814] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[ 4069.430820] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 4069.430826] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 4069.430831] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 4069.430836] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 4069.430842] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 4069.430847] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 4069.430852] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 4069.430859] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[ 4069.430866] hm2/hm2_5i25.0: IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[ 4069.430872] hm2/hm2_5i25.0: IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[ 4069.430879] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[ 4069.430886] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[ 4069.430893] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[ 4069.430900] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[ 4069.430907] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[ 4069.430913] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[ 4069.430920] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[ 4069.431190] hm2/hm2_5i25.0: registered
[ 4069.431195] hm2_5i25.0: initialized AnyIO board at 0000:02:0d.0
[ 4069.438017] Unable to find sserial remote corresponding to hm2_5i25.0.7i77.0.0
[ 4069.487643] hm2_5i25.0: dropping AnyIO board at 0000:02:0d.0
[ 4069.487657] hm2/hm2_5i25.0: unregistered
[ 4069.487693] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4069.487740] hm2_pci: driver unloaded
[ 4069.493942] hm2: unloading
[ 4069.757617] RTAI[math]: unloaded.
[ 4069.819253] SCHED releases registered named ALIEN RTGLBH
[ 4069.850409] RTAI[malloc]: unloaded.
[ 4069.949917] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 4069.953572] I-pipe: Domain RTAI unregistered.
[ 4069.953647] RTAI[hal]: unmounted.
[ 4070.159411] I-pipe: Domain RTAI registered.
[ 4070.159425] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 4070.159430] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 4070.159496] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 4070.159501] PIPELINE layers:
[ 4070.159506] f8339e20 9ac15d93 RTAI 200
[ 4070.159511] c085cb20 0 Linux 100
[ 4070.206418] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 4070.207076] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 4070.207087] RTAI[sched]: hard timer type/freq = APIC/8333598(Hz); default timing: periodic; linear timed lists.
[ 4070.207094] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1867071000 hz.
[ 4070.207100] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 4070.207238] RTAI[usi]: enabled.
[ 4070.337634] RTAI[math]: loaded.
[ 4070.397908] hm2: loading Mesa HostMot2 driver version 0.15
[ 4070.405440] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 4070.405575] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4070.405581] hm2_pci 0000:02:0d.0: PCI INT A: no GSI - using IRQ 10
[ 4070.405593] hm2_pci: discovered 5i25 at 0000:02:0d.0
[ 4070.410758] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[ 4070.410778] hm2/hm2_5i25.0: num_channels = 6
[ 4070.410846] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[ 4070.410993] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[ 4070.411061] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[ 4070.411208] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[ 4070.411275] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[ 4070.411422] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[ 4070.411489] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[ 4070.411636] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[ 4070.411704] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[ 4070.411849] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[ 4070.411917] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[ 4070.412063] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[ 4070.466737] Setup mode
[ 4070.466768] Looking for 8i20s, crc_addr = 142
[ 4070.521485] found a
[ 4070.521493] Setup mode
[ 4070.521522] Looking for 8i20s, crc_addr = 192
[ 4070.576229] found a
[ 4070.576237] Setup mode
[ 4070.576266] Looking for 8i20s, crc_addr = 242
[ 4070.630986] found a
[ 4070.630993] Setup mode
[ 4070.631022] Looking for 8i20s, crc_addr = 292
[ 4070.685730] found a
[ 4070.685737] Setup mode
[ 4070.685767] Looking for 8i20s, crc_addr = 342
[ 4070.740481] found a
[ 4070.740489] Setup mode
[ 4070.740518] Looking for 8i20s, crc_addr = 392
[ 4070.795232] found a
[ 4070.798474] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 4070.798484] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
[ 4070.798490] hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
[ 4070.798495] hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
[ 4070.798501] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort
[ 4070.798506] hm2/hm2_5i25.0: IO Pin 004 (P3-03): IOPort
[ 4070.798511] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 4070.798517] hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
[ 4070.798524] hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 4070.798532] hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[ 4070.798539] hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[ 4070.798546] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 4070.798553] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[ 4070.798560] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[ 4070.798568] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[ 4070.798575] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[ 4070.798582] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[ 4070.798589] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[ 4070.798595] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 4070.798600] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 4070.798606] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 4070.798611] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 4070.798617] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 4070.798622] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 4070.798627] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 4070.798634] hm2/hm2_5i25.0: IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[ 4070.798641] hm2/hm2_5i25.0: IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[ 4070.798648] hm2/hm2_5i25.0: IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[ 4070.798655] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[ 4070.798662] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[ 4070.798669] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[ 4070.798676] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[ 4070.798683] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[ 4070.798690] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[ 4070.798697] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[ 4070.798968] hm2/hm2_5i25.0: registered
[ 4070.798973] hm2_5i25.0: initialized AnyIO board at 0000:02:0d.0
[ 4070.808061] Unable to find sserial remote corresponding to hm2_5i25.0.7i77.0.1
[ 4070.836857] hm2_5i25.0: dropping AnyIO board at 0000:02:0d.0
[ 4070.836869] hm2/hm2_5i25.0: unregistered
[ 4070.836907] pci 0000:00:1e.0: can't derive routing for PCI INT A
[ 4070.836952] hm2_pci: driver unloaded
[ 4070.840639] hm2: unloading
[ 4071.117932] RTAI[math]: unloaded.
[ 4071.156784] SCHED releases registered named ALIEN RTGLBH
[ 4071.189295] RTAI[malloc]: unloaded.
[ 4071.284836] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 4071.290465] I-pipe: Domain RTAI unregistered.
[ 4071.290540] RTAI[hal]: unmounted.
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
11 Mar 2015 23:18 #56698
by andypugh
Replied by andypugh on topic 2.7
There are clear instructions on the screen to move the jumpers and cycle the power, so I was discounting that possibility.
Please Log in or Create an account to join the conversation.
- Diederik
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 213
- Thank you received: 2
11 Mar 2015 23:23 #56700
by Diederik
Replied by Diederik on topic 2.7
am I correct to say that I need to set jumper W4, and W12 in down, ?
Quote:
move 7I77 W4 and W12 to right hand positions
cycle 7I77 field power and 5V power and hit return
read: 3: arg count
updating 7I77 field I/O
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77d.hal:4: exit value: 1
update7i77d.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
updating 7i77 analog out
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77a.hal:4: exit value: 1
update7i77a.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$
the exact procedure of how I should do this? as follows:
move 7I77 W4 and W12 to right hand positions
cycle 7I77 field power and 5V power and hit return
then should I run the script? then after
:now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power?
by "cycle 7I77 field power and 5V power and hit return" : does this mean I have to power down, and power up again? or should I leave it off?
Quote:
move 7I77 W4 and W12 to right hand positions
cycle 7I77 field power and 5V power and hit return
read: 3: arg count
updating 7I77 field I/O
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77d.hal:4: exit value: 1
update7i77d.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
updating 7i77 analog out
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77a.hal:4: exit value: 1
update7i77a.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power
ptd001@ptd001:~/linuxcnc/sserial/utils/linuxcnc$
the exact procedure of how I should do this? as follows:
move 7I77 W4 and W12 to right hand positions
cycle 7I77 field power and 5V power and hit return
then should I run the script? then after
:now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power?
by "cycle 7I77 field power and 5V power and hit return" : does this mean I have to power down, and power up again? or should I leave it off?
Please Log in or Create an account to join the conversation.
- Diederik
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 213
- Thank you received: 2
11 Mar 2015 23:29 #56701
by Diederik
Replied by Diederik on topic 2.7
I have tried to remove field power and 5V, but, possibly my procedure was not correct.

I have tried all possibilities of differrent ways, and is running out of ideas... I only changed jumpers on the 7i77,
on 5i25: jumpers W1 and W2 is in default state : DOWN, DOWN BREAKOUT POWER DISABLED (DEFAULT)


I have tried all possibilities of differrent ways, and is running out of ideas... I only changed jumpers on the 7i77,
on 5i25: jumpers W1 and W2 is in default state : DOWN, DOWN BREAKOUT POWER DISABLED (DEFAULT)
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5085
11 Mar 2015 23:36 #56702
by PCW
Replied by PCW on topic 2.7
Do no change 5i25 jumpers
7I77 jumpers W4 and W12 must be in the right hand position (away from the DB25 connector)
and the 7I77 power cycled (power cycle CPU and field power after moving jumpers to the right)
to be able to program the flash (its not a power cycle unless all 7I77 LEDs are off then on again)
7I77 jumpers W4 and W12 must be in the right hand position (away from the DB25 connector)
and the 7I77 power cycled (power cycle CPU and field power after moving jumpers to the right)
to be able to program the flash (its not a power cycle unless all 7I77 LEDs are off then on again)
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds