mesa card 5i25 kernel error

More
13 Oct 2015 17:51 - 13 Oct 2015 17:52 #63737 by bkt
I have mount a 5i25 and 7i77 board .... run pnconf (i see 5i25 internal option) than configure the board (7i77 * 2 with one 7i77 option) .... but my config not run and dsmg make this message:

[  551.575164] I-pipe: Domain RTAI registered.
[  551.575181] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  551.575188] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[  551.575288] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  551.575295] PIPELINE layers:
[  551.575301] f9216e20 9ac15d93 RTAI 200
[  551.575308] c085cb20 0 Linux 100
[  551.619352] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  551.619880] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  551.619892] RTAI[sched]: hard timer type/freq = APIC/8312470(Hz); default timing: periodic; linear timed lists.
[  551.619899] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1861738000 hz.
[  551.619904] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  551.620738] RTAI[usi]: enabled.
[  551.685161] RTAI[math]: loaded.
[  551.768137] hm2: loading Mesa HostMot2 driver version 0.15
[  551.774293] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  551.774355]   alloc irq_desc for 21 on node -1
[  551.774362]   alloc kstat_irqs on node -1
[  551.774382] hm2_pci 0000:02:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[  551.774391] hm2_pci: discovered 5i25 at 0000:02:00.0
[  551.774883] hm2/hm2_5i25.0: config.num_encoders=6, but only 2 are available, not loading driver
[  551.774894] hm2/hm2_5i25.0: failed to parse Module Descriptor 2
[  551.774907] hm2_5i25.0: board fails HM2 registration
[  551.774937] hm2_pci 0000:02:00.0: PCI INT A disabled
[  551.774957] hm2_pci: probe of 0000:02:00.0 failed with error -22
[  634.278093] hm2: unloading
[  634.439182] RTAI[math]: unloaded.
[  634.479355] SCHED releases registered named ALIEN RTGLBH
[  634.542796] RTAI[malloc]: unloaded.
[  634.646464] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  634.652255] I-pipe: Domain RTAI unregistered.
[  634.652377] RTAI[hal]: unmounted.
[  635.294993] __ratelimit: 9 callbacks suppressed
[  635.295003] halcmd[1723]: segfault at 8 ip 002fa71c sp bf8a1730 error 6 in liblinuxcnchal.so.0[2f5000+8000]
[  635.299522] halcmd[1724]: segfault at 8 ip 00d5c71c sp bfbd0270 error 6 in liblinuxcnchal.so.0[d57000+8000]
[ 1340.951358] r8169: eth0: link up
[ 1340.951715] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 2675.230843] I-pipe: Domain RTAI registered.
[ 2675.230861] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2675.230867] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2675.230979] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2675.230985] PIPELINE layers:
[ 2675.230991] f9216e20 9ac15d93 RTAI 200
[ 2675.230997] c085cb20 0 Linux 100
[ 2675.277238] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2675.278092] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2675.278103] RTAI[sched]: hard timer type/freq = APIC/8312470(Hz); default timing: periodic; linear timed lists.
[ 2675.278110] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1861738000 hz.
[ 2675.278115] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2675.278362] RTAI[usi]: enabled.
[ 2675.346125] RTAI[math]: loaded.
[ 2675.482085] hm2: loading Mesa HostMot2 driver version 0.15
[ 2675.487596] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2675.487680] hm2_pci 0000:02:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 2675.487691] hm2_pci: discovered 5i25 at 0000:02:00.0
[ 2675.487919] hm2/hm2_5i25.0: config.num_encoders=6, but only 2 are available, not loading driver
[ 2675.487932] hm2/hm2_5i25.0: failed to parse Module Descriptor 2
[ 2675.487951] hm2_5i25.0: board fails HM2 registration
[ 2675.487980] hm2_pci 0000:02:00.0: PCI INT A disabled
[ 2675.488004] hm2_pci: probe of 0000:02:00.0 failed with error -22
[ 2676.104324] hm2: unloading
[ 2676.286279] RTAI[math]: unloaded.
[ 2676.325111] SCHED releases registered named ALIEN RTGLBH
[ 2676.389898] RTAI[malloc]: unloaded.
[ 2676.489515] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2676.494060] I-pipe: Domain RTAI unregistered.
[ 2676.494180] RTAI[hal]: unmounted.
[ 2839.822079] I-pipe: Domain RTAI registered.
[ 2839.822093] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2839.822098] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2839.822194] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2839.822198] PIPELINE layers:
[ 2839.822204] f9216e20 9ac15d93 RTAI 200
[ 2839.822208] c085cb20 0 Linux 100
[ 2839.863808] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2839.864671] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2839.864682] RTAI[sched]: hard timer type/freq = APIC/8312470(Hz); default timing: periodic; linear timed lists.
[ 2839.864690] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1861738000 hz.
[ 2839.864695] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2839.864932] RTAI[usi]: enabled.
[ 2839.932718] RTAI[math]: loaded.
[ 2840.068925] config string '0x378 out  0xd010 in '
[ 2849.656585] RTAI[math]: unloaded.
[ 2849.679456] SCHED releases registered named ALIEN RTGLBH
[ 2849.739942] RTAI[malloc]: unloaded.
[ 2849.838042] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2849.842366] I-pipe: Domain RTAI unregistered.
[ 2849.842485] RTAI[hal]: unmounted.
[ 5867.350196] I-pipe: Domain RTAI registered.
[ 5867.350211] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 5867.350216] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 5867.350314] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 5867.350319] PIPELINE layers:
[ 5867.350325] f9216e20 9ac15d93 RTAI 200
[ 5867.350330] c085cb20 0 Linux 100
[ 5867.392811] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 5867.393396] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 5867.393407] RTAI[sched]: hard timer type/freq = APIC/8312470(Hz); default timing: periodic; linear timed lists.
[ 5867.393415] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1861738000 hz.
[ 5867.393420] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 5867.393534] RTAI[usi]: enabled.
[ 5867.474376] RTAI[math]: loaded.
[ 5867.606542] hm2: loading Mesa HostMot2 driver version 0.15
[ 5867.612146] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 5867.612206] hm2_pci 0000:02:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 5867.612216] hm2_pci: discovered 5i25 at 0000:02:00.0
[ 5867.612520] hm2/hm2_5i25.0: config.num_encoders=6, but only 2 are available, not loading driver
[ 5867.612533] hm2/hm2_5i25.0: failed to parse Module Descriptor 2
[ 5867.612549] hm2_5i25.0: board fails HM2 registration
[ 5867.612577] hm2_pci 0000:02:00.0: PCI INT A disabled
[ 5867.612601] hm2_pci: probe of 0000:02:00.0 failed with error -22
[ 5868.179060] hm2: unloading
[ 5868.357432] RTAI[math]: unloaded.
[ 5868.384959] SCHED releases registered named ALIEN RTGLBH
[ 5868.450005] RTAI[malloc]: unloaded.
[ 5868.549565] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 5868.553663] I-pipe: Domain RTAI unregistered.
[ 5868.553785] RTAI[hal]: unmounted.
k1@k1-desktop:~$

