Errors in linuxcnc 2.7 on starting up

More
29 Mar 2016 18:00 #72343 by echesortux
Hello everybody. I am testing linuxcnc 2.7 on Virtualbox 5 ( I have 2.6 installed on virtualbox and works fine ) but after finishing stepconf when I tried to lunch linuxcnc I get an error and it not start.

the error is:
"Error: Could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hal_parport.ko: No such device
./my-mill.hal:6: exit value: 1
./my-mill.hal:6 insmod for hal_parport failed, returned -1
"
...

I am using an image downloaded from the ofiicial page. I don't understand why it not happen whith the previus version (linuxcnc 2.6)
I am going to use this machine as a simulation not in production.

Thanks.

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

More
30 Mar 2016 10:27 #72374 by andypugh
Does the virtual PC have a virtual parallel port?

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

More
30 Mar 2016 12:41 #72383 by echesortux
Virtual PC doesnt have parallel port but the virtual pc where is runing linuxcnc 2.6 doesn't have too and works without problems.

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

More
30 Mar 2016 12:50 #72384 by andypugh
At some point LinuxCNC stopped usin probe_parport and started to cooperate with the parport_pc driver.
It might be that this is the issue. You may have to simply comment-out all the parport stuff.

Is there any information hinting that this is the problem in the dmesg output?

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

More
30 Mar 2016 12:50 #72385 by andypugh
At some point LinuxCNC stopped using probe_parport and started to cooperate with the parport_pc driver.
It might be that this is the issue. You may have to simply comment-out all the parport stuff.

Is there any information hinting that this is the problem in the dmesg output?

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

More
30 Mar 2016 12:53 #72386 by Todd Zuercher
There were some changes to the parallel port driver between 2.6 and 2.7. They are probably the source of your problem. If you can't get it to work with a virtual parallel port you may have to switch to running a simulator version of Linuxcnc.

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

More
30 Mar 2016 13:03 #72387 by andypugh
Actually, you just need to use sim_parport.

linuxcnc.org/docs/2.7/html/man/man9/sim_parport.9.html

Then all the pin-names in the rest of the config can stay the same.

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

More
31 Mar 2016 12:28 #72460 by echesortux
Hello folks I could solved the problem. the problem was that there is a slightly differente in stepconf wizard in the new version (2.7) in parport base address it has a 0 by default so that is you don't have a physical parallel port it will fail but if you change that value to 0x378 the gui starts without problem.

attached are screenshot.
Thanks everybody for helping.
Attachments:
The following user(s) said Thank You: aleksamc

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

Time to create page: 0.077 seconds
Powered by Kunena Forum