UEFI boot

More
24 Nov 2019 05:01 #151093 by stevebowen
Replied by stevebowen on topic UEFI boot
This is giving me fits:
My core problem is my Asrock Q1900M motherboard will not boot any media in legacy mode even though its advertised to do so.

This is preventing me from installing Wheezy with the desired RTAI kernel.

I am able to add the EFI and boot folders from the stretch ISO after its burned to a flash drive. After a bit of manipulation I can the
run the liveusb version of wheezy and run latency test and the results are good enough for what Im trying to do <50.

However when installed wheezy it installs in legacy format with no efi partition so then my motherboard wont boot it.

I was able to install wheezy and ubuntu 18.04 and after that get wheezy to run with good latency. but in this configuration now wheezy
wont run linux cnc or latency-histogram just the latency test. So that didnt work out.

I installed linux mint and tried the method referenced by someone else on here to load the kona preempt kernel and that completed
almost fully until it couldnt resolve a dependency.

I then was able to use buildbot with some help from here to install linuxcnc with the preempt kernel. I tried v 2.8 and 2.9 but gdebi
couldnt resolve dependencies. so i installed 2.7 and that worked but the latency is bad now 150 to 200.

surely there must be a way to install the wheezy version on my q1900m and either boot in efi mode or get it to boot in legacy mode.
but i havent managed that. could be an issue with my motherboard but im not sure.

or if there is a way to get a RTAI kernel to work with AMD64 versions or any other way to run RTAI kernels.
but all the info i can find indicates thats a problem.

Other than that all I know is try another motherboard

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

More
24 Nov 2019 09:31 #151097 by tommylight
Replied by tommylight on topic UEFI boot

I then was able to use buildbot with some help from here to install linuxcnc with the preempt kernel. I tried v 2.8 and 2.9 but gdebi
couldnt resolve dependencies. so i installed 2.7 and that worked but the latency is bad now 150 to 200.

You did not enable the source repositories, it is mentioned in the link i posted, otherwise 2.9 will not install.

or if there is a way to get a RTAI kernel to work with AMD64 versions or any other way to run RTAI kernels.
but all the info i can find indicates thats a problem.

There is a RTAI version, i am using it and some other forum members, search for" testers wanted for RTAI kernel".
You might have to search for some other dependencies.

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

More
24 Nov 2019 14:09 #151113 by stevebowen
Replied by stevebowen on topic UEFI boot
The first try I tried to:
a. linux mint 19.2,
b. install the realtime kernal and linuxcnc per instructions on a page provided by BigJohnT gnipsel.com/linuxcnc/uspace/linuxmint19-emc.html.
This ultimately did not work.

2. install per instructions in the link you provided. Initially I interpreted this as just enabling source code repositories in software sources this didn't work for me

3. I referred to build bot instructions and added the key signature and stanzas to
/etc/apt/sources.list.d/linuxcnc-buildbot.list.

This still did not work however I may have add the wrong stanzas. I think I then tried 2.7 and it worked.

But still not sure which stanzas to use. There are stanza for master, stable and scratch.

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

More
25 Nov 2019 00:32 #151172 by andypugh
Replied by andypugh on topic UEFI boot
If you want to try something else (and I can imagine that your patience might be wearing thin by now) then here is yet another option that will give you an RTAI based system.

Install a Linux. Debian 10, Latest Mint, something like that.

Download all the files here:
www.linuxcnc.org/temp/

Install them one by one:

sudo dpkg --install linux-image-4.14.148-rtai-amd64.deb
sudo dpkg --install linux-headers-4.14.148-rtai-amd64.deb

Now reboot into the new RTAI kernel.

You are likely to need these packages as dependencies either use Synaptic or sudo apt-get install )

pkg-config
libmodbus-dev
libusb-1.0-0-dev
glib
libgtk2.0-dev
yapps2
intltool
tcl8.6-dev
tk8.6-dev
libtk-img
tclx
python-gtk2
python-glade2
python-gtkglext1
libreadline-gplv2-dev
python-tk
libboost-python-dev
libglu1-mesa-dev
libxmu-dev
python-yapps

then install the RTAI package, LinuxCNC, LinuxCNC-dev and the docs.

These are packages that I have made to make a practice ISO (not working yet, need a buildbot) and you will end up with a v2.8 installation, but it should work OK
The following user(s) said Thank You: pmconsulting

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

More
25 Nov 2019 01:34 #151183 by stevebowen
Replied by stevebowen on topic UEFI boot
Oh yes thank you so very very much!!!!

I'll try this tomorrow.

