7i77 testers wanted

More
23 Jun 2012 06:12 #21215 by cmorley
Replied by cmorley on topic Re:7i77 testers wanted
we need to change the docs then. it implies that counter mode with an encoder is fine.
It would be nice to add 1x mode to hostmot2 encoders. MPG with a quadrature doesn't work quite right either.

Thanks for explaining

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

More
23 Jun 2012 15:40 #21227 by PCW
Replied by PCW on topic Re:7i77 testers wanted
Well it will work but will lose or gain counts if A toggles back and forth
Probably not a big deal to add 1X mode to the counter if I can figure out
where to add the mode bit

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

More
25 Nov 2012 20:36 #26922 by nkp
Replied by nkp on topic Re:7i77 testers wanted
Hello!
Could you please tell me how in 5i25+7i77 to switch modes :
MODE 0 I/O only mode (32 bits of input data, 16 bit of output data)
MODE 1 I/O plus analog input mode (32 bits of input data, 16 bits of output data, 4
      analog input channels on inputs 0..3)
MODE 2 I/O plus analog input and field voltage mode (32 bits of input data, 16 bits of
      output data, 4 analog input channels (on inputs 0..3) and field voltage analog
     in)
MODE 3 I/O plus analog input and field voltage mode (32 bits of input data, 16 bits of
      output data, 4 analog input channels (on inputs 0..3), field voltage analog in
     and 2 MPG encoders on inputs 16..19). Default encoder count mode is 1X
    to match normal 100 PPR MPGs. Encoder input threshold is fixed at 2.5V for
   compatibility with 5V encoder outputs.
to get ANALOG INPUTS:
All field input pins are capable of reading the input voltage. These are not highly
accurate or high resolution but can be useful for things like potentiometer inputs. Input
resolution is 8 bits and input full scale value is 36.3V. Accuracy is +-5%
Software process data modes 1 and 2 allow reading the analog voltage on inputs
0 through 3, in addition to the 32 digital bit inputs
thanks

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

More
25 Nov 2012 22:50 #26925 by PCW
Replied by PCW on topic Re:7i77 testers wanted
You change the "sserial_port_0=SOMETHING" parameter in the
firmware config line at the top of the .ini file to sserial_port_0=M00xxx"

where M is the mode for the 7I77 field I/O (0,1,2,3)

Note that the MPG option (mode 3) was added
recently and may not be present on your 7I77
The following user(s) said Thank You: nkp

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

More
25 Nov 2012 23:31 #26928 by nkp
Replied by nkp on topic Re:7i77 testers wanted
thank you!
all works
Attachments:

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

More
16 Feb 2013 09:46 - 14 Mar 2013 08:05 #30163 by arvidb
Replied by arvidb on topic 7i77 testers wanted
I'm having some trouble with PnCConf (I think).

My system is LinuxCNC installed from the liveCD image (ubuntu-10.04-linuxcnc3-i386.iso), with all recommended updates as of 2013-02-06. HW is 7i77-6i25 PNG.

I booted the computer with the 6i25 card installed, but without the 7i77 connected. I installed the 5i25 firmware XML files for pncconf (the newest ones from 2012-08-04). I then connected the 7i77.

I started PnCConf and set everything up (Axis config XYZ, Servo period 1 ms, Firmware 7i77x1, 6 encoders, 1 serial port), made the Scale calculations and set speed 5000 mm/min and acceleration 200 mm/s²).

I hooked up a multimeter to TB5 GND/AOUT0 and started the Open loop test. When I pressed Enable amps I got the same "IOError: [Errno 32] Broken pipe" error as wanispissd in post 18823

I looked around at dmesg and such a bit and then I decided to try again to get the exact error message to post here. I restarted PnCConf and reloaded the config. This time when I pressed Open Loop Test I didn't get the error, but I got no output when I pressed the Jog buttons either. Also, HAL Meter just showed
---
-----
and analogout0 showed
---
.


