waiting for s.axes (Mesa 7i80)
- bobobo
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 3
24 Jun 2015 03:10 #60099
by bobobo
waiting for s.axes (Mesa 7i80) was created by bobobo
Hi
I have problems and don't know how to troubleshoot...
I have a Mesa 7i80 board. I run Linuxcnc 2.7-pre6.
uname -a says:
Linux Leadwell 3.2.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux
Latency test Max Jitter Servo thread ~10 000ns
Base thread ~100 000ns
Separate ethernet for internet (192.168.25.x) and 7i80 (192.168.1.120). I have followd the guide for network settings in hm2-eth man page.
Ping times to 7i80 is 0.070ms-0.080ms
This is thrown at me when I try to start Linuxcnc:
Nothing is logged to dmesg.
Is the problem most probably in linuxcnc (hal?) configuration, network configuration or something else in the os? Or is the realtime performance of the hardware too bad?
Almost a year since I worked on the project last time. At that time I had linuxcnc master running with ubuntu RT-preempt kernel 3.10.4-rt1mah. I never got time to get further than see that linuxcnc started up. Now I have updated (clean reinstall) to debian and linuxcnc 2.7-pre6 but can't start linuxcnc anymore.
I have problems and don't know how to troubleshoot...
I have a Mesa 7i80 board. I run Linuxcnc 2.7-pre6.
uname -a says:
Linux Leadwell 3.2.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux
Latency test Max Jitter Servo thread ~10 000ns
Base thread ~100 000ns
Separate ethernet for internet (192.168.25.x) and 7i80 (192.168.1.120). I have followd the guide for network settings in hm2-eth man page.
Ping times to 7i80 is 0.070ms-0.080ms
This is thrown at me when I try to start Linuxcnc:
LINUXCNC - 2.7.0-pre6
Machine configuration directory is '/home/mattias/linuxcnc/configs'
Machine configuration file is 'Leadwell_7i80.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 768: can't load tool table.
twopass:invoked with <> options
twopass:Found file:./Leadwell_hm2.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: Using iptables for exclusive access to network interface
hm2_eth: Hardware address: 00:60:1b:11:80:11
hm2_eth: discovered 7I80HD-16
hm2/hm2_7i80.0: Smart Serial Firmware Version 43
hm2/hm2_7i80.0: 72 I/O Pins used:
hm2/hm2_7i80.0: IO Pin 000 (P1-01): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i80.0: IO Pin 001 (P1-03): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 002 (P1-05): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 003 (P1-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 004 (P1-09): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 005 (P1-11): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 006 (P1-13): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 007 (P1-15): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 008 (P1-17): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 009 (P1-19): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 010 (P1-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i80.0: IO Pin 011 (P1-23): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 012 (P1-25): PWMGen #0, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 013 (P1-27): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 014 (P1-29): PWMGen #1, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 015 (P1-31): PWMGen #2, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 016 (P1-33): PWMGen #2, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 017 (P1-35): PWMGen #3, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 018 (P1-37): PWMGen #3, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 019 (P1-39): PWMGen #4, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 020 (P1-41): PWMGen #4, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 021 (P1-43): PWMGen #5, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 022 (P1-45): PWMGen #5, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 023 (P1-47): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i80.0: IO Pin 024 (P2-01): IOPort
hm2/hm2_7i80.0: IO Pin 025 (P2-03): IOPort
hm2/hm2_7i80.0: IO Pin 026 (P2-05): IOPort
hm2/hm2_7i80.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i80.0: IO Pin 028 (P2-09): IOPort
hm2/hm2_7i80.0: IO Pin 029 (P2-11): IOPort
hm2/hm2_7i80.0: IO Pin 030 (P2-13): IOPort
hm2/hm2_7i80.0: IO Pin 031 (P2-15): IOPort
hm2/hm2_7i80.0: IO Pin 032 (P2-17): IOPort
hm2/hm2_7i80.0: IO Pin 033 (P2-19): IOPort
hm2/hm2_7i80.0: IO Pin 034 (P2-21): IOPort
hm2/hm2_7i80.0: IO Pin 035 (P2-23): IOPort
hm2/hm2_7i80.0: IO Pin 036 (P2-25): IOPort
hm2/hm2_7i80.0: IO Pin 037 (P2-27): IOPort
hm2/hm2_7i80.0: IO Pin 038 (P2-29): IOPort
hm2/hm2_7i80.0: IO Pin 039 (P2-31): IOPort
hm2/hm2_7i80.0: IO Pin 040 (P2-33): IOPort
hm2/hm2_7i80.0: IO Pin 041 (P2-35): IOPort
hm2/hm2_7i80.0: IO Pin 042 (P2-37): IOPort
hm2/hm2_7i80.0: IO Pin 043 (P2-39): IOPort
hm2/hm2_7i80.0: IO Pin 044 (P2-41): IOPort
hm2/hm2_7i80.0: IO Pin 045 (P2-43): IOPort
hm2/hm2_7i80.0: IO Pin 046 (P2-45): IOPort
hm2/hm2_7i80.0: IO Pin 047 (P2-47): IOPort
hm2/hm2_7i80.0: IO Pin 048 (P3-01): SSI Encoder #0, pin Data (Input)
hm2/hm2_7i80.0: IO Pin 049 (P3-03): IOPort
hm2/hm2_7i80.0: IO Pin 050 (P3-05): IOPort
hm2/hm2_7i80.0: IO Pin 051 (P3-07): IOPort
hm2/hm2_7i80.0: IO Pin 052 (P3-09): SSI Encoder #0, pin Clock (Output)
hm2/hm2_7i80.0: IO Pin 053 (P3-11): SSI Encoder #0, pin ClockEnable (Output)
hm2/hm2_7i80.0: IO Pin 054 (P3-13): IOPort
hm2/hm2_7i80.0: IO Pin 055 (P3-15): IOPort
hm2/hm2_7i80.0: IO Pin 056 (P3-17): IOPort
hm2/hm2_7i80.0: IO Pin 057 (P3-19): IOPort
hm2/hm2_7i80.0: IO Pin 058 (P3-21): IOPort
hm2/hm2_7i80.0: IO Pin 059 (P3-23): IOPort
hm2/hm2_7i80.0: IO Pin 060 (P3-25): IOPort
hm2/hm2_7i80.0: IO Pin 061 (P3-27): IOPort
hm2/hm2_7i80.0: IO Pin 062 (P3-29): IOPort
hm2/hm2_7i80.0: IO Pin 063 (P3-31): IOPort
hm2/hm2_7i80.0: IO Pin 064 (P3-33): IOPort
hm2/hm2_7i80.0: IO Pin 065 (P3-35): IOPort
hm2/hm2_7i80.0: IO Pin 066 (P3-37): IOPort
hm2/hm2_7i80.0: IO Pin 067 (P3-39): IOPort
hm2/hm2_7i80.0: IO Pin 068 (P3-41): IOPort
hm2/hm2_7i80.0: IO Pin 069 (P3-43): IOPort
hm2/hm2_7i80.0: IO Pin 070 (P3-45): IOPort
hm2/hm2_7i80.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i80.0: registered
rtapi_app: caught signal 11 - dumping core
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
USRMOT: ERROR: command timeout
bad return value from emcTrajSetAxes
waiting for s.axes
USRMOT: ERROR: command timeout
emc/ini/iniaxis.cc 145: bad return from emcAxisSetBacklash
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
emc/ini/iniaxis.cc 145: bad return from emcAxisSetBacklash
/usr/bin/linuxcnc: line 495: 5451 Killed $EMCTASK -ini "$INIFILE"
Waited 3 seconds for master. giving up.
Note: Using POSIX realtime
hm2_eth: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
hostmot2: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
pid: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX realtime
Nothing is logged to dmesg.
Is the problem most probably in linuxcnc (hal?) configuration, network configuration or something else in the os? Or is the realtime performance of the hardware too bad?
Almost a year since I worked on the project last time. At that time I had linuxcnc master running with ubuntu RT-preempt kernel 3.10.4-rt1mah. I never got time to get further than see that linuxcnc started up. Now I have updated (clean reinstall) to debian and linuxcnc 2.7-pre6 but can't start linuxcnc anymore.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
24 Jun 2015 03:44 #60100
by PCW
Replied by PCW on topic waiting for s.axes (Mesa 7i80)
Hmm, this is bad:
rtapi_app: caught signal 11 - dumping core
I would first try updating the 7I80 firmware and then if you get the same issue, post your hal and ini files
also trying a simpler hal file setup will make debugging easier
rtapi_app: caught signal 11 - dumping core
I would first try updating the 7I80 firmware and then if you get the same issue, post your hal and ini files
also trying a simpler hal file setup will make debugging easier
Please Log in or Create an account to join the conversation.
- bobobo
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 3
24 Jun 2015 04:01 #60101
by bobobo
Replied by bobobo on topic waiting for s.axes (Mesa 7i80)
What firmware should I update to?
I got one from you last year when I was working on this.
freeby.mesanet.com/svsiss.zip
I have 7i80HD-16
7i48
7i44
3pcs 7i84
I will use absolute Ssi encoders (3-4 pcs)
I got one from you last year when I was working on this.
freeby.mesanet.com/svsiss.zip
I have 7i80HD-16
7i48
7i44
3pcs 7i84
I will use absolute Ssi encoders (3-4 pcs)
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
24 Jun 2015 04:20 - 25 Jun 2015 02:05 #60102
by PCW
Replied by PCW on topic waiting for s.axes (Mesa 7i80)
I would try basic firmware (say with step/dir only) and the example hm2-stepper hal file
You have untried firmware and a complex twopass hal configuration which is going
to make this pretty much impossible to debug.
edit:
another option is to load the driver and start the threads in a halrun session
so at least the low level driver/hardware part can be tested:
halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_eth board_ip="192.168.1.121"
.......
You have untried firmware and a complex twopass hal configuration which is going
to make this pretty much impossible to debug.
edit:
another option is to load the driver and start the threads in a halrun session
so at least the low level driver/hardware part can be tested:
halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_eth board_ip="192.168.1.121"
.......
Last edit: 25 Jun 2015 02:05 by PCW.
Please Log in or Create an account to join the conversation.
- bobobo
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 3
27 Jun 2015 23:51 #60189
by bobobo
Replied by bobobo on topic waiting for s.axes (Mesa 7i80)
I have made some tests now.
I flashed 7i80hd_16_svst4_8.bit
I used the sample config hm2-stepper/7i90.ini and modified only:
[HOSTMOT2]
DRIVER=hm2_eth board_ip="192.168.1.121"
BOARD=7i80
CONFIG="num_encoders=0 num_pwmgens=0 num_stepgens=3"
This started fine.
Next test:
I flashed 7i80hd_16_svst8_4.bit
I used the sample config hm2-servo/7i90.ini and modified only:
[HOSTMOT2]
DRIVER=hm2_eth board_ip="192.168.1.121"
BOARD=7i80
CONFIG="num_encoders=3 num_pwmgens=3 num_stepgens=0"
This started fine.
Third test
I flashed 7i80_16_svsiss6_4_4.bit
I used the same config as second test above.
This doesn't start.
I flashed 7i80hd_16_svst4_8.bit
I used the sample config hm2-stepper/7i90.ini and modified only:
[HOSTMOT2]
DRIVER=hm2_eth board_ip="192.168.1.121"
BOARD=7i80
CONFIG="num_encoders=0 num_pwmgens=0 num_stepgens=3"
This started fine.
Next test:
I flashed 7i80hd_16_svst8_4.bit
I used the sample config hm2-servo/7i90.ini and modified only:
[HOSTMOT2]
DRIVER=hm2_eth board_ip="192.168.1.121"
BOARD=7i80
CONFIG="num_encoders=3 num_pwmgens=3 num_stepgens=0"
This started fine.
Third test
I flashed 7i80_16_svsiss6_4_4.bit
I used the same config as second test above.
This doesn't start.
LINUXCNC - 2.7.0-pre6
Machine configuration directory is '/home/mattias/linuxcnc/configs/by_interface.mesa.hm2-servo'
Machine configuration file is '7i80test.ini'
Starting LinuxCNC...
Found file:./hm2-servo.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: Using iptables for exclusive access to network interface
hm2_eth: Hardware address: 00:60:1b:11:80:11
hm2_eth: discovered 7I80HD-16
hm2/hm2_7i80.0: Smart Serial Firmware Version 43
hm2/hm2_7i80.0: 72 I/O Pins used:
hm2/hm2_7i80.0: IO Pin 000 (P1-01): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i80.0: IO Pin 001 (P1-03): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 002 (P1-05): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 003 (P1-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 004 (P1-09): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 005 (P1-11): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 006 (P1-13): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 007 (P1-15): IOPort
hm2/hm2_7i80.0: IO Pin 008 (P1-17): IOPort
hm2/hm2_7i80.0: IO Pin 009 (P1-19): IOPort
hm2/hm2_7i80.0: IO Pin 010 (P1-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i80.0: IO Pin 011 (P1-23): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 012 (P1-25): PWMGen #0, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 013 (P1-27): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 014 (P1-29): PWMGen #1, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 015 (P1-31): PWMGen #2, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 016 (P1-33): PWMGen #2, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 017 (P1-35): IOPort
hm2/hm2_7i80.0: IO Pin 018 (P1-37): IOPort
hm2/hm2_7i80.0: IO Pin 019 (P1-39): IOPort
hm2/hm2_7i80.0: IO Pin 020 (P1-41): IOPort
hm2/hm2_7i80.0: IO Pin 021 (P1-43): IOPort
hm2/hm2_7i80.0: IO Pin 022 (P1-45): IOPort
hm2/hm2_7i80.0: IO Pin 023 (P1-47): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i80.0: IO Pin 024 (P2-01): IOPort
hm2/hm2_7i80.0: IO Pin 025 (P2-03): IOPort
hm2/hm2_7i80.0: IO Pin 026 (P2-05): IOPort
hm2/hm2_7i80.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i80.0: IO Pin 028 (P2-09): IOPort
hm2/hm2_7i80.0: IO Pin 029 (P2-11): IOPort
hm2/hm2_7i80.0: IO Pin 030 (P2-13): IOPort
hm2/hm2_7i80.0: IO Pin 031 (P2-15): IOPort
hm2/hm2_7i80.0: IO Pin 032 (P2-17): IOPort
hm2/hm2_7i80.0: IO Pin 033 (P2-19): IOPort
hm2/hm2_7i80.0: IO Pin 034 (P2-21): IOPort
hm2/hm2_7i80.0: IO Pin 035 (P2-23): IOPort
hm2/hm2_7i80.0: IO Pin 036 (P2-25): IOPort
hm2/hm2_7i80.0: IO Pin 037 (P2-27): IOPort
hm2/hm2_7i80.0: IO Pin 038 (P2-29): IOPort
hm2/hm2_7i80.0: IO Pin 039 (P2-31): IOPort
hm2/hm2_7i80.0: IO Pin 040 (P2-33): IOPort
hm2/hm2_7i80.0: IO Pin 041 (P2-35): IOPort
hm2/hm2_7i80.0: IO Pin 042 (P2-37): IOPort
hm2/hm2_7i80.0: IO Pin 043 (P2-39): IOPort
hm2/hm2_7i80.0: IO Pin 044 (P2-41): IOPort
hm2/hm2_7i80.0: IO Pin 045 (P2-43): IOPort
hm2/hm2_7i80.0: IO Pin 046 (P2-45): IOPort
hm2/hm2_7i80.0: IO Pin 047 (P2-47): IOPort
hm2/hm2_7i80.0: IO Pin 048 (P3-01): IOPort
hm2/hm2_7i80.0: IO Pin 049 (P3-03): IOPort
hm2/hm2_7i80.0: IO Pin 050 (P3-05): IOPort
hm2/hm2_7i80.0: IO Pin 051 (P3-07): IOPort
hm2/hm2_7i80.0: IO Pin 052 (P3-09): IOPort
hm2/hm2_7i80.0: IO Pin 053 (P3-11): IOPort
hm2/hm2_7i80.0: IO Pin 054 (P3-13): IOPort
hm2/hm2_7i80.0: IO Pin 055 (P3-15): IOPort
hm2/hm2_7i80.0: IO Pin 056 (P3-17): IOPort
hm2/hm2_7i80.0: IO Pin 057 (P3-19): IOPort
hm2/hm2_7i80.0: IO Pin 058 (P3-21): IOPort
hm2/hm2_7i80.0: IO Pin 059 (P3-23): IOPort
hm2/hm2_7i80.0: IO Pin 060 (P3-25): IOPort
hm2/hm2_7i80.0: IO Pin 061 (P3-27): IOPort
hm2/hm2_7i80.0: IO Pin 062 (P3-29): IOPort
hm2/hm2_7i80.0: IO Pin 063 (P3-31): IOPort
hm2/hm2_7i80.0: IO Pin 064 (P3-33): IOPort
hm2/hm2_7i80.0: IO Pin 065 (P3-35): IOPort
hm2/hm2_7i80.0: IO Pin 066 (P3-37): IOPort
hm2/hm2_7i80.0: IO Pin 067 (P3-39): IOPort
hm2/hm2_7i80.0: IO Pin 068 (P3-41): IOPort
hm2/hm2_7i80.0: IO Pin 069 (P3-43): IOPort
hm2/hm2_7i80.0: IO Pin 070 (P3-45): IOPort
hm2/hm2_7i80.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i80.0: registered
rtapi_app: caught signal 11 - dumping core
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
USRMOT: ERROR: command timeout
waiting for s.axes
USRMOT: ERROR: command timeout
waiting for s.axes
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
/usr/bin/linuxcnc: line 495: 7022 Killed $EMCTASK -ini "$INIFILE"
Waited 3 seconds for master. giving up.
Note: Using POSIX realtime
hm2_eth: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
hostmot2: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
pid: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX realtime
LinuxCNC terminated with an error.
Please Log in or Create an account to join the conversation.
- bobobo
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 3
27 Jun 2015 23:55 #60190
by bobobo
Replied by bobobo on topic waiting for s.axes (Mesa 7i80)
Results of your suggested halrun test.
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip="192.168.1.121"
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: Using iptables for exclusive access to network interface
hm2_eth: Hardware address: 00:60:1b:11:80:11
hm2_eth: discovered 7I80HD-16
hm2/hm2_7i80.0: Smart Serial Firmware Version 43
hm2/hm2_7i80.0: 72 I/O Pins used:
hm2/hm2_7i80.0: IO Pin 000 (P1-01): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i80.0: IO Pin 001 (P1-03): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 002 (P1-05): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 003 (P1-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 004 (P1-09): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 005 (P1-11): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 006 (P1-13): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 007 (P1-15): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i80.0: IO Pin 008 (P1-17): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i80.0: IO Pin 009 (P1-19): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i80.0: IO Pin 010 (P1-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i80.0: IO Pin 011 (P1-23): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 012 (P1-25): PWMGen #0, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 013 (P1-27): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 014 (P1-29): PWMGen #1, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 015 (P1-31): PWMGen #2, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 016 (P1-33): PWMGen #2, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 017 (P1-35): PWMGen #3, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 018 (P1-37): PWMGen #3, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 019 (P1-39): PWMGen #4, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 020 (P1-41): PWMGen #4, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 021 (P1-43): PWMGen #5, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i80.0: IO Pin 022 (P1-45): PWMGen #5, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i80.0: IO Pin 023 (P1-47): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i80.0: IO Pin 024 (P2-01): IOPort
hm2/hm2_7i80.0: IO Pin 025 (P2-03): IOPort
hm2/hm2_7i80.0: IO Pin 026 (P2-05): IOPort
hm2/hm2_7i80.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i80.0: IO Pin 028 (P2-09): IOPort
hm2/hm2_7i80.0: IO Pin 029 (P2-11): IOPort
hm2/hm2_7i80.0: IO Pin 030 (P2-13): IOPort
hm2/hm2_7i80.0: IO Pin 031 (P2-15): IOPort
hm2/hm2_7i80.0: IO Pin 032 (P2-17): IOPort
hm2/hm2_7i80.0: IO Pin 033 (P2-19): IOPort
hm2/hm2_7i80.0: IO Pin 034 (P2-21): IOPort
hm2/hm2_7i80.0: IO Pin 035 (P2-23): IOPort
hm2/hm2_7i80.0: IO Pin 036 (P2-25): IOPort
hm2/hm2_7i80.0: IO Pin 037 (P2-27): IOPort
hm2/hm2_7i80.0: IO Pin 038 (P2-29): IOPort
hm2/hm2_7i80.0: IO Pin 039 (P2-31): IOPort
hm2/hm2_7i80.0: IO Pin 040 (P2-33): IOPort
hm2/hm2_7i80.0: IO Pin 041 (P2-35): IOPort
hm2/hm2_7i80.0: IO Pin 042 (P2-37): IOPort
hm2/hm2_7i80.0: IO Pin 043 (P2-39): IOPort
hm2/hm2_7i80.0: IO Pin 044 (P2-41): IOPort
hm2/hm2_7i80.0: IO Pin 045 (P2-43): IOPort
hm2/hm2_7i80.0: IO Pin 046 (P2-45): IOPort
hm2/hm2_7i80.0: IO Pin 047 (P2-47): IOPort
hm2/hm2_7i80.0: IO Pin 048 (P3-01): IOPort
hm2/hm2_7i80.0: IO Pin 049 (P3-03): IOPort
hm2/hm2_7i80.0: IO Pin 050 (P3-05): IOPort
hm2/hm2_7i80.0: IO Pin 051 (P3-07): IOPort
hm2/hm2_7i80.0: IO Pin 052 (P3-09): IOPort
hm2/hm2_7i80.0: IO Pin 053 (P3-11): IOPort
hm2/hm2_7i80.0: IO Pin 054 (P3-13): IOPort
hm2/hm2_7i80.0: IO Pin 055 (P3-15): IOPort
hm2/hm2_7i80.0: IO Pin 056 (P3-17): IOPort
hm2/hm2_7i80.0: IO Pin 057 (P3-19): IOPort
hm2/hm2_7i80.0: IO Pin 058 (P3-21): IOPort
hm2/hm2_7i80.0: IO Pin 059 (P3-23): IOPort
hm2/hm2_7i80.0: IO Pin 060 (P3-25): IOPort
hm2/hm2_7i80.0: IO Pin 061 (P3-27): IOPort
hm2/hm2_7i80.0: IO Pin 062 (P3-29): IOPort
hm2/hm2_7i80.0: IO Pin 063 (P3-31): IOPort
hm2/hm2_7i80.0: IO Pin 064 (P3-33): IOPort
hm2/hm2_7i80.0: IO Pin 065 (P3-35): IOPort
hm2/hm2_7i80.0: IO Pin 066 (P3-37): IOPort
hm2/hm2_7i80.0: IO Pin 067 (P3-39): IOPort
hm2/hm2_7i80.0: IO Pin 068 (P3-41): IOPort
hm2/hm2_7i80.0: IO Pin 069 (P3-43): IOPort
hm2/hm2_7i80.0: IO Pin 070 (P3-45): IOPort
hm2/hm2_7i80.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i80.0: registered
halcmd:
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
28 Jun 2015 00:35 #60192
by PCW
Replied by PCW on topic waiting for s.axes (Mesa 7i80)
Have you updated and rebuild linuxcnc recently? there was a bug with configs that had a stepgen but no stepgen DPLL support a few months ago
Please Log in or Create an account to join the conversation.
- bobobo
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 3
28 Jun 2015 01:33 #60196
by bobobo
Replied by bobobo on topic waiting for s.axes (Mesa 7i80)
It is some months since I installed LinuxCnc 2.7 ~pre6.
I didn't build it, I installed a package.
Do you have a guide how to install lhe latest 2.7 ?
I followed this:
-Add the LinuxCNC Archive Signing Key to your apt keyring by running sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 8f374fef
-Add a new apt source that looks like this: deb linuxcnc.org/ wheezy base 2.7-uspace
-Run sudo apt-get update again to fetch the package list from linuxcnc.org.
-Run sudo apt-get install linuxcnc-uspace.
-Machine away!
But it says I'm already using the latest version.
I didn't build it, I installed a package.
Do you have a guide how to install lhe latest 2.7 ?
I followed this:
-Add the LinuxCNC Archive Signing Key to your apt keyring by running sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 8f374fef
-Add a new apt source that looks like this: deb linuxcnc.org/ wheezy base 2.7-uspace
-Run sudo apt-get update again to fetch the package list from linuxcnc.org.
-Run sudo apt-get install linuxcnc-uspace.
-Machine away!
But it says I'm already using the latest version.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
28 Jun 2015 02:40 - 28 Jun 2015 05:02 #60197
by PCW
Replied by PCW on topic waiting for s.axes (Mesa 7i80)
This bug was fixed in the last couple of months (and there have been many changes)
I would rebuild from source just to make sure you have the latest
Edit:
I don't have a 7I80 to test with at home but I can try and duplicate this
on Monday if I get a chance.
I have a script for building the master version of linuxcnc uspace on wheezy here:
and there are general instructions for building from source on the LinuxCNC wiki
I would rebuild from source just to make sure you have the latest
Edit:
I don't have a 7I80 to test with at home but I can try and duplicate this
on Monday if I get a chance.
I have a script for building the master version of linuxcnc uspace on wheezy here:
cd ~
sudo apt-get install git-core gitk git-gui
sudo apt-get build-dep linuxcnc
sudo apt-get install linux-image-3.2.0-4-rt-686-pae
sudo apt-get install libudev-dev
sudo apt-get install iptables-persistent
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout master
git pull
cd src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid
cd ..
. scripts/rip-environment
man hm2_eth
and there are general instructions for building from source on the LinuxCNC wiki
Last edit: 28 Jun 2015 05:02 by PCW.
Please Log in or Create an account to join the conversation.
- bobobo
- Offline
- Senior Member
Less
More
- Posts: 42
- Thank you received: 3
28 Jun 2015 06:00 #60202
by bobobo
Replied by bobobo on topic waiting for s.axes (Mesa 7i80)
After lots of hazzle I managed to build from source and get it running. Now i can start without errors.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.419 seconds