Logic Machine Forum
LM5 Ethernet - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: LM5 Ethernet (/showthread.php?tid=4670)



LM5 Ethernet - rw_echo - 23.03.2023

The LM5 Ethernet port indicator is abnormal. I tried to recover the'. img' file from the SD card, but the Ethernet port is still abnormal. I cannot access it through IP.

https://openrb.com/reflash-logicmachine3-and-streaming-player-software/


RE: LM5 Ethernet - admin - 23.03.2023

Did you use a new SD card or reflashed the old one?


RE: LM5 Ethernet - rw_echo - 23.03.2023

1.Using a new SD card.I successfully updated its firmware through IP 192168.0.10, but the network interface still displays an exception. When an exception occurs, I cannot access it through IP.

syetem log:
Mar 23 09:28:23 LogicMachine kern.info kernel: [ 1107.633376] fec 2188000.ethernet eth0: Link is Up - 10Mbps/Full - flow control rx/tx
Mar 23 09:28:22 LogicMachine kern.info kernel: [ 1106.633144] fec 2188000.ethernet eth0: Link is Down
Mar 23 09:28:18 LogicMachine kern.info kernel: [ 1102.585370] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Mar 23 09:28:17 LogicMachine kern.info kernel: [ 1101.585144] fec 2188000.ethernet eth0: Link is Down
Mar 23 09:28:15 LogicMachine kern.info kernel: [ 1099.553374] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Mar 23 09:15:28 LogicMachine kern.info kernel: [ 332.489144] fec 2188000.ethernet eth0: Link is Down
Mar 23 09:10:25 LogicMachine daemon.info avahi-daemon[1131]: Service "Web Server on LogicMachine" (/etc/avahi/services/http.service) successfully established.
Mar 23 09:10:24 LogicMachine daemon.info avahi-daemon[1131]: Server startup complete. Host name is LogicMachine.local. Local service cookie is 1275354446.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Registering new address record for 127.0.0.1 on lo.IPv4.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Registering new address record for 192.168.0.134 on eth0.IPv4.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Network interface enumeration completed.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: New relevant interface lo.IPv4 for mDNS.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: New relevant interface eth0.IPv4 for mDNS.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.134.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Loading service file /etc/avahi/services/http.service.
Mar 23 09:10:23 LogicMachine daemon.warn avahi-daemon[1131]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: avahi-daemon 0.8 starting up.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Successfully dropped root privileges.
Mar 23 09:10:23 LogicMachine daemon.info avahi-daemon[1131]: Found user 'nobody' (UID 65534) and group 'nogroup' (GID 65534).
Mar 23 09:10:23 LogicMachine kern.notice kernel: [ 27.448995] random: nonblocking pool is initialized
Mar 23 09:10:08 LogicMachine kern.info kernel: [ 12.457330] fec 2188000.ethernet eth0: Link is Up - 10Mbps/Full - flow control rx/tx
Mar 23 09:10:06 LogicMachine kern.info kernel: [ 10.441376] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Mar 23 09:10:05 LogicMachine kern.info kernel: [ 9.441152] fec 2188000.ethernet eth0: Link is Down
Mar 23 09:10:01 LogicMachine kern.info kernel: [ 5.393366] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Mar 23 09:09:58 LogicMachine user.info sysinit: /lib/genohm-scada/storage/db/backup.db: OK
Mar 23 09:09:58 LogicMachine user.info sysinit: md5sum: WARNING: 1 of 1 computed checksums did NOT match
Mar 23 09:09:58 LogicMachine user.info sysinit: /lib/genohm-scada/storage/db/current.db: FAILED
Mar 23 09:09:58 LogicMachine kern.info kernel: [ 2.559782] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Mar 23 09:09:58 LogicMachine user.info sysinit: /dev/mmcblk0p3: clean, 536/38400 files, 8824/153600 blocks
Mar 23 09:09:58 LogicMachine user.info sysinit: /dev/mmcblk0p3: recovering journal
Mar 23 09:09:58 LogicMachine user.info sysinit: e2fsck 1.46.5 (30-Dec-2021)
Mar 23 09:09:58 LogicMachine kern.info kernel: [ 2.380716] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 1.328679] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.958532] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.560179] Freeing unused kernel memory: 164K
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.559914] VFS: Mounted root (ext3 filesystem) on device 179:2.
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.559834] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.558744] EXT4-fs (mmcblk0p2): recovery complete
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.429206] mmcblk0: p1 p2 p3
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.427655] mmcblk0: mmc0:b36a CBADS 7.48 GiB
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.426859] mmc0: new high speed SDHC card at address b36a
Mar 23 09:09:57 LogicMachine kern.warn kernel: [ 0.420796] mmc0: host does not support reading read-only switch, assuming write-enable
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.389288] Waiting for root device /dev/mmcblk0p2...
Mar 23 09:09:57 LogicMachine kern.err kernel: [ 0.389220] Warning: unable to open an initial console.
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.388799] vdd3p0: disabling
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.388223] rtc-pcf85263a 0-0051: setting system clock to 2023-03-23 09:09:56 UTC (1679562596)
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.382790] can: raw protocol (rev 20120528)
Mar 23 09:09:57 LogicMachine kern.info kernel: [ 0.382739] NET: Registered protocol family 29

