I see here that two entries are missing compared to when the legato framework starts properly. The following two entries are at the end of the previous list when legato starts successfully:
Note that none of my apps are installed as I tried to reproduce with the base system.
If I do legato start, the framework will be launched and everything will work properly, so I’m considering having a script running outside of legato to make sure it’s always launched:
root@swi-mdm9x28-wp:~/logread# legato start
Starting Legato...
update-ld-cache: Updating ld.so.cache using [/legato/systems/current/lib]...
update-ld-cache: Updating /etc/ld.so.cache ...
update-ld-cache: Removing stale mount [/etc/ld.so.cache]...
Hi @ben.o,
I think what you observe is linked to the rool back feature.
when you update your device with a new system, this mechanism is used to recover the device in case an unexpected crash or resets or when the probation of the new system is reached.
in your case, if your device is running the “golden system”, and unexpected resets happen, this leads to stop the legato framework.
how many resets happen and with which frequency?
best regards,
I’ve noticed this issue first using my system, then using the default system after erasing everything and putting back only official firmware and system.
Number of resets may vary, several between 10 and 50 I suppose. Frequency depends on me writing reboot every time I have a chance. I can usually reproduce in less than 30 min.
Hi @ben.o,
regarding your use case I think you enter the case I described.
are you testing reset for stress tests purpose or is it the common way you proceed when dealing with the device?
best regards
Hi @ben.o,
yes this could happen on a power or reset , if several one occur within 60 seconds of boot-up;
Some improvements are included in more recent releases, I suggest you move on the last available one on the source website.
Best regards,
I tried to install the latest package when it went available (I’m using developer studio on windows). Unfortunately the package didn’t compile, I didn’t have time to dig into that so had to stay with the previous release.
Hi @ben.o,
we did not reproduce this issue. if you face again such behavior, could you please share with us the log from devstudio, to investigate?
best regards
I tried to create a new empty project using 18.10.3.wp76xx-docker-201903041325 and had the same issues than when I was trying to port my project, getting several Operation not permitted.
this behavior was already reported to us.
it looks like the image is generated anyway in that case… please can you give a try and install it to verify if it’s functional anyway?
HI,am trying to install the new update file in the system, but getting the following error
Applying update from file ‘./Test.wp76xx.update’ to device at address ‘192.168.2.2’.
Update failed
Systems installed:
252 [good] ← current
Legato framework is NOT running
when i isssue the legato commands , getting response as
egato start
Starting Legato…
cp: can’t stat ‘/etc/resolv.conf’: No such file or directory
mount: mounting /tmp/resolv.conf on /etc/resolv.conf failed: No such file or directory