Running pncconf from a command line and loading the same config and repeating the Open loop steps gets me:

$ pncconf
### On startup:
/usr/bin/pncconf:3999: Warning: g_path_get_dirname: assertion `file_name != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: GtkWarning: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/home/arvidb/Desktop/custom_firmware/firmware.py
### On clicking axis X "Open Loop Test"
hm2_5i25.0.encoder.00
<stdin>:33: signal 'dir' not found
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/scope_rt.ko': -1 Unknown symbol in module
<commandline>:0: exit value: 1
<commandline>:0: insmod failed, returned -1
See the output of 'dmesg' for more information.
loadrt scope_rt failed
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)

dmesg says:
[ 4650.511881] I-pipe: Domain RTAI registered.
[ 4650.511885] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 4650.511886] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 4650.511908] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 4650.511909] PIPELINE layers:
[ 4650.511911] faefee20 9ac15d93 RTAI 200
[ 4650.511913] c085cb20 0 Linux 100
[ 4650.525081] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 4650.525218] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes
.
[ 4650.525222] RTAI[sched]: hard timer type/freq = APIC/20830927(Hz); default timing: periodic; linear timed lists.
[ 4650.525224] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2999737000 hz.
[ 4650.525226] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 4650.525285] RTAI[usi]: enabled.
[ 4650.565793] RTAI[math]: loaded.
[ 4650.624137] hm2: loading Mesa HostMot2 driver version 0.15
[ 4650.648776] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 4650.648804] hm2_pci 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 4650.648807] hm2_pci: discovered 5i25 at 0000:04:00.0
[ 4650.649505] hm2/hm2_5i25.0: Smart Serial Firmware Version 35
[ 4650.764581] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 4650.764585] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): IOPort
[ 4650.764587] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): IOPort
[ 4650.764588] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): IOPort
[ 4650.764591] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[ 4650.764593] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[ 4650.764595] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): IOPort
[ 4650.764597] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): IOPort
[ 4650.764599] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 4650.764602] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[ 4650.764604] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[ 4650.764606] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 4650.764608] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[ 4650.764610] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[ 4650.764612] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[ 4650.764615] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[ 4650.764617] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[ 4650.764619] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[ 4650.764621] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
[ 4650.764622] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
[ 4650.764624] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
[ 4650.764626] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
[ 4650.764627] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
[ 4650.764629] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
[ 4650.764631] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
[ 4650.764632] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
[ 4650.764634] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
[ 4650.764635] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
[ 4650.764637] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
[ 4650.764639] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
[ 4650.764640] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
[ 4650.764642] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
[ 4650.764644] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
[ 4650.764645] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
[ 4650.764647] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
[ 4650.764686] hm2/hm2_5i25.0: registered
[ 4650.764688] hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
[ 4650.770736] hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
[ 4650.770740] hm2/hm2_5i25.0: unregistered
[ 4650.770755] hm2_pci 0000:04:00.0: PCI INT A disabled
[ 4650.770769] hm2_pci: driver unloaded
[ 4650.771997] hm2: unloading
[ 4650.787700] RTAI[math]: unloaded.
[ 4650.807205] SCHED releases registered named ALIEN RTGLBH
[ 4650.807208] SCHED releases registered named ALIEN PUFUQK
[ 4650.844035] 
[ 4650.844037] SHM_CLEANUP_MODULE releases: 'CF$Z8N':0x48414c32:1212238898 (262144).
[ 4650.844071] 
[ 4650.844072] SHM_CLEANUP_MODULE releases: 'PUFUQK':0x90280a48:2418543176 (12288).
[ 4650.844230] RTAI[malloc]: unloaded.
[ 4650.847895] scope_rt: Unknown symbol hal_del_funct_from_thread
[ 4650.847954] scope_rt: Unknown symbol hal_ready
[ 4650.848049] scope_rt: Unknown symbol rtapi_shmem_new
[ 4650.848110] scope_rt: Unknown symbol rtapi_shmem_getptr
[ 4650.848168] scope_rt: Unknown symbol hal_shmem_base
[ 4650.848227] scope_rt: Unknown symbol hal_export_funct
[ 4650.848284] scope_rt: Unknown symbol hal_exit
[ 4650.848346] scope_rt: Unknown symbol rtapi_print_msg
[ 4650.848407] scope_rt: Unknown symbol rtapi_shmem_delete
[ 4650.848469] scope_rt: Unknown symbol hal_init
[ 4650.876972] __ratelimit: 18 callbacks suppressed
[ 4650.876976] halmeter[3558]: segfault at 8 ip 0023d6bc sp bfe4cc70 error 6 in liblinuxcnchal.so.0[238000+8000]
[ 4650.884427] halmeter[3556]: segfault at 8 ip 00dec6bc sp bfe726b0 error 6 in liblinuxcnchal.so.0[de7000+8000]
[ 4650.888122] halmeter[3555]: segfault at 8 ip 004256bc sp bfb609f0 error 6 in liblinuxcnchal.so.0[420000+8000]
[ 4650.889330] halmeter[3559]: segfault at 8 ip 00e136bc sp bff90b50 error 6 in liblinuxcnchal.so.0[e0e000+8000]
[ 4650.889883] halmeter[3557]: segfault at 8 ip 0089d6bc sp bfd7d660 error 6 in liblinuxcnchal.so.0[898000+8000]
[ 4650.944010] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 4650.945560] I-pipe: Domain RTAI unregistered.
[ 4650.945583] RTAI[hal]: unmounted.

which doesn't look good to me (the segfaults)?


I wanted to figure out if the Mesa cards worked alright, so following andypugh's instructions in post 20004 I did the following:

$ halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci
halcmd: loadrt threads
halcmd: addf hm2_5i25.0.read thread1
halcmd: addf hm2_5i25.0.write thread1
halcmd: addf hm2_5i25.0.pet-watchdog thread1
Edit: I think a command
halcmd: start
might be needed here as well.

halcmd: setp hm2_5i25.0.7i77.0.1.analogena 1
halcmd: setp hm2_5i25.0.7i77.0.1.analogout0 1.2

And I could see the TB5 ENA0 close and the voltage on TB5 GND/AOUT0 change accordingly, so the low-level hardware seems to work OK.



Hmm, looking at dmesg now I've also got:
[ 6906.077275] BUG: unable to handle kernel paging request at 42c00000
[ 6906.077279] IP: [<42c00000>] 0x42c00000
[ 6906.077283] *pde = 00000000 
[ 6906.077286] Oops: 0000 [#1] SMP 
[ 6906.077288] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/uevent
[ 6906.077291] Modules linked in: binfmt_misc ppdev dm_crypt snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device shpchp joydev snd lp serio_raw parport soundcore snd_page_alloc dm_raid45 xor fbcon tileblit font bitblit softcursor vga16fb vgastate radeon ttm drm_kms_helper usbhid r8169 mii hid drm i2c_algo_bit intel_agp agpgart [last unloaded: rtai_hal]
[ 6906.077323] 
[ 6906.077326] Pid: 3798, comm: halmeter Not tainted (2.6.32-122-rtai #rtai) EP43-DS3L
[ 6906.077328] EIP: 0060:[<42c00000>] EFLAGS: 00210206 CPU: 1
[ 6906.077330] EIP is at 0x42c00000
[ 6906.077331] EAX: f5252ea0 EBX: ecd2c300 ECX: 42c00000 EDX: ecd2c300
[ 6906.077333] ESI: 00000008 EDI: ed05a660 EBP: f2ef1ef8 ESP: f2ef1ecc
[ 6906.077335]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 6906.077337] Process halmeter (pid: 3798, ti=f2ef0000 task=f6a50000 task.ti=f2ef0000)
[ 6906.077339] I-pipe domain Linux
[ 6906.077340] Stack:
[ 6906.077341]  c01fd42f 00000003 00000000 00000000 f5252ea0 ed05a660 f7100f00 f5252ea0
[ 6906.077346] <0> ecc9c790 ecc9c898 c2902c00 f2ef1f00 c01fd55d f2ef1f10 c01dcd85 ecc9c898
[ 6906.077352] <0> ecd11180 f2ef1f38 c01de0b7 00000000 f2ef1f24 00000000 00000196 c2902c00
[ 6906.077359] Call Trace:
[ 6906.077364]  [<c01fd42f>] ? __fput+0xdf/0x1f0
[ 6906.077367]  [<c01fd55d>] ? fput+0x1d/0x30
[ 6906.077370]  [<c01dcd85>] ? remove_vma+0x35/0x60
[ 6906.077372]  [<c01de0b7>] ? exit_mmap+0x107/0x160
[ 6906.077375]  [<c014149b>] ? mmput+0x3b/0x110
[ 6906.077378]  [<c0146f5f>] ? exit_mm+0xdf/0x110
[ 6906.077380]  [<c0147153>] ? do_exit+0x103/0x350
[ 6906.077383]  [<c01473de>] ? do_group_exit+0x3e/0xb0
[ 6906.077385]  [<c0147468>] ? sys_exit_group+0x18/0x20
[ 6906.077388]  [<c010340d>] ? syscall_call+0x7/0xb
[ 6906.077390] Code:  Bad EIP value.
[ 6906.077392] EIP: [<42c00000>] 0x42c00000 SS:ESP 0068:f2ef1ecc
[ 6906.077396] CR2: 0000000042c00000
[ 6906.077399] ---[ end trace bedf27d018d47161 ]---
[ 6906.077400] Fixing recursive fault but reboot is needed!

Huh?
Last edit: 14 Mar 2013 08:05 by arvidb.

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

More
16 Feb 2013 10:00 - 17 Feb 2013 08:45 #30164 by arvidb
Replied by arvidb on topic 7i77 testers wanted
I rebooted my computer and ran pncconf from the command line again:
$ pncconf 
/usr/bin/pncconf:3999: Warning: g_path_get_dirname: assertion `file_name != NULL' failed
  self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: GtkWarning: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
  self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3999: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/home/arvidb/Desktop/custom_firmware/firmware.py