i'm unable to understand the problem .... in lib/firmware/hm2 not see any 5i25 folder ...
I'm on linuxcnc 2.6 ubuntu
Last edit: 13 Oct 2015 17:52 by bkt. Reason: add release

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

More
13 Oct 2015 18:18 - 13 Oct 2015 18:20 #63738 by cncbasher
[ 551.774883] hm2/hm2_5i25.0: config.num_encoders=6, but only 2 are available, not loading driver
[ 551.774894] hm2/hm2_5i25.0: failed to parse Module Descriptor 2

i would say you have a configuration error , also pncconf cannot find the pci slot

did you have the 5i25 & the 7i77 connected and powered up , especialy the field power on the 7i77

their is no bit file for the 5i25 , this is flashed to the 5i25 permanantly , and is not as per older versions , where it is uploaded on demand

re-run pncconf with the cards connected etc , should help
chances are you were configuring for the external port , rather than the internal , if that was your intention
Last edit: 13 Oct 2015 18:20 by cncbasher.
The following user(s) said Thank You: bkt

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

More
13 Oct 2015 18:31 #63739 by bkt
Replied by bkt on topic mesa card 5i25 kernel error
I think the proble regard 5i25 programming. In my 5i25 there are no label about ... i have more then one card .... I try to change it to another one ..... all works ...(there are some error when start axis gui... i talk about at the end) .... I thik I try a card with program for 7i76 not for 7i77 .....

anyway axis gives me error on startup .... I have no ancorta connected encoder and motor but only ingrssi and digital outputs for testing ..... always use for testing a flat cable 80cm and 5V external .



This is somethings that not understand.
Attachments:

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

More
13 Oct 2015 18:34 - 13 Oct 2015 18:39 #63741 by cncbasher
for using 7i77 or 7i76 field power must be applied , or gpio pins are not available
pncconf will look for this.

