5I20 Live-CD v2.3 hm2-stepper

More
26 Apr 2009 13:10 #160 by dfarrell
I am trying to evaluate the live-cd with a 5I20 board without success, EMC2 fails
after copying the setup with the EMC2 Errors "Print file information" The error I
see hm2-stepper.hal:43 parameter or pin hm2_5i20.0.watchdog.timeout_ns not
found. Prior to this I do see the hm2_pci driver load and unload about a second
later. I did try the testpanel app and could see the 5i20 driver load and the program
seems to run. I know this is a different driver, I was just checking my hardware.

lspc indicates
02:0b.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge
Flags: medium devsel, IRQ 9
Memory at bd800000 (32-bit, non-prefetchable)
I/O ports at a000
I/O ports at 9800
I/O ports at 9400
Memory at bd000000 (32-bit, non-prefetchable) [size=1M]
Memory at bc800000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
which I assume is ok for hm2_pci.

Any suggestions?

David.

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

More
26 Apr 2009 13:39 - 26 Apr 2009 13:41 #161 by BigJohnT
Did you install the LiveCD or are you just trying to boot from the LiveCD then run the 5i20 sample config from the EMC2 Configuration Picker?

Also which version of the LiveCD are you using is it ...aj12-i386.iso ?

I get the same error here when trying to run the upgrade version of 2.3.0... I have the trunk version running my 5i20 so I know that works. Let me see if I can finger out why the installed version won't work.

Edit: I do see where the .BIT file is not found, that would cause it for sure... Now to see why...

John
Last edit: 26 Apr 2009 13:41 by BigJohnT.

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

More
26 Apr 2009 13:52 #162 by BigJohnT
David,

If you installed EMC 2.3.0 you might not have the .BIT file. Open up System/Synaptic Package Manager and do a search for emc. You might need to add the emc2-firmware-mesa-5i20-hostmot2 package. This worked on my upgrade version just now.

Let me know if this works for you.

John

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

More
26 Apr 2009 14:16 #163 by dfarrell
John, I am trying to use the live image which I just downloaded. It has 2.3 on it. I checked the
for the bit files, they seem to be there

ubuntu@ubuntu:~$ ls /lib/firmware/hm2/5i20
SV12.BIT SVST2_8.BIT SVST8_4.BIT SVST8_4IM2.BIT

I will install one I am secure things work. I am using the same
machine with XP so I'll have to make room to dual-boot.
Do you know if the install will set up dual-boot for me?

David.

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

More
26 Apr 2009 14:30 #164 by dfarrell
Some other notes. Synaptic reveals emc2-firmware-mesa-5i20-hostmot2 IS installed.

Related dmesg:
[ 1871.724682] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1871.724693] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 1871.724698] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1615948000 hz.
[ 1871.724702] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688 ns.
[ 1871.849273] RTAI[math]: loaded.
[ 1871.906273] rtapi: no version for "nano2count" found: kernel tainted.
[ 1872.372303] hm2: loading Mesa HostMot2 driver version 0.15
[ 1872.420169] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6
[ 1873.407332] hm2_pci: driver unloaded
[ 1873.414225] hm2: unloading
[ 1873.675796] RTAI[math]: unloaded.
[ 1873.743291] SCHED releases registered named ALIEN RTGLBH
[ 1873.758536] RTAI[malloc]: unloaded.
[ 1873.857955] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1873.862741] I-pipe: Domain RTAI unregistered.

Whats with the nano2count failure?

I did run the 5axis simulation, not sure how much of RTAI is exercised with this. I also ran two instances of
gears while checking RTAI performance, all looks normal.

David.

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

More
26 Apr 2009 14:49 #166 by BigJohnT
dfarrell wrote:

I will install one I am secure things work. I am using the same
machine with XP so I'll have to make room to dual-boot.
Do you know if the install will set up dual-boot for me?

David.


I don't know for sure as I've never tried it before.

John

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

More
26 Apr 2009 15:01 #168 by BigJohnT
dfarrell wrote:

[ 1871.906273] rtapi: no version for "nano2count" found: kernel tainted.
[ 1872.372303] hm2: loading Mesa HostMot2 driver version 0.15
[ 1872.420169] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6


The part missing here is:
... hm2_pci discovered 5i20 at 000:04:06.0

Do you have the card plugged in? It won't work without a 5i20 in the pci slot.

dfarrell wrote:

[ 1873.407332] hm2_pci: driver unloaded
[ 1873.414225] hm2: unloading
[ 1873.675796] RTAI[math]: unloaded.
[ 1873.743291] SCHED releases registered named ALIEN RTGLBH
[ 1873.758536] RTAI[malloc]: unloaded.
[ 1873.857955] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1873.862741] I-pipe: Domain RTAI unregistered.

Whats with the nano2count failure?

David.


I don't know what nano2count is but I have the same error.

John

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

More
26 Apr 2009 16:24 #169 by alex_joni
dfarrell wrote:

Some other notes. Synaptic reveals emc2-firmware-mesa-5i20-hostmot2 IS installed.


Good, then you have the latest version.

Related dmesg:
[ 1871.724682] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1871.724693] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 1871.724698] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1615948000 hz.
[ 1871.724702] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688 ns.
[ 1871.849273] RTAI[math]: loaded.
[ 1871.906273] rtapi: no version for "nano2count" found: kernel tainted.
[ 1872.372303] hm2: loading Mesa HostMot2 driver version 0.15
[ 1872.420169] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6
[ 1873.407332] hm2_pci: driver unloaded
[ 1873.414225] hm2: unloading
[ 1873.675796] RTAI[math]: unloaded.
[ 1873.743291] SCHED releases registered named ALIEN RTGLBH
[ 1873.758536] RTAI[malloc]: unloaded.
[ 1873.857955] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1873.862741] I-pipe: Domain RTAI unregistered.

Whats with the nano2count failure?

That's just a warning, that it doesn't contain a version, and it taints the kernele. Nothing to be worried about.

I did run the 5axis simulation, not sure how much of RTAI is exercised with this. I also ran two instances of
gears while checking RTAI performance, all looks normal.


Most, if not all of it ;)
You should be safe.

Regards,
Alex

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

More
26 Apr 2009 16:58 #170 by dfarrell
After I found "halrun" I tried:
loadrt hostmot2
loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
and lsmod to see the modules loaded. I also typed "loadusr halmeter" and saw no pins or
signals or parameters, not sure if this is normal? When I "setp hm2_5i20.0.watchdog.timeout_ns 10000000"
I get the error "parameter or pin 'hm2_5i20.0.watchdog.timeout_ns' not found"

David.

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

More
26 Apr 2009 17:43 - 26 Apr 2009 18:59 #171 by BigJohnT
Are you sure your 5i20 card is plugged in all the way. Sounds like it can't find the card.

Edit: I just loaded as you did from a terminal and halmeter showed all the pins. After loading open another terminal and type in dmesg and you should see either the error or all the pins.

John
Last edit: 26 Apr 2009 18:59 by BigJohnT.

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

Moderators: PCWjmelson
Time to create page: 0.157 seconds
Powered by Kunena Forum