2.Some LMs do not work after being used for a period of time. I tried to restart the LM and it can temporarily return to normal, but the non working state still occurs. I tried to update the firmware again, but it did not solve the problem


RE: LM5 Ethernet - admin - 24.03.2023

1. Might be a hardware problem or a faulty cable/switch/router.

2. What exactly is not working?


RE: LM5 Ethernet - Daniel - 24.03.2023

What is the state of the two LM LEDs while this happen?


RE: LM5 Ethernet - rw_echo - 24.03.2023

(24.03.2023, 08:48)admin Wrote: 1. Might be a hardware problem or a faulty cable/switch/router.

2. What exactly is not working?

2.Functions such as scripts and scenes in LM

(24.03.2023, 09:15)Daniel Wrote: What is the state of the two LM LEDs while this happen?

Orange and Green


RE: LM5 Ethernet - Daniel - 24.03.2023

What is the CPU load and Memory during this time?


RE: LM5 Ethernet - rw_echo - 24.03.2023

When this happens, the LED on the Ethernet interface of the LM is always on or directly off, and I cannot access the LM through IP(Question 2 in the first floor post).


RE: LM5 Ethernet - Daniel - 24.03.2023

I'm not asking for Ethernet LEDs.


RE: LM5 Ethernet - rw_echo - 24.03.2023

(24.03.2023, 09:41)Daniel Wrote: I'm not asking for Ethernet LEDs.



RE: LM5 Ethernet - rw_echo - 27.03.2023

Is the picture in the #10 post helpful for you to analyze the LM fault?


RE: LM5 Ethernet - Daniel - 27.03.2023

No, it doesn't show CPU load which is on LogicMachine page, bottom right corner. But you should check it while the issue happens.


RE: LM5 Ethernet - rw_echo - 27.03.2023

There are no programs in LM, and in my impression, the CPU load value in the lower right corner of the LogicMachine page is almost 0


RE: LM5 Ethernet - Daniel - 27.03.2023

Above you did mention that scripts and scenes do not work when this happens, please check the status when you have this issue. A single event script can create massive load and during normal operation LM will be doing nothing. It can be a different issue but the symptoms you describe suggest this.


RE: LM5 Ethernet - rw_echo - 27.03.2023

In order to eliminate the factor of excessive cup load, I directly reset the LM, cleared all programs in it, and upgraded the firmware. Of course, the firmware upgrade operation was completed when the LM can be accessed normally, even though this did not solve any problem of LM failure.


RE: LM5 Ethernet - Daniel - 27.03.2023

Just to be sure it is not LM can you use different lan cable and a switch/router? If this won't help contact us via email for replacement.


RE: LM5 Ethernet - rw_echo - 10.04.2023

Excuse me, I have a problem with LM on a project: when I input LM's IP in my browser, the following description appears:

The Windows Embedded CE Web Server is enabled on this device.
This file is a placeholder and should be replaced. Please see your Platform Builder docs or our web site at http://msdn.microsoft.com/embedded.

When I input the IP of LM using another browser, sometimes I can access LM normally, but the Ethernet port only has the indicator light on the right flashing; When I couldn't access it through IP, I noticed that there were no flashing lights on the Ethernet port.


RE: LM5 Ethernet - admin - 10.04.2023

You have another device with the same IP address on the network.


RE: LM5 Ethernet - rw_echo - 10.04.2023

Thank you for your answer. I have attached photos of the Ethernet port abnormality in post # 17. Is there any way to solve this problem?

