Need help installing LinuxCNC

More
22 Mar 2019 21:35 #129296 by hvnfun2
I got virtualbox installed but when trying to intall LinuxCNC i got the following error message

Failed to open a session for the virtual machine LinuxCNC.

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


I chatted with ASUS support and they said my motherboard doesn't support virtualization. Not sure if that is true or not but that is the answer I got. I looked at the motherboard user manual as well and didn't see anything related to that either. So it looks like I can't use the virtualbox approach.

Looks like I either need to get it running as a separate OS or forget it on this machine.

If I could get LinuxCNC to recognize my Network "card" I might be all set. Any ideas on how I could pursue that approach... or am I just hosed?

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

More
22 Mar 2019 22:29 #129301 by InMyDarkestHour
Try these instructions
gnipsel.com/linuxcnc/uspace/debian9-rt.html

The "non-free" "extra bits" should pick up your card. Debian are pretty strict about what goes into their standard installs.

When Debian asks you to install grub so no. Once you have finished the install, it may say the system will not boot without grub..thats ok. (This will not mess up your new Ubuntu reinstall)
Reboot the computer, from the boot menu select Ubuntu, boot into Ubuntu and use Ubuntu's grub update procedure to update the grub menu. This will pick up the Debian install. The only issue with this is that when you install a new kernel in Debian you will need to boot into Ubuntu to update grub.

Regarding the VT-x issue, you will have to delve into your BIOS and try searching googling for some hints. It should be there...unless your processor doesn't support virtualisation.

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

More
23 Mar 2019 07:40 #129338 by tommylight
Do you have another computer, older or new or laptop ?
You can install most Linux distributions on any computer and just take out the HDD , put it in another computer and it will work.
Something that any windows expert will tell you can not be done, Linux does easily.

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

More
23 Mar 2019 19:24 #129386 by hvnfun2
Thanks so much for your continued support and help.

I tried to do the approach AnnoyingMutt suggested. What I tried to do was install the Debian 9 RT kernel (current version 64bit). Then my plan was to boot up in that and then install linuxcnc on that.

Is that the right approach? If not, what am I doing wrong?

When I went to install the Debian 9 RT kernel I ended up getting another message saying "No Ethernet card was detected. If you know the name of the driver needed by your Ethernet card, you can select it form the list." Then it gave me a long list of things to choose from. At that point I just aborted the install since it looked like the same problem I had before.

So I think I will abandon installing linuxcnc on this machine for the near term. I think I will dust off an old machine I have stored and try that.

One other question, Are any of the drivers listed in that long list like a bare bones generic driver that I could use?

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

More
23 Mar 2019 19:32 #129388 by tommylight
In an earlier post i mentioned that you can install a SIM (simulator) on Ubuntu to avoid loosing all this time since you do not need it to actually control a machine. The sim does everything exactly as the normal version.
Since you took the hard way, download the non-free version of debian, has something like firmware in it's name, that might work with your hardware. Normal debian does not come with any proprietary software installed, but that version does.
Here you go, just choose the normal download or torrent, preferably torrent as it will also check the iso for errors while downloading.
cdimage.debian.org/cdimage/unofficial/no...-live+nonfree/amd64/

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

More
23 Mar 2019 21:14 #129396 by hvnfun2
I was thinking that I was doing the SIM install on Ubuntu when I tried the virtualbox thing (unsuccessfully).

Sorry, I am now getting really confused with all these trys and failures. I have been trying to follow you-alls instructions. I am sure I am making this harder on myself (and you folks) by my lack of knowledge on this type of stuff and I apologize for that.

A simulation install is fine for the machine I am trying to use now.

Is that link
cdimage/unofficial/non-free/cd-including-firmware/9.8.0-live+nonfree/amd64/
for the simulator?

Do I need to install the simulator in a virtualbox? If not can you give me a little more detail on how to get and install the SIM version?

The problem I ran into with virtualbox is that I got a VT-x error and I have not been able to figure out how to change the BIOS to enable virtualization. I can't seem to find a switch for that and ASUS says my motherboard doesn't support it. But I have to take anything I get from ASUS support with a grain of salt because they seem even less knowledgeable than me. If I need that for the SIM version I will go back in BIOS setup again and see if I can find it.

Is the SIM version just a normal version except it is in a virtualbox?

I am confused.
thanks

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

More
23 Mar 2019 21:27 #129397 by InMyDarkestHour
OK Don
can you do the following whilst in Ubuntu in a terminal and copy the ouput:

sudo lspci

sudo lsmod

This will give information about the hardware and drivers loaded.

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

More
23 Mar 2019 22:09 #129400 by hvnfun2
don@don-PRIME-Z390-A:~$ sudo lspci
[sudo] password for don:
00:00.0 Host bridge: Intel Corporation Device 3e30 (rev 0a)
00:02.0 VGA compatible controller: Intel Corporation Device 3e98
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Device a340 (rev f0)
00:1b.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port 21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device a338 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port 9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a305 (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
don@don-PRIME-Z390-A:~$ sudo lsmod
Module Size Used by
uas 24576 0
usb_storage 69632 1 uas
pci_stub 16384 1
vboxpci 24576 0
vboxnetadp 28672 0
vboxnetflt 28672 0
vboxdrv 471040 3 vboxpci,vboxnetadp,vboxnetflt
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
nls_iso8859_1 16384 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm 626688 0
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
snd_hda_intel 40960 6
ghash_clmulni_intel 16384 0
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
pcbc 16384 0
joydev 24576 0
snd_pcm 98304 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
input_leds 16384 0
intel_wmi_thunderbolt 16384 0
eeepc_wmi 16384 0
asus_wmi 28672 1 eeepc_wmi
sparse_keymap 16384 1 asus_wmi
wmi_bmof 16384 0
mxm_wmi 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
i915 1740800 25
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 32768 2 snd_seq,snd_pcm
snd 81920 23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
drm_kms_helper 172032 1 i915
aesni_intel 200704 0
drm 458752 15 drm_kms_helper,i915
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
i2c_algo_bit 16384 1 i915
glue_helper 16384 1 aesni_intel
fb_sys_fops 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
mei_me 40960 0
intel_cstate 20480 0
sysfillrect 16384 1 drm_kms_helper
intel_rapl_perf 16384 0
soundcore 16384 1 snd
sysimgblt 16384 1 drm_kms_helper
mei 98304 1 mei_me
wmi 24576 4 intel_wmi_thunderbolt,asus_wmi,wmi_bmof,mxm_wmi
video 45056 2 asus_wmi,i915
mac_hid 16384 0
acpi_pad 180224 0
sch_fq_codel 20480 2
parport_pc 36864 0
ppdev 20480 0
lp 20480 0
parport 49152 3 parport_pc,lp,ppdev
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
hid 122880 2 usbhid,hid_generic
nvme 36864 3
e1000e 249856 0
ahci 40960 0
nvme_core 77824 5 nvme
libahci 32768 1 ahci
don@don-PRIME-Z390-A:~$

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

More
23 Mar 2019 22:35 #129402 by InMyDarkestHour
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)

e1000e

So the NIC you have is I219-V which is supported by the e1000e driver. Which has been built as a kernel module.....so if this comes up as an option choose it

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

More
23 Mar 2019 23:02 #129404 by hvnfun2
ok thanks

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

Time to create page: 0.097 seconds
Powered by Kunena Forum