Linuxcnc would not run

More
04 Feb 2015 09:14 - 04 Feb 2015 09:17 #55660 by fit2cnc
Hi everyone,

I am a new user of LinuxCNC and I am having trouble in running linuxcnc.

I tried opening the application on my desktop and from terminal too and nothing happen.

Not sure what went wrong and I have found this files in the home directory.

Anyone know what should I do to make it running in machine control?

Thanks,
J
Attachments:
Last edit: 04 Feb 2015 09:17 by fit2cnc.

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

More
04 Feb 2015 15:25 - 04 Feb 2015 15:29 #55672 by ArcEye
Replied by ArcEye on topic Linuxcnc would not run
Hi

There is next to nothing in those attachments, you need to capture the full output before we can help you.

If that is all you get and nothing shows in a terminal when you run linuxcnc, then run in a terminal again and immediately afterwards run
dmesg > dmesg.txt
and attach the file dmesg.txt that is produced

regards
Last edit: 04 Feb 2015 15:29 by ArcEye.
The following user(s) said Thank You: fit2cnc

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

More
04 Feb 2015 19:47 #55682 by andypugh
Replied by andypugh on topic Linuxcnc would not run

I am a new user of LinuxCNC and I am having trouble in running linuxcnc.


You seem to be running a run-in-place version of the latest development version.

Do you have a reason to do it this way rather than use the precompiled and released packages?
The following user(s) said Thank You: fit2cnc

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

More
05 Feb 2015 10:57 #55706 by fit2cnc
Replied by fit2cnc on topic Linuxcnc would not run
Thanks for the respond :cheer: :cheer:

If that is all you get and nothing shows in a terminal when you run linuxcnc, then run in a terminal again and immediately afterwards run
dmesg > dmesg.txt
and attach the file dmesg.txt that is produced
regards


After couple of hour fight with the software I realize that the linuxcnc installed were a run-in-place version.

However, I can't open up into "Show Hal Configuration" for some reason, I have attached the dmesg for this issue.

You seem to be running a run-in-place version of the latest development version.

Do you have a reason to do it this way rather than use the precompiled and released packages?


Though that was a good way to learn linux. What I was trying to do, is to install a linuxcnc 32 bit into a 64 bit Ubuntu 14.04, where I found a step by step approach installation of linuxcnc by anderswallin.

I felt like I am being silly now :(

J
Attachments:

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

More
05 Feb 2015 15:38 #55710 by ArcEye
Replied by ArcEye on topic Linuxcnc would not run

However, I can't open up into "Show Hal Configuration" for some reason, I have attached the dmesg for this issue.


There is nothing relevant in dmesg, just a suggestion that there could be an issue with parport access.
But as I have no idea what you were running or if you even have a parport......

It would be a good idea from a support point of view to install one of the 32bit distros, on a separate partition if necessary.

Running on a 64bit platform is perfectly possible, I am doing it now, but it does rather leave you to sort out any problems yourself.

regards
The following user(s) said Thank You: fit2cnc

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

More
05 Feb 2015 20:20 #55717 by andypugh
Replied by andypugh on topic Linuxcnc would not run

Though that was a good way to learn linux
...
I felt like I am being silly now


Well, you are getting a learning experience for sure, but you might not be learning what you wanted to learn.
The following user(s) said Thank You: fit2cnc

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

More
09 Feb 2015 09:47 - 09 Feb 2015 10:52 #55827 by fit2cnc
Replied by fit2cnc on topic Linuxcnc would not run

There is nothing relevant in dmesg, just a suggestion that there could be an issue with parport access.
But as I have no idea what you were running or if you even have a parport......

It would be a good idea from a support point of view to install one of the 32bit distros, on a separate partition if necessary.

Running on a 64bit platform is perfectly possible, I am doing it now, but it does rather leave you to sort out any problems yourself.

regards


Thanks ArcEye. I had attached details of my parport and copied the error shown in my terminal when I tried to run linuxcnc. From that error, is there a possibility that I had wrong real-time kernel running/not-running?

I am keen to learn and get linuxcnc running in 64 bit, would like to give it another shot first before going into 32bit distros, on a separate partition option.

Well, you are getting a learning experience for sure, but you might not be learning what you wanted to learn.


Thanks andypugh. Please advice.
Attachments:
Last edit: 09 Feb 2015 10:52 by fit2cnc. Reason: typo

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

More
09 Feb 2015 17:07 - 09 Feb 2015 17:08 #55830 by ArcEye
Replied by ArcEye on topic Linuxcnc would not run
Hi

You need to attach your ini and hal file as well and tell us exactly what you are running.

The only bit in the errors that is useful, suggests you are running a rt-preempt kernel?
Did you configure the build with ./configure --with-realtime=uspace ?

From lsmod, this is the cause of the suggested problem I saw in dmesg

parport_pc 32701 2 parport_serial
ppdev 17635 0
lp 17759 0
parport 42372 3 lp,ppdev,parport_pc


and this from lspci

04:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCIe 9912 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: fast devsel, IRQ 17
I/O ports at c010
I/O ports at c000
Memory at f7101000 (32-bit, non-prefetchable) [size=4K]
Memory at f7100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: parport_serial


You need the parport driver, because that is the low level access driver that all modules go through, but you definately do not want the others

Before you start linuxcnc, from a terminal run
rmmod parport_serial
rmmod parport_pc
rmmod ppdev
rmmod lp


If that was the only problem, hopefully it will now start and you can blacklist the print drivers in /etc/modprobe.d thereafter.

Need to know exactly what you are running and see the configs to go further

regards
Last edit: 09 Feb 2015 17:08 by ArcEye.
The following user(s) said Thank You: fit2cnc

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

Time to create page: 0.128 seconds
Powered by Kunena Forum