mesa card 5i25 kernel error

More
11 years 2 weeks ago - 11 years 2 weeks ago #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:

Code:
[ 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: 11 years 2 weeks ago by bkt. Reason: add release

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

More
11 years 2 weeks ago - 11 years 2 weeks ago #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: 11 years 2 weeks ago by cncbasher.
The following user(s) said Thank You: bkt

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

More
11 years 2 weeks ago #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.

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

More
11 years 2 weeks ago - 11 years 2 weeks ago #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: 11 years 2 weeks ago by cncbasher.

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

More
11 years 2 weeks ago #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
11 years 2 weeks ago - 11 years 2 weeks ago #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: 11 years 2 weeks ago by PCW.

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

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