this is the error your screenshot is showing , it cannot find the onboard serial port on the 7i77 , so unable to configure
Last edit: 13 Oct 2015 18:39 by cncbasher.

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

More
13 Oct 2015 19:31 #63747 by bkt
Replied by bkt on topic mesa card 5i25 kernel error
ok in pnnconf if not select smart serial 1 I'm not able to select in/out in all TB7 and TB8 ... but i have only 8+4 in/out..

some suggest?

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

More
13 Oct 2015 20:10 - 13 Oct 2015 20:10 #63751 by PCW
Replied by PCW on topic mesa card 5i25 kernel error
The symptoms indicate that your 5I25 doesn't have the correct firmware for a 7I77
(sounds like it has 7I76 firmware)

To fix, install mesaflash:

sudo apt -get update
sudo apt-get install mesaflash

Then download the 5i25.zip archive from Mesa
and extract all the files.

Then (in a terminal) change to the configs/hostmot2 directory of the archive
and type:

sudo mesaflash --device 5i25 --write 5i25_7i77x2.bit

(this writes the proper bit file to the flash EEPROM)

sudo mesaflash --device 5i25 --reload

This loads the FPGA from the flash memory
Last edit: 13 Oct 2015 20:10 by PCW.

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

More
15 Oct 2015 03:17 #63766 by bkt
Replied by bkt on topic mesa card 5i25 kernel error
today I have use the 5i25 folder from mesa site.

in the utility folder there is mesaflash..... I use it ..... mesaflash --device 5i25 --reload is't present ..... than I have reboot after --write command ...I used --verify command with succes. With sudo nautilus I copy bit file xml and other in a new 5i25 folder on /lib/firmware/hm2 folder

In the pncconf wizard in the page for choice the board I select 7i77x2 .... but I have only one (no problem for this). I have 5 axis and 1 jog wheel, than I select 6 encoder.. no other choice is possible (pwm or other). I can choice only number of channel or number of smart serial (obviusly i can select or deselect external card "saNITY CHEK").

If select 1 smart serial (or two) I can see tb8 and tb7 and analog output, otherwise i can see only i/o 2 connector and i/o 3 connector.

Is normal these?

I ask because when launch axis all work fine but i steel see the error in the sreenshot-34.pgn posted at the beginning.

Tomorrow I try with install mesaflash from repo.

regard
giorgio

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

More
15 Oct 2015 08:32 #63768 by PCW
Replied by PCW on topic mesa card 5i25 kernel error
The sserial errors probably mean that you dont have field power supplied to the 7I77s digital I/O section

You also have a real time delay error that is unrelated (perhaps you need to run the latency test to check the PC)

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

More
15 Oct 2015 22:47 - 15 Oct 2015 22:56 #63784 by bkt
Replied by bkt on topic mesa card 5i25 kernel error
Ok. than the windows that I see is ok.........


the 7i77 have 5v external power and field power to 24V.
Connector 1-2-3-4 is on +24Vand nr.8 to 0V (switching ac dc power). VIN connector is free and W1 in left hand position.

latency test running with several open windows show 5000-6000 and is totally similar to these:


the pc is an ASRock AD2550B-ITX ....... the 5i25 metal base in directly grounded on the switchboard, is this a problem?

In set up I have write the servo period to 1000000.... I not see the label for base period set up (I must only run latency test in the set up?)


I connect some button and a jog whell .... it works fine and I see it working ok on hal scope and in halmeter pin/signal section..... I have not connected anlog out to drive and pulse input to encoder, except a jog wheel.
Attachments:
Last edit: 15 Oct 2015 22:56 by bkt.

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

More
15 Oct 2015 23:22 - 15 Oct 2015 23:29 #63785 by PCW
Replied by PCW on topic mesa card 5i25 kernel error
You do have a real time fault of some kind (The last message on your screen shot)

No sure why you are having communication errors.
These are usually related to cable problems or power supply issues

What parallel cable are you using (is it one from Mesa or dId you supply it)
and what length is the cable?

EDIT
just noticed:

always use for testing a flat cable 80cm and 5V external .


This is probably an issue, flat cables of any significant length are not suggested
Unlike flat cables , the suggested IEEE1284 cables have a twisted pair per signal
and much better grounding




Did you check the 5V and 24V at the 7I77

Since you are supplying 5V power to the 7I77, Is the 5I25 jumpered so cable power is disabled?
(5I25 W1 down)

Is the 7I77 jumpered for external 5V power?
(7I77 W5 right)
Last edit: 15 Oct 2015 23:29 by PCW.

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

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