- LinuxCNC
- Installing LinuxCNC
- The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
29 Mar 2020 16:14 #161988
by andypugh
Are you starting LinuxCNC?
I see:
[ 1698.205948] stepconf[3274]: segfault at 0 ip 00007f6da42c3ff9 sp 00007ffcbc7bac50 error 4 in libgtk-3.so.0.2200.30[7f6da3fe0000+6f1000]
Which is a stepconf crash.
Whereas the stdio log looked like a LinuxCNC startup.
Replied by andypugh on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
Dmesg output attached.)
Are you starting LinuxCNC?
I see:
[ 1698.205948] stepconf[3274]: segfault at 0 ip 00007f6da42c3ff9 sp 00007ffcbc7bac50 error 4 in libgtk-3.so.0.2200.30[7f6da3fe0000+6f1000]
Which is a stepconf crash.
Whereas the stdio log looked like a LinuxCNC startup.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
29 Mar 2020 16:21 #161990
by BeagleBrainz
Replied by BeagleBrainz on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
She’ll be right mate, I just through that in to differentiate between the bios only and UEFI & BIOS bootable ones.
Please Log in or Create an account to join the conversation.
29 Mar 2020 16:23 #161991
by clunc
Replied by clunc on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
@BeagleBrainz
> Could you try running one of the sims say axis and see how long it takes to load up?
I tried it [attch1], but I don't get that far [attch2]
If I kill -HUP linuxcnc [attch3] is what I see: can't insmod.
> Did you try a latency test to see what figures you got ?
I didn't. I figured to fire up LinuxCNC with my last ubuntu 12.04 settings and see how it (mis)behaves.
> Could you try running one of the sims say axis and see how long it takes to load up?
I tried it [attch1], but I don't get that far [attch2]
If I kill -HUP linuxcnc [attch3] is what I see: can't insmod.
> Did you try a latency test to see what figures you got ?
I didn't. I figured to fire up LinuxCNC with my last ubuntu 12.04 settings and see how it (mis)behaves.
Please Log in or Create an account to join the conversation.
29 Mar 2020 16:24 #161993
by andypugh
Replied by andypugh on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
Once LinuxCNC has crashed and left RTAI modules installed the only way to clean up is a reboot.
Please Log in or Create an account to join the conversation.
29 Mar 2020 16:25 #161994
by clunc
Replied by clunc on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
> Are you starting LinuxCNC?
Stand by. I must've grabbed dmesg at the wrong time. I'll get another. (requires a reboot because no way to unload linuxcnc after trying it, which I just did to try to run an axis sim)
Stand by. I must've grabbed dmesg at the wrong time. I'll get another. (requires a reboot because no way to unload linuxcnc after trying it, which I just did to try to run an axis sim)
Please Log in or Create an account to join the conversation.
29 Mar 2020 16:27 - 29 Mar 2020 16:49 #161995
by clunc
Not only that, Ubuntu with the rtai kernel seems to take a Lot longer to shutdown than ordinary. [over 2 min when I walked away, but it had finally rebooted when I returned 5 or so min later; compare to non-RTAI 18.04: ~3 sec, although nothing had been run so there was nothing to "clean up"]
Replied by clunc on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
Once LinuxCNC has crashed and left RTAI modules installed the only way to clean up is a reboot.
Not only that, Ubuntu with the rtai kernel seems to take a Lot longer to shutdown than ordinary. [over 2 min when I walked away, but it had finally rebooted when I returned 5 or so min later; compare to non-RTAI 18.04: ~3 sec, although nothing had been run so there was nothing to "clean up"]
Last edit: 29 Mar 2020 16:49 by clunc.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
29 Mar 2020 16:29 #161997
by BeagleBrainz
Replied by BeagleBrainz on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
I’d reboot and then try running the sims, that should clear up the kernel module issue. Just let it run it’s course, it just maybe that it takes more than 5 seconds to load, how much memory and swap do you have ?
Please Log in or Create an account to join the conversation.
29 Mar 2020 16:43 - 29 Mar 2020 16:44 #162000
by clunc
Replied by clunc on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
> Just let it run it’s course, it just maybe that it takes more than 5 seconds to load
I've waited on it 5 minutes seeing only "Starting LinuxCNC" in the console. [At that point I give up and try to Ctrl-C (nothing) and finally kill -HUP the process.]
> How much memory and swap?
2GB ram, 2GB swapfile.
Dmesg output before and after linuxcnc startup are attached.
I've waited on it 5 minutes seeing only "Starting LinuxCNC" in the console. [At that point I give up and try to Ctrl-C (nothing) and finally kill -HUP the process.]
> How much memory and swap?
2GB ram, 2GB swapfile.
Dmesg output before and after linuxcnc startup are attached.
Last edit: 29 Mar 2020 16:44 by clunc. Reason: add a line
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
29 Mar 2020 16:54 #162002
by BeagleBrainz
Replied by BeagleBrainz on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
IMHO you really need to try running a latency test.
Otherwise you could just be barking up the wrong tree.
That’s why it’s been suggested trying one of the Mint images and running the latency test prior to installing. You’ll get a feel if you have the right machine. Or Debian wheezy might be the best solution.
Otherwise you could just be barking up the wrong tree.
That’s why it’s been suggested trying one of the Mint images and running the latency test prior to installing. You’ll get a feel if you have the right machine. Or Debian wheezy might be the best solution.
Please Log in or Create an account to join the conversation.
29 Mar 2020 17:28 #162006
by clunc
Replied by clunc on topic The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
I ran 'latency-test' and the result is interesting only in the sense that it shows the identical behavior to linuxcnc when run: it does not open a window!
I suspect now that the apps are running fine but that something is wrong with my windowing. Other apps (firefox, etc.) open fine.
I suspect now that the apps are running fine but that something is wrong with my windowing. Other apps (firefox, etc.) open fine.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- Installing LinuxCNC
- The Road to Building a real-time (RT) kernel for my favorite OS, Ubuntu 18.04.4
Time to create page: 0.090 seconds