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.
23.03.2023, 09:08 (This post was last modified: 23.03.2023, 09:30 by rw_echo.)
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
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).
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.
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.
10.04.2023, 06:22 (This post was last modified: 10.04.2023, 07:04 by rw_echo.)
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.
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.