hm2_5i25.0.encoder.00
<stdin>:33: signal 'dir' not found
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)

/var/log/messages:
[  111.546609] I-pipe: Domain RTAI registered.
[  111.546613] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  111.546615] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[  111.546634] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPU
S_MASK: 0).
[  111.546635] PIPELINE layers:
[  111.546637] f8279e20 9ac15d93 RTAI 200
[  111.546639] c085cb20 0 Linux 100
[  111.564194] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  111.568591] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool
 size = 524288 bytes.
[  111.568595] RTAI[sched]: hard timer type/freq = APIC/20830767(Hz); default timing: periodic; li
near timed lists.
[  111.568598] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2999887000 hz.
[  111.568600] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  111.568644] RTAI[usi]: enabled.
[  111.629122] RTAI[math]: loaded.
[  111.744063] hm2: loading Mesa HostMot2 driver version 0.15
[  111.760367] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  111.760390] hm2_pci 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  111.760392] hm2_pci: discovered 5i25 at 0000:04:00.0
[  111.761154] hm2/hm2_5i25.0: Smart Serial Firmware Version 35
[  111.876295] hm2/hm2_5i25.0: 34 I/O Pins used:
[  111.876297] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): IOPort
[  111.876299] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): IOPort
[  111.876301] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): IOPort
[  111.876303] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[  111.876305] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[  111.876307] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): IOPort
[  111.876309] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): IOPort
[  111.876311] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[  111.876313] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[  111.876315] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[  111.876317] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[  111.876320] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[  111.876322] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[  111.876325] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[  111.876327] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[  111.876329] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[  111.876331] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[  111.876333] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
[  111.876334] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
[  111.876336] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
[  111.876338] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
[  111.876339] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
[  111.876341] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
[  111.876342] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
[  111.876344] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
[  111.876346] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
[  111.876347] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
[  111.876349] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
[  111.876350] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
[  111.876352] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
[  111.876354] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
[  111.876355] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
[  111.876357] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
[  111.876358] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
[  111.876397] hm2/hm2_5i25.0: registered
[  111.876399] hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
[  111.950565] hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
[  111.950569] hm2/hm2_5i25.0: unregistered
[  111.950586] hm2_pci 0000:04:00.0: PCI INT A disabled
[  111.950603] hm2_pci: driver unloaded
[  111.964082] hm2: unloading
[  111.992466] RTAI[math]: unloaded.
[  112.008427] SCHED releases registered named ALIEN CF$Z8N
[  112.008437] SCHED releases registered named ALIEN RTGLBH
[  112.008439] SCHED releases registered named ALIEN PUFUQK
[  112.040536] 
[  112.040537] SHM_CLEANUP_MODULE releases: 'CF$Z8N':0x48414c32:1212238898 (262144).
[  112.040549] 
[  112.040550] SHM_CLEANUP_MODULE releases: 'PUFUQK':0x90280a48:2418543176 (12288).
[  112.040774] RTAI[malloc]: unloaded.
[  112.052008] __ratelimit: 18 callbacks suppressed
[  112.052008] halmeter[1724]: segfault at 8 ip 00ecc6bc sp bfb59330 error 6 in liblinuxcnchal.so.0[ec7000+8000]
[  112.093163] halscope[1719]: segfault at 8 ip 0087c6bc sp bfae3170 error 6 in liblinuxcnchal.so.0[877000+8000]
[  112.140510] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  112.142052] I-pipe: Domain RTAI unregistered.
[  112.142075] RTAI[hal]: unmounted.