System logs may be helpful for analyzing issues:
Apr 10 07:18:19 LogicMachine kern.info kernel: [ 406.219346] fec 2188000.ethernet eth0: Link is Up - 10Mbps/Full - flow control rx/tx
Apr 10 07:18:17 LogicMachine kern.info kernel: [ 404.203263] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 10 07:18:16 LogicMachine kern.info kernel: [ 403.202974] fec 2188000.ethernet eth0: Link is Down
Apr 10 07:18:12 LogicMachine kern.info kernel: [ 399.154910] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 10 07:18:09 LogicMachine kern.info kernel: [ 396.122472] fec 2188000.ethernet eth0: Link is Down
Apr 10 07:18:07 LogicMachine kern.info kernel: [ 394.090543] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 10 07:18:05 LogicMachine kern.info kernel: [ 392.074183] fec 2188000.ethernet eth0: Link is Down
Apr 10 07:11:59 LogicMachine kern.notice kernel: [ 25.085470] random: nonblocking pool is initialized
Apr 10 07:11:51 LogicMachine kern.info kernel: [ 17.552836] fec 2188000.ethernet eth0: Link is Up - 10Mbps/Full - flow control rx/tx
Apr 10 07:11:48 LogicMachine kern.info kernel: [ 14.520618] fec 2188000.ethernet eth0: Link is Down
Apr 10 07:11:44 LogicMachine kern.info kernel: [ 10.472851] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 10 07:11:43 LogicMachine kern.info kernel: [ 9.472610] fec 2188000.ethernet eth0: Link is Down
Apr 10 07:11:39 LogicMachine kern.info kernel: [ 5.424837] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 10 07:11:37 LogicMachine user.info sysinit: /lib/genohm-scada/storage/db/current.db: OK
Apr 10 07:11:36 LogicMachine kern.info kernel: [ 2.539053] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Apr 10 07:11:36 LogicMachine user.info sysinit: /dev/mmcblk0p3: clean, 586/38400 files, 15267/153600 blocks
Apr 10 07:11:36 LogicMachine user.info sysinit: e2fsck 1.45.6 (20-Mar-2020)
Apr 10 07:11:36 LogicMachine kern.info kernel: [ 2.410687] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 1.341007] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.914990] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.509328] Freeing unused kernel memory: 164K
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.509057] VFS: Mounted root (ext3 filesystem) on device 179:2.
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.508968] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.428669] mmcblk0: p1 p2 p3
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.427090] mmcblk0: mmc0:b370 CBADS 7.48 GiB
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.426303] mmc0: new high speed SDHC card at address b370
Apr 10 07:11:35 LogicMachine kern.warn kernel: [ 0.420241] mmc0: host does not support reading read-only switch, assuming write-enable
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.388753] Waiting for root device /dev/mmcblk0p2...
Apr 10 07:11:35 LogicMachine kern.err kernel: [ 0.388681] Warning: unable to open an initial console.
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.388265] vdd3p0: disabling
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.387688] rtc-pcf85263a 0-0051: setting system clock to 2023-04-10 07:11:34 UTC (1681110694)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.382265] can: raw protocol (rev 20120528)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.382211] NET: Registered protocol family 29
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.382044] can: controller area network core (rev 20120528 abi 9)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.382001] NET: Registered protocol family 17
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.381874] ip_tables: © 2000-2006 Netfilter Core Team
Apr 10 07:11:35 LogicMachine kern.warn kernel: [ 0.363169] 2198000.adc supply vref not found, using dummy regulator
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.348549] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.310675] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.310632] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.308166] sdhci-pltfm: SDHCI platform and OF driver helper
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.308150] sdhci: Copyright© Pierre Ossman
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.308123] sdhci: Secure Digital Host Controller Interface driver
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.307204] usbcore: registered new interface driver btusb
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.306376] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.305222] lirc_dev: IR Remote Control driver registered, major 249
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.304347] i2c /dev entries driver
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.304077] rtc-pcf85263a 0-0051: rtc core: registered rtc-pcf85263a as rtc0
Apr 10 07:11:35 LogicMachine kern.warn kernel: [ 0.300385] rtc-ds1307: probe of 0-006f failed with error -5
Apr 10 07:11:35 LogicMachine kern.info kernel: [ 0.298459] hub 2-0:1.0: 1 port detected


RE: LM5 Ethernet - admin - 10.04.2023

You have IP conflict - LM and another device on the network have the same IP address. This is why LM sometimes cannot be reached. Connect to LM directly (without switch or router) and change the IP address.