LinuxCNC not connecting to 7i96S on 2.9.1

More
21 Dec 2023 13:32 #288756 by rowow
Added the lines to my hal file and ini file but it still has the "Resource temporarily unavailable" error. Also tried the previous ethtool commands you suggested (replacing "eth0" with "enp1s0") and also the same error and same pings around 0.37 ms

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

More
21 Dec 2023 13:41 #288758 by Mecanix
wtf. wow... a $100 android phone ping faster. You're switched into a half-decent gigabit port? what is it you got, mind printing a hardware list?

$ sudo lspci

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

More
21 Dec 2023 13:50 #288760 by rowow
yes im connected straight to the ethernet port on board.
here is my hardware
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)

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

More
21 Dec 2023 14:02 #288761 by Mecanix

Sorry here's the photo attached.


Going through the thread slowly I found this. "The missing firmware files are: rtl_nic/rtl8168g-2.fw"

$ cd /lib/firmware/rtl_nic/
$ sudo wget git.kernel.org/pub/scm/linux/kernel/git/...tl_nic/rtl8168g-2.fw
$ sudo update-initramfs -u -k all

Let us know if you still get the missing fw error after the update-initramfs... let's start with that,  if that's yet sorted

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

More
21 Dec 2023 14:29 - 21 Dec 2023 14:31 #288762 by Mecanix
Better yet. 

$ sudo apt install build-essential dkms
$ sudo apt install linux-headers-$(uname -r)
$ sudo apt install r8168-dkms
(Might have to update-initramfs if it ain't doing it for you)
$ sudo update-initramfs -u -k all
$ sudo reboot

If unstable or ya don't like it, to remove: 
$ sudo apt purge r8168-dkms
$ sudo update-initramfs -u -k all
$ sudo reboot

gl.
Last edit: 21 Dec 2023 14:31 by Mecanix.

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

More
21 Dec 2023 14:35 #288763 by rowow
After running "update-initramfs -u -k all" I get the following
update-initramfs: Generating /boot/initrd.img-6.1.0-13-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1

For your second message the commands ran fine but on "sudo update-initramfs -u -k all" at the end stated a error code. Rebooting now
r8168.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.1.0-13-rt-amd64/updates/dkms/
depmod....
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-13-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

More
21 Dec 2023 14:39 #288764 by Mecanix
$ sudo dpkg --purge raspi-firmware

raspi?!

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

More
21 Dec 2023 14:41 #288765 by rowow
after rebooting still has same error code launching linux cnc of "currently unavailable"

I purchased a HP EliteDesk 800 65W G2
i5-6500T at 3.1GHz and 8gb ram
arriving saturday. I think this machine is problematic with having high ping and becoming too much of a hassle to fix. Though it is intriguing why linuxcnc is not connecting even though connection with mesa works fine being able to bring up its pins/board info.

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

More
21 Dec 2023 14:43 #288766 by rowow
im also confused about that. Is that a random error or could I have mixed up my linuxcnc OS with the raspberry pi version? I ran "sudo dpkg --purge raspi-firmware" and still doesnt launch.

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

More
21 Dec 2023 14:49 #288767 by Mecanix
Geez. One of those Purge World, Reboot Universe, and reinstall everything if you ask me. Hardware looks okay to me, machine's a machine!!

r8168 is notorious for being naughty though. Some in team lcnc claim having better luck with the r8168-dkms latency-wise. 

Don't give up man. Give it a second chance. 

 

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

Moderators: cmorley
Time to create page: 0.084 seconds
Powered by Kunena Forum