- Configuring LinuxCNC
- Configuration Tools
- MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
- ekbiker
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 0
04 Sep 2024 00:29 #309312
by ekbiker
MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration was created by ekbiker
I built a configuration to just learn from. I used the quick start xyz configuration. The debug section of the report shows a board 7i95 (without the T). So I edited the .ini to include the T, but it causes errors elsewhere. Attached the .ini and report file. I don't really know what else to do except to ask here.
Mesa 7i95T, LinuxCNC 2.9.3, MesaCT 2.1.6
Thanks, and please help a newbie out.
Mesa 7i95T, LinuxCNC 2.9.3, MesaCT 2.1.6
Thanks, and please help a newbie out.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
04 Sep 2024 01:24 #309313
by tommylight
Replied by tommylight on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
There are no hardware PWM in 7i95T as far as i know, so how did you end up with it in hal file? And also there are mentions of parallel port in the error report, and this is the second time i am seeing this error on MesaCT configurations, it really should not be there.
As far as i can figure out, none are of your making, so for now just edit the hal file and set the num_pwm=0 instead of whatever the number is there, should be near the top of the file and the line starts with "loadrt"
As far as i can figure out, none are of your making, so for now just edit the hal file and set the num_pwm=0 instead of whatever the number is there, should be near the top of the file and the line starts with "loadrt"
The following user(s) said Thank You: ekbiker
Please Log in or Create an account to join the conversation.
- ekbiker
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 0
04 Sep 2024 01:57 #309315
by ekbiker
Replied by ekbiker on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
There are several lines starting with loadrt.. Can't find mentions of num_pwn=0. So I added it to just try it out.
I tried this one..
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_pwm=0
and then this one in the config part...
# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_encoders=6 num_stepgens=6 sserial_port_0=00000000"
both time returned with the error "unknown parameter, 'num_pwn=0'"
I tried this one..
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_pwm=0
and then this one in the config part...
# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_encoders=6 num_stepgens=6 sserial_port_0=00000000"
both time returned with the error "unknown parameter, 'num_pwn=0'"
Please Log in or Create an account to join the conversation.
- ekbiker
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 0
04 Sep 2024 02:05 #309316
by ekbiker
Replied by ekbiker on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
This worked...
Commented out all mentions of "pwngen". There were three, one for each axis.
#net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable
Commented out all mentions of "pwngen". There were three, one for each axis.
#net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
04 Sep 2024 02:10 - 04 Sep 2024 02:11 #309317
by PCW
Replied by PCW on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
1. The card name in the hal file is 7i95, not 7i95t
2. Did you setup a pwmgen for spindle or some other use?
(there is reference to non-existent pwm hardware in the hal file):
./main.hal:66: Pin 'hm2_7i95.0.pwmgen.00.enable' does not exist
3. You don't need a num_pwmgens statement anywhere
(unless you want to disable one that actually exists in the hardware
4. There is an unrelated issue with your setup, likely related to secure boot being enabled in your BIOS:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot?
2. Did you setup a pwmgen for spindle or some other use?
(there is reference to non-existent pwm hardware in the hal file):
./main.hal:66: Pin 'hm2_7i95.0.pwmgen.00.enable' does not exist
3. You don't need a num_pwmgens statement anywhere
(unless you want to disable one that actually exists in the hardware
4. There is an unrelated issue with your setup, likely related to secure boot being enabled in your BIOS:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot?
Last edit: 04 Sep 2024 02:11 by PCW.
The following user(s) said Thank You: ekbiker
Please Log in or Create an account to join the conversation.
- ekbiker
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 0
04 Sep 2024 02:21 #309319
by ekbiker
Replied by ekbiker on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
@PCW - No configs in the Spindle tab. I set one of the outputs to Spindle brake. That's all. All else was default. I will track down the secure boot problem.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
04 Sep 2024 03:21 #309322
by PCW
Replied by PCW on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
You can probably just delete all hal lines with pwm in them to get running.
Its likely the 7I95T configuration boilerplate came from the 7I96S which always
has at least 1 PWM channel
Its likely the 7I95T configuration boilerplate came from the 7I96S which always
has at least 1 PWM channel
The following user(s) said Thank You: ekbiker
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
Less
More
- Posts: 823
- Thank you received: 444
04 Sep 2024 11:41 #309349
by JT
Replied by JT on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
I'm retesting my 7i95t configuration now... and I see the error.
JT
JT
The following user(s) said Thank You: tommylight, ekbiker
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
Less
More
- Posts: 823
- Thank you received: 444
05 Sep 2024 14:05 #309413
by JT
Replied by JT on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
This has been fixed
JT
JT
The following user(s) said Thank You: ekbiker
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
Time to create page: 0.092 seconds