Ive been working with this one motherboard and changing OS' left and right.
This would be so much easier if the motherboard would just legacy boot.
I smell a conspiracy to make things difficult for free software users (but i guess
I don't have to buy their products anymore)

This is my first CNC build. I'm working on a 2x4 plasma table and have completed much of the mechanical parts (frame, water pan, gantry and x axis. So im now working from the processor side. Its not a rush project. Just wanted to do one for quite some time.

I will likely get another motherboard and try to build systems on that while having one running to test the remaining parts (breakout board, drivers, steppers, limit switches, etc)

I also have a Minix computer that is stubborn to legacy boot as well.
legacy boot works fine on my son's computer but he uses that for gaming.

I was also thinking maybe it would be possible to use an RTAI kernel on an x386
version of linux if there is a newer one that EFI boots.

as for my patience, it exists on many levels :)

Thanks once again. I'll try this and see how it works.
Steve

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

More
25 Nov 2019 12:31 #151214 by andypugh
Replied by andypugh on topic UEFI boot

I smell a conspiracy to make things difficult for free software users (but i guess
I don't have to buy their products anymore)

The newer distros (Debian Buster, Mint Tina) seem to be more attuned to UEFI booting.


I was also thinking maybe it would be possible to use an RTAI kernel on an x386
version of linux if there is a newer one that EFI boots.

32-bit with the latest RTAI is problematical, see the Readme here:
github.com/NTULINUX/RTAI

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

More
26 Nov 2019 01:53 #151273 by stevebowen
Replied by stevebowen on topic UEFI boot
I've managed to install mint 19.2 again
as well as the rtai kernal
on reboot i had to start it with advanced options
and was able to start it on boot by default by changing default to "1>2" and doing and update-grub. would like it to be the first menu choice but no big deal.

of the packages for dependencies apt-get could not locate glib or python-yapps.
not sure what to do here.
But im gonna try to continue on and install the rtai package linuxcnc and linuxcnc-dev and docs

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

More
26 Nov 2019 02:31 #151277 by stevebowen
Replied by stevebowen on topic UEFI boot
This seemed to install fine:

sudo dpkg --install rtai-modules-4.14.148_5.2.3-linuxcnc_amd64.deb
Selecting previously unselected package rtai-modules-4.14.148.
(Reading database ... 303614 files and directories currently installed.)
Preparing to unpack rtai-modules-4.14.148_5.2.3-linuxcnc_amd64.deb ...
Unpacking rtai-modules-4.14.148 (5.2.3-linuxcnc) ...
Setting up rtai-modules-4.14.148 (5.2.3-linuxcnc) ...

This one not so much:
sudo dpkg --install linuxcnc_2.8.0~pre1_amd64.deb
Selecting previously unselected package linuxcnc.
(Reading database ... 303680 files and directories currently installed.)
Preparing to unpack linuxcnc_2.8.0~pre1_amd64.deb ...
Unpacking linuxcnc (1:2.8.0~pre1) ...
dpkg: dependency problems prevent configuration of linuxcnc:
linuxcnc depends on libboost-python1.62.0; however:
Package libboost-python1.62.0 is not installed.
linuxcnc depends on bwidget (>= 1.7); however:
Package bwidget is not installed.
linuxcnc depends on python2.7-numpy | python-numpy; however:
Package python2.7-numpy is not installed.
Package python-numpy is not installed.
linuxcnc depends on python2.7-imaging | python-imaging | python-pil; however:
Package python2.7-imaging is not installed.
Package python-imaging is not installed.
Package python-pil is not installed.
linuxcnc depends on python2.7-imaging-tk | python-imaging-tk; however:
Package python2.7-imaging-tk is not installed.
Package python-imaging-tk is not installed.
linuxcnc depends on python-gtksourceview2; however:
Package python-gtksourceview2 is not installed.
linuxcnc depends on python-vte; however:
Package python-vte is not installed.
linuxcnc depends on python-gst-1.0; however:
Package python-gst-1.0 is not installed.
linuxcnc depends on tclreadline; however:
Package tclreadline is not installed.

dpkg: error processing package linuxcnc (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (237-3ubuntu10.23) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Errors were encountered while processing:
linuxcnc

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

More
26 Nov 2019 02:32 #151278 by stevebowen
Replied by stevebowen on topic UEFI boot
I thought glib was a common library
and no idea about python-yapps

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

More
26 Nov 2019 06:25 #151285 by andypugh
Replied by andypugh on topic UEFI boot
I probably need to do some work on the dependencies list, though most of that list are genuine dependencies.

I am not 100% clear why apt is not installing the dependencies automatically.

Did you install the dependencies that I listed in a previous messsge? If you install those manually the missing list should shreink.

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

Time to create page: 0.082 seconds
Powered by Kunena Forum