My config:

File Attachment:

File Name: Boxyz_130215.pncconf
File Size:268 KB
Attachments:
Last edit: 17 Feb 2013 08:45 by arvidb. Reason: Trying to attach .pncconf file

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

More
16 Feb 2013 12:47 #30173 by cmorley
Replied by cmorley on topic 7i77 testers wanted
Thank you for the very detailed message.
This error is known and fixed and will come with the next bug release.
As of right now you can only get it from the buildbot.
There is talk of a release fairly soon but thats all I know.

Sorry for the trouble.

Chris M

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

More
16 Feb 2013 12:59 - 16 Feb 2013 13:02 #30175 by cmorley
Replied by cmorley on topic 7i77 testers wanted
If your adventurous:

Pncconf (if installed, not run-in-place) can be found at /usr/bin/pncconf

around line 9370:
        if self.pwm:
            halrun.write("""sets dac %(output)f\n""" % { 'output': output})
        if self.pot:
            halrun.write("""sets dac %(output)f\n""" % { 'output': abs(output)})
            if output == 0:
                halrun.write("sets dir false\n")
                halrun.write("sets dir-not false\n")
            elif output < 0:
                halrun.write("sets dir true\n")
                halrun.write("sets dir-not false\n")
            else:
                halrun.write("sets dir false\n")
                halrun.write("sets dir-not true\n")
        halrun.flush()

Note the indentation is different at/after 'if output == 0:'.
You need to be sudo to edit this. sudo gedit in a terminal should do it.
Then edit the indentation to be the same.
Then it should work.

Chris M
Last edit: 16 Feb 2013 13:02 by cmorley.
The following user(s) said Thank You: arvidb

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

More
17 Feb 2013 00:23 #30193 by arvidb
Replied by arvidb on topic 7i77 testers wanted
That did it! The lines that needed indentation started with line number 9293 for me. In gedit one can choose Edit->Preferences and on the View tab select Display line numbers to get some help finding the place.

It's an amazing work you do to keep this almost 10000 line piece of code up to date!

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

Moderators: cmorley
Time to create page: 0.247 seconds
Powered by Kunena Forum